]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
update the screen while spellchecking and merging changes
[lyx.git] / src / ChangeLog
1 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * lyxfind.C (findNextChange): update the bufferview after setting
4         the selection
5
6 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7
8         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
9         number of InsetOptArgs has already been inserted.
10
11         * output_latex.C (latexOptArgInsets): new method. This outputs all
12         the optarg insets, up to the limit defined in the layout file.
13         (optArgInset): removed
14         (TeXOnePar): call latexOptArgInsets; correctly update texrow
15
16 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
17
18         * paragraph.C (isLetter): remove special spellchecker-related
19         code; return true also for digits
20         (isWord, isKomma): remove
21
22         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord): 
23         * lyxfind.C (MatchString()): use isLetter instead of isWord
24
25 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
26
27         * pariterator.h (operatir=): comment out un-implemented member
28         function. 
29
30         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
31         static cast.
32
33 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
34
35         * lyxfont.h: include LColor.h to satisfy concept checks.
36
37 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
38
39         * pariterator.h: add typdefs for value_type, difference_type,
40         pointer and reference to satisfy concept checks. Also add default
41         constructor for same reason.
42
43         * pariterator.C (operator++): add post-increment operator to
44         satisfy concept checks.
45
46         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
47         checks.
48
49         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
50
51         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
52         checks. Also rename base_type to BaseType to follow naming
53         standard better.
54
55         * FloatList.h: include Floating.h to satisfy concept checks.
56
57 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
58
59         * lyxfunc.C (getStatus): when the origin of the request is menu or
60         toolbar, and the LyXView does not have focus, do as if there was
61         no buffer (bug 1720)
62
63         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
64         FuncRequest to individual entries of LFUN_SEQUENCE
65
66 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
67
68         * output_latex.C (TeXOnePar): override runparams.moving_arg
69         according to the needprotect value of the current paragraph (bug
70         1739)
71
72         * paragraph.C (simpleTeXOnePar): no need to override
73         runparams.moving_args here
74
75 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
76
77         * vspace.C: fix off-by-one-error, related to fix #1682
78
79 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
80
81         * lengthcommon.C: a more general fix for bug 1682
82
83 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
84
85         * text.C (backspace): fix crash
86
87 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
88
89         * format.[Ch] (getFormatFromFile): new method
90         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
91
92 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
93
94         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
95
96 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
97
98         * lyxfunc.C (dispatch): remove the verbose argument
99         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
100         instead
101
102         * kbmap.C (defkey): set the origin of func to KEYBOARD
103
104         * MenuBackend.C (MenuItem):
105         * ToolbarBackend.C (add): set the origin of func to UI
106
107         * funcrequest.[Ch]: add origin member, which indicates which part
108         of LyX requests an action
109
110 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
111
112         * converter.C (move): don't lie in the error message
113         * converter.h (isReachable, move): document
114
115 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
116
117         * buffer.C: remove unused using lyx::support::atoi
118         * paragraph_funcs.C: ditto
119
120 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
121
122         * bufferlist.C (exists): use bind and equal_to instead of
123         compare_memfun
124         (getBuffer): ditto
125         * lyxtextclasslist.C (NumberOfClass): ditto
126
127         * cursor.C (insert): use for_each instead of explicit for loop
128
129         * bufferlist.C (getFileNames): use std::transform and
130         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
131
132         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
133         for loop
134
135         * buffer.C (changeLanguage): use for_each instead of explicit for
136         loop
137         (hasParWithID): implement using getParFromID
138
139         * LaTeXFeatures.C: ws change only
140
141         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
142         to cleanup a bit.
143
144         * BufferView_pimpl.C (trackChanges): use for_each instead of
145         expilicit for loop
146
147 2004-11-04  André Pönitz  <poenitz@gmx.net>
148
149         * undo.h:
150         * undo.C (textUndoOrRedo): fix crash when creating undo information.
151
152         * dociterator.C (asDocIterator): use hard assert again.
153
154 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         * lyxlength.C (asLatexString): rewrite so that it does not use
157         snprintf anymore
158
159 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
160
161         * text3.C (specialChar, dispatch): make sure cursor moves to the
162         right after inserting an inset
163
164 2004-11-02  José Matos  <jamatos@lyx.org>
165
166         * output_docbook.C (docbook):
167         * paragraph.C (getID):
168         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
169         garantee that the output is always legal.
170
171         * tabular.C (docbook):
172         * outputprams.[Ch]: remove mixed contents.
173
174 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
175
176         * text2.C (setCounter): prevent endless loop
177
178 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
179
180         * exporter.C (copyFile): use the mover instead of support::copy()
181         * exporter.C (Export): pass format and latex name to copyFile()
182         * exporter.h (addExternalFile): document
183         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
184
185 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
186
187         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
188
189 2004-10-30  José Matos  <jamatos@lyx.org>
190
191         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
192         text and no inset or font change. This allows to use CDATA
193         sections just for the whole paragraph.
194
195 2004-10-30  José Matos  <jamatos@lyx.org>
196
197         * paragraph.C (getFirstWord): remove unused variable.
198
199 2004-10-30  José Matos  <jamatos@lyx.org>
200
201         * paragraph.C (getFirstWord): the content should always be escaped
202         there.
203         (simpleDocBookOnePar):
204         * output_docbook.C (makeEnvironment): replace reference to CDATA
205         to style pass_thru.
206
207 2004-10-30  José Matos  <jamatos@lyx.org>
208
209         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
210
211 2004-10-30  José Matos  <jamatos@lyx.org>
212
213         * output_docbook.C (makeParagraphs):
214         * paragraph.[Ch] (emptyTag): for docbook and company, if the
215         standard paragraph has only a given type of content drop the wrapper.
216
217 2004-10-29  José Matos  <jamatos@lyx.org>
218
219         * output_docbook.C (makeEnvironment):
220         * sgml.C (openTag):
221         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
222
223 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
224
225         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
226         (cleanID): sanitize any id.
227
228 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
229
230         * buffer.C, lyxlex_pimpl.C:
231         * lyxlex_pimpl.C (setFile):
232         s/getExtFromContents/getFormatFromContents/
233
234 2004-10-28  José Matos  <jamatos@lyx.org>
235
236         * output_docbook.C (makeEnvironment): move id to broadest possible
237         scope.
238
239         * sgml.C (openTag): apply substitution of <> for all attributes.
240
241 2004-10-28  José Matos  <jamatos@lyx.org>
242
243         * buffer.C (makeLinuxDocFile, makeDocBookFile):
244         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
245         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
246
247         * sgml.[Ch]: new version for open and closeTag for paragraph and
248         for strings. Now they handle the ids of paragraphs.
249
250 2004-10-26  Angus Leeming  <leeming@lyx.org>
251
252         * Makefile.am: add mover.[Ch].
253
254         * converter.C (convert, move): use the new Movers to move external
255         files to the temp directory.
256
257         * lyx_main.C (init): ensure that the global system_movers data
258         is initialised.
259
260         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
261         preferences file.
262
263         * mover.[Ch]: new files, defining a Mover as a utility to move an
264         external file between directories and, if necessary, manipulate this
265         file using a helper script.
266
267 2004-10-25  José Matos  <jamatos@lyx.org>
268
269         * output_docbook.C (makeCommand): merge two if's that tested the
270         same condition.
271
272 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
273
274         * sgml.C (escapeString): fix warning in a better way
275
276 2004-10-25  José Matos  <jamatos@lyx.org>
277
278         * sgml.C (escapeString): import the require boosts header file for
279         tie, and avoid a signed unsigned comparison.
280
281 2004-10-25  José Matos  <jamatos@lyx.org>
282
283         * sgml.h: add #include <string>
284
285 2004-10-25  José Matos  <jamatos@lyx.org>
286
287         * sgml.[Ch] (escapeString): new function to escape all the string.
288
289 2004-10-24  José Matos  <jamatos@lyx.org>
290
291         * paragraph.[Ch] (getFirstWord): new function to get the first
292         word. Useful for description.
293         (simpleDocBookOnePar): remove depth argument, add another that
294         says where to start the paragraph.
295
296         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
297         use the new functions to fix cleanly the support for descriptions.
298
299 2004-10-24  José Matos  <jamatos@lyx.org>
300
301         * buffer.C (makeLinuxDocFile, makeDocBookFile):
302         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
303         * output_linuxdoc.C (linuxdocParagraphs):
304         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
305         add buffer as argument.
306
307 2004-10-24  José Matos  <jamatos@lyx.org>
308
309         * output_docbook.C (makeEnvironment, searchEnvironment): place
310         CDATA inside paragraphs and fix scope for listitems.
311
312 2004-10-24  José Matos  <jamatos@lyx.org>
313
314         * output_docbook.C: remove using statement for stack.
315
316 2004-10-23  José Matos  <jamatos@lyx.org>
317
318         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
319         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
320         docbook. The new scheme is recursive and makes use of iterators, the
321         same as latex export works.
322         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
323         directly with the paragraph contents. This code was moved up to
324         output_docbook.C (docbookParagraphs).
325         * sgml.C (openTag, closeTag): removed unneeded newlines.
326         (closeEnvTags) removed.
327
328 2004-10-23  André Pönitz  <poenitz@gmx.net>
329
330         * undo.C (textUndoOrRedo):
331         * dociterator.C (asDocIterator): work around crash
332
333         * cursor.C (getStatus): replace ASSERT by more verbose error message
334           and manual correction of the problem. Should increase stability
335           while providing more sensible information.
336
337 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
338
339         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
340
341         * bufferlist.C (previous, next): new methods
342
343         * lfuns.h:
344         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
345
346 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
347
348         * buffer.C (makeDocBookFile): add dsssl stylesheet control
349         entities to preamble.
350
351 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
352
353         * messages.C (Pimpl): strip off translation context information
354
355 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
356
357         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
358         the cursor is correct (bug 1694)
359
360 2004-10-13  José Matos  <jamatos@lyx.org>
361
362         * output_docbook.C (docbookParagraphs): fix closing tags in the
363         end of the document.
364
365 2004-10-09  José Matos  <jamatos@lyx.org>
366
367         * buffer.C: format up to 237.
368         * bufferparams.C (write): use tostr to convert booleans to strings.
369
370 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
371
372         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
373
374 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
375
376         * LaTeX.C: implement use of babel language in xindy.
377
378 2004-10-05  José Matos  <jamatos@lyx.org>
379
380         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
381         Add new translators to help reading and writing the lyx file.
382
383 2004-10-05  José Matos  <jamatos@lyx.org>
384
385         * ParagraphParameters.C (read):
386         * text.C (readParToken): replace nexToken by more appropriate lex
387         methods.
388
389 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
390
391         * LaTeX.C (runMakeIndex):
392         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
393         (usually 'makeindex') configurable.
394
395         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
396         with a variable rather than with a number.
397
398 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
399
400         * output_latex.C (TeXOnePar): make sure font setting is the first
401         thing that gets output (and the last at the end). Should fix bug
402         1404.
403
404 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
405
406         * pch.h: use proper signal include
407
408         * LaTeX.h: Use preferred calling of Boost.Signal
409         * buffer.h: ditto
410
411 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
412
413         * pch.h: dont include <boost/function/function0.hpp>
414
415         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
416
417         * paragraph_pimpl.h: remove usage of ShareContainer
418
419         * paragraph_pimpl.C: remove initialization of ShareContainer.
420
421 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
422
423         Fix bug #1666
424
425         * BufferView.C (putSelectionAt): change the semantics when
426         backwards == true: now, this just swaps cursor and anchor wrt the
427         forward case
428
429         * BufferView.h (putSelectionAt): add some documentation
430
431         * lyxfind.C (findBackwards): rewrite using while(). In particular,
432         make sure backwardChar is done at least once (to avoid getting
433         stuck)
434         (findNextChange): use putSelectionAt in the forward direction
435         (operator()): use Paragraph::isWord
436
437 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
438
439         * Spacing.C (set): c_str fix
440
441 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
442
443         * lyx_cb.C (Reconfigure): quote the name of configure script in
444         case it contains spaces
445
446 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
447
448         * client: new dir
449
450         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
451         (BOOST_LIBS): use top_buildir when looking for the file
452
453 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
454
455         * pch.h: do not use include boost/format.hpp, multiple symbols
456                 will result (gcc bug)
457
458
459 2004-08-23  José Matos  <jamatos@lyx.org>
460
461         * bufferparams.C (readToken): fix reading of the author field.
462
463 2004-08-20  José Matos  <jamatos@lyx.org>
464
465         * lyxrc.C: remove support/translator.h inclusion since it is not used.
466
467 2004-08-20  José Matos  <jamatos@lyx.org>
468
469         * lyxlex.[Ch] (findToken): remove function.
470
471         * ParagraphParameters.C (findToken):
472         * bufferparams.C (findToken): replace call for previous function
473         with local copy. This local function has one more argument, the
474         read string argument.
475
476 2004-08-16  José Matos  <jamatos@lyx.org>
477
478         * ParagraphParameters.C (write):
479         * Spacing.C (writeFile):
480         * bufferparams.C (writeLaTeX):
481         * lyx_cb.C (Reconfigure):
482         * paragraph.C (write):
483         * tabular.C (write): remove unnecessary space at end of line.
484
485
486 2004-08-16  José Matos  <jamatos@lyx.org>
487
488         * text.C (readParagraph): remove debug message.
489
490 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
491
492         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
493         crash
494
495         * output_plaintext.C (asciiParagraph): set depth correctly
496
497         * outputparams.h: add member depth
498
499         * paragraph_funcs.C (ownerPar): remove.
500
501         * text2.C (setCounter): remove first_pit; comment out some
502         non-working code that uses ownerPar
503
504         * BufferView.C (getParentLanguage): remove. Not used anymore, and
505         uses ownerPar
506
507 2004-08-16  José Matos  <jamatos@lyx.org>
508
509         * text.C (readParToken, readParagraph, read): report all unknown tokens.
510         For the same level of importance use the same chanel to report problems.
511         (read): add code to deal with \begin_body and \end_body.
512
513
514 2004-08-15  José Matos  <jamatos@lyx.org>
515
516         * lyxlex.C (getString): fix comment, buffer::readBody is now
517         buffer:readDocument.
518
519         * tex-strings.C (string_papersize): Default -> default,
520         Custom -> custom, for consistency with other options.
521
522 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
523
524         * pch.h: new file
525
526         * Makefile.am: support pch
527
528 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
529
530         * text.C (readParToken): remove the static LyXFont variable and
531         pass it as a parameter instead. This fixes a nasty bug where an
532         inset will be inserted with a bad font in some situations
533         (readParagraph): adapt
534
535         * text2.C (setCounter): reduce number of calls to pars_[pit]
536
537         * text.C (singleWidth): add an assert, fix a test
538
539         * rowpainter.C (paintText): reduce number of calls to singleWidth
540
541         * paragraph.C (isHfill):
542         (isNewline): ws only
543
544 2004-08-14  André Pönitz  <poenitz@gmx.net>
545
546         * text.C:
547         * text2.C:
548         * rowpainter.C:
549         * lyxtext.h (several functions): use a Paragraph & argument
550         instead of par_type
551
552 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
553
554         * metricsinfo.h: add a new field ltr_pos to PainterInfo
555
556         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
557
558         * text.C (singleWidth): remove useless test
559
560 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
561
562         * tabular.h: remove bogus comments
563
564         * tabular.C (getDescentOfRow):
565         (isPartOfMultiColumn): add assertions
566
567         * lyxlength.C (inPixels): remove #warning
568
569 2004-08-14  André Pönitz  <poenitz@gmx.net>
570
571         * paragraph.h: inline getChar()
572
573         * BufferView.h: remove unused declarations
574
575 2004-08-14  José Matos  <jamatos@lyx.org>
576
577         * Buffer.[Ch] (readDocument): new name for old readBody.
578         * Buffer.C: new file format, new keywords: \begin_document,
579         \begin_header, \begin_body, \end_body.
580
581         * bufferparams.C (readToken): replace all calls to lex.nextToken
582         by lex.next(). Do the same to eatLine except where really needed.
583
584         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
585         line when writing to the lyx file.
586
587         * output_plaintext.C (asciiParagraph): fix Bibliography style
588         handling.
589
590         * text.C (read): fix end of file handling.
591
592 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
593
594         * MenuBackend.C (Menu::operator[]): new method to access
595         individual menu items
596         (Menu::hasFunc): new method. search for an item that corresponds
597         to a given func
598         (MenuBackend::specialMenu): new method
599         (MenuBackend::expand): if a special menu has been set, skip
600         entries whose func() appears in this menu
601
602 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
603
604         * text3.C: use Debug::DEBUG a bit more
605
606         * text.C (leftMargin): try to simplify a tiny bit change var x to
607         l_margin. Dont output the wide margins always.
608         (rightMargin): no margin in inner texts
609
610         * rowpainter.h (nestMargin): new func
611         (changebarMargin): new func
612         (rightMargin): new func
613
614         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
615         now functions.
616         (paintLast): ditto
617
618         * factory.C (createInset): modify setDrawFrame
619
620         * cursor.C: use Debug::DEBUG a bit more
621
622 2004-08-14  André Pönitz  <poenitz@gmx.net>
623
624         * coordcache.[Ch]:
625         * Makefile.am: new files to accomodate an 'external' (x,y)-position
626         cache for all insets in (at least partially) visible (top-level)
627         paragraphs.
628
629         * BufferView_pimpl.C: reset external coord cache before every update.
630         This means the coord cache only contains valid entries.
631
632 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
633
634         bug 1096
635         * BufferView_pimpl.C (getInsetByCode): move function out of class
636         and change in to a template in anon namespace. Also fix to do what
637         suits us better.
638
639 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
640
641         bug 1305
642         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
643         of char
644         (breakParagraph): rename par to par_offset and use a local
645         reference. Add code to keep the language over a rebreak.
646         (breakParagraphConservative): rename par to par_offset, use a
647         local reference
648         (mergeParagraph): ditto
649         (outerHook): ditto
650         (isFirstInSequence): ditto
651         (outerFont): rename pit to par_offset
652
653         * paragraph.C: ws change
654         * paragraph.h: ditto
655         * text3.C: ditto
656         * text.C: ditto
657
658 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
659
660         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
661         treatment for ']'
662
663         * paragraph.C (simpleTeXOnePar): when we have a \item with
664         optional argument, enclose the argument with curly brackets (in
665         case it contains a closing square bracket)
666
667         * text2.C (editXY):
668         * text2.C (editXY):
669         * text3.C (checkInsetHit): constify
670
671 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
672
673         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
674         documents (bug 1629)
675
676 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
677
678         Fix toggling of collapsable insets with the mouse (bug 1558)
679
680         * lyxfunc.C (dispatch): adapt to LCursor changes
681
682         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
683         make sure that dispatch is not invoked twice
684
685         * cursor.C (needsUpdate): new method
686         (dispatch): return void
687         (result): new method, to access the DispatchResult of the cursor.
688
689 2004-08-13  José Matos  <jamatos@lyx.org>
690
691         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
692
693 2004-08-13  André Pönitz  <poenitz@gmx.net>
694
695         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
696
697         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
698           multiple cells
699
700 2004-08-12  André Pönitz  <poenitz@gmx.net>
701
702         * text3.C: take out the 'cursor right' form insertInset and only
703         do it in those places when it is really needed. Fixes crash on
704         C-m...
705
706 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
707
708         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
709
710         * BufferView_pimpl.C (setBuffer): initialize the current font of
711         the underlying LyXText
712
713 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
714
715         * kbsequence.C (print): use UI native formatting for menu
716         shortcuts
717
718         * text.C (insertChar): call Paragraph::insertChar with a font
719         argument (cosmetic)
720
721         * paragraph.C (insertInset, insertChar): the version that takes a
722         LyXFont argument is now a wrapper around the other one (the
723         opposite used to be true).
724
725         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
726         argument. Font setting is done in Paragraph now.
727
728 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
729
730         * outputparams.h: add new members intitle and lang.
731
732         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
733         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
734
735 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
736
737         * text3.C (dispatch): remove special handling of button 4 and 5,
738         it is now taken care of in the frontend code.
739
740 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
741
742         * Spacing.h: add <string> (STLPort compile fix)
743
744 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
745
746         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
747
748 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
749
750         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
751         to bool.
752
753         * converter.C (showMessage): inherit from unary_function, make
754         operator() const.
755
756         * buffer.C (writeFile): initialize retval
757
758         * InsetList.h: rename private variable list to list_
759         * InsetList.[Ch]: adjust accordingly.
760
761 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
762
763         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
764         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
765         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
766         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
767         * ParagraphParameters.C, LaTeXFeatures.C: replace
768         "support/std_sstream.h" with <sstream>
769
770 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
771
772         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
773         * lyxsocket.C (LyXServerSocket): ditto
774         (serverCallback): ditto
775
776 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
777
778         * LaTeXFeatures.C: check release date when loading jurabib.
779
780 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
781
782         * lyxserver.C (startPipe): call register_socket_callback
783         (endPipe): call unregister_socket_callback
784
785 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
786
787         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
788         (LyXServerSocket): register the callback
789         (LyXServerSocket): unregister the callback
790         (fd): delete function
791         (serverCallback): improve error checking and setup the callbacks.
792         (dataCallback): change arg to fd.
793         (writeln): new func (copied fro the client socket) used for server
794         write to client.
795         (LyXDataSocket): simplify
796         (~LyXDataSocket): close ann unregiser callback
797         (server): delete function
798         (fd): delete function
799         (readln): small changes, improve some std::string usage
800         (writeln): constify a bit
801
802 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
803
804         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
805         Qt frontend
806
807 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
808
809         * BufferView_pimpl.C (setBuffer): set the layout combox value only
810         after it has been populated
811
812 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
813
814         * text2.C (insertInset): move cursor when inserting inset.
815
816 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
817
818         * kbmap.C (findbindings): a couple of new methods. returns a
819         container of kb_sequence objects. The real work is done by the
820         private recursive version
821         (printbindings): uses findbindings to print out a bracketed list
822         of bindings (renamed from findbinding).
823
824         * MenuBackend.C (binding): use kb_keymap::findbindings
825
826         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
827
828 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
829
830         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
831
832 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
833
834         * paragraph.C (isWord): return true on insets that report
835         isLetter().
836
837         * text.C (getWord): use Paragraph::isWord to decide what is in a
838         word and what is not; fix bug 1609.
839
840 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
841
842         * tex-strings.C: add "none" to string_paperpackages[], fixes
843         off-by-one-error in the paperpackage selection.
844
845         * lyxlex.[Ch]:
846         * tex-strings.[Ch]: char const * string[n]
847         -> char const * const string[]
848
849 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
850
851         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
852         command, return early.
853
854 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
855
856         * debug.h: add DEBUG to enum and fix size of ANY.
857
858         * debug.C: add support for Debug::DEBUG
859         (showTags): cast errorTags.level to unsigned int
860
861         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
862         (redoCurrentBuffer): ditto
863         (updateScrollbar): ditto
864         * cursor.C (dispatch): ditto
865         * text2.C (setLayout): ditto
866         (setFont): ditto
867         (updateCounters): ditto
868         (editXY): ditto
869         (deleteEmptyParagraphMechanism): ditto
870
871 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
872
873         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
874         annotations to cleanup the Makefile slightly.
875
876 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
877
878         * lyxrc.C: do not set user_email to a default value but use empty
879         instead. The entry used to be translated, which does not work
880         since at the point where lyxrc is constructed there is no
881         translation service available
882
883         * messages.C (getLocaleDir): remove and use directly
884         lyx_localedir() instead
885
886 2004-06-02  Angus Leeming  <leeming@lyx.org>
887
888         Fix crash caused by dereferencing null pointer 'exportdata' in
889         OutputParams by creating a new ExportData variable on the heap,
890         storing it in a boost::shared_ptr.
891         The crash was triggered when generating an Instant Preview
892         of an external inset.
893
894         * Makefile.am: add outputparams.C
895
896         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
897         (c-tor): allocate memory to it.
898
899         * exporter.C (c-tor): associated changes.
900
901 2004-06-01  Angus Leeming  <leeming@lyx.org>
902
903         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
904         contains data before calling isInset(0). (Bug 1513.)
905
906 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
907
908         * exporter.C (checkOverwrite): new method
909         * exporter.C (copyFile): new method
910         * exporter.C (Export): copy referenced files to the document dir
911         * exporter.[Ch]: new class ExportedFile
912         * exporter.[Ch]: new class ExportData. Contains currently the
913         names of referenced external files
914         * outputparams.h: add exportdata member.
915
916 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
917
918         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
919         version.C-tmp
920
921 2004-05-19  Angus Leeming  <leeming@lyx.org>
922
923         * LaTeXFeatures.C:
924         * ToolbarBackend.C:
925         * bufferparams.C:
926         * lyxfunc.C: small changes due to the introduction of namespace
927         lyx::frontend and the moving of namespace biblio to lyx::biblio.
928
929 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
930
931         * text3.C (dispatch): supress update when only moving the cursor
932         * cursor.C (selHandle): remove commented code
933
934 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
935
936         * paragraph.C (startTeXParParams): correct column count
937         * CutAndPaste.C (pasteSelection): remove const_cast
938         * output_docbook.C (docbookParagraphs): remove const_cast
939         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
940         const_cast and return ParagraphList::const_iterator
941         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
942         * output_plaintext.C (writeFileAscii): remove const_cast
943         * paragraph.[Ch] (simpleTeXOnePar): make const
944         * paragraph_funcs.C (outerPar): use const iterators
945         * paragraph_pimpl.C (validate): use const iterators
946         * text.C (setHeightOfRow): use const iterators
947
948 2004-05-17  Angus Leeming  <leeming@lyx.org>
949
950         * lfuns.h:
951         * LyXAction.C (init): new LFUN_INSET_REFRESH.
952
953         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
954         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
955         if the citation engine has changed.
956
957 2004-05-14  José Matos  <jamatos@lyx.org>
958
959         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
960         if the textclass does not provide it. Have it different for sgml and
961         xml.
962         support the language of document.
963         * output_docbook.C (docbookParagraphs):
964         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
965         first anchor as the id of the paragraph, remove special case code.
966         * sgml.C (escapeChar): escape only < & >.
967
968 2004-05-14  Angus Leeming  <leeming@lyx.org>
969
970         * bufferparams.h: move biblio::CiteEngine enum here to minimize
971         dependencies on src/frontends/controllers/biblio.h. Define a
972         CiteEngine_enum wrapper class to enable the enum to be forward
973         declared.
974
975 2004-05-12  Angus Leeming  <leeming@lyx.org>
976
977         * buffer.C: up LYX_FORMAT to 234.
978         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
979         use_numerical_citations with a single biblio::CiteEngine cite_engine
980         variable.
981         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
982
983 2004-05-13  José Matos  <jamatos@lyx.org>
984
985         * converter.h:
986         * converter.C (Converter, readFlags): add xml member.
987         * outputparams.h: add XML flavor.
988         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
989
990 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
991
992         * lyxfunc.C (dispatch):
993         (getStatus): fix handling of LFUN_SEQUENCE
994
995 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
996
997         * debug.C (showLevel): do not forget the end-of-line marker
998
999 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1000
1001         * kbmap.C (read): do not stop parsing a bind file when an error
1002         occurs (bug 1575)
1003
1004 2004-04-29  Angus Leeming  <leeming@lyx.org>
1005
1006         * cursor.C:
1007         * factory.C:
1008         * pariterator.C:
1009         * text2.C: wrap a bunch of #warning statements
1010         inside #ifdef WITH_WARNINGS blocks.
1011
1012 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1013
1014         * buffer.C: increment format to 233.
1015
1016 2004-04-28  Angus Leeming  <leeming@lyx.org>
1017
1018         * BufferView_pimpl.C:
1019         * lyxfunc.C:
1020         * text3.C:
1021         s/updateToolbar()/updateToolbars()/
1022         s/Toolbar.h/Toolbars.h/
1023
1024 2004-04-28  Angus Leeming  <leeming@lyx.org>
1025
1026         * BufferView.[Ch] (c-tor):
1027         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1028         No longer passes these data to the WorkArea generator.
1029
1030 2004-04-28  Angus Leeming  <leeming@lyx.org>
1031
1032         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1033
1034 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1035
1036         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1037
1038 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1039
1040         * output_latex.C (TeXEnvironment): make sure that there is a line
1041         break before \end{foo} for the last paragraph of a document
1042         (TeXOnePar): if the paragraph is at the end of the document (or
1043         inset) and the language has to be reset, then make sure that the
1044         line break is _before_ the language command, not after (fixes bug
1045         1225); also make sure that the language reset command is the first
1046         thing after the paragraph (to ensure proper nesting of
1047         environments and thus fix bug 1404)
1048
1049 2004-04-21  John Levon  <levon@movementarian.org>
1050
1051         * ToolbarBackend.h:
1052         * ToolbarBackend.C: make "name" be a programmatic name
1053         and a gui_name field.
1054
1055         * lyxfunc.C: display the minibuffer on M-x
1056
1057 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1058
1059         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1060         (bug 1526)
1061
1062 2004-04-19  Angus Leeming  <leeming@lyx.org>
1063
1064         * BufferView_pimpl.C (setBuffer): changed preview interface.
1065
1066         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1067         possible values.
1068
1069 2004-04-19  John Levon  <levon@movementarian.org>
1070
1071         * BufferView_pimpl.C:
1072         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1073
1074 2004-04-05  Angus Leeming  <leeming@lyx.org>
1075
1076         * text.C (redoParagraphs): add call to updateCounters(), thereby
1077         fixing the missing "Figure #:" label from the caption of a
1078         figure float.
1079
1080 2004-04-13  Angus Leeming  <leeming@lyx.org>
1081
1082         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1083         cursor is clicked out of an inset.
1084
1085 2004-04-13  Angus Leeming  <leeming@lyx.org>
1086
1087         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1088         than an InsetOld one.
1089
1090 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1091
1092         * format.[Ch]: add editor to Format
1093         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1094         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1095
1096 2004-04-08  André Pönitz  <poenitz@gmx.net>
1097
1098         * metricsinfo.h: remove PainterInfo::width member
1099
1100 2004-04-08  Angus Leeming  <leeming@lyx.org>
1101
1102         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1103         "\providecommand" rather than "\newcommand", thereby preventing
1104         clashes with packages that define "\boldsymbol" themselves.
1105         Eg, beamer.
1106
1107 2004-04-08  Angus Leeming  <leeming@lyx.org>
1108
1109         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1110         thereby squashing an unnecessary warning.
1111
1112 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1113
1114         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1115         setBuffer()
1116
1117 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1118
1119         * BufferView.C (setCursor): call redoParagraph (some insets could
1120         have been opened)
1121         (putSelectionAt): remove the 'double update' trick
1122
1123         * BufferView_pimpl.C (fitCursor): call refreshPar
1124         (workAreaDispatch): remove an uneeded update call
1125         (dispatch): remove some manual update calls
1126
1127         * cursor.[Ch]: remove cached_y_, updatePos
1128         (selHandle): set noUpdate when appropriate
1129
1130         * lyxfunc.C (dispatch): track if we need an update
1131
1132         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1133
1134         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1135         (paintSelection): cheap optimization, do not call cursorX when not
1136         needed
1137         (paintPars): change signature
1138         (refreshPar): add
1139         (paintText): adjust
1140         (paintTextInset): adjust
1141
1142         * text.C: adjust
1143
1144 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1145
1146         * lengthcommon.C: compilation fix: remove explicit array size from
1147         unit_name[] and friends
1148
1149 2004-04-05  Angus Leeming  <leeming@lyx.org>
1150
1151         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1152
1153         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1154         present only for the preferences dialog.
1155         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1156
1157 2004-04-05  Angus Leeming  <leeming@lyx.org>
1158
1159         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1160         to enable the frontends to export changes to lyxrc correctly.
1161
1162         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1163
1164 2004-04-07  André Pönitz  <poenitz@gmx.net>
1165
1166         * cursor.[Ch] (selClear, adjust): remove math
1167
1168         * cursor_slice.C: more agressive assert
1169
1170         * lyxfunc.C:
1171         * BufferView_pimpl.C: rework mouse event dispatch
1172
1173         * dociterator.C:
1174         * paragraph.C:
1175         * text2.C:
1176         * text3.C: adjust
1177
1178 2004-04-05  André Pönitz  <poenitz@gmx.net>
1179
1180         * cursor.[Ch] (valign, halign...): remove unneeded functions
1181
1182 2004-04-05  Angus Leeming  <leeming@lyx.org>
1183
1184         * lyxlength.[Ch] (unit_name et al.): const-correct.
1185
1186 2004-04-05  Angus Leeming  <leeming@lyx.org>
1187
1188         * BufferView_pimpl.C:
1189         * buffer.C:
1190         * counters.C:
1191         * cursor.C:
1192         * lyxfunc.C
1193         * paragraph.C:
1194         * pariterator.C:
1195         * text.C:
1196         * text2.C:
1197         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1198
1199 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1200
1201         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1202
1203 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1204
1205         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1206         * BufferView_pimpl.[Ch] (getStatus)
1207         * BufferView.[Ch] (getStatus): add
1208         * lyxfunc.C (getStatus): move lfuns handled in
1209         BufferView::dispatch to te function above
1210         * Cursor.C (setSelection): set selection() = true
1211
1212 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1213
1214         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1215
1216 2004-03-31  Angus Leeming  <leeming@lyx.org>
1217
1218         * lyxfunc.C (dispatch): Fall through to the generic
1219         Dialogs::show("preamble").
1220
1221 2004-03-31  Angus Leeming  <leeming@lyx.org>
1222
1223         * lyxfunc.C (dispatch): Fall through to the generic
1224         Dialogs::show("spellchecker").
1225
1226 2004-03-31  Angus Leeming  <leeming@lyx.org>
1227
1228         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1229         preferences dialog.
1230
1231 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1232
1233         * BufferView.C
1234         * cursor.[Ch]
1235         * dociterator.[Ch]:
1236         * insetiterator.[Ch]:
1237         * lyxfind.C:
1238         * lyxfunc.C:
1239         * pariterator.[Ch]:
1240         * text2.C:
1241         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1242
1243 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1244
1245         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1246         insets where we are putting the cursor.
1247
1248 2004-03-31  Angus Leeming  <leeming@lyx.org>
1249
1250         * lfuns.h:
1251         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1252
1253         * lyxrc.[Ch] (read, write): overloaded member functions taking
1254         a std::[io]stream arguments.
1255
1256         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1257
1258 2004-03-31  Angus Leeming  <leeming@lyx.org>
1259
1260         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1261         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1262
1263         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1264         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1265
1266 2004-03-31  Angus Leeming  <leeming@lyx.org>
1267
1268         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1269         the LFUN_ALL_INSETS_TOGGLE code.
1270
1271 2004-03-30  Angus Leeming  <leeming@lyx.org>
1272
1273         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1274         has died. Fall through to the generic Dialogs::show("document").
1275
1276 2004-03-30  Angus Leeming  <leeming@lyx.org>
1277
1278         * lfuns.h:
1279         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1280         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1281
1282         * lyxfunc.C (getStatus, dispatch): define the actions for these
1283         lfuns. Little more than a cut and pste job from ControlDocument.C
1284
1285         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1286
1287 2004-03-30  Angus Leeming  <leeming@lyx.org>
1288
1289         * lfuns.h:
1290         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1291         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1292
1293         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1294         open/closed state of ollapsable insets. Usage:
1295
1296         all-inset-toggle <state> <name>, where
1297         <state> == "open" || "closed" || "toggle" and
1298         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1299
1300         * lyxtext.h, text2.C (toggleInset): removed.
1301
1302         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1303         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1304         now passes LFUN_INSET_TOGGLE to the found inset.
1305
1306         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1307         is now invoked as "all-insets-toggle toggle branch".
1308
1309 2004-03-30  Angus Leeming  <leeming@lyx.org>
1310
1311         * dociterator.C:
1312         * insetiterator.C:
1313         * pariterator.[Ch]: added/corrected header blurb.
1314
1315 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1316
1317         * dociterator.[Ch]: add an inset_ member
1318         (backwardPos): implemented
1319         (backwardPos, forwardPos): use inset_ when the stack is empty.
1320         (doc_iterator_begin, doc_iterator_end): implemented
1321         * pariterator.[Ch]: adjust, add begin, end
1322         * insetiterator.[Ch]: adjust, add begin, end
1323         * cursor.C:
1324         * document.C:
1325         * BufferView.C:
1326         * BufferView_pimpl.C:
1327         * CutAndPaste.C: adjust
1328
1329 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1330
1331         * buffer.C: increment file format to 232.
1332         * LaTeXFeatures.C: add bibtopic package.
1333         * bufferparams.[Ch]: param \use_bibtopic.
1334
1335         * lyxrc.[Ch]: add lyxrc bibtex_command
1336         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1337
1338         * buffer.C: increment file format to 231.
1339
1340 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1341
1342         * dociterator.C: implement forwardPar
1343         * iterators.[Ch]: remove, replaced by
1344         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1345         * BufferView.C:
1346         * BufferView_pimpl.C:
1347         * CutAndPaste.C:
1348         * buffer.C:
1349         * bufferview_funcs.C:
1350         * cursor.C:
1351         * lyxfind.C
1352         * lyxfunc.C
1353         * paragraph_funcs.C
1354         * toc.C:
1355         * Makefile.am: adjust
1356
1357 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1358
1359         * CutAndPaste.C (pasteSelection): fix 2 crashes
1360         (eraseSelection): fix a crash
1361         * paragraph_funcs.C: remove a warning
1362
1363 2004-03-28  Angus Leeming  <leeming@lyx.org>
1364
1365         * lfuns.h:
1366         * LyXAction.C (init): new LFUN_PRINT.
1367
1368         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1369
1370 2004-03-27  Angus Leeming  <leeming@lyx.org>
1371
1372         * lfuns.h:
1373         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1374
1375         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1376
1377 2004-03-27  Angus Leeming  <leeming@lyx.org>
1378
1379         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1380         insetlist always contains non-null pointers to insets.
1381
1382 2004-03-26  Angus Leeming  <leeming@lyx.org>
1383
1384         * src/BufferView_pimpl.C:
1385         * src/CutAndPaste.C:
1386         * src/buffer.C:
1387         * src/iterators.C:
1388         * src/output_plaintext.C:
1389         * src/outputparams.h:
1390         * src/paragraph_funcs.C:
1391         * src/rowpainter.C:
1392         * src/text.C:
1393         * src/text2.C:
1394         * src/frontends/controllers/ControlErrorList.C:
1395         * src/frontends/gtk/FileDialogPrivate.C:
1396         * src/frontends/gtk/GPainter.C:
1397         * src/frontends/gtk/GToolbar.C:
1398         * src/frontends/qt2/QRef.C:
1399         * src/mathed/math_scriptinset.C: squash compiler warnings.
1400
1401 2004-03-26  Angus Leeming  <leeming@lyx.org>
1402
1403         * ispell.C (LaunchIspell::start):
1404         * lyx_cb.C (AutoSaveBuffer::start):
1405         invoke run(DontWait) rather than runNonBlocking().
1406
1407 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1408
1409         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1410
1411 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1412
1413         * kbsequence.C (print): adjust
1414
1415         * kbmap.C (printKeySym): rename and change signature
1416         (printKey): use LyXKeySym::print()
1417
1418 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1419
1420         * undo.C: add using std::advance to compile for stlport
1421
1422 2004-03-24  Angus Leeming  <leeming@lyx.org>
1423
1424         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1425         it leads to a crash when no buffer is present.
1426
1427 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1428             Martin Vermeer  <martin.vermeer@hut.fi>
1429
1430         * lyxfunc.C (dispatch):
1431         * bufferparams.C (readToken): use the new LColor::setColor
1432
1433         * LColor.[Ch] (setColor): new version that takes two strings as
1434         argument and creates a new color entry if necessary
1435
1436 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1437
1438         * buffer.C (makeLaTeXFile): if the main latex file that is
1439         processed is usually a subdocument of some master, then pretend
1440         for a while that it is actually the master
1441
1442 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1443
1444         * buffer.C (getLabelList):
1445         (getBibkeyList): use getMasterBuffer()
1446         (getMasterBuffer): new method. Returns the main document in the
1447         case where one is using included documents.
1448
1449 2004-03-25  André Pönitz  <poenitz@gmx.net>
1450
1451         * Makefile.am:
1452         * iterators.[Ch]:
1453         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1454
1455         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1456
1457         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1458         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1459
1460         * ParameterStruct.h: merge with ParagraphParameters
1461
1462         * lyxtext.h: remove LyXText::parOffset() and getPar()
1463
1464         * text3.C: Remove all 'manual' update calls. We do now one per user
1465         interaction which is completely sufficient.
1466
1467         * Bidi.C:
1468         * BufferView.[Ch]:
1469         * BufferView_pimpl.C:
1470         * FontIterator.[Ch]:
1471         * MenuBackend.C:
1472         * ParagraphParameters.[Ch]:
1473         * buffer.C:
1474         * buffer.h:
1475         * bufferlist.C:
1476         * cursor.[Ch]:
1477         * cursor_slice.[Ch]:
1478         * dociterator.[Ch]:
1479         * errorlist.[Ch]:
1480         * factory.C:
1481         * lfuns.h:
1482         * lyxfind.C:
1483         * lyxfunc.C:
1484         * output_docbook.[Ch]:
1485         * output_latex.[Ch]:
1486         * output_linuxdoc.[Ch]:
1487         * output_plaintext.[Ch]:
1488         * paragraph.[Ch]:
1489         * paragraph_funcs.[Ch]:
1490         * paragraph_pimpl.[Ch]:
1491         * rowpainter.C:
1492         * tabular.[Ch]:
1493         * text.C:
1494         * text2.C:
1495         * toc.C:
1496         * undo.[Ch]: adjust
1497
1498         * frontends/controllers/ControlDocument.C:
1499         * frontends/controllers/ControlErrorList.C:
1500         * frontends/controllers/ControlSpellchecker.C:
1501         * insets/inset.C:
1502         * insets/inset.h:
1503         * insets/insetbase.h:
1504         * insets/insetbibitem.C:
1505         * insets/insetbox.C:
1506         * insets/insetbranch.C:
1507         * insets/insetcaption.C:
1508         * insets/insetcharstyle.C:
1509         * insets/insetcharstyle.h:
1510         * insets/insetcollapsable.C:
1511         * insets/insetcollapsable.h:
1512         * insets/insetert.C:
1513         * insets/insetfloat.C:
1514         * insets/insetfoot.C:
1515         * insets/insetmarginal.C:
1516         * insets/insetnote.C:
1517         * insets/insetoptarg.C:
1518         * insets/insettabular.C:
1519         * insets/insettext.C:
1520         * insets/insettext.h:
1521         * insets/insetwrap.C:
1522         * mathed/math_mboxinset.C:
1523         * mathed/math_nestinset.C:
1524         * mathed/math_scriptinset.C:
1525         * mathed/math_scriptinset.h:
1526         * support/types.h:
1527
1528 2004-03-24  Angus Leeming  <leeming@lyx.org>
1529
1530         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1531         deal with any child processes that have finished but are waiting to
1532         communicate this fact to the rest of LyX.
1533
1534 2004-03-24  Angus Leeming  <leeming@lyx.org>
1535
1536         64-bit compile fixes.
1537
1538         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1539         (c-tor): pass lyx::pos_types rather than ints.
1540
1541         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1542         lyx::pos_type.
1543
1544         * text.C (Delete): compile fix.
1545         (getPar): ensure that function declaration is the same as that in
1546         the header file.
1547
1548 2004-03-23  Angus Leeming  <leeming@lyx.org>
1549
1550         * ispell.C (LaunchIspell):
1551         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1552         a boost::shred_ptr rather than a std::auto_ptr.
1553
1554 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1555
1556         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1557         handle LFUN_FILE_INSERT_*
1558
1559         * lyxrc.C (setDefaults, getDescription, output, read):
1560         * lyxrc.h: remove ps_command
1561
1562 2004-03-22  Angus Leeming  <leeming@lyx.org>
1563
1564         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1565         Ensure that error_handler is processed once only and that all data
1566         is saved before attempting to output any warning messages.
1567
1568         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1569
1570 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1571
1572         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1573
1574 2004-03-19  André Pönitz  <poenitz@gmx.net>
1575
1576         * cursor.[Ch] (reset): take main text inset as argument
1577
1578         * BufferView: adjust
1579         * BufferView_pimpl.C: adjust
1580
1581         * paragraph.[Ch]: fix completely broken operator=()
1582
1583 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1584
1585         * LColor.C (getFromLyXName): make sure that the color name is used
1586         as lowercase.
1587
1588 2004-03-17  Angus Leeming  <leeming@lyx.org>
1589
1590         * lfuns.h:
1591         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1592
1593         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1594         dialog and to kill a forked process.
1595
1596 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1597
1598         * text2.C (setCursorFromCoordinates): fix font problem
1599
1600 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1601
1602         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1603         bogus "rebuild cursor" code
1604
1605 2004-03-11  André Pönitz  <poenitz@gmx.net>
1606
1607         * buffer.[Ch]: use InsetText instead of LyXText as container for
1608         the main lyx text.
1609
1610         * dociterator.[Ch]: drop the BufferView * member which is not needed
1611         anymore after the change to buffer.C
1612
1613         * paragraph_funcs.C:
1614         * text.C:
1615         * text2.C:
1616         * BufferView.[Ch]:
1617         * BufferView_pimpl.[Ch]:
1618         * cursor.[Ch]:
1619         * cursor_slice.[Ch]: adjust
1620
1621         * text3.C: fix bug in mathDispatch
1622
1623 2004-03-08  André Pönitz  <poenitz@gmx.net>
1624
1625         * undo.[Ch]: use 'StableDocumentIterator' as base for
1626         the Undo struct.
1627
1628 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1629
1630         * LaTeXFeatures.C:
1631         * bufferparams.[Ch]: add jurabib support and param.
1632
1633         * LaTeX.C: add FIXME/comment.
1634
1635 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1636
1637         * buffer.C: increment file format to 230.
1638
1639 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1640
1641         * cursor.C (dispatch): avoid infinite loops
1642
1643 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1644
1645         * rowpainter.C (paintSelection): fix x coordinates
1646
1647 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1648
1649         * text.C (rowBreakPoint): fix breaking before displayed insets
1650
1651 2004-03-01  André Pönitz  <poenitz@gmx.net>
1652
1653         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1654
1655         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1656
1657         * Makefile.am:
1658         * BufferView.C:
1659         * BufferView_pimpl.C:
1660         * buffer.C:
1661         * lyxfind.C:
1662         * lyxfunc.C:
1663         * text.C:
1664         * text2.C:
1665         * text3.C: adjust
1666
1667 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1668
1669         * lyxtext.h:
1670         * text.C:
1671         * text2.C:
1672         * rowpainter.C:
1673         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1674         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1675
1676 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1677
1678         * Bidi.[Ch] (computeTables): const correctness
1679         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1680         fill_hfill, fill_label_hfill and x from Row
1681         * lyxtext.h: prepareToPrint returns a RowMetrics
1682         * rowPainter.C: adjust
1683         * text.C (prepareToPrint): use width, not textWidth. adjust
1684         (redoParagraphInternal, cursorX): adjust
1685         * text2.C (getColumnNearX): adjust
1686         (init): put a default value to the top LyXText::width
1687
1688 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1689
1690         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1691
1692 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1693
1694         * lyxtext.h: add FontIterator class
1695
1696         * text.C (FontIterator, operator*, operator->, operator++): add
1697         (rowBreakPoint, setRowWidth): adjust (fixing a
1698         rebreaking bug)
1699
1700 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1701
1702         * BufferView_pimpl.C (workAreaDispatch): allow also
1703         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1704
1705 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1706
1707         * text.C (rowBreakPoint): fix a bug showing with very large insets
1708
1709 2004-02-25  André Pönitz  <poenitz@gmx.net>
1710
1711         * text3.C:
1712         * cursor.[Ch]: move some mathed specific code to mathed
1713
1714 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1715
1716         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1717         use_tempdir in preferences
1718         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1719         tempfile creation
1720         * lyx_main.C: ensure that tempdir is valid
1721         * lyxlex.h: correct typo
1722         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1723         * paragraph.[Ch] (isMultiLingual): make const
1724         * cursor.[Ch] (openable): make const
1725
1726 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1727
1728         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1729
1730 2004-02-20  André Pönitz  <poenitz@gmx.net>
1731
1732         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1733
1734         * cursor.[Ch]: prepare for localized getStatus()
1735
1736         * lyxtext.h:
1737         * tabular.C:
1738         * text.C:
1739         * text2.C:
1740         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1741
1742 2004-02-20  André Pönitz  <poenitz@gmx.net>
1743
1744         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1745
1746 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1747
1748         * text2.C (setCursorFromCoordinates): switch to absolute coords
1749         (cursorUp): adjust
1750         (cursorDown): adjust
1751         * text3.C (dispatch): adjust
1752
1753 2004-02-16  André Pönitz  <poenitz@gmx.net>
1754
1755         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1756           insets/ChangeLog)
1757
1758         * cursor_slice.[Ch]: remove unneeded acessor function
1759
1760         * lyxtext.h: rename rtl() to isRTL()
1761
1762         * rowpainter.C:
1763         * tabular.C:
1764         * text.C:
1765         * text2.C:
1766         * text3.C: adjust
1767
1768 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1769
1770         * rowpainter.C (paintSelection): coord fix
1771
1772 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1773
1774         * Spacing.C: compile fix
1775
1776 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1777
1778         * cursor.C (dispatch): restore current_ before returning
1779
1780 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1781
1782         * text2.C (cursorUp, cursorDown): fix coords
1783         (moveUp): fix crash
1784
1785 2004-02-12  André Pönitz  <poenitz@gmx.net>
1786
1787         * lyxtext.h:
1788         * text.C:
1789         * text2.C:
1790         * text3.C: add LCursor & parameter to most cursor movement functions
1791           remove usage of LyXText::cursorRow() and cursorPar()
1792
1793         * cursor.[Ch]: add textRow() needed members
1794
1795         * BufferView.C:
1796         * BufferView_pimpl.C:
1797         * paragraph.[Ch]:
1798         * BufferView.C:
1799         * BufferView_pimpl.C: adjust
1800
1801 2004-02-11  André Pönitz  <poenitz@gmx.net>
1802
1803         * lyxfunc.C:
1804         * BufferView.[Ch]:
1805         * BufferView_pimpl.C: shift undo/redo handling
1806
1807         * cursor.[Ch]: fix mathed crash
1808
1809         * lyxfind.C:
1810         * lyxtext.h: move selectionAsText to LCursor
1811
1812         * output_latex.C:
1813         * paragraph.C:
1814         * text.C:
1815         * text2.C:
1816         * text3.C: adjust
1817
1818         * rowpainter.C: fix excessive drawing
1819
1820 2004-02-06  André Pönitz  <poenitz@gmx.net>
1821
1822         * BufferView.[Ch]:
1823         * BufferView_pimpl.[Ch]:
1824         * text3.C: move some text specific LFUN handling
1825
1826 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1827
1828         * text3.C (checkInsetHit): adjust coords
1829         * text2.C (getColumnNearX): adjust coords
1830         (edit): adjust coords
1831         * text.C (getRowNearY): add two asserts
1832
1833 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1834
1835         * converter.C:
1836         * format.C: add using std::distance to compile on gcc 2.95/stlport
1837
1838 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1839
1840         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1841
1842 2004-02-04  André Pönitz  <poenitz@gmx.net>
1843
1844         * BufferView.[Ch] (insertInset):
1845         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1846
1847         * text2.C:
1848         * text3.C: adjust
1849
1850 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1851
1852         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1853         on the default clause of the switch
1854         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1855         wasn't catched by LCursor::dispatch
1856
1857 2004-02-03  André Pönitz  <poenitz@gmx.net>
1858
1859         * BufferView.C:
1860         * cursor.[Ch]: some additional asserts
1861
1862         * undo.[Ch]: remove LyXText dependency in interface
1863
1864         * lyxfunc.C: adjust
1865
1866         * lyxtext.h (firstPar, lastPar): remove dead functions
1867
1868         * text.C:
1869         * text2.C:
1870         * text3.C:
1871         * paragraph.[Ch]: adjust
1872
1873 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1874
1875         * lyxfind.C (find): fix argument order in call to ::find
1876
1877 2004-02-02  André Pönitz  <poenitz@gmx.net>
1878
1879         * cursor.[Ch]: remove direct access to anchor
1880
1881         * text.C: remove findText() hack
1882
1883 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1884
1885         * iterators.[Ch] (lockPath): remove in favour of...
1886         * BufferView.[Ch] (setCursor): this addition
1887         * BufferView.C (putSelectionAt): adjust
1888         * undo.C (performUndoOrRedo): adjust
1889         * lyxfunc.C (dispatch): adjust
1890
1891 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1892
1893         * iterators.C (lockPath): add a missing slice
1894         * undo.C (performUndoOrRedo): remove redundant positioning code
1895
1896 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1897
1898         * vc-backend.C (scanMaster): ";" -> ';'
1899
1900 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1901
1902         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1903         std::binary_function
1904
1905         * lyxtextclass.C (compare_name): rename to...
1906         (LayoutNamesEqual): ...this
1907
1908         * lyxlex_pimpl.C (compare_tags): inherit from
1909         std::binary_function, put back into anon namespace
1910
1911         * lyxfind.C (MatchString): inherig from std::binary_function
1912         (findChange): use empty() istead of !size()
1913
1914         * format.C (FormatNamesEqual): new functor
1915         (getFormat): use it
1916         (getNumber): use it
1917         (add): use it
1918         (erase): use it
1919         (setViewer): use it
1920
1921         * converter.C (compare_Converter): rename to...
1922         (ConverterEqual): ...this, and fixup a bit.
1923         (getConverter): use it, and make function const
1924         (getNumber): use it, and make function const
1925         (add): use it
1926         (erase): use it:
1927
1928         * bufferlist.C: add using boost::bind
1929
1930         * MenuBackend.C (MenuNamesEqual): new functor
1931         (hasMenu): use it, and make function const
1932         (hasSubmenu): use nested bind to get rid of compare_memfun.
1933
1934 2004-01-30  André Pönitz  <poenitz@gmx.net>
1935
1936         * BufferView_pimpl.C:
1937         * cursor.C:
1938         * cursor.h:
1939         * cursor_slice.[Ch]:
1940         * lyxfunc.C:
1941         * lyxtext.h:
1942         * paragraph_funcs.C:
1943         * paragraph_funcs.h:
1944         * rowpainter.C:
1945         * text.C:
1946         * text2.C:
1947         * text3.C: move some of the edit(x,y) handling to the insets
1948         some coordinate changes.
1949
1950 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1951
1952         * text.C: add using statements for std::advance and std::distance
1953
1954         * paragraph.C: add using statement for std::distance
1955
1956         * lyxfind.C: add using statement for std::advance
1957
1958         * cursor.C (region): remove std:: from swap
1959         (openable): use nucleus in stead of operator->
1960
1961         * BufferView.C: add using statements for std::distance and std::swap
1962
1963 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1964
1965         * iterators.C: Remove the pimple, move the needed structures to
1966         the header file. Create accessor for the positions stack.
1967         (asPosIterator): remove function
1968
1969         * PosIterator.C (PosIterator): move constructors to top of file
1970         (PosIterator): reimplement the constructor taking a ParIterator in
1971         terms of setFrom.
1972         (setFrom): new function
1973         (operator!=): inline it
1974
1975 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1976
1977         * lyxfind.C (replaceAll): use std::advance
1978
1979         * iterators.h: inherit from std::iterator.
1980
1981         * PosIterator.C (advance, distance): remove
1982         * PosIterator.h: interit from std::iterator.
1983
1984 2004-01-26  André Pönitz  <poenitz@gmx.net>
1985
1986         * BufferView.[Ch]:
1987         * BufferView_pimpl.[Ch]:
1988         * InsetList.[Ch]:
1989         * PosIterator.[Ch]:
1990         * buffer.h:
1991         * bufferview_funcs.C:
1992         * cursor.[Ch]:
1993         * cursor_slice.h:
1994         * factory.[Ch]:
1995         * iterators.[Ch]:
1996         * lyxfind.C:
1997         * lyxfunc.C:
1998         * lyxtext.h:
1999         * output_docbook.C:
2000         * output_latex.C:
2001         * output_linuxdoc.C:
2002         * output_plaintext.C:
2003         * paragraph.[Ch]:
2004         * paragraph_funcs.[Ch]:
2005         * paragraph_pimpl.[Ch]:
2006         * rowpainter.C:
2007         * tabular.C:
2008         * tabular.h:
2009         * text.C:
2010         * text2.C:
2011         * text3.C: more IU:  dumps most of the rest of the mathcursor
2012     implementation into cursor.[Ch]; "globalize" a bit of it.
2013
2014 2004-01-25  Angus Leeming  <leeming@lyx.org>
2015
2016         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2017
2018 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2019
2020         * LaTeXFeatures.h: add nice_ and nice() const
2021         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2022
2023 2004-01-20  André Pönitz  <poenitz@gmx.net>
2024
2025         * BufferView.[Ch]:
2026         * BufferView_pimpl.C:
2027         * PosIterator.C:
2028         * bufferview_funcs.C:
2029         * cursor.[Ch]:
2030         * cursor_slice.[Ch]:
2031         * factory.C:
2032         * iterators.C:
2033         * lyx_cb.C:
2034         * lyxfind.C:
2035         * lyxfunc.C:
2036         * lyxtext.h:
2037         * rowpainter.C:
2038         * text.C:
2039         * text2.C:
2040         * text3.C:
2041         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2042           LCursor and mathcursor parts to LCursor and InsetBase.
2043
2044 2004-01-15  André Pönitz  <poenitz@gmx.net>
2045
2046         * cursor_slice.[Ch]: add a few covienience functions
2047
2048         * funcrequest.[Ch]: remove BufferView * member
2049
2050         * BufferView_pimpl.C:
2051         * cursor.C:
2052         * factory.[Ch]:
2053         * lyxfind.[Ch]:
2054         * lyxfunc.C:
2055         * lyxtext.h:
2056         * text3.C:
2057         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2058
2059 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2060
2061         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2062         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2063
2064 2004-01-13  André Pönitz  <poenitz@gmx.net>
2065
2066         * textcursor.[Ch]:
2067         * lyxtext.h: hide cursor and selection anchor behind accessor function
2068
2069         * BufferView.C:
2070         * BufferView_pimpl.[Ch]:
2071         * PosIterator.C:
2072         * bufferview_funcs.C:
2073         * cursor.h:
2074         * lyxfind.C:
2075         * lyxfunc.C:
2076         * text.C:
2077         * text2.C:
2078         * text3.C:
2079         * undo.C: adjust
2080
2081         * cursor.h:
2082         * cursor_slice.[Ch]: some integer type changes for inset unification
2083
2084         * lyxcursor.[hC]: remove, it's CursorSlice now.
2085
2086         * Makefile.am:
2087         * BufferView_pimpl.[Ch]:
2088         * bufferview_funcs.C:
2089         * cursor_slice.C:
2090         * lyxtext.h:
2091         * text.C:
2092         * text2.C:
2093         * text3.C:
2094         * textcursor.[Ch]: adjust
2095
2096 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2097
2098         * text2.C (undoSpan): add and use
2099         * text.C (breakParagraph): use undoSpan (fix bug 578)
2100         * lyxtext.h: adjust
2101
2102 2004-01-08  Angus Leeming  <leeming@lyx.org>
2103
2104         * BufferView_pimpl.C (MenuInsertLyXFile):
2105         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2106         * lyxfunc.C (menuNew, open, doImport):
2107         FileFilterList change to the FileDialog open and save functions.
2108
2109 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2110
2111         * ShareContainer.h: make isEqual and isUnique adaptable
2112
2113         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2114
2115 2004-01-07  Angus Leeming  <leeming@lyx.org>
2116
2117         * LyXAction.C:
2118         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2119
2120         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2121
2122         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2123         functions replacing find, replace and replaceAll.
2124
2125         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2126         LFUN_WORDFIND(FORWARD|BACKWARD).
2127
2128 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2129
2130         * text.C (breakParagraph): remove an outdated #warning
2131
2132 2004-01-07  André Pönitz  <poenitz@gmx.net>
2133
2134         * lyxfind.C: somewhat clearer logic
2135
2136         * text.C: prevent crash in cursorX on unitialized row cache
2137
2138 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2139
2140         * lyxcursor.[Ch] (operator>): add
2141         * textcursor.C (selStart, selEnd): use std::min and std::max
2142
2143 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2144
2145         * Chktex.C: include boost/format.hpp
2146
2147 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2148
2149         * InsetList.C: replace functor MathcIt with adaptable functor
2150         InsetTablePosLess
2151         (insetIterator): modify accordingly
2152
2153         * BranchList.h: move the BranchNamesEqual functor here from...
2154         * BranchList.C: ... to here
2155
2156         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2157         SameName and match.
2158         (add): replace a finding loop with std::find_if.
2159
2160 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2161
2162         * output_docbook.C: moving LatexParam functionality into
2163         .layout files
2164
2165 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2166
2167         * buffer.C: increment format to 229.
2168
2169 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2170
2171         * LaTeXFeatures.C:
2172         * lyx_sty.[Ch]: remove minipageindent_def
2173
2174         * LyXAction.C:
2175         * factory.C:
2176         * lfuns.h:
2177         * lyxfunc.C:
2178         * text3.C: remove LFUN_INSET_MINIPAGE
2179
2180 2003-12-28  Angus Leeming  <leeming@lyx.org>
2181
2182         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2183
2184 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2185
2186         * text2.C (setParagraph): fix off-by-one crash
2187
2188 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2189
2190         * output_docbook.C: header stuff for AGU
2191
2192 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2193
2194         * text2.C (redoCursor): remove
2195         * text.C:
2196         * text3.C:
2197         * BufferView_pimpl.C: remove calls to redoCursor and
2198         setCursor(cursor.par(), cursor.pos()) all around
2199
2200 2003-12-15  Angus Leeming  <leeming@lyx.org>
2201
2202         * buffer.C: up the format to 228.
2203
2204 2003-12-15  André Pönitz  <poenitz@gmx.net>
2205
2206         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2207         slices
2208
2209         * Makefile.am:
2210
2211         * BufferView_pimpl.C:
2212         * cursor.[Ch]:
2213         * lyxcursor.[Ch]:
2214         * rowpainter.[Ch]:
2215         * lyxtext.h:
2216         * text.C:
2217         * text2.C:
2218         * text3.C: adjust
2219
2220 2003-12-15  Angus Leeming  <leeming@lyx.org>
2221
2222         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2223         than getFromGUIName to manipulate the color.
2224
2225 2003-12-14  Angus Leeming  <leeming@lyx.org>
2226
2227         * BranchList.[Ch]: minimize the API.
2228         (Branch::getBranch, getColor): now return a 'const &'.
2229         (Branch::setSelected) now returns a bool set to true if the
2230         selection status changes.
2231         (BranchList::clear, size, getColor, setColor, setSelected,
2232         allBranches, allSelected, separator): removed.
2233         (BranchList::find): new functions, returning the Branch with
2234         the given name.
2235         (BranchList::add, remove): return a bool indicating that
2236         the operation was successful.
2237
2238         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2239         new InsetBranch::isBranchSlected member function.
2240
2241         * LColor.[Ch]: mimimize the API.
2242         (fill): renamed as addColor and made private.
2243         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2244         versions of these functions taking a string arg have been removed.
2245
2246         * bufferparams.C (readToken):
2247         * lyxfunc.C (dispatch):
2248         * lyxrc.C (read): changes due to the altered BranchList and
2249         LColor APIs.
2250
2251         * factory.C (createInset, readInset): changes due to altered
2252         InsetBranch c-tor.
2253
2254 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2255
2256         * factory.C:
2257         * lyxfunc.C: remove insetminipage. "minipage-insert"
2258         now produces a frameless minipage box inset.
2259
2260 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2261
2262         * textcursor.[Ch] (selStart,selEnd): add new methods
2263         remove selection::start, end, use LyXCursor::operator<
2264         * lyxcursor.[Ch] (operator<): add
2265         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2266         * BufferView.[Ch] (unsetXSel): add
2267         * text2.C (clearSelection): use unsetXSel,adjust
2268         * text.C: adjust
2269         * text3.C: adjust
2270         * rowpainter.C: adjust
2271         * bufferview_funcs.C (put_selection_at): adjust
2272
2273 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2274
2275         * BufferView_pimpl.C: small coord. correction
2276
2277 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2278
2279         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2280         dragging over the splash screen.
2281
2282 2003-12-11  Angus Leeming  <leeming@lyx.org>
2283
2284         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2285         as it is now handled in LyXText::dispatch.
2286
2287         * text3.C (doInsertInset): remove a level of nesting.
2288
2289 2003-12-11  Angus Leeming  <leeming@lyx.org>
2290
2291         * factory.C (createInset): changes due to the changed interface to
2292         InsetCommandMailer::string2params.
2293
2294 2003-12-10  Angus Leeming  <leeming@lyx.org>
2295
2296         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2297         'dialog-show-new-inset <inset name>'
2298
2299 2003-12-10  Angus Leeming  <leeming@lyx.org>
2300
2301         * buffer.C: up the format to 227.
2302
2303         * factory.C: the box inset is now identified simply by 'Box'.
2304
2305 2003-12-10  Angus Leeming  <leeming@lyx.org>
2306
2307         * buffer.C: up the format to 226.
2308
2309         * factory.C: the note inset is now identified simply by 'Note'.
2310
2311 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2312
2313         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2314         when a pit is enough. Standarize a couple of loops.
2315
2316 2003-12-05  Angus Leeming  <leeming@lyx.org>
2317
2318         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2319         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2320         data to the re-worked "log" dialog.
2321
2322 2003-12-03  André Pönitz  <poenitz@gmx.net>
2323
2324         * PosIterator.C:
2325         * iterators.C:
2326         * lyxtext.h:
2327         * output_latex.C:
2328         * paragraph_funcs.C:
2329         * text.C:
2330         * text2.C: use Inset::getText instead of Inset::getParagraph
2331
2332 2003-12-03  André Pönitz  <poenitz@gmx.net>
2333
2334         * buffer.[Ch]:
2335         * lyxtext.h:
2336         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2337         InsetText::read() as LyXText::read()
2338
2339 2003-12-02  Angus Leeming  <leeming@lyx.org>
2340
2341         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2342         type. Add a comment in the implementation that the function uses
2343         the stream's bad() function rather than fail() as the std::streams
2344         would do.
2345
2346 2003-12-02  André Pönitz  <poenitz@gmx.net>
2347
2348         * lyxlex.[Ch]: make interface more similar to std::stream
2349
2350         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2351
2352 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2353
2354         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2355
2356 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2357
2358         * vspace.[Ch]: remove VSpace::NONE
2359
2360 2003-12-01  André Pönitz  <poenitz@gmx.net>
2361
2362         * buffer.[Ch]:
2363         * lyxtext.h: move ParagraphList member to LyXText
2364         rename LyXText::ownerParagraphs to LyXText::paragraph
2365
2366         * CutAndPaste.C:
2367         * bufferview_funcs.C:
2368         * iterators.[Ch]:
2369         * lyx_cb.C:
2370         * paragraph.C:
2371         * rowpainter.C:
2372         * tabular.C:
2373         * text.C:
2374         * text2.C:
2375         * text3.C: adjust
2376
2377         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2378
2379         * undo.C: fix cursor positioning
2380
2381 2003-12-01  John Levon  <levon@movementarian.org>
2382
2383         * BufferView_pimpl.C: fix a crash on exit with
2384         a buffer open
2385
2386 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2387
2388         * BranchList.C: fix setSelected() method.
2389
2390 2003-11-28  André Pönitz  <poenitz@gmx.net>
2391
2392         * ParagraphParameters.[Ch]:
2393         * ParameterStruct.h: remove space above/below from Paragraph to
2394          InsetVSpace
2395
2396         * BufferView_pimpl.C:
2397         * factory.C:
2398         * lyxfunc.C:
2399         * lyxtext.h:
2400         * output_latex.C:
2401         * paragraph.C:
2402         * paragraph_funcs.C:
2403         * rowpainter.[Ch]:
2404         * text.C:
2405         * text2.C:
2406         * text3.C: adjust
2407
2408 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2409
2410         * factory.C: Syntax change for CharStyles
2411
2412 2003-11-28  André Pönitz  <poenitz@gmx.net>
2413
2414         * BufferView.[Ch]:
2415         * BufferView.[Ch]:
2416         * buffer.[Ch]:
2417         * buffer.[Ch]: move LyXText member
2418
2419 2003-11-28  André Pönitz  <poenitz@gmx.net>
2420
2421         * BufferView.[Ch]: make LyXText * text a private member
2422
2423         * BufferView_pimpl.C:
2424         * cursor.C:
2425         * iterators.C:
2426         * lyx_cb.C:
2427         * lyxfind.C:
2428         * lyxtext.h:
2429         * rowpainter.[Ch]:
2430         * text.C:
2431         * text2.C:
2432         * undo.C: adjust
2433
2434         * output_plaintext.C: cleanup
2435
2436 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2437
2438         * buffer.C:
2439         * lyxtextclass.[Ch]: parametrize SGML document header
2440
2441 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2442
2443         * converter.[Ch]:
2444         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2445         getFlavor().
2446
2447 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2448
2449         * text2.C (setFont): rework using PosIterator (no more recursive)
2450         (setCharFont): no more needed
2451         (setLayout): no more selection cursors fiddling (done by redoCursor)
2452         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2453         destroy remaining ones)
2454
2455 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2456
2457         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2458         * lyxtext.h: ditto
2459         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2460         selection cursors
2461         * lyxfunc.C: adjust
2462         * text3.C: adjust + re-allow multi par depth changes
2463         * textcursor.C: simplify a bit
2464
2465 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2466
2467         * src/buffer.C:
2468         * src/lyxlayout.C:
2469         * src/lyxlayout.h:
2470         * src/lyxtext.h:
2471         * src/output_docbook.C:
2472         * src/output_latex.C:
2473         * src/paragraph.C:
2474         * src/paragraph.h:
2475         * src/sgml.C:
2476         * src/sgml.h:
2477         * src/text2.C: Introducing a number of tags parametrizing various
2478         XML formats that we may want to support
2479
2480 2003-11-25  André Pönitz  <poenitz@gmx.net>
2481
2482         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2483
2484         * lyxtext.h (leftMargin/rightMargin): simplify interface
2485
2486         * rowpainter.C:
2487         * text.C:
2488         * text2.C:
2489         * text3.C: adjust
2490
2491 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2492
2493         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2494         master file to any child files. Fixes bug 546.
2495
2496 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2497
2498         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2499
2500 2003-11-24  André Pönitz  <poenitz@gmx.net>
2501
2502         * rowpainter.C: simplification
2503
2504         * text2.C (updateCounters): remove call to redoParagraph on
2505         changed labels as this is far too expensive.
2506
2507 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2508
2509         * converter.C (convert): fix a crash: this function gets
2510         called with buffer == 0 from importer code.
2511
2512 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2513
2514         * text3.C (cursorPrevious): make sure that we do not compare
2515         iterators form different containers.
2516         (cursorNext): ditto
2517
2518         * rowpainter.C (paintSelection): make sure that we do not compare
2519         iterators from different containers.
2520
2521         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2522         iterators from different ParagraphList containers.
2523         [NEXT] ditto
2524
2525         * text2.C (LyXText): change order of initialization slightly
2526         (operator=): new function. copy all variables except cache_par_
2527         (moveUp): make sure that we do not compare iterators from
2528         different ParagraphList constainers.
2529         (moveDown): ditto
2530
2531         * text.C (firstPar): new function
2532         (lastPar): new function
2533         (endPar): new function
2534
2535         * lyxtext.h: move things around and group public functions, public
2536         variables, private functions, private variables
2537
2538 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2539
2540         * factory.C: change call to InsetERT constructor to avoid
2541         additional invocation of method status
2542         * text2.C (toggleInset): remove redundant update() call
2543         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2544         instead of a Bufferview pointer
2545
2546 2003-11-21  André Pönitz  <poenitz@gmx.net>
2547
2548         * rowpainter.C: simplification
2549
2550 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2551
2552         * text3.C (dispatch): make possible to extend a word/row selection
2553         with the mouse
2554
2555 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2556
2557         * lyxtext.h: x0_,y0_ -> xo_,yo_
2558         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2559         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2560         * rowpainter.C (paintRows): paint full paragraphs
2561
2562 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2563
2564         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2565         screen coordinates)
2566
2567 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2568
2569         * lyxtext.h: add x0_, y0_
2570         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2571         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2572
2573 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2574
2575         * text2.C (setCursorIntern): move the x_target update here *
2576         * text3.C: change some bv() to true/false in calls to
2577         cursorUp/Down/Right/Left
2578         * cursor.C: use helper function.
2579
2580 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2581
2582         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2583         * paragraph_funcs.[Ch]: correct comment
2584         * rowpainter.C: do not paint selections away from bv->cursor()
2585         Fix a long standing selection painting bug.
2586         * text3.C: generalize mouse-selection code to LyXTexts other that
2587         top one
2588         * textcursor.C: do not use y coords if we can use par offsets
2589
2590 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2591
2592         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2593         cursor position after e.g. inset insert)
2594
2595 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2596
2597         * lyxfind.C (replace): adjust to locking removal + some
2598         code simplification
2599
2600 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2601
2602         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2603         of the path
2604
2605 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2606
2607         * lyxlayout.[Ch]:
2608         * output_docbook.C: XML sanitation: new layout
2609         parameters InnerTag and CommandDepth
2610
2611 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2612
2613         * BufferView_pimpl.C:
2614         * factory.C:
2615         * text3.C: Fix the insertion and modification of button-style
2616         insets
2617
2618 2003-11-13  André Pönitz  <poenitz@gmx.net>
2619
2620         * InsetList.[Ch]: remove deleteLyXText
2621
2622         * paragraph.[Ch]: cache beginOfBody position
2623
2624         * Bidi.C:
2625         * text.C:
2626         * text2.C:
2627         * text3.C: remove superfluous update() calls
2628
2629         * vspace.C: cleanup
2630
2631 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2632
2633         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2634         * BufferView.C (fitLockedInsetCursor): remove
2635         * cursor.[Ch] (getDim): add
2636         * text.C (getRowNearY): add faster version
2637         * text3.C: remove some update calls
2638
2639 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2640
2641         * LaTeXFeatures.C:
2642         * LyXAction.C:
2643         * MenuBackend.C:
2644         * MenuBackend.h:
2645         * dispatchresult.h:
2646         * factory.C:
2647         * lfuns.h:
2648         * lyxfunc.C:
2649         * lyxtextclass.C:
2650         * lyxtextclass.h:
2651         * text3.C: The Character Style /XML short element patch.
2652
2653 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2654
2655         * text3.C:
2656         * factory.C: Small step to solving 'unable to insert some insets'
2657         problem
2658
2659 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2660
2661         * cursor.[Ch] (updatePos): new function for updating the y
2662         position of the tip inset
2663         * bufferview_funcs.C (put_selection_at):
2664         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2665
2666 2003-11-11  André Pönitz  <poenitz@gmx.net>
2667
2668         * text.C: remove big comment on invalid Paragraph pointers as it is
2669         not valid anymore
2670
2671 2003-11-11  André Pönitz  <poenitz@gmx.net>
2672
2673         * text_funcs.[Ch]: merge with ...
2674
2675         * text.C: ... this
2676
2677         * lyxtext.h:
2678         * text2.C:
2679         * text3.C: adjust
2680
2681         * Makefile.am: remove text_funcs.[Ch]
2682
2683 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2684
2685         * cursor.C (getPos): return absolute cached y coord
2686
2687         * BufferView_pimpl.C (fitCursor): new simplistic code
2688         (workAreaDispatch): add a fitCursor call
2689
2690 2003-11-10  André Pönitz  <poenitz@gmx.net>
2691
2692         * BufferView.[Ch]:
2693         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2694
2695 2003-11-10  André Pönitz  <poenitz@gmx.net>
2696
2697         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2698         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2699         indicate that the cursor needs to leave an inset
2700
2701         * lyxtext.h: remove inset locking
2702
2703         * cursor.[Ch]: re-implement functionality provided by inset locking
2704
2705         * BufferView.[Ch]:
2706         * BufferView_pimpl.[Ch]:
2707         * LyXAction.C:
2708         * bufferview_funcs.[Ch]:
2709         * factory.C:
2710         * funcrequest.[Ch]:
2711         * iterators.C:
2712         * lyx_cb.C:
2713         * lyxfind.C:
2714         * lyxfunc.C:
2715         * text.C:
2716         * text2.C:
2717         * text3.C:
2718         * undo.C: adjust
2719
2720 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2721
2722         * PosIterator.[Ch]: replace the stack with a vector, add inset
2723         accesor
2724         * iterators.[C]: adjust
2725
2726 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2727
2728         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2729         replaced
2730         * paragraph_funcs.C (readParToken): put the correct id in the
2731         error item, not the id of the top paragraph
2732
2733 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2734
2735         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2736         * bufferview_funcs.C (put_selection_at): use the above
2737
2738 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2739
2740         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2741
2742 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2743
2744         * output_linuxdoc.h:
2745         * output_plaintext.h:
2746         * output.h:
2747         * output_docbook.h: add #include statements
2748
2749 2003-11-05  José Matos  <jamatos@lyx.org>
2750
2751         * output_docbook.[Ch]:
2752         * output_latex.[Ch]:
2753         * output_linuxdoc.[Ch]:
2754         * output_plaintext.[Ch]: New files for output formats.
2755         * output.[Ch]: New file for helper functions.
2756
2757         * buffer.[Ch]:
2758         * paragraph_funcs.[Ch]: output functions moved to new files.
2759
2760         * outputparams.h: rename of latexrunparams.h
2761
2762         * LaTeX.[Ch]:
2763         * buffer.[Ch]:
2764         * bufferlist.[Ch]:
2765         * converter.[Ch]:
2766         * exporter.C:
2767         * paragraph.[Ch]:
2768         * paragraph_funcs.[Ch]:
2769         * paragraph_pimpl.[Ch]:
2770         * tabular.[Ch]: rename ascii to plaintext
2771         and LatexRunParams to OutputParams.
2772
2773 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2774
2775         * iterators.[Ch] (text): require bv argument
2776         * undo.C (recordUndo):
2777         * lyxfunc.C (dispatch):
2778         * bufferview_funcs.C (put_selection_at): adjust
2779
2780 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2781
2782         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2783
2784 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2785
2786         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2787         nestings
2788
2789 2003-11-04  André Pönitz  <poenitz@gmx.net>
2790
2791         * cursor.[Ch]: restructure
2792
2793         * BufferView.[Ch]:
2794         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2795
2796         * iterators.[Ch] (asCursor): remove
2797
2798         * lfuns.h: remove LFUN_INSET_EDIT
2799
2800         * lyxfunc.C:
2801         * tabular.C:
2802         * text.C:
2803         * text2.C:
2804         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2805
2806 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2807
2808         * lyxfind.[Ch]: complete overhaul
2809         * BufferView_pimpl.C:
2810         * lyxfunc.C: adjust
2811         * paragraph.[Ch] (insert): add
2812
2813 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2814
2815         * BufferView.[Ch]:
2816         * lyxtext.h:
2817         * text.C: remove dead spellcheck code
2818
2819 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2820
2821         * dispatchresult.h: add a val setter
2822
2823         * cursor.C (dispatch): use a tempvar for data_[i]
2824
2825 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2826
2827         * PosIterator.[Ch]: compile fix
2828
2829 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2830
2831         * text.C (cursorPar): deactivate the cursor cache
2832
2833 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2834
2835         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2836
2837 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2838
2839         * text3.C (dispatch): adjust for new DisptchResult semantics.
2840
2841         * lyxfunc.C (dispatch): handle update when return from
2842         Cursor::dispatch, adjust for new DispatchResult semantics.
2843
2844         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2845         DispatchResult(true) mean to not update. Add class functions for
2846         setting dispatched and update, as well as reading.
2847
2848         * cursor.C (dispatch): don't handle update here
2849
2850 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2851
2852         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2853         * trans_mgr.C: adjust
2854
2855         * paragraph_funcs.C (readParToken): exception safety
2856
2857         * lyxvc.h: store the vcs pointer in a scoped_ptr
2858         * lyxvc.C: adjust
2859
2860         * lyxsocket.C (serverCallback): exception safety
2861
2862         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2863
2864         * ispell.C (clone): make it return a auto_ptr
2865
2866         * factory.C (createInset): exception safety
2867         (readInset): exception safety
2868
2869         * bufferlist.C (newBuffer): exception safety
2870
2871         * Thesaurus.C (Thesaurus): use initialization for aik_
2872
2873         * MenuBackend.C (expandToc): exception safety.
2874
2875 2003-11-03  André Pönitz  <poenitz@gmx.net>
2876
2877         * buffer.C:
2878         * buffer.h:
2879         * bufferview_funcs.C: remove getInsetFromId()
2880
2881         * lyxcursor.[Ch]:
2882         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2883
2884         * lyxfunc.C:
2885         * text2.C:
2886         * text3.C: adjust
2887
2888 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2889
2890         * PosIterator.C (distance, advance): new
2891         * bufferview_funcs.[Ch] (put_selection_at): new
2892         * iterators.[Ch] (lockPath): new
2893
2894 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2895
2896         * iterators.[Ch] (asPosIterator): added
2897         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2898         * PosIterator.[Ch]: added
2899
2900 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2901
2902         * text3.C:
2903         * lyxfunc.C:
2904         * cursor.C (dispatch):
2905         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2906
2907         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2908         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2909         contructor, add a class function dispatched. Remove operator>=
2910
2911 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2912
2913         * debug.C: only use the default constructor for debugstream
2914         (lyxerr) here.
2915
2916         * main.C (main): include debug.h and setup the lyxerr streambuf
2917         here.
2918
2919 2003-10-31  José Matos  <jamatos@lyx.org>
2920
2921         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2922
2923         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2924         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2925         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2926         * paragraph_pimpl.C (simpleTeXSpecialC):
2927         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2928         add LatexRunParams argument.
2929
2930         * exporter.C (Export): change call accordingly.
2931
2932         * latexrunparams.h: add new member to take care of the other backends.
2933 2003-10-30  José Matos  <jamatos@lyx.org>
2934
2935         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2936         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2937         factorise code for paragraph output.
2938         * buffer.[Ch]:
2939         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2940         move functions.
2941
2942 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2943
2944         * text3.C (dispatch):
2945         * lyxfunc.C (dispatch):
2946         * cursor.C (dispatch):
2947         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2948
2949         * dispatchresult.h: make the dispatch_result_t ctor explicit
2950
2951 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2952
2953         * sgml.[Ch]:
2954         * buffer.C: small refactoring of docbook stuff
2955
2956 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2957
2958         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2959         meaning.
2960
2961 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2962
2963         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2964         operator dispatch_result_t, and operators for == != and >=
2965
2966         * cursor.C (dispatch): adjust for operator dispatch_result_t
2967         removal. comment out call to update
2968
2969         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2970
2971 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2972
2973         * text3.C:
2974         * text2.C:
2975         * text.C:
2976         * lyxtext.h:
2977         * lyxfunc.C:
2978         * cursor.C:
2979         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2980         (dispatch):
2981
2982         * dispatchresult.h: new file, DispatchResult broken out of
2983         insets/insetbase.h
2984
2985         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2986
2987 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2988
2989         * text.C (rowBreakPoint): put a hack inside #if 0
2990
2991 2003-10-28  André Pönitz  <poenitz@gmx.net>
2992
2993         * lyxtext.h:
2994         * metricsinfo.C:
2995         * paragraph_funcs.C:
2996         * rowpainter.C:
2997         * text.C:
2998         * text2.C: general cleanup (lots of small stuff)
2999
3000 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3001
3002         * text2.C (cursorEnd): simple fix to the "end key goes to one
3003         before the end on last row" bug
3004
3005 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3006
3007         * text.C (backspace): fix the "zombie characters"
3008
3009 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3010
3011         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3012
3013 2003-10-27  André Pönitz  <poenitz@gmx.net>
3014
3015         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3016
3017         * factory.C: handle new InsetPagebreak, InsetLine
3018
3019         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3020         and move handling into new InsetPagebreak, InsetLine
3021
3022         * BufferView_pimpl.C:
3023         * LyXAction.C:
3024         * ParagraphParameters.C:
3025         * ParameterStruct.h:
3026         * lyxfunc.C:
3027         * lyxtext.h:
3028         * paragraph.C:
3029         * paragraph.h:
3030         * paragraph_funcs.C:
3031         * paragraph_pimpl.C:
3032         * rowpainter.C:
3033         * text.C:
3034         * text2.C:
3035         * text3.C: adjust
3036
3037 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3038
3039         * text.C:
3040         * lyxrow_funcs.[Ch]:
3041         * Bidi.C:
3042         * paragraph.C:
3043         * lyxtext.h:
3044         * rowpainter.C:
3045         * text2.C:
3046         * text3.C: remove lastPos uses in favour of Row::endpos
3047
3048 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3049
3050         * undo.C (performUndoOrRedo): fix two crashes by setting a
3051         cursor by hand and reordering some calls. Use bv->lockInset instead
3052         of inset->edit because the latter loses cursor information
3053
3054 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3055
3056         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3057         by Martin
3058         (rowBreakPoint): fix width. change point to point + 1.
3059         Add a missing check.
3060
3061 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3062
3063         * MenuBackend.C:
3064         * lyxfunc.C: fix (at least partly) the problems
3065         with the Nav menu and headers inside branch insets
3066         reported by Kayvan
3067
3068 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3069
3070         * paragraph.C (getChar): add strong asserts
3071
3072         * lyxrow_funcs.C (lastPos): remove hideous hack
3073
3074         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3075         (fill): adjust to that (avoid an infinite loop)
3076
3077 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3078
3079         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3080
3081 2003-10-23  André Pönitz  <poenitz@gmx.net>
3082
3083         * RowList_fwd.h: change list<> to vector<> to gain speed
3084         after suggestion from Alfredo
3085
3086 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3087
3088         * lyxtext.h: move the bidi stuff from here...
3089         * text.C: and here
3090         * text2.C: and here
3091         * Bidi.[Ch]: ... to here
3092
3093 2003-10-23  André Pönitz  <poenitz@gmx.net>
3094
3095         * lyxtext.h:
3096         * text.C (isLastRow, isFirstRow): new functions
3097
3098         * paragraph.h: new width cache member
3099
3100         * rowpainter.C: replace RowList::iterator with Row & where possible
3101
3102         * lyxfunc.C: replace several view()->text with a single call
3103
3104         * toc.C: fix 'unused' warning
3105
3106 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3107
3108         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3109         when woring with stream::pos_type
3110         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3111
3112 2003-10-22  André Pönitz  <poenitz@gmx.net>
3113
3114         * lyxtext.h:
3115         * text.C: use Row & instead of RowList::iterator
3116
3117         * lyxrow.h: rename end() to endpos()
3118
3119         * rowpainter.C:
3120         * text.C:
3121         * text2.C: adjust
3122
3123 2003-10-22  Angus Leeming  <leeming@lyx.org>
3124
3125         * buffer.[Ch] (fully_loaded): new member function, returning true
3126         only when the file has been loaded fully.
3127         Used to prevent the premature generation of previews and by the
3128         citation inset to prevent computation of the natbib-style label.
3129
3130         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3131         templates are all set up.
3132
3133         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3134
3135 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3136
3137         * text.C: fixed an "oops" in the "is a bit silly"
3138         bug fix
3139
3140 2003-10-21  André Pönitz  <poenitz@gmx.net>
3141
3142         * FuncStatus.[Ch]: small stuff, whitespace
3143
3144         * lyxfont.[Ch]: operator<<() for debug reasons
3145
3146         * lyxfunc.C:
3147         * lyxrow_funcs.C:
3148         * lyxtext.h: whitespace, spelling
3149
3150         * paragraph.C: naming of variables
3151
3152         * text.C:
3153         * text2.C: small stuff
3154
3155
3156 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3157
3158         * text.C: (1) finish off the inset display() work;
3159         (2) fix the "is a bit silly" bug (accessing char
3160         past end of par).
3161
3162 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3163
3164         * text.C: re-introduce display() for insets, fixing the
3165         various bugs (stretch of line above, math inset
3166         positioning, ...)
3167
3168 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3169
3170         * text.C (rightMargin): remove spurious semicolon
3171
3172         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3173         1415)
3174
3175 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3176
3177         * text3.C: fix one crash due to wrong cursor def
3178
3179 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3180
3181         * vc-backend.C (scanMaster): make the regex static
3182
3183         * LaTeX.C (scanAuxFile): make the regexs static
3184
3185         * text3.C (doInsertInset, dispatch, dispatch):
3186         * text2.C (cursorUp, cursorDown):
3187         * text.C (selectNextWordToSpellcheck):
3188         * BufferView_pimpl.C (dispatch):
3189         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3190
3191 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3192
3193         * lyxsocket.C: include <cerrno>
3194
3195 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3196
3197         * lyxfunc.C (dispatch): remove textcache stuff
3198
3199         * bufferlist.C (release): remove textcache stuff
3200         (closeAll): ditto
3201
3202         * TextCache.C: delete file
3203         * TextCache.h: delete file
3204
3205         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3206
3207         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3208         delete of the bv_->text.
3209         (resizeCurrentBuffer): remove texcache stuff
3210         (workAreaResize): ditto
3211
3212 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3213
3214         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3215         action.
3216
3217 2003-10-16  André Pönitz  <poenitz@gmx.net>
3218
3219         * lyxrow.[Ch]:
3220         * paragraph.h:
3221         * rowpainter.C:
3222         * text.C:
3223         * text2.C:
3224         * text3.C: speed up by storing y positions per paragraph plus per-row
3225         offset instead of having a 'full' y position in the row.
3226
3227 2003-10-15  André Pönitz  <poenitz@gmx.net>
3228
3229         * iterators.[Ch]:
3230         * iterators.[Ch]:
3231         * undo.[Ch]: make undo aware of inner insets
3232
3233 2003-10-14  Angus Leeming  <leeming@lyx.org>
3234
3235         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3236         static member functions LyX::ref() and LyX::cref.
3237         (lastfiles): new accessor functions for the new lastfiles_ member var.
3238         (addLyXView, views_): add a new LyXView to the list of views_.
3239         (updateInset): loop over all LyXViews to call their own updateInset
3240         member function, returning a pointer to the Buffer owning the inset.
3241
3242         * BufferView_pimpl.C (loadLyXFile):
3243         * MenuBackend.C (expandLastfiles):
3244         * bufferlist.C (MenuWrite, QuitLyX):
3245         lastfiles is no longer a global variable.
3246         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3247
3248         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3249         static function. Access through LyX::cref().emergencyCleanup().
3250
3251 2003-10-14  André Pönitz  <poenitz@gmx.net>
3252
3253         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3254
3255         * undo.[Ch]: restoring part of 'undo in insets'
3256
3257         * Makefile.am:
3258         * undo_funcs.[Ch]: merge with undo.[Ch]
3259
3260         * tabular.C: small cleansing stuff
3261
3262 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3263
3264         * paragraph_funcs.C (readParToken): report unknown insets as error
3265         boxes. Use the outer paragraph as location (also for unknown
3266         tokens).
3267
3268         * factory.C (readInset): do not abort on reading an unknown inset.
3269         Eat it and return 0.
3270
3271 2003-10-13  Angus Leeming  <leeming@lyx.org>
3272
3273         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3274
3275         * lyxrc.C: displayTranslator is now a function,
3276         declared in GraphicsTypes.h.
3277
3278 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3279
3280         * format.C: new placeholder $$a to pass the socket address.
3281
3282         * bufferlist.[Ch]: new function getBufferFromTmp.
3283
3284         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3285           files in the temporary dir.
3286
3287 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3288
3289         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3290
3291         * Makefile.am: add lyxsocket.[Ch].
3292
3293         * lyx_main.C (error_handler): handle SIGPIPE.
3294
3295 2003-10-13  André Pönitz  <poenitz@gmx.net>
3296
3297         * BufferView_pimpl.C:
3298         * lyxtext.h:
3299         * text.C:
3300         * text2.C:
3301         * text3.C:
3302         * undo_funcs.[Ch]: use paroffset_type instead of
3303           ParagraphList::iterators to prevent multiple conversion
3304           (and get a more robust interface)
3305
3306 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3307
3308         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3309         * lyxtext.h: ditto
3310         * text3.C (dispatch): ditto
3311
3312 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3313
3314         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3315         move the onlyfile, use onlyfile instead of foundfile in a couple
3316         of places.
3317
3318         * DepTable.C (update): flush the error stream a bit more
3319
3320 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3321
3322         * lyxserver.C (callback): adjust
3323
3324         * lyxfunc.C (getStatus): add a missing brace in commented code
3325         (ensureBufferClean): reindent
3326         (dispatch): delete version taking a string
3327
3328 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3329
3330         * LaTeX.C (deplog): move found file handlig from here...
3331         (handleFoundFile): .. to new function here.
3332         (deplog): make sure to discover several files mentioned on the
3333         same log line.
3334
3335 2003-10-10  André Pönitz  <poenitz@gmx.net>
3336
3337         * lyxfunc.C:
3338         * lyxtext.h:
3339         * tabular.C:
3340         * text.C:
3341         * text2.C:
3342         * text3.C: fix some of the tabular crashes
3343
3344 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3345
3346         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3347
3348         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3349
3350 2003-10-09  André Pönitz  <poenitz@gmx.net>
3351
3352         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3353
3354         * BufferView.C:
3355         * BufferView_pimpl.C:
3356         * bufferview_funcs.C:
3357         * lyx_cb.C:
3358         * lyxcursor.C:
3359         * lyxfind.C:
3360         * lyxfunc.C:
3361         * lyxtext.h:
3362         * text.C:
3363         * text2.C:
3364         * text3.C:
3365         * text_funcs.[Ch]:
3366         * textcursor.[Ch]:
3367         * undo_funcs.C: adjust
3368
3369 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3370
3371         * text2.C (incrementItemDepth): new function, use a backtracking
3372         algorithm to discover the correct item depth.
3373         (resetEnumCounterIfNeeded): new function, use a backtracking
3374         algorithm to discover if counter reset is needed.
3375         (setCounter): use them. Simplify a bit. Add different labels for
3376         different item depths for itemize.
3377
3378         * paragraph.C (Paragraph): remove initialization of enumdepth
3379         (operator=): ditto
3380
3381         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3382         enumerate and itemize. Change the type of itemdepth to signed char.
3383
3384 2003-10-08  André Pönitz  <poenitz@gmx.net>
3385
3386         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3387           thing assignable.
3388         * text.C:
3389         * text2.C: adjust
3390
3391         * tabular.[Ch]: fix crash after 'row-insert'
3392
3393 2003-10-08  Angus Leeming  <leeming@lyx.org>
3394
3395         Fix doxygen warnings.
3396
3397         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3398         Remove CutAndPaste:: prefix from header file declaration.
3399
3400         * LColor.h (fill): remove LColor:: prefix from declaration.
3401
3402         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3403         use lyx::depth_type rather than Paragraph::depth_type so that
3404         header file and .C file match.
3405
3406         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3407
3408         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3409         * aspell.C: \file aspell_local.C -> \file aspell.C
3410         * gettext.C: \file gettext.C -> \file src/gettext.C
3411         * gettext.h: \file gettext.h -> \file src/gettext.h
3412         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3413         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3414         * text.C: \file text.C -> \file src/text.C
3415
3416         * toc.C: move comment so that doxygen is not confused.
3417
3418 2003-10-07  Angus Leeming  <leeming@lyx.org>
3419
3420         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3421
3422 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3423
3424         * aspell.C:
3425         * aspell_local.h: add forgotten std::string's.
3426
3427 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3428
3429         * LaTeXFeatures.C:
3430         * LyXAction.C:
3431         * factory.C:
3432         * lfuns.h:
3433         * lyxfunc.C:
3434         * text3.C: The Box patch. Fancybox support, minipage, parbox
3435
3436 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3437
3438         * CutAndPaste.h:
3439         * DepTable.h:
3440         * FloatList.h:
3441         * LaTeXFeatures.h:
3442         * ParagraphParameters.h:
3443         * TextCache.h:
3444         * Thesaurus.h:
3445         * bufferlist.h:
3446         * exporter.h:
3447         * importer.h:
3448         * lastfiles.h:
3449         * lyxfind.h:
3450         * lyxfont.h:
3451         * lyxlex.h:
3452         * lyxtextclasslist.h:
3453         * messages.h:
3454         * paragraph.h:
3455         * paragraph_pimpl.C:
3456         * textcursor.h: add <string> and other small fixes to make Lars'
3457         std::string patch compile with STLport.
3458
3459 2003-10-06  Angus Leeming  <leeming@lyx.org>
3460
3461         * LColor.h: Add missing #include <string>.
3462
3463 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3464
3465         * All most all file in all subdirs: Make <string> be the prefered
3466         way of getting to std::string, add using declarations.
3467
3468 2003-10-06  André Pönitz  <poenitz@gmx.net>
3469
3470         * metricsinfo.C: initialize LyXFont before changing attribute.
3471         (fixes the 'math in \emph is upright' bug)
3472
3473 2003-10-06  André Pönitz  <poenitz@gmx.net>
3474
3475         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3476
3477 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3478
3479         * graph.C:
3480         * paragraph_pimpl.C: Small fixes to build using STLport
3481
3482 2003-10-02  André Pönitz  <poenitz@gmx.net>
3483
3484         * lyxfunc.C:
3485         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3486
3487 2003-10-01  André Pönitz  <poenitz@gmx.net>
3488
3489         * factory.C: assert early
3490
3491 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3492
3493         * lyx_main.C: remove the global debug object
3494
3495         * debug.h: adjust for new debugstream
3496
3497         * debug.C: adjust for new debugstream and keep the global debug
3498         object here.
3499
3500 2003-09-22  Angus Leeming  <leeming@lyx.org>
3501
3502         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3503         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3504         an incomplete class LyXFont.
3505
3506 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3507
3508         * factory.C: bug fix in branches
3509
3510 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3511
3512         * lyxfunc.C (processKeySym): adjust
3513         (dispatch): adjust
3514         (dispatch): change arg name from ev to func, adjust
3515         (sendDispatchMessage): ditto
3516
3517         * lyx_main.C (defaultKeyBindings): adjust keybindings
3518         (deadKeyBindings): ditto
3519
3520         * kbsequence.C (addkey): return a FuncRequest
3521
3522         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3523
3524         * kbmap.C (bind): take a FuncRequest as arg, adjust
3525         (read): adjust
3526         (lookup): adjust
3527         (defkey): change to take a FuncRequest as arg, adjust
3528         (findbinding): take a FuncRequest as arg, adjust.
3529
3530         * funcrequest.h (operator=): added
3531
3532         * funcrequest.C (FuncRequest): default kb_action changed from
3533         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3534
3535         * buffer.C (dispatch): simplify
3536         (dispatch): adjust to take a FuncRequest as arg, adjust
3537
3538         * boost.C (assertion_failed): change assertion message slightly
3539
3540         * ToolbarBackend.C (read): simplify
3541
3542         * MenuBackend.C (binding): adjust call to findbinding, add a
3543         message if no binding is found.
3544         (read): simplify
3545         (expandToc): correct by adding a empty FuncRequest
3546
3547         * LyXAction.C: include <boost/assert.hpp>
3548         (isPseudoAction): delete function
3549         (LookupFunc): change name to...
3550         (lookupFunc): this. change return type to FuncRequest.
3551         (getActionName): take kb_action as arg, simplify
3552         (funcHasFlag): add an assert, simplify.
3553
3554 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3555
3556         * toc.C (action): return a FuncRequest, simplify
3557
3558         * lyxfunc.C (processKeySym): adjust
3559         (getStatus): delete version that takes an int.
3560         (getStatus): adjust
3561         (dispatch): delete version that takes action as int
3562         (dispatch): adjust
3563         (sendDispatchMessage): simplify and adjust
3564
3565         * funcrequest.C (getArg): take unsigned int as arg
3566
3567         * ToolbarBackend.C (read): adjust
3568         (add): delete version that takes func as a string.
3569         (getIton): take a FuncRequest as arg
3570
3571         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3572         action.
3573
3574         * MenuBackend.C (MenuItem): add a new construct that only takes a
3575         Kind, simplify the constructor use for submenus.
3576         (add): adjust
3577         (expandLastfiles): adjust
3578         (expandDocuments): adjust
3579         (expandFormats): adjust
3580         (expandFloatListInsert): adjust
3581         (expandFloatInsert): adjust
3582         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3583
3584         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3585         Remove class variables lyx_pseudo_map and lyx_arg_map
3586
3587         * LyXAction.C (searchActionArg): delete function
3588         (getPseudoAction): delete function
3589         (retrieveActionArg): delete function
3590         (LookupFunc): make it return kb_action, simplify.
3591         (getActionName): simplify
3592
3593         * factory.C (createInset): fix new bug
3594
3595 2003-09-19  Angus Leeming  <leeming@lyx.org>
3596
3597         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3598         masterFilename_ parameter in the include inset.
3599
3600         * factory.C (createInset): changes due to the changes to InsetInclude.
3601
3602 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3603
3604         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3605
3606 2003-09-18  Angus Leeming  <leeming@lyx.org>
3607
3608         * buffer.C:
3609         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3610         Inset::fillWithBibKeys.
3611         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3612
3613 2003-09-18  Angus Leeming  <leeming@lyx.org>
3614
3615         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3616         variables.
3617         (ctor): pass and store a 'Buffer const &'
3618         (buffer): new member function.
3619
3620         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3621         '*this' to the LaTeXFeatures ctor.
3622
3623 2003-09-18  Angus Leeming  <leeming@lyx.org>
3624
3625         * LColor.h:
3626         * lyxfont.C:
3627         * lyxfont.h:
3628         * lyxtext.h:
3629         * text.C: rename EnumLColor as LColor_color.
3630
3631 2003-09-18  Angus Leeming  <leeming@lyx.org>
3632
3633         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3634         remove #include "insets/insetbase.h" from cursor.h.
3635
3636 2003-09-18  Angus Leeming  <leeming@lyx.org>
3637
3638         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3639         InsetOld_code to remove #include "inset.h".
3640
3641         * iterators.C: add #include "insets/inset.h"
3642
3643 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3644
3645         * BufferView.C: remove more locking stuff that apparently doesn't
3646         do anything sensible.
3647
3648 2003-09-16  André Pönitz  <poenitz@gmx.net>
3649
3650         * paragraph.[Ch]:
3651         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3652           performance boost.
3653
3654 2003-09-16  Angus Leeming  <leeming@lyx.org>
3655
3656         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3657
3658         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3659         arg/return type.
3660
3661         * paragraph.h: remove #include "lyxfont.h". Forward declare
3662         LyXFont_size.
3663
3664 2003-09-16  Angus Leeming  <leeming@lyx.org>
3665
3666         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3667         of support/textutils.h.
3668         (isWord): move the contents of support/textutils.h's IsWordChar here.
3669
3670         * buffer.C:
3671         * lyxfind.C:
3672         * rowpainter.C:
3673         * text.C:
3674         * text2.C: add #include "paragraph.h".
3675
3676         * rowpainter.C:
3677         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3678
3679 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3680
3681         * main.C:
3682         * lyx_main.C:
3683         * lyx_cb.C:
3684         * buffer.C:
3685         * LaTeX.C: use namespace alias for lyx::support::os
3686
3687 2003-09-16  Angus Leeming  <leeming@lyx.org>
3688
3689         * bufferparams.C:
3690         * bufferview_funcs.C:
3691         * factory.C:
3692         * lyxfunc.C:
3693         * paragraph_pimpl.C:
3694         * rowpainter.C:
3695         * text.C: add #include "LColor.h".
3696
3697 2003-09-16  Angus Leeming  <leeming@lyx.org>
3698
3699         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3700         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3701         return LyXFont &.
3702         Store the FontBits::color variable as an int rather than as an
3703         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3704         file.
3705
3706         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3707         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3708         string calls together.
3709
3710         * lyxrc.C: add #include "LColor.h".
3711
3712 2003-09-15  Angus Leeming  <leeming@lyx.org>
3713
3714         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3715         a cow_ptr.
3716
3717 2003-09-15  Angus Leeming  <leeming@lyx.org>
3718
3719         * LColor.h: add an EnumLColor wrapper for LColor::color.
3720
3721         * lyxfont.[Ch] (color, setColor, realColor):
3722         * lyxtext.h, text.C (backgroundColor):
3723         pass EnumLColor args to/from the functions, rather than LColor::color
3724         ones.
3725
3726         * lyxfont.h:
3727         * lyxtext.h: forward declare EnumLColor.
3728
3729         * lyx_main.C: add #include "LColor.h".
3730
3731 2003-09-15  Angus Leeming  <leeming@lyx.org>
3732
3733         * .cvsignore: add lyx-gtk.
3734
3735 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3736
3737         * Chktex.C
3738         * LaTeX.C
3739         * LaTeXFeatures.C
3740         * ParagraphParameters.C
3741         * Spacing.C
3742         * buffer.C
3743         * bufferparams.C
3744         * bufferview_funcs.C
3745         * chset.C
3746         * counters.C
3747         * funcrequest.C
3748         * lyxfont.C
3749         * lyxgluelength.C
3750         * lyxlength.C
3751         * paragraph.C
3752         * paragraph_funcs.C
3753         * text3.C
3754         * vc-backend.C: remove usage of STRCONV
3755
3756 2003-09-15  Angus Leeming  <leeming@lyx.org>
3757
3758         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3759         explicitly define the color passed to the painter.
3760
3761 2003-09-15  Angus Leeming  <leeming@lyx.org>
3762
3763         * bufferparams.C (BufferParams): reorder member initializers to avoid
3764         compiler warning.
3765
3766 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3767
3768         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3769         * text.C (updateRowPositions): remove an unusual nop
3770
3771 2003-09-12  André Pönitz  <poenitz@gmx.net>
3772
3773         * BufferView_pimpl.C:
3774         * Bullet.C:
3775         * layout.h:
3776         * lyxfunc.C:
3777         * lyxlayout.[Ch]:
3778         * lyxtextclass.C:
3779         * rowpainter.C:
3780         * text.C:
3781         * text2.C:
3782         * Counters.[Ch]: finish the 'automatic counters' job
3783
3784 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3785
3786         * aspell.C: include <boost/assert.cpp> (compile fix)
3787
3788 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3789
3790         * boost.C (assertion_failed): use lyx::support::abort instead of
3791         assert.
3792
3793 2003-09-10  Angus Leeming  <leeming@lyx.org>
3794
3795         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3796         with their _fwd progeny.
3797
3798 2003-09-09  Angus Leeming  <leeming@lyx.org>
3799
3800         134 files throughtout the source tree: replace 'using namespace abc;'
3801         directives with the appropriate 'using abc::xyz;' declarations.
3802
3803 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3804
3805         * boost.C (emergencyCleanup): moved here from LAssert.c
3806         (assertion_failed): new function, called by BOOST_ASSERT
3807
3808         * several files: change Assert to BOOST_ASSERT
3809
3810 2003-09-09  Angus Leeming  <leeming@lyx.org>
3811
3812         * buffer.[Ch]: Add an Impl class and move Buffer's member
3813         variables into it. As a result move several header files out of
3814         buffer.h.
3815
3816         Add header files to lots of .C files all over the tree as a result.
3817
3818 2003-09-09  Angus Leeming  <leeming@lyx.org>
3819
3820         * buffer.[Ch]: make Buffer's member variables private. Add
3821         accessor functions.
3822
3823         Lots of changes all over the tree as a result.
3824
3825 2003-09-08  Angus Leeming  <leeming@lyx.org>
3826
3827         * graph.C: #include <config.h>.
3828
3829 2003-09-08  Angus Leeming  <leeming@lyx.org>
3830
3831         * BranchList.C:
3832         * BufferView.C:
3833         * BufferView_pimpl.C:
3834         * CutAndPaste.C:
3835         * DepTable.C:
3836         * LaTeX.C:
3837         * LaTeXFeatures.C:
3838         * LyXAction.C:
3839         * MenuBackend.C:
3840         * TextCache.C:
3841         * aspell.C:
3842         * buffer.C:
3843         * bufferlist.C:
3844         * changes.C:
3845         * chset.C:
3846         * converter.C:
3847         * counters.C:
3848         * debug.C:
3849         * graph.C:
3850         * ispell.C:
3851         * lyx_cb.C:
3852         * lyxfind.C:
3853         * lyxfunc.C:
3854         * lyxlex_pimpl.C:
3855         * lyxrc.C:
3856         * lyxrow.C:
3857         * paragraph.C:
3858         * rowpainter.C:
3859         * texrow.C:
3860         * text.C:
3861         * text2.C:
3862         * toc.C: remove redundant using directives.
3863
3864 2003-09-07  Angus Leeming  <leeming@lyx.org>
3865
3866         * LaTeXFeatures.h: remove #include "support/types.h".
3867         * ToolbarBackend.h: remove #include <algorithm>.
3868         * changes.h: remove #include <ctime>.
3869         * debug.h: remove #include <iosfwd>.
3870         * graph.h: remove #include "support/std_string.h".
3871         * lyx_main.h: remove #include <csignal>.
3872         * lyxlex_pimpl.h: remove #include <fstream>.
3873         * sgml.h: remove #include <algorithm>, <utility>.
3874         * toc.h: remove #include "support/std_ostream.h".
3875         Add #include <iosfwd>.
3876
3877 2003-09-07  Angus Leeming  <leeming@lyx.org>
3878
3879         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3880
3881         * converter.h: forward declare LatexRunParams.
3882         * encoding.h: remove #include "lyxrc.h".
3883         * lyxtext.h: remove #include "LColor.h".
3884         * lyxtextclass.h: remove #include "support/types.h".
3885         * trans.h: remove #include "tex-accent.h".
3886         * trans_mgr.h: remove #include "tex-accent.h".
3887         * insets/inset.h: remove #include "support/types.h", <vector>.
3888         * insets/insetcollapsable.h: remove #include "LColor.h".
3889         * insets/insetinclude.h: remove #include "dimension.h".
3890         * insets/insetlatexaccent.h: remove #include "dimension.h".
3891         * insets/insetoptarg.h:: remove #include "insettext.h".
3892         * insets/insettext.h: remove #include "dimension.h",
3893         <boost/shared_ptr.hpp>
3894
3895         * insets/renderers.h: add #include "dimension.h".
3896         * insets/updatableinset.h: add #include "support/types.h".
3897
3898         * many .C files: Associated changes.
3899
3900 2003-09-06  Angus Leeming  <leeming@lyx.org>
3901
3902         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3903         one, inside testInvariant.
3904
3905         * PrinterParams.C: new file.
3906         * PrinterParams.[Ch]: move the function bodies out of line.
3907
3908 2003-09-06  Angus Leeming  <leeming@lyx.org>
3909
3910         * ParagraphParameters.h: forward declare ParameterStruct rather than
3911         including its header file.
3912         (depth): moved out-of-line.
3913
3914 2003-09-06  Angus Leeming  <leeming@lyx.org>
3915
3916         * BufferView_pimpl.h:
3917         * kbmap.h:
3918         * kbsequence.h:
3919         * lyxfunc.h: forward declare LyXKeySym rather than
3920         #include "frontends/LyXKeySym.h".
3921
3922         * BufferView_pimpl.C:
3923         * kbmap.C:
3924         * kbsequence.C:
3925         * lyxfunc.C: associated changes.
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         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3935         As a result, can remove the #include "insets/inset.h" from BufferView.h
3936
3937 2003-09-06  Angus Leeming  <leeming@lyx.org>
3938
3939         * buffer_funcs.C:
3940         * buffer.h:
3941         * bufferlist.C:
3942         * BufferView.C:
3943         * bufferview_funcs.C:
3944         * BufferView_pimpl.C:
3945         * CutAndPaste.C:
3946         * lyx_cb.C:
3947         * lyxfunc.C:
3948         * paragraph.h:
3949         * ParagraphParameters.C:
3950         * tabular.C:
3951         * text3.C:
3952         * toc.C:
3953         * undo_funcs.C:
3954         * frontends/controllers/ControlDocument.C:
3955         * insets/insetcaption.C: rearrange the #includes into some sort of
3956         coherent order.
3957
3958         * buffer.h: remove #includes ErrorList.h, undo.h
3959
3960 2003-09-06  Angus Leeming  <leeming@lyx.org>
3961
3962         * support/types.h: add a 'depth_type' typedef, used to store the
3963         nesting depth of a paragraph.
3964
3965         * paragraph.h:
3966         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3967         defining explicitly.
3968
3969         * buffer.h:
3970         * paragraph_funcs.h:
3971         * ParagraphParameters.h:
3972         * sgml.h: use lyx::depth_type rather than Paragraph or
3973         ParameterStruct's depth_type.
3974
3975         * buffer.h
3976         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3977
3978         * BufferView.C:
3979         * BufferView_pimpl.C:
3980         * CutAndPaste.C:
3981         * ParagraphParameters.C:
3982         * buffer_funcs.C:
3983         * bufferlist.C:
3984         * bufferview_funcs.C:
3985         * lyx_cb.C:
3986         * lyxfunc.C:
3987         * tabular.C:
3988         * text3.C:
3989         * toc.C:
3990         * undo_funcs.C:
3991         * frontends/LyXView.C:
3992         * frontends/controllers/ControlDocument.C:
3993         * frontends/controllers/ControlErrorList.C:
3994         * insets/insetbibitem.C:
3995         * insets/insetbranch.C:
3996         * insets/insetcaption.C:
3997         * insets/insetcollapsable.C:
3998         * insets/insetenv.C:
3999         * insets/insetert.C:
4000         * insets/insetfloat.C:
4001         * insets/insetfoot.C:
4002         * insets/insetfootlike.C:
4003         * insets/insetnewline.C:
4004         * insets/insetquotes.C:
4005         * insets/insettabular.C:
4006         * insets/insettext.C:
4007         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4008
4009         * frontends/controllers/ControlChanges.C: #include "changes.h".
4010
4011 2003-09-06  Angus Leeming  <leeming@lyx.org>
4012
4013         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4014         than #including paragraph.h.
4015
4016         * ParagraphList.h:
4017         * RowList.h: deleted. Superfluous.
4018
4019         * CutAndPaste.h:
4020         * iterators.h:
4021         * lyxcursor.h:
4022         * lyxtext.h:
4023         * text_funcs.h:
4024         * undo.h:
4025         * undo_funcs.h:
4026         * insets/inset.h:
4027         * insets/insettext.h: use ParagraphList_fwd.h rather than
4028         ParagraphList.h.
4029
4030         * paragraph.h: don't forward declare ParagraphList.
4031
4032         * buffer.h:
4033         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4034         rather than ParagraphList.h. paragraph.h is still needed for the
4035         Paragraph::depth_type parameters.
4036
4037         * textcursor.h: enable it to compile stand-alone in light of the
4038         above changes.
4039
4040         * bufferview_funcs.C:
4041         * iterators.C:
4042         * lyxfunc.C:
4043         * lyxrow_funcs.C:
4044         * paragraph.C:
4045         * rowpainter.C:
4046         * text.C:
4047         * text2.C:
4048         * text3.C:
4049         * text_funcs.C:
4050         * textcursor.C:
4051         * undo.C:
4052         * frontends/controllers/ControlParagraph.C:
4053         * frontends/controllers/ControlTabular.C:
4054         * insets/insetmarginal.C:
4055         * insets/insetminipage.C:
4056         * insets/insetnote.C:
4057         * insets/insetoptarg.C: add header files needed to compile again.
4058
4059 2003-09-06  Angus Leeming  <leeming@lyx.org>
4060
4061         * RowList_fwd.h: new file, forward-declaring Row rather than
4062         #including lyxrow.h.
4063
4064         * lyxrow_funcs.h:
4065         * lyxtext.h:
4066         * paragraph.h:
4067         * insets/insettext.h: use it instead of RowList.h
4068
4069         * bufferview_funcs.C:
4070         * lyxfunc.C:
4071         * lyxrow_funcs.C:
4072         * paragraph.C:
4073         * rowpainter.C:
4074         * text.C:
4075         * text2.C:
4076         * text3.C: #include "RowList.h".
4077
4078 2003-09-05  Angus Leeming  <leeming@lyx.org>
4079
4080         * factory.C (createInset):
4081         * vspace.C (c-tor): replace sscanf call with an istringstream.
4082         * ispell.C: re-add missing HP/UX headers.
4083         * lyxserver.C: re-add missing  os2 headers.
4084
4085 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4086
4087         * BranchList.C:
4088         * graph.C:
4089         * ispell.C:
4090         * lastfiles.C:
4091         * lyx_cb.C:
4092         * lyxserver.C:
4093         * texrow.C:
4094         * text3.C: re-add missing system headers, needed for 2.95.2.
4095
4096 2003-09-05  Angus Leeming  <leeming@lyx.org>
4097
4098         Changes most place everywhere due to the removal of using directives
4099         from support/std_sstream.h.
4100
4101 2003-09-05  Angus Leeming  <leeming@lyx.org>
4102
4103         Replace LString.h with support/std_string.h,
4104         Lsstream.h with support/std_sstream.h,
4105         support/LIstream.h with support/std_istream.h,
4106         support/LOstream.h with support/std_ostream.h.
4107
4108         Changes resulting throughout the tree.
4109
4110 2003-09-05  Angus Leeming  <leeming@lyx.org>
4111
4112         * sgml.h: ensure that the header file can be compiled stand-alone.
4113         * *.C: strip out redundant #includes. (320 in total.)
4114
4115 2003-09-04  Angus Leeming  <leeming@lyx.org>
4116
4117         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4118         here (from getPackages).
4119
4120         * debug.[Ch]: add a new EXTERNAL tag.
4121
4122 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4123
4124         * text2.C (cursorEnd): simplify
4125         (setCursor): adjust
4126         (getColumnNearX): adjust
4127
4128         * text.C (computeBidiTables): adjust
4129         (fill): adjust
4130
4131         * rowpainter.C (paintChars): adjust
4132         (paintSelection): adjust
4133         (paintChangeBar): adjust
4134         (paintText): adjust
4135
4136         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4137         lastPos instead.
4138         (numberOfSeparators): adjust
4139
4140 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4141
4142         * LyXAction.C:
4143         * box.[Ch]:
4144         * lfuns.h:
4145         * lyxfunc.C:
4146         * text3.C: Restricts the mouse click functionality
4147         of insets like bibtex, include, toc and floatlist to the visible
4148         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4149         up the dialogs. Cursor has to be in front of the inset (i.e.
4150         start of row) for this to function.
4151
4152 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4153
4154         * bufferview_funcs.C (currentState): output row information
4155
4156 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4157
4158         * bufferview_funcs.C (currentState): output paragraph position
4159
4160 2003-09-04  Angus Leeming  <leeming@lyx.org>
4161
4162         * FloatList.h: move out #include "Floating.h".
4163         * LaTeX.h: move out #include "DepTable.h".
4164         * LyXAction.h: move out #include "funcrequest.h".
4165         * buffer.h: move out #include "author.h", "iterators.h".
4166         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4167         * lyx_main.h: move out #include "errorlist.h".
4168         * lyxfunc.h: move out #include "FuncStatus.h".
4169         * lyxtext: move out #include "lyxcursor.h".
4170         * paragraph_pimpl.h: move out #include "counters.h".
4171
4172 2003-09-03  Angus Leeming  <leeming@lyx.org>
4173
4174         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4175         preamble_snippets list, enabling us to add snippets to the preamble
4176         only if the snippet was not there already.
4177
4178 2003-09-04  Angus Leeming  <leeming@lyx.org>
4179
4180         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4181
4182 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4183
4184         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4185         update
4186
4187 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4188
4189         * BranchList.C: point fix, earlier forgotten
4190
4191 2003-09-02  Angus Leeming  <leeming@lyx.org>
4192
4193         * box.C (contains): renamed from 'contained' after a fantastic
4194         amount of hot air.
4195
4196 2003-09-02  John Levon  <levon@movementarian.org>
4197
4198         * BufferView.C:
4199         * lyxcursor.h:
4200         * lyxcursor.C:
4201         * lyxfunc.C:
4202         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4203
4204 2003-09-02  John Levon  <levon@movementarian.org>
4205
4206         * text2.C: simplification of cursorEnd(), including partial
4207         fix for bug 1376
4208
4209 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4210
4211         * buffer.C (readFile): add a space
4212
4213 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4214
4215         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4216
4217 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4218
4219         * buffer.C (readFile): new function, take a filename and a
4220         ParagraphList::iterator
4221         (readFile): adjust
4222         (readFile): adjust, make it private. don't use setStream, make
4223         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4224         always contain the filename.
4225
4226         * BufferView.C (insertLyXFile): simplify and make it work for
4227         gzipped files.
4228
4229 2003-08-30  John Levon  <levon@movementarian.org>
4230
4231         * Makefile.am: fix dist (from Kayvan)
4232
4233 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4234
4235         * most files: change to use const Buffer refs
4236
4237 2003-08-27  André Pönitz  <poenitz@gmx.net>
4238
4239         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4240         on top of ownerPar().
4241
4242 2003-08-27  John Levon  <levon@movementarian.org>
4243
4244         * funcrequest.C: properly initialise POD members
4245
4246 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4247
4248         * lyxtext.h (top_y): move top_y from here
4249         * text.C:
4250         * text2.C:
4251         * text3.C:
4252         * BufferView.[Ch]:
4253         * BufferView_pimpl.[Ch]: to here
4254         * frontends/screen.C:
4255         * insets/insettabular.C:
4256         * insets/insettext.C: adjust
4257         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4258
4259 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4260
4261         * BufferView.[Ch]:
4262         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4263
4264 2003-08-26  André Pönitz  <poenitz@gmx.net>
4265
4266         * paragraph_func.[Ch] (outerPar): new function
4267
4268         * paragraph.C:
4269         * paragraph_funcs.C:
4270         * paragraph_funcs.h:
4271         * paragraph_pimpl.C:
4272         * text2.C: remove Inset::par_owner
4273
4274 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4275
4276         * lyxrow_funcs.C:
4277         * lyxtext.h:
4278         * text.C:
4279         * text2.C: eliminates the needFullRow/display() stuff
4280         altogether, putting the logic in metrics/draw in the insets.
4281
4282 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4283
4284         * text2.C (redoParagraphInternal, redoParagraphs):
4285         * text.C (redoParagraph): add a call to updateRowPositions at the
4286         end of each 'metrics-like' call. Remove all others.
4287         (getRow): remove the 'y-computing' version.
4288         (getRowNearY): do not compute nor return the real y. Solve the
4289         'y < 0' problem and simplify.
4290
4291 2003-08-22  Angus Leeming  <leeming@lyx.org>
4292
4293         * *.[Ch]: clean-up of licence and author blurbs.
4294         Also move config.h out of a few .h files and into a few .C files.
4295
4296 2003-08-22  André Pönitz  <poenitz@gmx.net>
4297
4298         * lyxrow.[Ch]: add x_ and *fill_ members
4299
4300         * lyxtext.h:
4301         * text.C:
4302         * rowpainter.C:
4303         * text2.C: adjust/remove prepareToPrint() calls
4304
4305 2003-08-22  André Pönitz  <poenitz@gmx.net>
4306
4307         * lyxrow.[Ch]: add  end_ member
4308
4309         * lyxrow_funcs.C: use LyXRow::end_
4310
4311         * lyxtext.h (singleWidth): add LyXFont parameter
4312
4313         * rowpainter.C:
4314         * text2.C: adjust LyXText::singleWidth() calls
4315
4316         * text.C (redoParagraph): simplify row breaking logic
4317
4318
4319 2003-08-19  André Pönitz  <poenitz@gmx.net>
4320
4321         * funcrequest.C: initialize button_ member
4322
4323         * text3.C:
4324         * rowpainter.[Ch]: interface consolidation
4325
4326 2003-08-18  André Pönitz  <poenitz@gmx.net>
4327
4328         * BufferView.C:
4329         * BufferView_pimpl.C:
4330         * lyxfind.C:
4331         * paragraph_funcs.C:
4332         * rowpainter.C:
4333         * text3.C: remove LyXScreen::draw() and fitCursor calls
4334
4335         * BranchList.h: remove spurious semicolons
4336
4337         * MenuBackend.C: fix branchlist related crash
4338
4339 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4340
4341         * BranchList.[Ch]:
4342         * InsetList.[Ch]:
4343         * LColor.[Ch]:
4344         * LyXAction.C:
4345         * Makefile.am:
4346         * MenuBackend.[Ch]:
4347         * bufferparams.[Ch]:
4348         * factory.C:
4349         * lfuns.h:
4350         * lyxfunc.C:
4351         * text3.C: implements the 'branch inset'
4352         idea. This allows the output of various versions of a document
4353         from a single source version, selectively outputing or suppressing
4354         output of parts of the text.
4355         This implementation contains a 'branch list editor' in a separate
4356         tab of the document settings dialog. Branches are user definable
4357         and have a "display colour" to distinguish them on-screen.
4358
4359         ColorHandler was somewhat cleaned up.
4360         (1) make possible a dynamically growing LColor list by allowing
4361         the graphic context cache to grow along (vector);
4362         (2) eliminate an IMHO unnecessary step in colour allocation.
4363
4364 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4365
4366         * BufferView_pimpl.C: compile fix
4367
4368 2003-08-15  André Pönitz  <poenitz@gmx.net>
4369
4370         * rowpainter.C: remove extra metrics calls
4371
4372         * lyxtext.h: merge the two constructors into a single one,
4373           pass reference to owner's par list
4374
4375         * BufferView_pimpl.C:
4376         * text.C:
4377         * text2.C: adjust
4378
4379 2003-08-15  André Pönitz  <poenitz@gmx.net>
4380
4381         * lyxrow_funcs.[Ch]:
4382         * lyxtext.h:
4383         * paragraph.h:
4384         * paragraph_funcs.C:
4385         * rowpainter.C:
4386         * text.C:
4387         * text2.C:
4388         * text3.C:
4389         * text_funcs.C: split LyXText::rowlist_ into individual
4390         Paragraph::rows_ chunks
4391
4392         * BufferView.[Ch]:
4393         * BufferView_pimpl.[Ch]:
4394         * lyxfind.C:
4395         * lyxtext.h:
4396         * text3.C: remove toggleSelection()
4397
4398 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4399
4400         * bufferlist.C: beautify two alerts (shorter text of buttons)
4401         * buffer.C: Remove redundant ' ' from message
4402         * tabular.h:
4403         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4404         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4405         rename VALIGN_CENTER to VALIGN_MIDDLE
4406
4407 2003-08-11  André Pönitz  <poenitz@gmx.net>
4408
4409         * lyxtext.h (getPar):
4410         * text.C: new function
4411
4412 2003-08-11  André Pönitz  <poenitz@gmx.net>
4413
4414         * Makefile.am:
4415         * tracer.[Ch]: remove unneeded files
4416
4417         * InsetList.[Ch]: remove resizeInsetsLyXText()
4418
4419         * lyxtext.h:
4420         * text.C:
4421         * text2.C:
4422         * text3.C: merge insertParagraphs() and appendParagraph()
4423         remove breakAgain(), update()
4424
4425         * BufferView_pimpl.[Ch]:
4426         * bufferview_funcs.[Ch]:
4427         * lyxfunc.C:
4428         * paragraph.[Ch]:
4429         * rowpainter.C:
4430         * tabular.C: adjust after text & InsetList changes.
4431
4432 2003-08-08  André Pönitz  <poenitz@gmx.net>
4433
4434         * text.C (insertChar, backspace): replace rowlist fiddling
4435         with rebreak of full par
4436
4437         * lyxtext.h:
4438         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4439         checkParagraph, updateInset): removed
4440
4441 2003-08-07  André Pönitz  <poenitz@gmx.net>
4442
4443         * paragraph.C:
4444         * text3.C: merge some LFUN handlers, remove dead code
4445
4446 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4447
4448         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4449
4450 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4451
4452         * text2.C (DEPM): fix part of bug 1255 and 1256
4453
4454 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4455
4456         * BufferView_pimpl.C (workAreaDispatch): change to use
4457         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4458         that are no mouse related.
4459
4460 2003-08-05  André Pönitz  <poenitz@gmx.net>
4461
4462         * BufferView.[Ch]:
4463         * BufferView_pimpl.[Ch]:
4464         * bufferview_funcs.C:
4465         * text2.C:
4466         * text3.C: rip out "deep update"
4467
4468         * textcursor.[Ch] (last_sel_cursor): remove unused member
4469
4470 2003-08-04  André Pönitz  <poenitz@gmx.net>
4471
4472         * BufferView.[Ch]:
4473         * BufferView_pimpl.[Ch]:
4474         * ParagraphParameters.C:
4475         * bufferview_funcs.C:
4476         * lyx_cb.C:
4477         * lyxfind.C:
4478         * lyxfunc.C:
4479         * text.C:
4480         * text2.C:
4481         * text3.C: replace "complicated" BufferView::update(...) calls with
4482         simpler ones.
4483
4484         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4485
4486 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4487
4488         * Makefile.am (lyx_SOURCES): add paper.h
4489
4490 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4491
4492         * Makefile.am: move things around so that both lyx-qt and
4493         lyx-xforms can be built (according to --with-frontend). Then lyx
4494         is a symbolic link to lyx-[firstfrontend]
4495
4496 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4497
4498         * Always use std::endl with lyxerr
4499
4500 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4501
4502         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4503
4504 2003-08-01  André Pönitz  <poenitz@gmx.net>
4505
4506         * BufferView.[Ch]:
4507         * BufferView_pimpl.[Ch]:
4508         * lyxfunc.C:
4509         * text3.C: merge BufferView::repaint() and BufferView::update()
4510
4511 2003-08-01  José Matos  <jamatos@lyx.org>
4512
4513         * buffer.[Ch]: file_format is no longer a buffer data element.
4514
4515 2003-08-01  André Pönitz  <poenitz@gmx.net>
4516
4517         * BufferView.C:
4518         * lyxtext.h:
4519         * text.C:
4520         * text2.C: make redoParagraph more independent of current cursor
4521
4522         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4523         * text.C:
4524         * text2.C: remove unneeded members
4525
4526 2003-07-30  André Pönitz  <poenitz@gmx.net>
4527
4528         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4529
4530         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4531           create a single function...
4532
4533         * paragraph_funcs.C (moveItem): ... here.
4534
4535         * text.C:
4536           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4537
4538 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4539
4540         * LColor.[Ch]: Add comment and greyedout logical colors.
4541
4542 2003-07-30  André Pönitz  <poenitz@gmx.net>
4543
4544         * tabular.C: don't use Assert too heavily. This crashes where it
4545           shouldn't
4546
4547 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4548
4549         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4550         is disabled (bug 1232)
4551
4552 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4553
4554         * factory.C: limited 'arg' scope
4555
4556 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4557
4558         * factory.C: fixed Note submenu issues
4559
4560 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4561
4562         * factory.C: submenu for Note/Comment/Greyedout
4563
4564 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4565
4566         * lyx_main.C (LyX):
4567         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4568
4569 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4570
4571         * LaTeXFeatures.C:
4572         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4573         greyedout. Patch provided by Jürgen Spitzmüller.
4574
4575 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4576
4577         * kbmap.C (read): fix error message when reading bind files
4578
4579 2003-07-29  Angus Leeming  <leeming@lyx.org>
4580
4581         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4582         certainly does not do what it purports to do. I am doing it, and
4583         us, a favour by killing it.
4584
4585 2003-07-28  José Matos  <jamatos@lyx.org>
4586
4587         * buffer.C (readBody, do_writeFile):
4588         * paragraph.C(readParagraph): \end_document replaces \the_end.
4589
4590 2003-07-29  André Pönitz  <poenitz@gmx.net>
4591
4592         * BufferView.[Ch]:
4593         * BufferView_pimpl.[Ch]:
4594         * lyxfunc.C:
4595         * text2.C:
4596         * text3.C:
4597         * textcursor.[Ch]: remove toggleToggle & Co
4598
4599 2003-07-28  José Matos  <jamatos@fep.up.pt>
4600
4601         * buffer.C (readParagraph):
4602         * params_func (readParToken, readParagraph):
4603         * paragraph.C (write): \layout -> \begin_layout.
4604
4605 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4606
4607         * lyxlex_pimpl.C (setFile): clean up slightly.
4608
4609         * bufferparams.h: add compressed var
4610
4611         * buffer_funcs.C (readFile): adjust for LyXLex change
4612         (newFile): ditto + simplify
4613
4614         * buffer.C (writeFile): handle writing of compressed files
4615
4616         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4617         Check if the file is compressed and set a bufferparm if so.
4618
4619         * Makefile.am (lyx_LDADD): remove explicit -lz
4620
4621 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4622
4623         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4624         makeDocBookFile): put the real LyX version in the first line of
4625         the file
4626
4627         * version.h:
4628         * version.C.in: remove lyx_docversion
4629
4630         * tabular.C (write_attribute): add a template-based version to
4631         write enums properly
4632
4633 2003-07-28  André Pönitz  <poenitz@gmx.net>
4634
4635         * lyxtext.h:
4636         * text.C:
4637         * text2.C:
4638         * text3.C: use doubles again for x-coordinates. They are needed.
4639
4640 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4641
4642         * messages.C (getLocaleDir): use lyx_localedir()
4643
4644         * lyxlex_pimpl.C (setFile): compress stuff
4645
4646         * buffer.C (writeFile): add some compression stuff
4647         (do_writeFile): new func, dont call expliti close... will this
4648         breake anything?
4649
4650         * Makefile.am (lyx_LDADD): add -lz
4651
4652 2003-07-28  José Matos  <jamatos@fep.up.pt>
4653
4654         * buffer.C: increment file format.
4655         * paragraph_funcs (readParagraph, readParToken):
4656         * paragraph.C (readParagraph): add \end_layout.
4657
4658 2003-07-27  Angus Leeming  <leeming@lyx.org>
4659
4660         * Makefile.am: remove special casing for configure-time setting of
4661         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4662
4663         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4664         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4665
4666 2003-07-26  André Pönitz  <poenitz@gmx.net>
4667
4668         * paragraph_func.[Ch]:
4669         * paragraph.C (realizeFont): inline it whereever it is used
4670
4671         * rowpainter.C:
4672         * text.C:
4673         * text2.C:
4674         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4675
4676
4677 2003-07-26  André Pönitz  <poenitz@gmx.net>
4678
4679         *       lyxtext.h:
4680         * text.C:
4681         * text2.C: get rid of LyXText::need_break_row
4682
4683 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4684
4685         * toc.[Ch]: put namespace toc inside namespace lyx
4686
4687         * MenuBackend.C (expandToc2): adjust for lyx::toc
4688         (expandToc): ditto
4689
4690         * lyxfunc.C (dispatch): adjust for lyx::find
4691
4692         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4693         lyx::find instead. Reorganize a bit.
4694         (LyXReplace): rename to replace
4695         (LyXFind): rename to find
4696
4697         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4698         (dispatch): ditto
4699
4700 2003-07-26  André Pönitz  <poenitz@gmx.net>
4701
4702         * text.C (setHeightOfRow): restrict scope of temporary variable
4703
4704         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4705           code (never has been used?)
4706
4707 2003-07-27  Asger Alstrup  <alstrup@local>
4708
4709         * text.C (fill): Optimise algorithm to exploit that we can reuse
4710         the LyXFont for many characters.
4711         (setHeightOfRow): Same thing.
4712         (rowBreakPoint): Same thing.
4713
4714 2003-07-26  Asger Alstrup  <alstrup@local>
4715
4716         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4717
4718         * text.C (singleWidth): Spurious font copying in hot-spot
4719         singleWidth avoided. Reorder tests for arabic for efficiency.
4720
4721         * text.C (fill): handle empty paragraphs better.
4722
4723 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4724
4725         * ispell.C:
4726         * encoding.h: add includes
4727
4728         * lyxrc.C: remove reading of bind files
4729
4730         * lyx_main.C (init): setup bindings and menus only if we have a
4731         gui.
4732
4733         * kbmap.C (read): new method. Do the actual reading of bind
4734         files.
4735
4736         * converter.C (dvipdfm_options):
4737         * bufferparams.C:
4738         * lyxrc.C (read):
4739         (output): adapt PAPER_* enums.
4740
4741         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4742
4743         * bufferparams.h: remove paper-related enums from there
4744
4745         * paper.h: New file. A trivial header file to hold paper-related
4746         enums. It should later expand to contain many paper-related
4747         horrors access.
4748
4749         * lyxrc.C: declare extern displayTranslator
4750
4751 2003-07-27  José Matos  <jamatos@fep.up.pt>
4752
4753         * tabular.[Ch] (linuxdoc): add support for tables and figures
4754         (linuxdoc).
4755
4756 2003-07-27  José Matos  <jamatos@fep.up.pt>
4757
4758         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4759         consistency in both functions.
4760         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4761
4762 2003-07-26  Asger Alstrup  <alstrup@local>
4763
4764         * rowpainter.C (paintRows): Change algorithm to work directly on
4765         the insets rather than asking every character in the document
4766         whether its an inset.
4767
4768 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4769
4770         * buffer.C (openFileWrite): factorize some code
4771
4772 2003-07-26  Angus Leeming  <leeming@lyx.org>
4773
4774         * lyx_cb.C:
4775         * lyx_main.[Ch]: replace occurances of system_tempdir with
4776         os::getTmpDir().
4777
4778 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4779
4780         * rename Inset to InsetOld
4781
4782 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4783
4784         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4785         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4786         which I think is a bit clearer. EDIT is gone, since it was
4787         premature optimisation, and broken for mathed anyway.
4788         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4789         with cursor positioning in insets as well (math insets still do not
4790         work, but that's a different story anyway.) It mysteriously
4791         crashes sometimes with undo in the first paragraph, but I'm fairly
4792         confident that this is a compiler bug.
4793
4794 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4795
4796         * paragraph.C (Paragraph): adjust for new clone return type
4797         (operator==): ditto
4798         (copyIntoMinibuffer): ditto
4799
4800 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4801
4802         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4803         by not having a special case, and always doing a full rebreak of
4804         the document after undo.
4805
4806 2003-07-23  Angus Leeming  <leeming@lyx.org>
4807
4808         * factory.C (createInset): InsetExternal::setParams now takes a
4809         Buffer const * arg.
4810
4811 2003-07-23  Angus Leeming  <leeming@lyx.org>
4812
4813         * factory.C (createInset): changed interface to the external and
4814         graphics mailers' string2params functions.
4815
4816 2003-07-23  Angus Leeming  <leeming@lyx.org>
4817
4818         * factory.C (createInset): pass a
4819         Buffer const * parameter to InsetExternalMailer's string2params.
4820
4821 2003-07-22  John Levon  <levon@movementarian.org>
4822
4823         * Thesaurus.h: include the right aiksaurus header
4824
4825 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4826
4827         * MenuBackend.C (expand): check menu shortcuts unconditionally
4828
4829 2003-07-21  Angus Leeming  <leeming@lyx.org>
4830
4831         * factory.C (createInset): pass a
4832         buffer_path parameter to InsetGraphicsMailer's string2params.
4833
4834 2003-07-21  Angus Leeming  <leeming@lyx.org>
4835
4836         * BufferView_pimpl.C (buffer):
4837         * buffer.C (d-tor):
4838         * lyx_main.C (LyX):
4839         * lyxfunc.C (dispatch):
4840         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4841         rather than the grfx shortcut.
4842
4843 2003-07-21  André Pönitz  <poenitz@gmx.net>
4844
4845         * rowpainter.C: remove unused variables
4846
4847         * tabular_funcs.C:
4848         * tabular_funcs.h: move to tabular.C
4849         * Makefile.am: adjust
4850
4851         * tabular.[Ch]: basic optical cleaning
4852
4853         * author.h: pass references, not values
4854
4855 2003-07-18  André Pönitz  <poenitz@gmx.net>
4856
4857         * lyxtext.h:
4858         * metricsinfo.C:
4859         * metricsinfo.h:
4860         * rowpainter.C:
4861         * text.C:
4862         * text2.C:
4863         * text3.C: two-phase drawing for InsetText and InsetTabular
4864         some float -> int changes.
4865
4866 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4867
4868         * lyx_main.C: fix the fix
4869
4870 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4871
4872         * lyx_main.C: fix a crash in batch mode if no files specified
4873         * converter.C: ws
4874
4875 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4876
4877         * format.[Ch] (papersize): moved to BufferParams
4878         * converter.[Ch] (dvips_options): moved to BufferParams
4879         (dvipdfm_options): moved to anon namespace
4880         * bufferparams.[Ch]: added above functions.
4881
4882 2003-07-17  André Pönitz  <poenitz@gmx.net>
4883
4884         * lyxtext.h:
4885         * rowpainter.C:
4886         * text2.C: don't call inset->update() anymore
4887
4888         * metricsinfo.[Ch]: add convenience constructor
4889
4890 2003-07-16  André Pönitz  <poenitz@gmx.net>
4891
4892         * lyxcursor.[Ch]:
4893         * lyxfunc.[Ch]:
4894         * text.C:
4895         * text2.C: replace the LyXCursor::irow_ member with
4896          on-demand computation of the value
4897
4898 2003-07-16  John Levon  <levon@movementarian.org>
4899
4900         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4901
4902 2003-07-15  André Pönitz  <poenitz@gmx.net>
4903
4904         * text.C:
4905         * text2.C: remove no more needed refresh_row
4906
4907 2003-07-15  André Pönitz  <poenitz@gmx.net>
4908
4909         * lyxtext.h:
4910         * rowpainter.C:
4911         * text2.C:
4912         * text3.C: refresh_status tristate -> need_update bool
4913
4914 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4915
4916         * lyxtext.h (init): remove reinit argument (act as if always true)
4917         * text2.C: adjust to that
4918
4919 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4920
4921         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4922         * text3.C: use it to delete selections in some cases
4923         (bugs 441, 673, 702, 954).
4924
4925 2003-07-14  André Pönitz  <poenitz@gmx.net>
4926
4927         * rowpainter.[Ch]: reduce interface
4928
4929 2003-07-14  André Pönitz  <poenitz@gmx.net>
4930
4931         * BufferView_pimpl.C:
4932         * text2.C: adjust after removing unused BufferView * argument
4933
4934 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4935
4936         * text2.C (init): fix a crash fired on resize
4937
4938 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4939
4940         * buffer.[Ch]: added new closing signal
4941         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4942         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4943         BufferView::Pimpl via the closing the signal
4944
4945 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4946
4947         * buffer.[Ch]: take out all bv-related from buffer
4948         * BufferView.C:
4949         * BufferView_pimpl.[Ch]: connect to new signals
4950         * CutAndPaste.C: removed useless asserts
4951         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4952         * lyxvc.[Ch]:
4953         * vc-backend.[Ch]:
4954         * lyxfunc.C: moved view-related funciontality from vc here
4955         * paragraph.C: removed outdated comments
4956         * text.C: ws
4957
4958 2003-07-10  André Pönitz  <poenitz@gmx.net>
4959
4960         * BufferView_pimpl.C:
4961         * tabular.h:
4962         * tabular_funcs.C:
4963         * text.C:
4964         * text2.C: remove InsetText::InnerCache, clean up consequences
4965
4966 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4967
4968         * ispell.C: fix two typos in error messages
4969
4970 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4971
4972         * Extend Note inset to other forms of annotation like Comment
4973         and Greyedout. Right button click gives dialog.
4974
4975         Files modified or added (+):
4976
4977         * insetnote.[Ch]
4978         * FormNote.[Ch]      +
4979         * ControlNote.[Ch]   +
4980         * form_note.fd       +
4981         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4982         frontends/controllers
4983         * xforms/Dialogs.C
4984         * factory.C
4985
4986 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4987
4988         * aspell.C: add missing namespace lyx::support
4989
4990 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4991
4992         * BufferView.[Ch] (newFile): Add
4993         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4994         * LaTeX.[Ch] (message): added this signal and use it
4995         * buffer.[Ch] (busy, message): added these signals and use them
4996         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4997         * converter.C:
4998         * exporter.C:
4999         * format.C:
5000         * importer.C: use buffer signals instead of direct bv calling
5001         * lyx_cb.[Ch] (ShowMessage): removed
5002         * lyx_main.C:
5003         * lyxfunc.C:
5004         * paragraph_funcs.C:
5005         * text2.C: use buffer signals
5006
5007 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5008
5009         * introduce namespace lyx::graphics
5010
5011 2003-07-02  André Pönitz  <poenitz@gmx.net>
5012
5013         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5014
5015 2003-07-01  André Pönitz  <poenitz@gmx.net>
5016
5017         * text.C:
5018         * text2.C:
5019         * text3.C:
5020         * text_funcs.[Ch]:
5021         * textcursor.h:
5022         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5023           text*.C to text_func.C
5024
5025 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5026
5027         * introduce namespace lyx::support
5028
5029 2003-06-30  André Pönitz  <poenitz@gmx.net>
5030
5031         * Chktex.C:
5032         * funcrequest.C:
5033         * lyxtext.h:
5034         * text.C: re-enable --with-included-string
5035
5036 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5037
5038         * textcursor.C: add <config.h>
5039
5040         * text.C (getWord): remove const from word_location arg
5041
5042         * lyxvc.C (getLogFile): fix const type order
5043
5044         * lyxtext.h: remove const from word_location arg, add arg name
5045
5046         * lyxlayout.h: currect type on labeltype.
5047
5048         * importer.C: correct \file
5049
5050         * converter.C (intToFormat): use std:: on ret val, ws changes
5051
5052         * bufferlist.h: correct \file
5053
5054         * buffer.C (makeLinuxDocFile): fix const type order
5055         (makeDocBookFile): ditto
5056         (fillWithBibKeys): use std:: on stdlib args.
5057
5058         * CutAndPaste.C: fix authors.
5059         (availableSelections): use std:: on return vector
5060
5061 2003-06-27  André Pönitz  <poenitz@gmx.net>
5062
5063         * BufferView_pimpl.C:
5064         * bufferview_funcs.C:
5065         * lyxcursor.C:
5066         * lyxcursor.h:
5067         * lyxfunc.C:
5068         * lyxtext.h:
5069         * rowpainter.C:
5070         * text.C:
5071         * text2.C:
5072         * text3.C: remove LyXCursor::row_ member
5073
5074         * lyxtext.h:
5075         * text.C: rename fullRebreak() to partialRebreak() and implement
5076           a fullRebreak() that really bereks fully
5077
5078         * textcursor.h: new struct for cursor-related data
5079
5080 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5081
5082         * lyx_main.C (LyX): get full path of document loaded on the
5083         command line
5084
5085 2003-06-26  André Pönitz  <poenitz@gmx.net>
5086
5087         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5088           remove unused/broken operator>,<,>=.
5089
5090         *       text.C: remove only use of broken operator<= in an Assert().
5091
5092 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5093
5094         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5095         moved errorlist_.clear to showErrorList
5096
5097 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5098
5099         * converter.C (scanLog, runLaTeX):
5100         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5101         move the bv->showErrorList call to the callers
5102         * lyxfunc.C: i.e. here...
5103         * text2.C: and here
5104         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5105         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5106         namespace, the second to...
5107         * buffer_funcs (BufferFormat, parseErrors): added
5108         * errorlist.C (ErrorList(TeXErrors const &)): removed
5109
5110 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5111
5112         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5113
5114 2003-06-24  "Garst R. Reese" <reese@isn.net>
5115
5116         * debug.C: fix typo
5117
5118 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5119
5120         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5121
5122         * version.C.in: change docversion to 1.4
5123
5124 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5125
5126         * buffer.C: fix a bug just introduced
5127
5128 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5129
5130         * buffer.[Ch]: added the parseError signal and use it, removed
5131         sgmlError
5132         * BufferView.[Ch] (addError): moved to ...
5133         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5134         to the Buffer::parseError signal to catch (guess what) parse errors
5135         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5136
5137 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5138
5139         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5140         ability to create a buffer and to return an existing one from
5141         the list. Moved these functions to...
5142         * buffer_funcs.[Ch]: added
5143         * BufferView.[Ch] (loadLyXFile): added
5144         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5145         job removed from bufferlist::loadLyXFile.
5146         * buffer.C (setReadOnly): make it work without view
5147         (i.e added an if (users))
5148
5149 2003-06-19  Angus Leeming  <leeming@lyx.org>
5150
5151         * lfuns.h:
5152         * LyXAction.C (init):
5153         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5154         with LFUN_DIALOG_SHOW <name> <data>.
5155
5156 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5157
5158         * CutAndPaste.C (availableSelections): small compilation fix for
5159         ancient (gcc 2.9x) compilers
5160
5161 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5162
5163         * text3.C (cursorNext): add tmp var
5164
5165         * text2.C (updateCounters): for function calling out of for clause
5166         (replaceSelectionWithString): ditto
5167         (insertStringAsParagraphs): ditto
5168         (getColumnNearX): add tmp var
5169         (setCursorFromCoordinates): add tmp var
5170         (cursorDownParagraph): add tmp var
5171         (deleteEmptyParagraphMechanism): add tmp var
5172
5173         * text.C (insertChar): add tmp var
5174
5175         * rowpainter.C (paintDepthBar): add tmp var
5176
5177         * CutAndPaste.C (availableSelections): potentially check all
5178         paragraphs in a cut to fill the shown strings.
5179
5180 2003-06-18  André Pönitz  <poenitz@gmx.net>
5181
5182         * kbmap.[Ch]: use vector<> instead of list<>
5183
5184 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5185
5186         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5187         pasteSelection with index
5188
5189         * text2.C (pasteSelection): modify, call pasteSelection with index
5190
5191         * paragraph.C (asString): reimplement version with no interval to
5192         call the one with interval.
5193
5194         * lyxtext.h: add index arg to pasteSelection
5195
5196         * MenuBackend.C (MenuItem): handle PasteRecent
5197         (Menu::read::Menutags): add md_pasterecent
5198         (read): handle it
5199         (expandPasteRecent): new function
5200         (expand): use it
5201
5202         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5203
5204         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5205         the limited stack
5206         (availableSelections): new function
5207
5208 2003-06-17  Angus Leeming  <leeming@lyx.org>
5209
5210         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5211
5212 2003-06-17  Angus Leeming  <leeming@lyx.org>
5213
5214         * lfuns.h:
5215         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5216
5217         * lyxfunc.C (dispatch): invoke it.
5218
5219 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5220
5221         * iterators.C (operator++, ParPosition): reintroduce some
5222         const_cast for the benefit of older compilers.
5223
5224 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5225
5226         * text3.C (dispatch): do not modify clipboard when doing
5227         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5228         LFUN_DELETE_SKIP on a selection selection
5229
5230 2003-06-16  André Pönitz  <poenitz@gmx.net>
5231
5232         * BufferView.C:
5233         * buffer.C:
5234         * buffer.h:
5235         * paragraph.C:
5236         * tabular.[Ch]: IU of clone() and getLabelList();
5237
5238 2003-06-13  André Pönitz  <poenitz@gmx.net>
5239
5240         * tabular.h: compactification
5241
5242 2003-06-12  André Pönitz  <poenitz@gmx.net>
5243
5244         * tabular.C:
5245         * tabular.h:
5246         * tabular_funcs.h: some renaming plus whitespace
5247
5248 2003-06-12  André Pönitz  <poenitz@gmx.net>
5249
5250         * BufferView.C:
5251         * BufferView_pimpl.C:
5252         * CutAndPaste.C:
5253         * buffer.C:
5254         * iterators.[Ch]:
5255         * lyxfunc.C:
5256         * text.C:
5257         * toc.C: Return a Paragraph & for ParIterator::operator*()
5258
5259 2003-06-11  John Levon  <levon@movementarian.org>
5260
5261         * lyx_main.C:
5262         * ToolbarBackend.h:
5263         * ToolbarBackend.C: add "Toolbars" section and
5264         put the flags there
5265
5266 2003-06-10  Angus Leeming  <leeming@lyx.org>
5267
5268         * lfuns.h:
5269         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5270
5271         * lyxfunc.C (dispatch): invoke it.
5272
5273 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5274
5275         * main.C: protect <ios> with HAVE_IOS
5276         (main): protect sync_with_stdio with HAVE_IOS
5277
5278 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5279
5280         * text2.C (cutSelection): adjust
5281         (pasteSelection): adjust
5282
5283         * messages.C: handle get of empty string
5284
5285         * main.C (main): use sync_with_stdio(false)
5286
5287         * lyxfunc.C (dispatch): adjust
5288
5289         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5290         (WriteAs): remove unneeded BufferView arg.
5291
5292         * bufferparams.h: use correct types on papersize, papersize2 and
5293         paperpackage.
5294
5295         * bufferparams.C (readToken): adjust for type
5296         (writeLaTeX): add missing cases to switch.
5297
5298         * bufferlist.C (quitWriteBuffer): adjust
5299         (close): adjust
5300
5301         * buffer.C (asciiParagraph): remove some commented code.
5302
5303         * CutAndPaste.C: remove current_view extern variable.
5304         (cutSelection): add BufferParams arg.
5305         (eraseSelection): add BufferParams arg.
5306         (pasteSelection): add Buffer const & arg
5307
5308 2003-06-07  John Levon  <levon@movementarian.org>
5309
5310         * buffer.C:
5311         * paragraph_funcs.C:
5312         * paragraph_pimpl.C:
5313         * text.C:
5314         * text2.C:
5315         * paragraph.h:
5316         * paragraph.C: allow InsetERT to freely space lines,
5317         and some consolidation of code
5318
5319 2003-06-06  José Matos  <jamatos@fep.up.pt>
5320
5321         * buffer.C (makeDocBookFile): fix bug #821
5322
5323 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5324
5325         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5326
5327 2003-06-04  Angus Leeming  <leeming@lyx.org>
5328
5329         * buffer.C: bump format to 224.
5330
5331 2003-06-05  André Pönitz  <poenitz@gmx.net>
5332
5333         * text2.C (redoParagraphs): remove two const_cast<>
5334
5335 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5336
5337         * ParagraphList.h: remove last remnants of NO_STD_LIST
5338
5339 2003-06-03  Angus Leeming  <leeming@lyx.org>
5340
5341         * factory.C (createInset): small change to the way InsetExternal's params
5342         are set.
5343
5344 2003-06-04  André Pönitz  <poenitz@gmx.net>
5345
5346         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5347
5348         * paragraph_pimpl.h:
5349         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5350
5351         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5352
5353         * undo_funcs.C: make some simple cases of undo work again
5354
5355 2003-06-03  John Levon  <levon@movementarian.org>
5356
5357         * ispell.C: HPUX doesn't have sys/select.h
5358         (from Albert Chin)
5359
5360 2003-06-03  John Levon  <levon@movementarian.org>
5361
5362         * CutAndPaste.C: update tabular and include inset
5363         buffer references
5364
5365         * buffer.h:
5366         * paragraph.h:
5367         * paragraph.C: remove owningBuffer(), don't pass Buffer
5368         to clone()
5369
5370         * factory.C: insetGraphicsParams changed
5371
5372 2003-06-02  John Levon  <levon@movementarian.org>
5373
5374         * LyXAction.C:
5375         * factory.C:
5376         * lfuns.h:
5377         * lyxfunc.C:
5378         * text3.C: remove insetparent
5379
5380 2003-06-02  John Levon  <levon@movementarian.org>
5381
5382         * buffer.h:
5383         * buffer.C: fix inset_iterator.end(), move out of line
5384         (bug 1149)
5385
5386 2003-06-01  John Levon  <levon@movementarian.org>
5387
5388         * text3.C: use a proper cut/paste when doing inset
5389         insert (from Jürgen Spitzmüller)
5390
5391 2003-06-01  John Levon  <levon@movementarian.org>
5392
5393         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5394
5395 2003-05-30  André Pönitz  <poenitz@gmx.net>
5396
5397         * rowpainter.C: unify second drawing phase
5398
5399 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5400
5401         * trans_mgr.C: remove one case of current_view
5402
5403         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5404
5405         * paragraph_funcs.h: remove paragraph.h include
5406
5407         * paragraph.h: delete NO_STD_LIST stuff
5408
5409         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5410
5411         * buffer.h: remove paragraph.h include
5412
5413         * ParagraphList.C: delete file
5414
5415         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5416
5417         * toc.C (getTocList): adjust
5418
5419         * paragraph_pimpl.C (validate): adjust
5420
5421         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5422
5423         * paragraph.C (Paragraph): adjust
5424         (getPositionOfInset): use const_iterator, adjust
5425         (bibitem): use const_iterator, adjust
5426         (setInsetOwner): adjust
5427
5428         * iterators.C (operator++): adjust
5429
5430         * InsetList.[Ch]: Replace selfmade iterator with standard
5431         vector::iterator also introduce const_iterator. Remove getPos,
5432         getInset and setInset from InsetTable. Adjust accordingly.
5433
5434         * BufferView.C (lockInset): adjust
5435         (ChangeInsets): adjust
5436
5437         * tabular.[Ch]: delete commented same_id functions
5438
5439 2003-05-28  John Levon  <levon@movementarian.org>
5440
5441         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5442
5443 2003-05-28  André Pönitz  <poenitz@gmx.net>
5444
5445         * metricsinfo.[Ch]: remove 'fullredraw' member
5446
5447 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5448
5449         * lyxtextclass.C (operator): remove caching.
5450
5451 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5452
5453         * text3.C: adjust
5454
5455         * text2.C (cursorBottom): adjust
5456         (setCounter): use ParagraphList::find, adjust
5457
5458         * text.C (workWidth): use ParagraphList::find, adjust
5459
5460         * lyxcursor.C (LyXCursor): adjust
5461
5462         * buffer.C (inset_iterator): adjust
5463
5464         * ParagraphList.h: make iterator(value_type) private, make
5465         ParagraphList a friend of iterator.
5466
5467         * ParagraphList.C (find): new function
5468
5469         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5470
5471 2003-05-27  André Pönitz  <poenitz@gmx.net>
5472
5473         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5474
5475 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5476
5477         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5478
5479 2003-05-26  John Levon  <levon@movementarian.org>
5480
5481         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5482
5483 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5484
5485         * remove same_id from function signatures, adjust.
5486
5487 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5488
5489         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5490
5491         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5492
5493         * paragraph.C (Paragraph): get rid of same_ids parameter
5494
5495         * ParagraphList.C (insert): adjust
5496         (push_back): adjust
5497
5498 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5499
5500         * paragraph_funcs.C (breakParagraph): adjust
5501         (breakParagraphConservative): adjust
5502
5503         * buffer.C (readParagraph): adjust
5504
5505         * ParagraphList.C (insert): take a reference instead of a pointer
5506         (insert): adjust
5507
5508         * paragraph.[Ch] (id): new function
5509
5510         * bufferlist.C (newFile): adjust
5511
5512         * ParagraphList.C (ParagraphList): adjust
5513         (assign): adjust
5514         (push_back): take a reference instead of a pointer.
5515
5516         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5517
5518         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5519         instead.
5520
5521         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5522         set else use old code.
5523
5524         * ParagraphList.C: remove all NO_NEXT code and only compile this
5525         code of NO_STD_LIST is set.
5526
5527 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5528
5529         * BufferView_pimpl.C:
5530         * TextCache.C:
5531         * TextCache.h:
5532         * bufferlist.C:
5533         * errorlist.h:
5534         * format.C:
5535         * format.h:
5536         * graph.C:
5537         * lyxfunc.C:
5538         * lyxrc.C:
5539         * graphics/GraphicsConverter.C:
5540         * graphics/PreviewLoader.C: header adjustment
5541
5542 2003-05-23  Angus Leeming  <leeming@lyx.org>
5543
5544         * LaTeXFeatures.[Ch] (useBabel): new method.
5545         * bufferparams.C (writeLaTeX): use it.
5546
5547 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5548
5549         * ParagraphList.h (set): remove unused function.
5550
5551 2003-05-23  André Pönitz  <poenitz@gmx.net>
5552
5553         * BufferView.C:
5554         * BufferView_pimpl.C:
5555         * buffer.C:
5556         * buffer.h:
5557         * lyxfunc.C:
5558         * undo_funcs.C: setUndo reworked
5559
5560         * iterators.[Ch]: add access to topmost ParagraphList
5561
5562         * lyxtext.[Ch] (workWidth): add a const
5563
5564 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5565
5566         * texrow.[Ch] (increasePos): remove function
5567         * exporter.C (export): removed unused var and outdated comment
5568
5569 2003-05-23  Angus Leeming  <leeming@lyx.org>
5570
5571         * latexrunparams.h: rename fragile as moving_arg.
5572         * paragraph.C (simpleTeXOnePar): ditto.
5573         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5574
5575 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5576
5577         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5578         (createUndo): ditto
5579         (textUndoOrRedo): comment out a currently unused var.
5580
5581         * paragraph.h (NO_NEXT): enable NO_NEXT
5582
5583         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5584
5585         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5586
5587         * exporter.C (Export): adjust for removeAutoInsets removal.
5588
5589         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5590
5591         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5592
5593         * BufferView.[Ch] (removeAutoInsets): delete function
5594
5595 2003-05-22  Angus Leeming  <leeming@lyx.org>
5596
5597         * latexrunparams.h: add a free_spacing variable.
5598
5599         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5600         to pass moving_arg, as the data is stored in runparams.fragile.
5601
5602         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5603         to Inset::latexOptional or to simpleTeXOnePar.
5604
5605         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5606         free_spacing arg to Inset::latexOptional.
5607
5608         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5609         free_spacing arg.
5610
5611 2003-05-22  Angus Leeming  <leeming@lyx.org>
5612
5613         * latexrunparams.h: add fragile and use_babel variables.
5614
5615         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5616         * buffer.C (makeLaTeXFile): store this returned value in
5617         runparams.use_babel, thus passing it to the inset::latex methods.
5618
5619         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5620         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5621
5622         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5623         longer has a fragile arg, as it is stored in runparams.fragile.
5624
5625         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5626         moving_arg parameter as the data is stored in runparams.fragile.
5627
5628         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5629         a fragile parameter as the data is stored in runparams.fragile.
5630
5631 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5632
5633         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5634
5635 2003-05-22  Angus Leeming  <leeming@lyx.org>
5636
5637         * latexrunparams.h: add a 'bool nice' which defaults to false.
5638
5639         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5640         now encapsulated within runparams.
5641
5642         * bufferlist.C (updateIncludedTeXfiles):
5643         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5644
5645 2003-05-22  Angus Leeming  <leeming@lyx.org>
5646
5647         * latexrunparams.h: new file containing struct LatexRunParams.
5648         * Makefile.am: add new file.
5649
5650         * LaTeX.[Ch] (c-tor, run):
5651         * buffer.[Ch] (makeLaTeXFile):
5652         * bufferlist.[Ch] (updateIncludedTeXfiles):
5653         * converter.C (convert, scanLog):
5654         * converter.[Ch] (runLaTeX):
5655         * exporter.C (Export):
5656         * paragraph.[Ch] (simpleTeXOnePar):
5657         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5658         * paragraph_funcs.[Ch] (latexParagraphs):
5659         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5660         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5661         pass around a LatexRunParams parameter.
5662
5663 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5664
5665         * paragraph.[Ch]: remove unused constructor
5666
5667         * ParagraphList.C (erase): new function, taking two iterators
5668
5669 2003-05-22  André Pönitz  <poenitz@gmx.net>
5670
5671         * undo_funcs.C: remove duplicated code
5672
5673         * iterator.[Ch]: operator=
5674
5675 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5676
5677         * tabular.C (SetMultiColumn): ws changes
5678
5679         * rowpainter.C (paintFirst): get rid of a ->previous
5680
5681         * lyx_cb.C (getPossibleLabel): parlist simplification
5682
5683         * BufferView.C (ChangeInsets): simplify slightly.
5684
5685 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5686
5687         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5688         * lfuns.h: new LFUN_SPACE
5689         * lyxfunc.C: protected space has a new lfun
5690         * paragraph_funcs.C: read new space insets
5691         * text3.C:
5692         * factory.C: handle new space insets
5693
5694 2003-05-22  André Pönitz  <poenitz@gmx.net>
5695
5696         * BufferView.C:
5697         * BufferView_pimpl.C:
5698         * buffer.[Ch]:
5699         * lyxfunc.C:
5700         * undo_funcs.C: return a ParIterator from getParFromID.
5701
5702         * iterators.[Ch]: add two const's
5703
5704 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5705
5706         * toc.C (getTocList): adjust
5707
5708         * iterators.[Ch]: rework for parlist
5709
5710         * buffer.C (par_iterator_begin): adjust
5711         (par_iterator_end): adjust
5712
5713         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5714
5715         * BufferView.C (removeAutoInsets): adjust
5716         (ChangeInsets): adjust
5717
5718 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5719
5720         * text.C (top_y): fix bug 1110
5721
5722 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5723
5724         * errorlist.[Ch]: added
5725         * buffer.C:
5726         * BufferView.[Ch]:
5727         * BufferView_pimpl.C:
5728         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5729         instead
5730
5731 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5732
5733         * Makefile.am: ensure that lyx is relinked upon changes to the
5734         various "convenience" libs.
5735
5736 2003-05-20  Angus Leeming  <leeming@lyx.org>
5737
5738         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5739         files are compiled in alphabetical order again.
5740
5741         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5742
5743 2003-05-19  Angus Leeming  <leeming@lyx.org>
5744
5745         * gettext.[Ch]: remove "char const * _(char const *)".
5746
5747 2003-05-19  André Pönitz  <poenitz@gmx.net>
5748
5749         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5750
5751         * Makefile.am:
5752         * BufferView.C:
5753         * DepTable.h:
5754         * LaTeXFeatures.C:
5755         * buffer.C:
5756         * lyxfont.C:
5757         * lyxlex.h:
5758         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5759
5760 2003-05-19  André Pönitz  <poenitz@gmx.net>
5761
5762         * buffer.C:
5763         * lyxlayout.[Ch]:
5764         * lyxtextclass.[Ch]:
5765         * paragraph.C:
5766         * paragraph_funcs.[Ch]:
5767         * text2.C:
5768         * text3.C: more insetenv work
5769
5770 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5771
5772         * ParagraphParameters.C (params2string): small bug fixed
5773
5774 2003-05-16  André Pönitz  <poenitz@gmx.net>
5775
5776         * debug.C:
5777         * bufferview_funcs.C: patch from Kornel Benko to prevent
5778           crash when _(...) is called twice in a statement
5779
5780 2003-05-16  André Pönitz  <poenitz@gmx.net>
5781
5782         * BufferView.C:
5783         * lyxfunc.C:
5784         * text.C:
5785         * text2.C:
5786         * text3.C:
5787         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5788
5789 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5790
5791         * lyx_main.C (init): remove spurious static_cast
5792
5793 2003-05-14  André Pönitz  <poenitz@gmx.net>
5794
5795         * BufferView.C: fix format string
5796
5797 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5798
5799         * BufferView.[Ch] (insertErrors): removed
5800         * BufferView.[Ch] (showErrorList): added
5801         * buffer.C (runChkTeX):
5802         * converter.C (scanLog): call showErrorList instead of inserterrors
5803
5804 2003-05-13  André Pönitz  <poenitz@gmx.net>
5805
5806         * BufferView_pimpl.C:
5807         * buffer.C:
5808         * bufferview_func.C:
5809         * MenuBackend.C:
5810         * lyxfunc.C:
5811         * lyxrc.C:
5812         * tex-accent.C:
5813         * text3.C:
5814         * toc.C:
5815         * tabular_funcs.h: tostr() from its own header
5816
5817         * ParagraphParameters.C:
5818         * ToolbarBackend.C:
5819         * bufferparams.C:
5820         * format.C:
5821         * lyxlex_pimpl.C:
5822         * text3.C: STRCONV()
5823
5824 2003-05-12  André Pönitz  <poenitz@gmx.net>
5825
5826         * BufferView.C:
5827         * BufferView_pimpl.C:
5828         * CutAndPaste.C:
5829         * LaTeX.C:
5830         * LaTeXFeatures.C:
5831         * ParagraphParameters.C:
5832         * buffer.C:
5833         * bufferlist.C:
5834         * bufferparams.C:
5835         * bufferview_funcs.C:
5836         * converter.C:
5837         * counters.C:
5838         * debug.C:
5839         * exporter.C:
5840         * format.C:
5841         * importer.C:
5842         * lyx_cb.C:
5843         * lyx_main.C:
5844         * lyxfont.C:
5845         * lyxfunc.C:
5846         * lyxvc.C:
5847         * paragraph.C:
5848         * paragraph_funcs.C:
5849         * tabular.C:
5850         * tabular_funcs.C:
5851         * text2.C:
5852         * text3.C:  boost::format -> bformat  all over the place
5853
5854
5855 2003-05-09  André Pönitz  <poenitz@gmx.net>
5856
5857         * LColor.[Ch]: Pimpl the #include <map> away
5858
5859 2003-05-09  John Levon  <levon@movementarian.org>
5860
5861         * bufferlist.C: never remove emergency saves
5862
5863 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5864
5865         * Makefile.am: better lib building
5866
5867 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5868
5869         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5870         instead.
5871         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5872         (simpleTeXSpecialChars): adjust
5873         (simpleTeXSpecialChars): adjust
5874         * paragraph.C (simpleTeXOnePar): adjust
5875         * buffer.C (makeLaTeXFile): adjust
5876
5877         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5878
5879         * text2.C (changeDepth): parlist cleanup
5880         (getColumnNearX): ditto
5881
5882         * rowpainter.C (getLabelFont): parlist cleanup
5883
5884         * bufferlist.C (newFile): parlist cleanup
5885
5886         * CutAndPaste.C (eraseSelection): parlist cleanup
5887
5888         * BufferView_pimpl.C (trackChanges): parlist cleanup
5889         (dispatch): ditto
5890
5891         * BufferView.C (lockInset): parlist cleanup.
5892         (ChangeInsets): ditto
5893
5894 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5895
5896         * CutAndPaste.h: Update file header.
5897
5898         * CutAndPaste.C: Update file header.
5899         Store the parts cut out of the Document in a limited_stack.
5900         (copySelection): adjust
5901         (pasteSelection): new function, takes the index in the limited stack.
5902         (nrOfParagraphs): adjust
5903         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5904         simplify error inset insertion.
5905         (checkPastePossible): adjust
5906
5907 2003-05-06  John Levon  <levon@movementarian.org>
5908
5909         * text2.C: don't cast wrap inset to float
5910
5911 2003-05-05  André Pönitz  <poenitz@gmx.net>
5912
5913         * iterator.C:
5914         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5915
5916         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5917           few naked Paragraph *.
5918
5919 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5920
5921         * bufferparams.C: Output warning if a document with missing
5922         TeX document class is loaded
5923         * exporter.C: Disable TeX exports if the document class is missing
5924         * lyxtextclass.C:
5925         * lyxtextclass.h:
5926         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5927         isTeXClassAvailable()
5928
5929 2003-05-03  John Levon  <levon@movementarian.org>
5930
5931         * BufferView.h:
5932         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5933         explicit cursor show/hide
5934
5935         * BufferView_pimpl.h:
5936         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5937         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5938
5939         * lyxfunc.C: hide cursor before dispatching.
5940
5941         * lyx_cb.C:
5942         * lyxfind.C:
5943         * text.C:
5944         * text3.C: remove explicit cursor hides
5945
5946 2003-05-02  André Pönitz  <poenitz@gmx.net>
5947
5948         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5949
5950         * undo_funcs.C:
5951         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5952           linked lists
5953
5954         * text2.C: tiny whitespace
5955
5956 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5957
5958         * undo_funcs.C: almost only ws changes.
5959
5960         * ParagraphList.C (splice): just return if pl is empty.
5961
5962 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5963
5964         * ParagraphList.C (splice): new function.
5965
5966         * CutAndPaste.C (pasteSelection): use it
5967
5968 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5969
5970         * CutAndPaste.C (pasteSelection): remove the last next and
5971         previous from this file.
5972
5973 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5974
5975         * CutAndPaste.C (pasteSelection): more clean up, user proper
5976         ParagraphList functions for pasteing.
5977
5978         * ParagraphList.C (insert): new function, three arg insert
5979
5980 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5981
5982         * ParagraphList.C (insert): new function, three arg insert
5983
5984         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5985         not on paragraphs.
5986
5987 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5988
5989         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5990
5991 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5992
5993         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5994
5995 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5996
5997         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5998         (copySelection): clean up a bit.
5999         (pasteSelection): use make_pair
6000
6001         * ParagraphList.C (ParagraphList): implement copy constructor
6002         (operator=): implement, base on copy constructor.
6003         (assign): new func
6004
6005         * paragraph.C (erase): return a bool
6006
6007         * paragraph_pimpl.C (erasePos): remove function, move contents...
6008         (erase): ... here. Return a bool.
6009         (erase): call erase instead of erasePos.
6010
6011 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6012
6013         * ParagraphList.h: define PitPosPair
6014         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6015         ParagraphList, fix a bug on pasting multiple pars
6016         * text2.C: change interface to C&P
6017
6018 2003-04-30  André Pönitz  <poenitz@gmx.net>
6019
6020         * undo_func.C: revert part of yesterday's patch 2
6021
6022 2003-04-30  John Levon  <levon@movementarian.org>
6023
6024         * LColor.C: s/tabular/table/
6025
6026 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6027
6028         * text3.C (dispatch): do not convert iterator -> pointer
6029         * undo_funcs.C (setCursorParUndo): ditto
6030         * text_funcs.C (transposeChars): ditto
6031
6032         * text2.C (setLayout): ws changes only
6033
6034         * text.C (breakParagraph): do not convert iterator -> pointer
6035         (insertChar): ditto
6036         (acceptChange): ditto
6037         (rejectChange): ditto
6038         (changeCase): ditto
6039         (Delete): ditto
6040         (backspace): ditto
6041
6042         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6043         pointer
6044
6045 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6046
6047         * text3.C (gotoInset): YABG (yet another bad getChar)
6048
6049 2003-04-29  André Pönitz  <poenitz@gmx.net>
6050
6051         * paragraph.h: make operator= private unimplemented as long as
6052           it is unusable
6053
6054         * ParagraphList.C: whitespace
6055
6056         * paragraph.[Ch]:
6057         * paragraph_pimpl.[Ch]:
6058         * paragraph_funcs.C:
6059         * CutAndPaste.C:
6060         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6061
6062         * text2.C:
6063           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6064
6065 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6066
6067         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6068         * paragraph.[Ch] (erase):
6069         * paragraph_pimpl.[Ch] (erase): change return type and value
6070         * text2.C (cutSelection): some rework
6071
6072 2003-04-28  John Levon  <levon@movementarian.org>
6073
6074         * bufferlist.C: changes for unsaved changes dialog
6075
6076 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6077
6078         * bufferlist.C (newFile): set language (messages_) for new
6079         documents also.
6080
6081         * buffer.C (readFile): ws changes only.
6082
6083 2003-04-28  André Pönitz  <poenitz@gmx.net>
6084
6085         * undo_funcs.C:
6086         * lyxfunc.C:
6087         * buffer.[Ch]:
6088         * BufferView_pimpl.C:
6089         * BufferView.C: getParFromID related ParagraphList::iterator changes
6090
6091 2003-04-28  André Pönitz  <poenitz@gmx.net>
6092
6093         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6094           Changes
6095
6096 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6097
6098         * messages.C: remove one more localedir class variable.
6099
6100 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6101
6102         * messages.C (getLocaleDir): singleton generation function
6103         (Pimpl): use it.
6104         (Messages): add a default constructor.
6105
6106         * main.C (main): do not setup localedir here, do not call
6107         gettext_init.
6108
6109         * gettext.C (_): use it.
6110         (gettext_init): delete funciton
6111
6112 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6113
6114         * gettext.C (getLyXMessages): new singleton generating function.
6115
6116         * buffer.C (updateDocLang): adjust
6117
6118         * Makefile.am (messages.o): add target
6119         (main.o): remove target
6120
6121 2003-04-27  John Levon  <levon@movementarian.org>
6122
6123         * bufferlist.C:
6124         * lyx_cb.C:
6125         * lyxfunc.C:
6126         * lyxvc.C: specify cancel button in Alert::prompt
6127
6128 2003-04-26  John Levon  <levon@movementarian.org>
6129
6130         * text3.C:
6131         * lyxfunc.C:
6132         * lfuns.h:
6133         * LyXAction.C: add LFUN_INSET_SETTINGS
6134
6135         * lyxfunc.C: don't enable tabular-feature when there's
6136         just any locking inset
6137
6138 2003-04-26  John Levon  <levon@movementarian.org>
6139
6140         * bufferlist.C: re-add Cancel to buffer close question
6141
6142         * lyxfunc.C: fix import UI a bit
6143
6144 2003-04-25  John Levon  <levon@movementarian.org>
6145
6146         * gettext.C: remove the broken asserts for now
6147
6148 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6149
6150         * messages.C: make case where setlocale cannot comply work better.
6151
6152         * buffer.C (updateDocLang): new function
6153         (changeLanguage): use it
6154         (readFile): use it
6155
6156         * text2.C (setCounter): use B_ a bit.
6157
6158         * lyxlayout.C (Read): be sure to trim the label strings.
6159
6160         * messages.C (Messages): fix typo in comment
6161
6162         * buffer.C (readFile): set message_ after file is loaded.
6163         (makeDocBookFile): remove double return
6164         (changeLanguage): reset message_ upon language change.
6165         (B_): new func, use this to get translated buffer strings.
6166
6167         * main.C: add myself and Jean Marc as authors.
6168
6169 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6170
6171         * messages.[hC]: pimplify Messages, and three different pimpls to be
6172         used in different circumstances.
6173
6174         * gettext.[Ch]: change for use with new message code.
6175
6176 2003-04-24 André Pönitz <poenitz@gmx.net>
6177
6178         * factory.C: support for eqref
6179
6180 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6181
6182         * messages.[Ch]: add missing char
6183
6184         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6185
6186         * messages.[Ch]: New files
6187
6188 2003-04-18  John Levon  <levon@movementarian.org>
6189
6190         * BufferView.h:
6191         * BufferView.C:
6192         * BufferView_pimpl.C:
6193         * lfuns.h:
6194         * LyXAction.C:
6195         * lyxtext.h:
6196         * text2.C: remove layout-copy/paste (bug 778)
6197
6198 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6199
6200         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6201
6202 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6203
6204         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6205         if they succeed. Act accordingly.
6206
6207 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6208
6209         * text2.C (setCharFont): adjust
6210         (setCounter): adjust
6211         (insertStringAsLines): adjust
6212
6213         * text.C (leftMargin): adjust
6214         (setHeightOfRow): adjust
6215
6216         * rowpainter.C (paintFirst): adjust
6217         (paintLast): adjust
6218
6219         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6220         (outerHook): ditto
6221         (isFirstInSequence): ditto
6222         (getEndLabel): ditto
6223         (outerFont): adjust
6224
6225         * paragraph.C (getParLanguage): comment out some hard stuff.
6226
6227         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6228         (sgmlError): ditto
6229         (simpleDocBookOnePar): ditto
6230         (makeDocBookFile): use ParagraphList::iterator
6231
6232         * CutAndPaste.C (pasteSelection): adjust
6233
6234 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6235
6236         * text2.C (getFont): adjust
6237         (getLayoutFont): adjust
6238         (getLabelFont): adjust
6239
6240         * paragraph_funcs.C (TeXOnePar): adjust
6241
6242         * buffer.C (simpleLinuxDocOnePar): adjust
6243         (simpleDocBookOnePar): adjust
6244
6245         * CutAndPaste.C (pasteSelection): adjust
6246
6247         * BufferView.C (getEncoding): adjust
6248
6249         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6250
6251 2003-04-16  John Levon  <levon@movementarian.org>
6252
6253         * lyxfind.C: use parlist stuff for search/changes
6254
6255 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6256
6257         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6258
6259         * text2.C (deleteEmptyParagraphMechanism): adjust
6260
6261         * text2.[Ch] (ownerParagraph): delete func (both of them
6262
6263 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6264
6265         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6266
6267 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * ParagraphList.C: prepare for NO_NEXT
6270
6271 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6272
6273         * text2.C (getFont): adjust
6274         (getLayoutFont): adjust
6275         (getLabelFont): adjust
6276
6277         * paragraph.C (getFont): adjust
6278         (getLabelFont): adjust
6279         (getLayoutFont): adjust
6280
6281         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6282
6283 2003-04-15  John Levon  <levon@movementarian.org>
6284
6285         From Angus Leeming
6286
6287         * lyx_main.C: handle Include in .ui files
6288
6289 2003-04-15  John Levon  <levon@movementarian.org>
6290
6291         * MenuBackend.C: make the doc files length shorter
6292
6293         * ToolbarBackend.h:
6294         * ToolbarBackend.C: handle toolbar placement flags,
6295         Minibuffer
6296
6297 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6298
6299         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6300         adjust
6301
6302         * paragraph_funcs.C (TeXOnePar): adjust
6303
6304         * paragraph.C (getLabelFont): add outerfont arg, adjust
6305         (getLayoutFont): ditto
6306         (simpleTeXOnePar): adjust
6307
6308         * paragraph_pimpl.C (realizeFont): delete func
6309
6310 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6311
6312         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6313         row argument, constify cur argument.
6314
6315 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6316
6317         * text2.C (getFont): adjust
6318         (getLayoutFont): adjust
6319         (getLabelFont): adjust
6320
6321         * paragraph_funcs.C (TeXOnePar): adjust
6322         (outerFont): new func...
6323         (realizeFont): ...moved out from here, changed this to facilitate
6324         transition
6325
6326         * paragraph.C (getFont): take outerfont as arg, adjust
6327         (simpleTeXOnePar): add outerfont arg, adjust
6328
6329         * buffer.C (simpleLinuxDocOnePar): adjust
6330         (simpleDocBookOnePar): adjust
6331
6332         * CutAndPaste.C (pasteSelection): adjust
6333
6334         * BufferView.C (getEncoding): adjust
6335
6336 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6337
6338         * text2.C (setCharFont): adjust
6339         (setCounter): adjust
6340
6341         * text.C (leftMargin): adjust
6342         (setHeightOfRow): adjust
6343
6344         * rowpainter.C (paintFirst): adjust
6345         (paintLast): adjust
6346
6347         * paragraph_pimpl.C (realizeFont): adjust
6348
6349         * paragraph.C (isFirstInSequence): move from here...
6350         * paragraph_funcs.C (isFirstInSequence): ...to here
6351
6352         * paragraph.C (outerHook): move from here...
6353         * paragraph_funcs.C (outerHook): ...to here
6354
6355         * paragraph.C (depthHook): move from here...
6356         * paragraph_funcs.C (depthHook): ...to here
6357
6358         * paragraph.C (getEndLabel): move from here...
6359         * paragraph_funcs.C (getEndLabel): ...to here
6360
6361         * text2.C (realizeFont): move from here...
6362         * paragraph_funcs.C (realizeFont): ...to here
6363
6364 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6365
6366         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6367
6368 2003-04-14  Angus Leeming  <leeming@lyx.org>
6369
6370         * LColor.[Ch]: scrap LColor mathcursor.
6371
6372 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6373
6374         * lyxlex.[Ch] (text): delete function
6375         * trans.C (Load): adjust
6376         * paragraph_funcs.C (readParToken): adjust
6377
6378 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6379
6380         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6381         vector<char> instead of a char[].
6382
6383         * lyxlex_pimpl.C (getString): adjust
6384         (next): adjust
6385         (lex): use getString
6386         (eatLine): adjust
6387         (nextToken): adjust
6388
6389         * lyxlex.C (text): use pimpl_->getString()
6390         (getBool): ditto
6391         (findToken): ditto
6392
6393 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6394
6395         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6396         (makeFontEntriesLayoutSpecific): temp var for par.size()
6397         (setLayout): temp var for ownerParagraphs().end()
6398         (fullRebreak): temp var for rows().end()
6399         (selectionAsString): temp var for boost::next(startpit), realize
6400         that the while really is a regular for loop.
6401         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6402         setCursor in one place.
6403         (setParagraph): temp vr for ownerParagraphs().end()
6404         (updateCounters): make the while loop a for loop
6405         (cutSelection): temp var for ownerParagraphs().end()
6406         (updateInset): make the do {} while() a regular for loop
6407         (getCursorX): use temp vars
6408         (setCurrentFont): use temp vars
6409         (getColumnNearX): use temp vars
6410
6411 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6412
6413         * text.C (transformChar): use temp var for getChar
6414         (computeBidiTables): use temp var for row->par()
6415         (fill): move temp vars for row->par() and pit->layout() earlier in
6416         the function.
6417         (labelFill): use temp var for row->par()
6418         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6419         asc and desc, realize that pit never changes and that firstpit is
6420         just a duplicate and not needed. Exchange rit->par() with pit in a
6421         lot of places.
6422         (breakAgain): use a temp var for boost::next(rit)
6423         (breakAgainOneRow): ditto
6424         (breakParagraph): use a temp var for rows().begin()
6425         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6426         (cursorRightOneWord): use temp var for cursor.par() and
6427         cursor.pos(), remove usage of tmpcursor.
6428         (cursorLeftOneWord): use temp var for cursor.par() and
6429         cursor.pos() only set cur at end of function.
6430
6431 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6432
6433         * text.C, text2.C: exchange all usage of Paragraph::next with
6434         boost::next(ParagraphList::iterator)
6435
6436         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6437
6438         * text2.C (cursorTop): simplify implementation
6439         (cursorBottom): ditto
6440         (setParagraph): use ParagraphList::iterator
6441         (setCurrentFont): adjust
6442         (getColumnNearX): adjust
6443         (cursorRight): adjust
6444         (cursorLeft): remove usage of Paragraph::previous
6445         (cursorUpParagraph): ditto
6446         (deleteEmptyParagraphMechanism): slight cleanup
6447
6448         * text.C (isBoundary): take a Paragraph const & instead of a
6449         pointer as arg.
6450         (addressBreakPoint): ditto
6451         (leftMargin): remove usage of Paragraph::previous.
6452         (setHeightOfRow): ditto
6453         (cursorLeftOneWord): ditto
6454         (selectNextWordToSpellcheck): ditto
6455         (Delete): ditto
6456         (backspace): ditto
6457         (breakParagraph): remove one usage of Paragraph::next
6458         (redoParagraph): ditto
6459         (acceptChange): ditto
6460         (insertChar): adjust
6461         (rowBreakPoint): adjust
6462
6463         * bufferview_funcs.C (toggleAndShow): adjust
6464
6465 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6466
6467         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6468         methods to access it.
6469         * lyxtext.h:
6470         * text.C: Added updateRowPositions to compute all row positions.
6471         Make top_y and getRowNearY() to use the cached y position
6472
6473 2003-04-11  John Levon  <levon@movementarian.org>
6474
6475         * text.C (rowBreakPoint): reintroduce the labelEnd
6476         checks, code copied from the row fill stuff. Deep voodoo.
6477
6478         * text.C (fill): add a comment and debugging for the
6479         next poor soul.
6480
6481 2003-04-11  John Levon  <levon@movementarian.org>
6482
6483         * text.C: make sure fullrow insets get wrapped to the next line,
6484         even when they're in a manual label
6485
6486 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6487
6488         * text2.C (insertParagraph): make it take ParagraphList::iterator
6489         as arg.
6490         (setLayout): make it return ParagraphList::iterator
6491         (redoParagraphs): ditto
6492         (setCounter): ditto
6493         (checkParagraph): ditto
6494
6495         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6496
6497         * text2.C: adjust several funcs.
6498         (realizeFont): take a ParagraphList::iterator as arg.
6499         (getLayoutFont): ditto
6500         (getLabelFont): ditto
6501         (setCharFont): ditto
6502
6503         * text.C: adjust several funcs.
6504
6505 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6506
6507         * text.C (selectNextWordToSpellcheck): don't accidentally
6508         skip insets
6509
6510 2003-04-10  John Levon  <levon@movementarian.org>
6511
6512         * ToolbarBackend.C (getIcon): special handling for
6513         LFUN_MATH_DELIM
6514
6515 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6516
6517         * text2.C (cursorRight): a getChar assert fixed
6518
6519 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6520
6521         * text2.C (getFont): change to take a ParagraphList::iterator
6522         instead of Paragraph*
6523         Adjust several functions.
6524
6525         * text.C (transformChar): change to take a ParagraphList::iterator
6526         instead of Paragraph*
6527         (singleWidth): ditto
6528         Adjust several functions.
6529
6530         * rowpainter.C: adjust several functions
6531         * rowpainter.h:store a ParagraphList::iterator and not a
6532         Paragraph&.
6533
6534
6535 2003-04-09  John Levon  <levon@movementarian.org>
6536
6537         * lyxfunc.C:
6538         * lfuns.h:
6539         * LyXAction.h:
6540         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6541         and the "help" bits as well
6542
6543 2003-04-09  John Levon  <levon@movementarian.org>
6544
6545         * ToolbarBackend.h:
6546         * ToolbarBackend.C: allow multiple toolbars
6547
6548 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6549
6550         * undo_funcs.C (setCursorParUndo): adjust
6551
6552         * text_funcs.C (transposeChars): adjust
6553
6554         * text3.C (gotoNextInset): adjust
6555         (dispatch): adjust
6556
6557         * text2.C (setLayout): adjust
6558         (changeDepth): adjust
6559         (setFont): adjust
6560         (redoParagraphs): adjust
6561         (selectionAsString): adjust
6562         (setParagraph): adjust
6563         (insertInset): adjust
6564         (cutSelection): adjust
6565         (copySelection): adjust
6566         (pasteSelection): adjust
6567         (insertStringAsLines): adjust
6568         (updateInset): adjust
6569         (setCursor): change to take a ParagraphList::iterator parameter
6570         (setCursorIntern): change to take a ParagraphList::iterator parameter
6571         (setCurrentFont): adjust
6572         (cursorLeft): adjust
6573         (cursorRight): adjust
6574         (deleteEmptyParagraphMechanism): adjust
6575
6576         * text.C (breakParagraph): adjust
6577         (insertChar): adjust
6578         (acceptChange): adjust
6579         (rejectChange): adjust
6580         (selectNextWordToSpellcheck): adjust
6581         (changeCase): adjust
6582         (Delete): adjust
6583         (backspace): adjust
6584
6585         * lyxfind.C (SearchForward): adjust
6586         (SearchBackward): adjust
6587         (nextChange): adjust
6588
6589         * lyxcursor.C (par): adjust
6590
6591         * lyxcursor.h: store a ParagraphList::iterator instead of a
6592         Paragraph*
6593
6594         * lyx_cb.C (getPossibleLabel): adjust
6595
6596         * bufferview_funcs.C (toggleAndShow): adjust
6597
6598         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6599         (dispatch): adjust
6600
6601         * BufferView.C (removeAutoInsets): adjust
6602         (lockedInsetStoreUndo): adjust
6603
6604 2003-04-09  John Levon  <levon@movementarian.org>
6605
6606         * ToolbarBackend.C: try icon without argument
6607         if with argument fails
6608
6609 2003-04-08  John Levon  <levon@movementarian.org>
6610
6611         * ToolbarBackend.h:
6612         * ToolbarBackend.C: add getIcon(), handle tooltip,
6613         and change from "Icon" to "Item".
6614
6615 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6616
6617         * BufferView.C (lockInset): another bad getchar crunched
6618
6619 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6620
6621         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6622         again)
6623
6624 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6625
6626         * lyxfind.C (searchForward, searchBackwards): bug 782
6627
6628 2003-04-07  John Levon  <levon@movementarian.org>
6629
6630         * paragraph.C: remove dead comment
6631
6632         * text.C: remove troublesome depth-fiddling code
6633         in leftMargin() and rightMargin() (bug 1017)
6634
6635         * text.C: fix breaking of rows in nested lists
6636         (bug 1004)
6637
6638         * text2.C (updateCounters): fix up depth values
6639         (bug 1013)
6640
6641 2003-04-07  John Levon  <levon@movementarian.org>
6642
6643         * BufferView_pimpl.C: clear message when doc finishes resizing,
6644         and after a mouse event
6645
6646         * lyxfunc.C: clear message after exiting inset
6647
6648 2003-04-07  John Levon  <levon@movementarian.org>
6649
6650         * bufferview_funcs.C: show math status not outside
6651         status in the statusbar
6652
6653 2003-04-07  John Levon  <levon@movementarian.org>
6654
6655         * lyxfunc.C: note status changed after a depth change
6656
6657 2003-04-04  Angus Leeming  <leeming@lyx.org>
6658
6659         * LaTeX.h: move AuxInfo operator==, != out of line.
6660         Remove LaTeX virtual destructor; nothing derives from it.
6661         Move operator()() out of public area and rename it startscript().
6662         Change protected for private.
6663
6664 2003-04-04  Angus Leeming  <leeming@lyx.org>
6665
6666         * lyxfunc.C:
6667         * text2.C: remove unneeded #includes.
6668
6669 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6670
6671         * text2.C (dEPM): fix the heigth of the next row
6672
6673 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6674
6675         * text.C: squashed an invalid getChar requester + some ws changes
6676
6677 2003-04-03  John Levon  <levon@movementarian.org>
6678
6679         * bufferview_funcs.h:
6680         * bufferview_funcs.C:
6681         * lyxfunc.C:
6682         * lyxtext.h:
6683         * text2.C: make getStatus work for the env depth lfuns
6684
6685 2003-04-03  John Levon  <levon@movementarian.org>
6686
6687         * bufferview_funcs.h:
6688         * bufferview_funcs.C:
6689         * lyxfunc.C:
6690         * lyxtext.h:
6691         * text2.C: parlistize decDepth(), by merging it with incDepth()
6692
6693 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6694
6695         * lyxrow.h: store a ParagraphList::iterator instead of a
6696         Paragraph* and adjust other class functions to suit.
6697
6698         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6699         above.
6700
6701 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6702
6703         * text2.C (setCursor): do not anchor to cursor row for the time being
6704
6705 2003-04-02  John Levon  <levon@movementarian.org>
6706
6707         * LyXAction.C:
6708         * lfuns.h:
6709         * lyx_main.C:
6710         * lyxtext.h:
6711         * text.C:
6712         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6713
6714 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6715
6716         * paragraph.h: make ParagraphList and ParagraphList::iterator
6717         friends of Paragraph.
6718
6719         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6720
6721         * ParagraphList.C: Use the private next_ and previous_ from
6722         Paragraph.
6723
6724 2003-04-01  John Levon  <levon@movementarian.org>
6725
6726         * ToolbarBackend.h:
6727         * ToolbarBackend.C:
6728         * Makefile.am: rename, remove defaults gunk
6729
6730         * MenuBackend.h:
6731         * MenuBackend.C: remove defaults gunk
6732
6733         * Languages.h:
6734         * Languages.C: remove defaults gunk
6735
6736         * lyx_main.h:
6737         * lyx_main.C: error out if files couldn't be found.
6738
6739 2003-04-02  John Levon  <levon@movementarian.org>
6740
6741         * text2.C: make incDepth() use parlist
6742
6743 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6744
6745         * undo_funcs.C (firstUndoParagraph): adjust
6746
6747         * text3.C (gotoInset): adjust
6748         (dispatch): adjust, and rewrite loop.
6749
6750         * text2.C (init): adjust, and rewrite loop.
6751         (redoParagraphs): adjust
6752         (updateInset): adjust, and rewrite loop.
6753         (deleteEmptyParagraphMechanism): adjust
6754
6755         * tabular.C (LyXTabular): adjust
6756         (SetMultiColumn): adjust
6757         (TeXRow): adjust
6758
6759         * lyxtext.[Ch] (ownerParagraph): delete function
6760         (ownerParagraphs): new function returns a ParagraphList.
6761
6762         * BufferView.C (removeAutoInsets): adjust
6763         (insertErrors): adjust
6764         (setCursorFromRow): adjust
6765
6766 2003-04-01  Angus Leeming  <leeming@lyx.org>
6767
6768         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6769         in the frontends.
6770
6771 2003-04-02  John Levon  <levon@movementarian.org>
6772
6773         * lyxtext.h:
6774         * text.C:
6775         * Makefile.am:
6776         * text_funcs.h:
6777         * text_funcs.C: make transposeChars a free function
6778
6779         * lyxrow_funcs.C: remove wrong comment
6780
6781 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6782
6783         * lyxtext.h: adjust
6784         * rowpainter.C: adjust
6785         * text.C: adjust
6786         * text2.C: adjust
6787         * text3.C: adjust
6788
6789         * lyxrow_funcs. [Ch]: new files
6790
6791         * lyxrow.[Ch]: remove next and previous pointers
6792         (next,previous): remove accessor functions
6793         (isParEnd): move to lyxrow_funcs
6794         (lastPos): move to lyxrow_funcs
6795         (nextRowIsAllInset): move to lyxrow_funcs
6796         (lastPrintablePos): move to lyxrow_funcs
6797         (numberOfSeparators): move to lyxrow_funcs
6798         (numberOfHfills): move to lyxrow_funcs
6799         (numberOfLabelHfills): move to lyxrow_funcs
6800         (hfillExpansion): move to lyxrow_funcs
6801
6802         * lyxfunc.C: adjust
6803
6804         * bufferview_funcs.C (toggleAndShow): adjust
6805
6806         * RowList.h: Remove class RowList from file leave just a
6807         std::list<Row>.
6808
6809         * RowList.C: delete file
6810
6811         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6812         and lyxrow_funcs.h
6813
6814 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6815
6816         * text3.C (cursorPrevious): adjust
6817         (cursorNext): adjust
6818         (dispatch): adjust
6819
6820         * text2.C (redoHeightOfParagraph): adjust
6821         (redoDrawingOfParagraph): adjust
6822         (setCursor): adjust
6823
6824         * text.C (breakParagraph): adjust
6825         (insertChar): adjust
6826         (backspace): adjust
6827
6828         * rowpainter.C (RowPainter): adjust
6829         (leftMargin): simplify and adjust
6830         (most rowpainter functions): adjust.
6831
6832         * rowpainter.h: store the row as RowList::iterator not as Row*
6833
6834         * lyxcursor.C (row): taka RowList::iterator as arg
6835         (irow): ditto
6836
6837         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6838         of Row*.
6839
6840 2003-04-01  Angus Leeming  <leeming@lyx.org>
6841
6842         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6843         stuff like bool Bool.
6844
6845 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6846
6847         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6848         rewrite a loop
6849
6850 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6851
6852         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6853         RowList::iterator.
6854
6855         * lyxtext.h (rows): drop one version and leve a const variant that
6856         returns a RowList::iterator.
6857
6858 2003-03-31  Angus Leeming  <leeming@lyx.org>
6859
6860         * text.C (fill): ensure that the signature is the same as that in the
6861         header file.
6862
6863 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6864
6865         * text2.C (redoParagraphs): adjust
6866         (updateCounters): adjust
6867         (checkParagraph): adjust
6868         (getColumnNearX): adjust and reformat a bit.
6869
6870         * text.C (top_y): adjust
6871         (workWidth): adjust
6872         (leftMargin): adjust
6873         (prepareToPrint): adjust
6874         (getRow): adjust
6875         (getRowNearY): adjust
6876
6877         * lyxtext.h: make rowlist_ mutable.
6878
6879         * RowList.h: add const_iterator
6880         * RowList.C: adjust for RowList::const_iterator.
6881
6882         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6883         adjust.
6884
6885 2003-03-31  John Levon  <levon@movementarian.org>
6886
6887         * lyxrc.h:
6888         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6889
6890         * lyx_main.C: set default fonts from using lyx_gui funcs
6891
6892         * exporter.C: pdf_mode moved from lyxrc
6893
6894         * lyx_cb.C:
6895         * lyxfunc.C: changes from above
6896
6897 2003-03-31  John Levon  <levon@movementarian.org>
6898
6899         * lyx_main.C: fix to the last fix
6900
6901 2003-03-31  John Levon  <levon@movementarian.org>
6902
6903         * bufferlist.C: "Load original" -> "Load Original"
6904
6905         * converter.C:
6906         * exporter.C:
6907         * importer.C:
6908         * lyx_main.C:
6909         * format.C: more Alert cleanups
6910
6911 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6912
6913         * text2.C (removeParagraph): make it take a RowList::iterator as
6914         arg, adjust.
6915         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6916         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6917
6918         * text.C (anchor_row): make it take a RowList::iterator as arg,
6919         adjust.
6920         (computeBidiTables): make it take a const reference to Row instead
6921         of Row pointer, adjust.
6922         (leftMargin): make it take a RowList::iterator as arg, adjust.
6923         (rowBreakPoint): adjust
6924         (breakAgainOneRow): make it take a RowList::iterator as arg,
6925         adjust.
6926         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6927
6928         * bufferview_funcs.C (toggleAndShow): adjust
6929
6930 2003-03-30  John Levon  <levon@movementarian.org>
6931
6932         * Makefile.am:
6933         * BoostFormat.h:
6934         * boost-inst.C: moved to support
6935
6936         * several files: changes as a result
6937
6938 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6939
6940         * text2.C (LyXText): adjust.
6941         (init): adjust
6942         (removeRow): make it take a RowList::iterator as arg, adjust.
6943         (fullRebreak): adjust
6944         (deleteEmptyParagraphMechanism): adjust
6945         (clearPaint): adjust
6946         (postPaint): adjust
6947
6948         * text.C (top_y): adjust
6949         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6950         (breakAgain): make it take a RowList::iterator as arg, adjust.
6951         (breakParagraph): adjust
6952         (insertChar): adjust
6953         (backspace): adjust
6954
6955         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6956         need_break_row, and refresh_row.
6957
6958         * text3.C (dispatch): adjust
6959
6960         * text2.C (checkParagraph): adjust
6961         (setCursor): adjust
6962         (setCursorFromCoordinates): adjust
6963
6964         * text.C (top_y): adjust
6965         (workWidth): adjust
6966         (getRow): make it return a RowList::iterator, adjust
6967         (getRowNearY): make it return a RowList::iterator, adjust
6968
6969         * text2.C (init): adjust
6970         (insertRow): remove function
6971         (insertParagraph): adjust
6972         (redoParagraphs): adjust
6973         (fullRebreak): adjust
6974         (updateCounters): adjust
6975
6976         * text.C (top_y): rewrite to use RowList iterators.
6977         (top_y): adjust
6978         (setHeightOfRow): rewrite to sue RowList iterators.
6979         (appendParagraph): adjust
6980         (breakAgain): adjust
6981         (breakAgainOneRow): adjust
6982         (breakParagraph): adjust
6983         (getRow): adjust
6984         (getRowNearY): adjust, and remove commented code.
6985
6986         * lyxtext.h (firstRow): delete function
6987         (lastRow): delete function
6988         (rows): new function (const and non-const versions.)
6989         (insertRow): delete function
6990
6991         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6992
6993 2003-03-29  John Levon  <levon@movementarian.org>
6994
6995         * BufferView_pimpl.C: always update scrollbar top
6996         because pasting text when we're anchored could mean we
6997         miss an update altogether
6998
6999 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7000
7001         * text2.C (init): use rowlist_.end() and not 0.
7002         (insertRow): change to take a RowList::iterator as arg, adjust
7003         for this.
7004         (insertParagraph): change to take a RowList::iterator as arg,
7005         adjust for this.
7006         (redoParagraphs): remove some debug msgs.
7007
7008         * text.C (appendParagraph): change to take a RowList::iterator
7009         arg, adjust for this.
7010         (breakAgain): add an assert
7011         (breakAgainOneRow): ditto
7012
7013 2003-03-29  John Levon  <levon@movementarian.org>
7014
7015         * text2.C: do not clear selection after inc/decDepth
7016         (bug 550)
7017
7018 2003-03-29  John Levon  <levon@movementarian.org>
7019
7020         * BufferView.C:
7021         * buffer.C: fix broken strerrors according to Lars
7022
7023 2003-03-29  John Levon  <levon@movementarian.org>
7024
7025         * converters.C: more Alert cleanups
7026
7027 2003-03-29  John Levon  <levon@movementarian.org>
7028
7029         * bufferview_funcs.C: remove pointless Alert
7030
7031         * buffer.C: fix confusing error message when
7032         a template is chmoded 000
7033
7034 2003-03-29  John Levon  <levon@movementarian.org>
7035
7036         * BufferView.C:
7037         * BufferView.h:
7038         * BufferView_pimpl.C: Alert fixes
7039
7040         * Makefile.am:
7041         * tabular.C:
7042         * tabular-old.C: remove unused table compat reading
7043
7044 2003-03-29  John Levon  <levon@movementarian.org>
7045
7046         * BufferView.C:
7047         * buffer.C:
7048         * lyx_cb.h:
7049         * lyx_cb.C: more Alert cleanups
7050
7051         * lyxfunc.C: don't allow chktex if not latex document
7052
7053 2003-03-29  John Levon  <levon@movementarian.org>
7054
7055         * lyx_cb.C:
7056         * BufferView.C:
7057         * buffer.C: warnings pushed down from support/,
7058         kill err_alert
7059
7060 2003-03-29  John Levon  <levon@movementarian.org>
7061
7062         * lyxfunc.C: safety check for C-r (revert)
7063
7064 2003-03-29  John Levon  <levon@movementarian.org>
7065
7066         * bufferlist.h:
7067         * bufferlist.C: several UI fixes using Alert::prompt.
7068         Fix the pointless looping quit code. Fix stupid revert
7069         behaviour (bug 938)
7070
7071         * lyxvc.h:
7072         * lyxvc.C:
7073         * lyx_cb.C: use Alert::prompt
7074
7075         * lyx_main.C: remove a silly question
7076
7077         * lyxfunc.C: remove a couple of silly questions,
7078         use Alert::prompt
7079
7080 2003-03-28  John Levon  <levon@movementarian.org>
7081
7082         * text2.C: fix bug 974 (End on empty par)
7083
7084 2003-03-28  John Levon  <levon@movementarian.org>
7085
7086         * BufferView_pimpl.C:
7087         * LyXAction.C:
7088         * lfuns.h: remove do-nothing math greek lfuns
7089
7090 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7091
7092         * lyxgluelength.h (isValidGlueLength): add default arg on
7093         parameter 2. Remove default arg from friend in class.
7094
7095         * lyxlength.h (isValidLength): add default arg on parameter 2.
7096         Remove default arg from friend in class.
7097
7098         * text2.C (LyXText): adjust, initialize refresh_row.
7099         (init): adjust
7100         (removeRow): adjust
7101         (insertRow): adjust
7102         (insertParagraph): adjst
7103         (redoParagraphs): adjust
7104         (fullRebreak): adjust
7105         (updateCounters): adjust
7106         (deleteEmptyParagraphMechanism): first attempt at fixing a
7107         crashing bug.
7108
7109         * text.C (top_y): adjust
7110         (setHeightOfRow): adjust
7111         (getRow): adjust
7112         (getRowNearY): adjust
7113
7114         * lyxtext.h: include RowList.h
7115         (~LyXText): not needed anymore, deleted.
7116         (firstRow): modify for RowList
7117         (lastRow): new function
7118         Delete firstrow and lastrow class variables, add a Rowlist
7119         rowlist_ class variable.
7120
7121         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7122         paragraph is empty.
7123
7124         * RowList.C (insert): fix case where it == begin().
7125
7126 2003-03-26  Angus Leeming  <leeming@lyx.org>
7127
7128         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7129         the thesaurus dialog.
7130
7131 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7132
7133         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7134
7135         * RowList.[Ch]: new files
7136
7137         * ParagraphList.C (erase): handle the case where it == begin
7138         correctly.
7139
7140 2003-03-25  John Levon  <levon@movementarian.org>
7141
7142         * Makefile.am:
7143         * aspell_local.h:
7144         * aspell.C: add new aspell support
7145
7146         * lyxrc.h:
7147         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7148         have it accessible.
7149
7150 2003-03-25  Angus Leeming  <leeming@lyx.org>
7151
7152         * lfuns.h:
7153         * LyXAction.C (init): new LFUN_INSET_INSERT.
7154
7155         * BufferView_pimpl.C (dispatch): split out part of the
7156         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7157
7158         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7159         LFUN_INSET_APPLY.
7160
7161 2003-03-25  Angus Leeming  <leeming@lyx.org>
7162
7163         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7164
7165 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7166
7167         * text2.C:
7168         * text3.C: remove useless row->height(0)
7169
7170 2003-03-25  John Levon  <levon@movementarian.org>
7171
7172         * lyxtext.h:
7173         * text2.C:
7174         * text3.C: rename the refreshing stuff to better names
7175
7176 2003-03-24  John Levon  <levon@movementarian.org>
7177
7178         * BufferView_pimpl.h:
7179         * BufferView_pimpl.C: update layout choice on a mouse
7180         press/release
7181
7182 2003-03-23  John Levon  <levon@movementarian.org>
7183
7184         * Makefile.am: fix commandtags.h reference
7185
7186 2003-03-22  John Levon  <levon@movementarian.org>
7187
7188         * BufferView_pimpl.C:
7189         * lyxtext.h:
7190         * rowpainter.C:
7191         * rowpainter.h:
7192         * text.C:
7193         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7194
7195 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7196
7197         * lyxtext.h:
7198         * text.C: take the rtl methods out of line
7199
7200 2003-03-21 André Pönitz <poenitz@gmx.net>
7201
7202         * metricsinfo.[Ch]: new files containing structures to be passed around
7203         during the two-phase-drawing...
7204
7205 2003-03-21 André Pönitz <poenitz@gmx.net>
7206
7207         * lyxtextclass.C: read 'environment' tag.
7208
7209 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7210
7211         * text2.C (removeRow): fix bug 964
7212
7213 2003-03-20  John Levon  <levon@movementarian.org>
7214
7215         * rowpainter.C:
7216         * text.C:
7217         * text2.C: paint cleanups. Inset::update() dropped font
7218         parameter
7219
7220 2003-03-19  John Levon  <levon@movementarian.org>
7221
7222         * lyxfunc.C: only fitcursor/markDirty if available()
7223
7224 2003-03-19  John Levon  <levon@movementarian.org>
7225
7226         * commandtags.h: rename to ...
7227
7228         * lfuns.h: ... this, and renumber / cleanup
7229
7230 2003-03-19  John Levon  <levon@movementarian.org>
7231
7232         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7233         fit the cursor after an lfun
7234
7235         * BufferView.h:
7236         * BufferView.C:
7237         * BufferView_pimpl.h:
7238         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7239
7240         * LyXAction.C: layout-character should have ReadOnly
7241
7242         * ParagraphParameters.C:
7243         * buffer.C:
7244         * bufferview_funcs.C:
7245         * lyx_cb.C:
7246         * lyxfind.C:
7247         * lyxtext.h:
7248         * text.C:
7249         * text2.C:
7250         * text3.C:
7251         * undo_funcs.C: changes from above
7252
7253 2003-03-18  John Levon  <levon@movementarian.org>
7254
7255         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7256         remove it from update()
7257
7258         * lyxfunc.C: update layout choice after an lfun
7259
7260         * text3.C: remove extra updateLayoutChoice()s
7261
7262 2003-03-18  John Levon  <levon@movementarian.org>
7263
7264         * text.C: top_y change means full repaint, fix
7265         a drawing bug with cursor movement
7266
7267 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7268
7269         * lyxtext.h:
7270         * text.C:
7271         * text2.C: anchor row on setCursor
7272
7273 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7274
7275         * lyxtext.h: remove almost all mutable keywords
7276         * text.C:
7277         * text2.C:
7278         * text3.C: remove const keywords accordingly
7279
7280 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7281
7282         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7283         anon namespace
7284         (TeXEnvironment): ditto
7285         (TeXOnePar): ditto
7286
7287 2003-03-17  John Levon  <levon@movementarian.org>
7288
7289         * text.C (rowBreakPoint): remove attempt to fix displayed
7290         math insets inside a manual label
7291
7292 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7293
7294         * lyxtext.h: remove BufferView* as first arg from almost all class
7295         functions.
7296         * other files: adjust.
7297
7298 2003-03-17  John Levon  <levon@movementarian.org>
7299
7300         * lyxtext.h:
7301         * undo_funcs.C:
7302         * text2.C: more paint cleanups
7303
7304         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7305
7306         * rowpainter.h:
7307         * rowpainter.C: remove "smart" background painting code
7308
7309 2003-03-16  John Levon  <levon@movementarian.org>
7310
7311         * lyxtext.h:
7312         * text.C:
7313         * text2.C:
7314         * text3.C: add helper functions for setting refresh_row/y
7315
7316 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7317
7318         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7319         newline inset which *can* get inserted in the pass_thru layouts.
7320         This is primarily for literate documents.
7321
7322 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7323
7324         * buffer.C: increment LYX_FORMAT to 223
7325
7326 2003-03-14 André Pönitz <poenitz@gmx.net>
7327
7328         * textclass.h: prepare for environment handling, ws changes
7329         * lyxlayout.C: read latexheader and latexfooter tags
7330
7331 2003-03-14  John Levon  <levon@movementarian.org>
7332
7333         * text2.C: rewrite ::status() a bit
7334
7335 2003-03-13  John Levon  <levon@movementarian.org>
7336
7337         * lyxtext.h: add some docs
7338
7339 2003-03-13  John Levon  <levon@movementarian.org>
7340
7341         * lyxtext.h:
7342         * text.C:
7343         * text2.C:
7344         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7345
7346 2003-03-13  John Levon  <levon@movementarian.org>
7347
7348         * text3.C: fix appendix redrawing
7349
7350 2003-03-13  John Levon  <levon@movementarian.org>
7351
7352         * text.C (setHeightOfRow):
7353         * rowpainter.h:
7354         * rowpainter.C: make appendix mark have the text
7355           "Appendix" so the user knows what it is
7356
7357         * LColor.h:
7358         * LColor.C: s/appendixline/appendix/ from above
7359
7360 2003-03-13  John Levon  <levon@movementarian.org>
7361
7362         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7363
7364         * text.C: fix a getChar(pos) bug properly
7365
7366 2003-03-13  Angus Leeming  <leeming@lyx.org>
7367
7368         * commandtags.h:
7369         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7370         Probably only temporary. Let's see how things pan out.
7371
7372         * BufferView.C (unlockInset):
7373         * BufferView_pimpl.C (fitCursor):
7374         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7375
7376         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7377         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7378
7379         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7380         new functions that convert ParagraphParameters to and from a string.
7381
7382         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7383         BufferView::Pimpl's dispatch.
7384         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7385
7386 2003-03-13 André Pönitz <poenitz@gmx.net>
7387
7388         * lyxfunc.C:
7389         * text3.C:
7390         * factory.C: make it aware of InsetEnv
7391
7392 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7393
7394         * text2.C (setCursor): never ask for one past last
7395         (setCursor): add some debugging messages.
7396
7397         * text.C (singleWidth): never ask for one past last
7398         (singleWidth): ditto
7399         (leftMargin): ditto
7400         (rightMargin): ditto
7401         (rowBreakPoint): ditto
7402         (setHeightOfRow): ditto
7403         (prepareToPrint): ditto
7404
7405         * rowpainter.C (paintBackground): never ask for one past last
7406         (paintText): never ask for one past last
7407
7408         * paragraph_pimpl.C (getChar): make the assert stricter, never
7409         allow the one past last pos to be taken
7410
7411         * paragraph.C (getChar): ws changes only
7412
7413         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7414         (numberOfSeparators): ditto
7415         (numberOfHfills): ditto
7416
7417 2003-03-12  John Levon  <levon@movementarian.org>
7418
7419         * author.h:
7420         * author.C:
7421         * bufferparams.h:
7422         * bufferparams.C:
7423         * paragraph_funcs.C: fix per-buffer authorlists
7424
7425 2003-03-12  John Levon  <levon@movementarian.org>
7426
7427         * text.C: fix newline in right address
7428
7429 2003-03-12  Angus Leeming  <leeming@lyx.org>
7430
7431         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7432         duplicate those in LyXFunc::dispatch.
7433
7434         * commandtags.h:
7435         * LyXAction.C:
7436         * ToolbarDefaults.C:
7437         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7438         Add LFUN_FONTFREE_UPDATE.
7439
7440         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7441         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7442
7443         * bufferview_func.[Ch]: several new functions to facilliate
7444         transfer of data to and from the character dialog.
7445
7446 2003-03-12  John Levon  <levon@movementarian.org>
7447
7448         * buffer.C:
7449         * paragraph.h:
7450         * paragraph.C:
7451         * paragraph_funcs.C:
7452         * paragraph_pimpl.C:
7453         * sgml.C:
7454         * tabular.C:
7455         * text.C:
7456         * text3.C: remove META_NEWLINE in favour of an inset
7457
7458         * rowpainter.h:
7459         * rowpainter.C: remove paintNewline (done by inset)
7460
7461 2003-03-12  John Levon  <levon@movementarian.org>
7462
7463         * paragraph_pimpl.C: complain about bad getChar()s
7464         for a while at least
7465
7466 2003-03-12  John Levon  <levon@movementarian.org>
7467
7468         * buffer.h:
7469         * buffer.C: move paragraph read into a separate function,
7470         a little renaming to reflect that.
7471
7472         * bufferparams.h:
7473         * bufferparams.C: remove the author_ids map, not necessary now
7474
7475         * factory.h:
7476         * factory.C: moved Buffer::readInset to here
7477
7478         * paragraph_funcs.h:
7479         * paragraph_funcs.C: readParagraph free function moved from
7480         buffer.C
7481
7482         * tabular.C: name change
7483
7484 2003-03-12  John Levon  <levon@movementarian.org>
7485
7486         * buffer.C:
7487         * ParagraphParameters.C: move par params input to
7488         a read() method
7489
7490         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7491         behave like a normal read from the stream wrt reading
7492         a line vs. a \\token
7493
7494 2003-03-12  John Levon  <levon@movementarian.org>
7495
7496         * paragraph.C:
7497         * ParagraphParameters.h:
7498         * ParagraphParameters.C: move output code to a
7499         ::write() method
7500
7501 2003-03-12  John Levon  <levon@movementarian.org>
7502
7503         * BufferView.C (insertLyXFile):
7504         * buffer.h:
7505         * buffer.C:
7506         * tabular.C: use a parlist iterator for creating the
7507           document.
7508
7509 2003-03-12  John Levon  <levon@movementarian.org>
7510
7511         * buffer.C: make current_change static local not
7512           static file-scope
7513
7514 2003-03-12  John Levon  <levon@movementarian.org>
7515
7516         * buffer.C: fix insertStringAsLines for change tracking
7517
7518 2003-03-12  John Levon  <levon@movementarian.org>
7519
7520         * BufferView.C:
7521         * tabular.C:
7522         * buffer.h:
7523         * buffer.C:
7524         * bufferparams.h:
7525         * bufferparams.C: move author list into params. Rename some
7526           functions. Move the header reading into a separate token
7527           loop. Move the header token reading into BufferParams.
7528
7529 2003-03-12  John Levon  <levon@movementarian.org>
7530
7531         * changes.C: put debug inside lyxerr.debugging() checks
7532
7533 2003-03-11 André Pönitz <poenitz@gmx.net>
7534
7535         * factory.C: make it aware of InsetHFill
7536
7537 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7538
7539         * buffer.C (latexParagraphs): move function from here...
7540         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7541         args.
7542
7543 2003-03-10  Angus Leeming  <leeming@lyx.org>
7544
7545         * LyXAction.C (init): fix bug in poplating array with multiple entries
7546         with the same LFUN (spotted by JMarc).
7547
7548 2003-03-10  John Levon  <levon@movementarian.org>
7549
7550         * text.C:
7551         * text2.C: move getColumnNearX() near its
7552         only call site
7553
7554 2003-03-10  John Levon  <levon@movementarian.org>
7555
7556         * text.C: fix break before a minipage
7557
7558 2003-03-10  John Levon  <levon@movementarian.org>
7559
7560         * text.C: fix the last commit
7561
7562 2003-03-09  John Levon  <levon@movementarian.org>
7563
7564         * lyxtext.h:
7565         * text.C:
7566         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7567         bug 365 (don't break before insets unless needed). Don't
7568         return a value > last under any circumstances.
7569
7570 2003-03-09  Angus Leeming  <leeming@lyx.org>
7571
7572         * BufferView_pimpl.C (trackChanges, dispatch): call
7573         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7574
7575 2003-03-09  Angus Leeming  <leeming@lyx.org>
7576
7577         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7578         than Dialogs::showAboutlyx().
7579
7580 2003-03-09  Angus Leeming  <leeming@lyx.org>
7581
7582         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7583         than Dialogs::showTabularCreate().
7584
7585 2003-03-09  John Levon  <levon@movementarian.org>
7586
7587         * lyxtext.h:
7588         * text.C:
7589         * text2.C: 3rd arg to nextBreakPoint was always the same.
7590           Use references.
7591
7592 2003-03-08  John Levon  <levon@movementarian.org>
7593
7594         * lyxrow.C:
7595         * paragraph.C:
7596         * paragraph.h:
7597         * rowpainter.C:
7598         * text.C:
7599         * text2.C: Remove the "main" bit from the "main body"
7600           notion.
7601
7602 2003-03-08  John Levon  <levon@movementarian.org>
7603
7604         * text.C (leftMargin): The left margin of an empty
7605         manual label paragraph should not include the label width
7606         string length.
7607
7608         * text.C (prepareToPrint): don't attempt to measure hfills
7609         for empty manual label paragraphs - the answer should be 0
7610
7611 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7612
7613         * CutAndPaste.C: remove commented code and reindent.
7614
7615 2003-03-08  John Levon  <levon@movementarian.org>
7616
7617         * lyxfunc.h:
7618         * lyxfunc.C: move reloadBuffer()
7619
7620         * BufferView.h:
7621         * BufferView.C: to here
7622
7623         * lyxvc.C: add comment
7624
7625         * vc-backend.h:
7626         * vc-backend.C: call bv->reload() to avoid
7627           getStatus() check on MENURELOAD
7628
7629 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7630
7631         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7632         to an old format .dep file.
7633
7634 2003-03-07  Angus Leeming  <leeming@lyx.org>
7635
7636         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7637         when the LFUN_MOUSE_RELEASE should have been handled by
7638         inset->localDispatch.
7639
7640 2003-03-07  Angus Leeming  <leeming@lyx.org>
7641
7642         * BufferView_pimpl.C (dispatch):
7643         * LyXAction.C (init):
7644         * ToolbarDefaults.C (init):
7645         * commandtags.h:
7646         * lyxfunc.C (getStatus):
7647         remove LFUN_INSET_GRAPHICS.
7648
7649         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7650
7651 2003-03-07  Angus Leeming  <leeming@lyx.org>
7652
7653         * commandtags.h:
7654         * LyXAction.C (init):
7655         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7656
7657         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7658
7659         * commandtags.h:
7660         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7661
7662         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7663         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7664
7665 2003-03-07  Angus Leeming  <leeming@lyx.org>
7666
7667         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7668         remove "ert".
7669
7670 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7671
7672         * ParagraphList.C (front): new function
7673         (back): implement
7674
7675 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7676
7677         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7678         and top_row_offset_. removed var first_y.
7679         * text.C (top_y):
7680         * text2.C (LyXText, removeRow):
7681         * text3.C:
7682         * BufferView_pimpl.C:
7683         use these methods instead of using first_y
7684
7685 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7686
7687         * text2.C (pasteSelection): adjust for checkPastePossible
7688
7689         * CutAndPaste.C: remove Paragraph * buf and replace with
7690         ParagraphList paragraphs.
7691         (DeleteBuffer): delete
7692         (cutSelection): change the tc type to textclass_type
7693         (copySelection): change the tc type to textclass_type
7694         (copySelection): adjust for ParagraphList
7695         (pasteSelection): change the tc type to textclass_type
7696         (pasteSelection): adjust for Paragraphlist
7697         (nrOfParagraphs): simplify for ParagraphList
7698         (checkPastePossible): simplify for ParagraphList
7699         (checkPastePossible): remove unused arg
7700
7701         * ParagraphList.C (insert): handle the case where there are no
7702         paragraphs yet.
7703
7704         * CutAndPaste.h: make CutAndPaste a namespace.
7705
7706         * text3.C (dispatch): adjust
7707
7708         * text.C (breakParagraph): add a ParagraphList as arg
7709
7710         * paragraph_funcs.C (breakParagraph): change to take a
7711         BufferParams and a ParagraphList as args.
7712         (breakParagraphConservative): ditto
7713         (mergeParagraph): ditto
7714         (TeXDeeper): add a ParagraphList arg
7715         (TeXEnvironment): ditto
7716         (TeXOnePar): ditto
7717
7718         * buffer.C (readLyXformat2): adjust
7719         (insertStringAsLines): adjust
7720         (latexParagraphs): adjust
7721
7722         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7723         (cutSelection): adjust
7724         (pasteSelection): adjust
7725
7726         * BufferView_pimpl.C (insertInset): adjust
7727
7728 2003-03-05  Angus Leeming  <leeming@lyx.org>
7729
7730         * commandtags.h:
7731         * LyXAction.C (init):
7732         * BufferView_pimpl.C (dispatch):
7733         * lyxfunc.C (getStatus):
7734         remove LFUN_CHILD_INSERT.
7735
7736         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7737
7738 2003-03-05  Angus Leeming  <leeming@lyx.org>
7739
7740         * commandtags.h:
7741         * LyXAction.C (init):
7742         * src/factory.C (createInset):
7743         * lyxfunc.C (getStatus):
7744         * text3.C (dispatch):
7745         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7746
7747         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7748
7749 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7750
7751         * ParagraphList.C (insert): handle insert right before end()
7752         (erase): fix cases where it can be first or last paragraph.
7753
7754 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7755
7756         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7757         Paragraph::next and Paragraph::previous
7758         (TeXOnePar): ditto
7759
7760         * text.C (breakParagraph): adjust
7761
7762         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7763         BufferParams& as arg.
7764         (breakParagraph): use ParagraphList::insert
7765         (breakParagraphConservative): take a Buffer* instead of a
7766         BufferParams& as arg.
7767         (breakParagraphConservative): use ParagraphList::insert.
7768
7769         * buffer.C (insertStringAsLines): un-const it
7770         (insertStringAsLines): adjust
7771
7772         * ParagraphList.C (insert): new function
7773
7774         * CutAndPaste.C (pasteSelection): adjust
7775
7776         * text.C (backspace): adjust
7777
7778         * tabular.C (SetMultiColumn): adjust
7779
7780         * CutAndPaste.C (cutSelection): adjust
7781         (pasteSelection): adjust
7782
7783         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7784         Buffer const * as arg
7785
7786         * ParagraphList.C (erase): new function
7787         * paragraph_funcs.C (mergeParagraph): use it
7788         (mergeParagraph): make it take a Buffer* instead of a
7789         BufferParams* as arg
7790
7791         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7792         as arg
7793         (breakParagraphConservative): ditto
7794
7795         * paragraph.h: remove the breakParagraph friend
7796
7797         * paragraph.C (eraseIntern): new function
7798         (setChange): new function
7799
7800         * paragraph_funcs.C (mergeParagraph): make it take a
7801         ParagraphList::iterator instead of a Paragraph *, adjust
7802         accordingly.
7803
7804         * paragraph.h: move an #endif so that the change tracking stuff
7805         also works in the NO_NEXT case.
7806
7807 2003-03-04  Angus Leeming  <leeming@lyx.org>
7808
7809         * commandtags.h:
7810         * LyXAction.C: new LFUN_INSET_MODIFY.
7811
7812         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7813         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7814
7815 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7816
7817         * several files: ws changes only
7818
7819         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7820         (TeXEnvironment): ditto
7821         (TeXDeeper): ditto
7822
7823         * buffer.C (makeLaTeXFile): adjust
7824         (latexParagraphs): make it take ParagraphList::iterator as args
7825
7826 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7827
7828         * buffer.C (latexParagraphs): adjust
7829
7830         * paragraph.C (TeXOnePar): move function...
7831         (optArgInset): move function...
7832         (TeXEnvironment): move function...
7833         * paragraph_pimpl.C (TeXDeeper): move function...
7834         * paragraph_funcs.C: ...here
7835
7836         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7837
7838 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7839
7840         * buffer.C (readInset): remove compability code for old Figure and
7841         InsetInfo insets
7842
7843 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7844
7845         * buffer.C: ws changes
7846         (readInset):
7847
7848         * BufferView_pimpl.C: ditto
7849         * author.C: ditto
7850         * buffer.h: ditto
7851         * bufferlist.h: ditto
7852         * changes.h: ditto
7853         * lyxfunc.C: ditto
7854
7855 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7856
7857         * converter.[Ch]: split into itself +
7858         * graph.[Ch]
7859         * format.[Ch]
7860         * Makefile.am: += graph.[Ch] + format.[Ch]
7861         * MenuBackend.C
7862         * buffer.C
7863         * exporter.C
7864         * importer.C
7865         * lyx_main.C
7866         * lyxfunc.C
7867         * lyxrc.C: added #include "format.h"
7868
7869 2003-02-27  Angus Leeming  <leeming@lyx.org>
7870
7871         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7872           a label.
7873
7874         * factory.C (createInset): add "label" to the factory.
7875
7876         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7877           string and do no more.
7878
7879 2003-02-27  Angus Leeming  <leeming@lyx.org>
7880
7881         * commandtags.h:
7882         * LyXAction.C (init):
7883         * factory.C (createInset):
7884         * BufferView_pimpl.C (dispatch):
7885           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7886
7887         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7888
7889         * lyxfunc.C (dispatch):
7890         * text3.C (dispatch): pass name to params2string.
7891
7892 2003-02-26  Angus Leeming  <leeming@lyx.org>
7893
7894         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7895           blocks together.
7896           Rearrange the ~includes. Strip out the unnecessary ones.
7897
7898         * factory.C (createInset): reformat.
7899           create new insets for the various LFUN_XYZ_APPLY lfuns.
7900
7901 2003-02-26  John Levon  <levon@movementarian.org>
7902
7903         * lyxrow.h:
7904         * lyxrow.C: add isParStart,isParEnd helpers
7905
7906         * paragraph.h: make isInserted/DeletedText take refs
7907
7908         * paragraph_funcs.h:
7909         * paragraph_funcs.C: remove #if 0'd code
7910
7911         * lyxtext.h:
7912         * text3.C:
7913         * text2.C:
7914         * text.C: use lyxrow helpers above.
7915           Move draw and paint routines to RowPainter.
7916           Make several methods use refs not pointers.
7917           Make backgroundColor() const.
7918           Add markChangeInDraw(), isInInset().
7919           Merge changeRegionCase into changeCase.
7920           Make workWidth() shouldn't-happen code into an Assert.
7921
7922         * rowpainter.h:
7923         * rowpainter.C: new class for painting a row.
7924
7925         * vspace.h:
7926         * vspace.C: make inPixels take a ref
7927
7928 2003-02-26  Angus Leeming  <leeming@lyx.org>
7929
7930         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7931         LFUN_REF_APPLY.
7932
7933 2003-02-25  John Levon  <levon@movementarian.org>
7934
7935         * ispell.C: give the forked command a more accurate name
7936
7937 2003-02-22  John Levon  <levon@movementarian.org>
7938
7939         * toc.h:
7940         * toc.C: make TocItem store an id not a Paragraph *
7941           (bug #913)
7942
7943 2003-02-21  Angus Leeming  <leeming@lyx.org>
7944
7945         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7946           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7947           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7948           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7949           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7950           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7951
7952         * BufferView_pimpl.C (dispatch):
7953         * LyXAction.C (init):
7954         * factory.C (createInset):
7955         * lyxfunc.C (getStatus, dispatch):
7956         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7957
7958 2003-02-21  Angus Leeming  <leeming@lyx.org>
7959
7960         * BufferView_pimpl.C (MenuInsertLyXFile):
7961         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7962         * lyxfunc.C (menuNew, open, doImport):
7963           no longer pass a LyXView & to fileDlg.
7964
7965 2003-02-21  Angus Leeming  <leeming@lyx.org>
7966
7967         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7968         * LyXAction.C: change, BIBKEY to BIBITEM.
7969         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7970         Change InsetBibKey to InsetBibitem.
7971         Change BIBKEY_CODE to BIBITEM_CODE.
7972         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7973         * factory.C: replace insetbib.h with insetbibitem.h.
7974         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7975         * paragraph.C: replace insetbib.h with insetbibitem.h.
7976         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7977         Change bibkey() to bibitem().
7978         * text.C: remove insetbib.h.
7979         * text2.C: replace insetbib.h with insetbibitem.h.
7980         change bibkey() to bibitem().
7981         * text3.C: remove insetbib.h.
7982         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7983
7984 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7985
7986         * lyxrc.C (output): enclose user email in quotes (in case there are
7987         several words)
7988
7989 2003-02-18  John Levon  <levon@movementarian.org>
7990
7991         * buffer.h: add std::
7992
7993 2003-02-17  John Levon  <levon@movementarian.org>
7994
7995         * SpellBase.h:
7996         * ispell.h:
7997         * ispell.C:
7998         * pspell.h:
7999         * pspell.C: reworking. Especially in ispell, a large
8000           number of clean ups and bug fixes.
8001
8002         * lyxfunc.C: fix revert to behave sensibly
8003
8004 2003-02-17 André Pönitz <poenitz@gmx.net>
8005
8006         * LyXAction.C:
8007         * commandtags.h: new LFUN_INSERT_BIBKEY
8008
8009         * layout.h:
8010         * lyxlayout.C:
8011         * buffer.C:
8012         * factory.C:
8013         * text.C:
8014         * text2.C:
8015         * text3.C:
8016         * paragraph.[Ch]:
8017         * paragraph_func.C: remove special bibkey handling
8018
8019 2003-02-17  John Levon  <levon@movementarian.org>
8020
8021         * text.C (Delete): fix case where delete at the end of
8022           the very first paragraph would not merge the pars
8023
8024 2003-02-17  John Levon  <levon@movementarian.org>
8025
8026         * lyxrow.C: fix lastPrintablePos()
8027
8028 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8029
8030         * bufferparams.C (writeLaTeX): add a std:here
8031
8032         * buffer.C: and remove a using directive there
8033
8034 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8035
8036         * buffer.C (makeLaTeXFile): move the code that generates the
8037           preamble...
8038
8039         * bufferparams.C (writeLaTeX): ... in this new method
8040
8041         * LaTeXFeatures.C (getEncodingSet): make const
8042           (getLanguages): make const
8043
8044         * MenuBackend.C (binding): returns the binding associated to this
8045           action
8046           (add): sets the status of each item by calling getStatus. Adds
8047           some intelligence.
8048           (read): add support for OptSubMenu
8049           (expand): remove extra separator at the end of expanded menu
8050
8051 2003-02-15  John Levon  <levon@movementarian.org>
8052
8053         * BufferView.C:
8054         * BufferView_pimpl.C:
8055         * bufferlist.h:
8056         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8057           inset code that had no actual effect. Remove unneeded status
8058           code.
8059
8060 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8061
8062         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8063           in preamble
8064
8065 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8066
8067         * text.C (drawLengthMarker): also draw an arrow marker for
8068           symbolic lengths (medskip...)
8069
8070 2003-02-14  John Levon  <levon@movementarian.org>
8071
8072         * tabular.h:
8073         * tabular.C: better method names
8074
8075 2003-02-14  John Levon  <levon@movementarian.org>
8076
8077         * BufferView_pimpl.C:
8078         * bufferlist.C:
8079         * buffer.C:
8080         * converter.C:
8081         * lyx_cb.C:
8082         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8083           it's a more accurate name. Remove some pointless uses.
8084
8085 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8086
8087         * text2.C (LyXText): change order of initilizers to shut off
8088           warnings
8089
8090 2003-02-14  John Levon  <levon@movementarian.org>
8091
8092         * buffer.C: use ParIterator for getParFromID()
8093
8094         * paragraph.h:
8095         * paragraph.C:
8096         * paragraph_pimpl.h:
8097         * paragraph_pimpl.C: remove unused getParFromID()
8098
8099 2003-02-14  John Levon  <levon@movementarian.org>
8100
8101         * buffer.C: remove some very old #if 0'd parse code
8102
8103 2003-02-13  John Levon  <levon@movementarian.org>
8104
8105         * text.h:
8106         * text.C:
8107         * text2.C: move hfillExpansion(), numberOfSeparators(),
8108           rowLast(), rowLastPrintable(), numberofHfills(),
8109           numberOfLabelHfills() ...
8110
8111         * lyxrow.h:
8112         * lyxrow.C: ... to member functions here.
8113
8114         * paragraph.h:
8115         * paragraph.C:
8116         * lyxtext.h:
8117         * text.C: remove LyXText::beginningOfMainBody(), and call
8118           p->beginningOfMainBody() directly. Move the check for
8119           LABEL_MANUAL into the latter.
8120
8121         * text.h:
8122         * text.C:
8123         * text2.C:
8124         * vspace.C:
8125         * BufferView.h:
8126         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8127
8128         * text.h:
8129         * text.C:
8130         * text2.C:
8131         * text3.C:
8132         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8133           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8134
8135 2003-02-13  John Levon  <levon@movementarian.org>
8136
8137         * CutAndPaste.C: remove debug
8138
8139 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8140
8141         * paragraph.C (asString): remove two unused variables
8142
8143         * lyxtextclass.C (readTitleType):
8144           (Read):
8145           (LyXTextClass): handle new members titletype_ and titlename_
8146
8147         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8148
8149 2003-02-09  John Levon  <levon@movementarian.org>
8150
8151         * buffer.h:
8152         * buffer.C: replace hand-coded list with a map for the dep clean
8153
8154 2003-02-08  John Levon  <levon@movementarian.org>
8155
8156         * LaTeX.C: consolidate code into showRunMessage() helper
8157
8158 2003-02-08  John Levon  <levon@movementarian.org>
8159
8160         * lyxfind.C:
8161         * lyxtext.h:
8162         * text2.C:
8163         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8164           and pass the size in explicitly
8165
8166         * BufferView_pimpl.h:
8167         * BufferView_pimpl.C:
8168         * BufferView.h:
8169         * BufferView.C: add getCurrentChange()
8170
8171         * BufferView_pimpl.h:
8172         * BufferView_pimpl.C: handle change lfuns
8173
8174         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8175           for changes. Mark pasted paragraphs as new.
8176
8177         * support/lyxtime.h:
8178         * support/lyxtime.C:
8179         * DepTable.C: abstract time_t as lyx::time_type
8180
8181         * LColor.h:
8182         * LColor.C: add colours for new text, deleted text, changebars
8183
8184         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8185           package use "usenames" option.
8186
8187         * commandtags.h:
8188         * lyxfunc.C:
8189         * LyXAction.C: add change lfuns
8190
8191         * Makefile.am:
8192         * author.h:
8193         * author.C: author handling
8194
8195         * buffer.h:
8196         * buffer.C: add a per-buffer author list, with first entry as
8197           current author. Handle new .lyx tokens for change tracking. Output
8198           author list to .lyx file. Output dvipost stuff to .tex preamble.
8199           Bump lyx format to 222.
8200
8201         * bufferlist.h:
8202         * bufferlist.C: add setCurrentAuthor() to reset current author details
8203           in all buffers.
8204
8205         * bufferparams.h:
8206         * bufferparams.C: add param for tracking
8207
8208         * bufferview_funcs.C: output change info in minibuffer
8209
8210         * Makefile.am:
8211         * changes.h:
8212         * changes.C: add change-tracking structure
8213
8214         * debug.h:
8215         * debug.C: add CHANGES debug flag
8216
8217         * lyxfind.h:
8218         * lyxfind.C: add code for finding the next change piece
8219
8220         * lyxrc.h:
8221         * lyxrc.C: add user_name and user_email
8222
8223         * lyxrow.h:
8224         * lyxrow.C: add a metric for the top of the text line
8225
8226         * lyxtext.h:
8227         * text.C: implement accept/rejectChange()
8228
8229         * lyxtext.h:
8230         * text.C: paint changebars. Paint new/deleted text in the chosen
8231         colours. Strike through deleted text.
8232
8233         * paragraph.h:
8234         * paragraph.C:
8235         * paragraph_pimpl.h:
8236         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8237           in the current change to the insert functions. Rework erase to
8238           mark text as deleted, adding an eraseIntern() and a range-based
8239           erase(). Implement per-paragraph change lookup and
8240           accept/reject.
8241
8242         * paragraph_funcs.C: Fixup paste for change tracking.
8243
8244         * tabular.C: mark added row/columns as new.
8245
8246         * text.C: fix rowLast() to never return -1. Don't allow
8247           spellchecking of deleted text. Track transpose changes. Don't
8248           allow paragraph break or merge where appropriate.
8249
8250         * text2.C: leave cursor at end of selection after a cut.
8251
8252 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8253
8254         * text.C (getLengthMarkerHeight):
8255         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8256         visible on screen too.
8257
8258 2003-02-07  John Levon  <levon@movementarian.org>
8259
8260         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8261
8262 2003-02-05  Angus Leeming  <leeming@lyx.org>
8263
8264         * lyxserver.C (read_ready): revert my patch of 11 September last year
8265         as it sends PC cpu through the roof. Presumably this means that
8266         the lyxserver will no longer run on an Alpha...
8267
8268 2003-01-30  Angus Leeming  <leeming@lyx.org>
8269
8270         * factory.C (createInset): create an InsetCommandParam of type "index"
8271         and use it to 'do the right thing'.
8272
8273         * text2.C (getStringToIndex): ensure that cursor position is always
8274         reset to the reset_cursor position.
8275
8276 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8277
8278         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8279         disabled.
8280
8281 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8282
8283         * bufferview.C:
8284         * lyxcb.C:
8285         * lyxfunc.C: Output messages with identical spelling, punctuation,
8286         and spaces
8287
8288 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8289
8290         * MenuBackend.C (expandFormats): List only viewable export formats
8291         in "View" menu
8292
8293         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8294         message
8295
8296         * lyxfunc.C (getStatus): Make sure that formats other than
8297         "fax" can also be disabled
8298
8299 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8300
8301         * text3.C (dispatch): put the lfuns that insert insets in 3
8302         groups, and call doInsertInset with appropriate arguments.
8303         (doInsertInset): new function, that creates an inset and inserts
8304         it according to some boolean parameters.
8305
8306 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8307
8308         * buffer.C (readFile): remember to pass on 'par' when calling
8309         readFile recursively.
8310
8311 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8312
8313         * MenuBackend.C (expandFormats): add "..." to import formats.
8314
8315 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8316
8317         * paragraph.C (asString): Remove XForms RTL hacks.
8318
8319 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8320         * buffer.C: fix typo
8321
8322 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8323
8324         * Makefile.am (LIBS): delete var
8325         (lyx_LDADD): add @LIBS@ here instead.
8326
8327 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8328
8329         * Clarify the meaning of "wheel mouse jump"
8330
8331 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8332
8333         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8334         tabular in a float
8335
8336 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8337
8338         * importer.C (Loaders): do not preallocate 3 elements in the
8339         vector, since one ends up with 6 elements otherwise
8340
8341 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8342
8343         * DepTable.C (write): write the file name as last element of the
8344         .dep file (because it may contain spaces)
8345         (read): read info in the right order
8346
8347 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8348
8349         * paragraph_pimpl.C (simpleTeXBlanks):
8350         (simpleTeXSpecialChars):
8351         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8352
8353         * tabular.C (latex): add some missing case statements. Reindent.
8354
8355         * MenuBackend.C (expandToc): remove unused variable.
8356
8357 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8358
8359         * LColor.C:
8360         * LaTeX.C:
8361         * LyXAction.C:
8362         * MenuBackend.C:
8363         * buffer.C:
8364         * exporter.C:
8365         * lyxfunc.C:
8366         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8367         and the like.
8368
8369 2003-01-05  John Levon  <levon@movementarian.org>
8370
8371         * BufferView.h:
8372         * BufferView.C: add getEncoding()
8373
8374         * kbsequence.h:
8375         * kbsequence.C: do not store last keypress
8376
8377         * lyxfunc.h:
8378         * lyxfunc.C: store last keypress here instead. Pass encoding
8379           to getISOEncoded()
8380
8381 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8382
8383         * lyx_main.C (init): remove annoying error message when following
8384         symbolic links (bug #780)
8385
8386 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8387
8388         * text.C (insertChar):
8389         * lyxrc.C (getDescription): remove extra spaces
8390
8391 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8392
8393         * lyxrc.C (getDescription): remove extra spaces
8394
8395 2002-12-20  John Levon  <levon@movementarian.org>
8396
8397         * text3.C: hack fix for page up/down across tall rows
8398
8399 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8400
8401         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8402         not been invoked
8403
8404 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8405
8406         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8407         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8408         thesaurus is not compiled in
8409
8410 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8411
8412         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8413
8414 2002-12-16  Angus Leeming  <leeming@lyx.org>
8415
8416         * lyxrc.[Ch]:
8417         * lyx_main.C (init): remove override_x_deadkeys stuff.
8418
8419 2002-12-12  John Levon  <levon@movementarian.org>
8420
8421         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8422           insert. Only remove shift modifier under strict
8423           circumstances.
8424
8425 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8426
8427         * MenuBackend.C (expandToc): fix crash.
8428
8429 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8430
8431         * MenuBackend.C (expandToc): gettext on float names.
8432
8433 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8434
8435         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8436         implement bool empty() [bug 490]
8437
8438 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8439
8440         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8441
8442 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8443
8444         * several files: ws changes
8445
8446 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8447
8448         * text2.C (setCounter): clean up a bit, use boost.format.
8449         (updateCounters): initialize par upon declaration.
8450
8451         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8452         if the layout exists. We do not just store the layout any more.
8453         (SwitchLayoutsBetweenClasses): use boost.format
8454
8455 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8456
8457         * converter.C (convert): if from and to files are the same, use a
8458         temporary files as intermediary
8459
8460 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8461
8462         * commandtags.h:
8463         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8464
8465 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8466
8467         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8468
8469 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8470
8471         * tabular.C (asciiPrintCell): use string(size, char) instead of
8472         explicit loop.
8473
8474         * sgml.C (openTag): fix order of arguments to string constructor
8475         (closeTag): ditto
8476
8477         * lyxfunc.C (dispatch): use boost.format
8478
8479         * lots of files: change "c" -> 'c'
8480
8481 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8482
8483         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8484
8485 2002-11-25  Angus Leeming  <leeming@lyx.org>
8486
8487         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8488
8489         * lyx_main.C (init): compile fix.
8490
8491 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8492
8493         * lyx_cb.C (start): boost.formatify
8494         do not include <iostream>
8495
8496         * lengthcommon.C: ws only
8497
8498         * boost-inst.C,BoostFormat.h: add more explict instantations
8499
8500 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8501
8502         * lots of files: handle USE_BOOST_FORMAT
8503
8504 2002-11-21  John Levon  <levon@movementarian.org>
8505
8506         * pspell.C: fix compile
8507
8508 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8509
8510         * lyxfunc.C (dispatch): use boost::format
8511         (open): ditto
8512         (doImport): ditto
8513
8514         * lyxfont.C (stateText): use boost::format
8515
8516         * lyx_main.C (LyX): use boost::format
8517         (init): ditto
8518         (queryUserLyXDir): ditto
8519         (readRcFile): ditto
8520         (parse_dbg): ditto
8521         (typedef boost::function): use the recommened syntax.
8522
8523         * importer.C (Import): use boost::format
8524
8525         * debug.C (showLevel): use boost::format
8526
8527         * converter.C (view): use boost::format
8528         (convert): ditto
8529         (move): ditto
8530         (scanLog): ditto
8531
8532         * bufferview_funcs.C (currentState): use boost::format
8533
8534         * bufferlist.C (emergencyWrite): use boost::format
8535
8536         * buffer.C (readLyXformat2): use boost::format
8537         (parseSingleLyXformat2Token): ditto
8538
8539         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8540
8541         * LaTeX.C (run): use boost::format
8542
8543         * Chktex.C (scanLogFile): use boost::format
8544
8545         * BufferView_pimpl.C (savePosition): use boost::format
8546         (restorePosition): ditto
8547         (MenuInsertLyXFile): ditto
8548
8549         * BoostFormat.h: help file for explicit instation.
8550
8551 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8552
8553         * tabular.C (latex): Support for block alignment in fixed width
8554         columns.
8555
8556 2002-11-17  John Levon  <levon@movementarian.org>
8557
8558         * BufferView_pimpl.C:
8559         * lyx_cb.C:
8560         * lyxfunc.C: split filedialog into open/save
8561
8562 2002-11-08  Juergen Vigna  <jug@sad.it>
8563
8564         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8565         by my last patch (hopefully).
8566
8567 2002-11-08  John Levon  <levon@movementarian.org>
8568
8569         * iterators.h:
8570         * iterators.C:
8571         * buffer.h:
8572         * buffer.C:
8573         * paragraph.h:
8574         * paragraph.C:
8575         * toc.h:
8576         * toc.C: ParConstIterator, and use it (from Lars)
8577
8578 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8579
8580         * lyxtextclass.[Ch]: revise and add doxygen comments
8581
8582 2002-11-07  John Levon  <levon@movementarian.org>
8583
8584         * text.C: fix progress value for spellchecker
8585
8586         * toc.C: fix navigate menu for insetwrap inside minipage
8587
8588         * paragraph_funcs.C: added FIXME for suspect code
8589
8590 2002-11-07  John Levon  <levon@movementarian.org>
8591
8592         * BufferView_pimpl.C: fix redrawing of insets
8593           on buffer switch
8594
8595 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8596
8597         * text2.C (updateCounters): fix bug 668
8598
8599 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8600
8601         * text3.C (dispatch): Do not make the buffer dirty when moving the
8602         cursor.
8603
8604 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8605
8606         * vc-backend.C: STRCONV
8607         (scanMaster): ditto
8608
8609         * text2.C (setCounter): STRCONV
8610
8611         * paragraph.C (asString): STRCONV
8612
8613         * lyxlength.C (asString): STRCONV
8614         (asLatexString): ditto
8615
8616         * lyxgluelength.C (asString): STRCONV
8617         (asLatexString): ditto
8618
8619         * lyxfunc.C (dispatch): STRCONV
8620         (open): ditto
8621
8622         * lyxfont.C (stateText): STRCONV
8623
8624         * importer.C (Import): STRCONV
8625
8626         * counters.C (labelItem): STRCONV
8627         (numberLabel): ditto
8628         (numberLabel): remove unused ostringstream o
8629
8630         * chset.C: STRCONV
8631         (loadFile): ditto
8632
8633         * bufferview_funcs.C (currentState): STRCONV
8634
8635         * buffer.C (readFile): STRCONV
8636         (asciiParagraph): ditto
8637         (makeLaTeXFile): ditto
8638
8639         * Spacing.C (writeEnvirBegin): STRCONV
8640
8641         * LaTeXFeatures.C (getLanguages): STRCONV
8642         (getPackages): ditto
8643         (getMacros): ditto
8644         (getBabelOptions): ditto
8645         (getTClassPreamble): ditto
8646         (getLyXSGMLEntities): ditto
8647         (getIncludedFiles): ditto
8648
8649         * LaTeX.C: STRCONV
8650         (run): ditto
8651         (scanAuxFile): ditto
8652         (deplog): ditto
8653
8654         * LString.h: add the STRCONV macros
8655
8656         * BufferView_pimpl.C (savePosition): STRCONV
8657         (restorePosition): ditto
8658         (MenuInsertLyXFile): ditto
8659
8660         * vc-backend.C (scanMaster): change from submatch[...] to
8661         submatch.str(...)
8662
8663         * funcrequest.C: include config.h
8664
8665         * factory.C: include config.h
8666
8667         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8668
8669         * box.C: include config.h
8670
8671         * LaTeX.C (scanAuxFile): change from submatch[...] to
8672         submatch.str(...)
8673         (deplog): ditto
8674
8675 2002-10-25  Angus Leeming  <leeming@lyx.org>
8676
8677         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8678
8679         * ispell.[Ch] (setError): new method.
8680         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8681         Use setError() insetead of goto END.
8682
8683         * lyx_cb.C (AutoSave): move out child process into new class
8684         AutoSaveBuffer.
8685
8686 2002-10-30  John Levon  <levon@movementarian.org>
8687
8688         * text3.C: make start appendix undoable
8689
8690 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8691
8692         * lyxlength.C (inPixels): Fix returned value.
8693
8694         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8695         environment.
8696
8697 2002-10-24  Angus Leeming  <leeming@lyx.org>
8698
8699         * lyxgluelength.h: no need to forward declare BufferParams
8700         or BufferView, so don't.
8701
8702 2002-10-21  John Levon  <levon@movementarian.org>
8703
8704         * BufferView.C: menuUndo ->undo, redo
8705
8706         * BufferView.h: document, remove dead, make some methods private
8707
8708         * paragraph_funcs.h:
8709         * paragraph_funcs.C:
8710         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8711
8712         * buffer.h:
8713         * buffer.C:
8714         * sgml.h:
8715         * sgml.C: move sgml open/close tag into sgml.C
8716
8717         * bufferview_funcs.h: unused prototype
8718
8719         * lyxfunc.h:
8720         * lyxfunc.C: remove unused
8721
8722         * lyxtext.h:
8723         * text.C: remove unused
8724
8725 2002-10-21  John Levon  <levon@movementarian.org>
8726
8727         * BufferView.h:
8728         * BufferView.C:
8729         * BufferView_pimpl.h:
8730         * BufferView_pimpl.C: fix mouse wheel handling based on
8731           patch from Darren Freeman
8732
8733 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8734
8735         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8736
8737 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8738
8739         * lyxlength.C (inPixels): Fix hanfling of negative length.
8740         Fix LyXLength::MU case.
8741
8742 2002-10-16  John Levon  <levon@movementarian.org>
8743
8744         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8745
8746 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8747
8748         * converter.C (view): add support for $$i (file name) and $$p
8749         (file path) for the viewer command. If $$i is not specified, then
8750         it is appended to the command (for compatibility with old syntax)
8751
8752 2002-10-14  Juergen Vigna  <jug@sad.it>
8753
8754         * undo_funcs.C (textHandleUndo): alter the order in which the
8755         new undopar is added to the LyXText, as we have to set first
8756         the right prev/next and then add it as otherwise the rebuild of
8757         LyXText is not correct. Also reset the cursor to the right paragraph,
8758         with this IMO we could remove the hack in "redoParagraphs()".
8759
8760 2002-10-09  Angus Leeming  <leeming@lyx.org>
8761
8762         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8763         to turn off an optimisation if a new inset is to be inserted.
8764
8765 2002-10-11 André Pönitz <poenitz@gmx.net>
8766
8767         * lyxtext.h: make some functions public to allow access
8768         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8769
8770 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8771
8772         * text3.C (dispatch): when changing layout, avoid an infinite loop
8773         [bug #652]
8774
8775 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8776
8777         * lyxrc.C (read): treat a viewer or converter command of "none" as
8778         if it were empty.
8779
8780         * MenuBackend.C (expandFormats): for an update, also allow the
8781         formats that are not viewable
8782
8783         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8784         script if it is newer than the lyxrc.defaults in user directory
8785
8786 2002-10-07 André Pönitz <poenitz@gmx.net>
8787
8788         * text.C: Vitaly Lipatov's small i18n fix
8789
8790 2002-09-25  Angus Leeming  <leeming@lyx.org>
8791
8792         * ispell.h: doxygen fix.
8793
8794 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8795
8796         * buffer.h (readFile): Add a new argument to the method, to allow
8797         reading of old-format templates.
8798
8799 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8800
8801         * toc.C (getTocList): Get TOC from InsetWrap.
8802
8803 2002-09-16  John Levon  <levon@movementarian.org>
8804
8805         * lyxfunc.C: check tabular for cut/copy too
8806
8807 2002-09-12  John Levon  <levon@movementarian.org>
8808
8809         * LyXAction.C: tidy
8810
8811         * factory.h:
8812         * factory.C: add header
8813
8814         * paragraph_funcs.h:
8815         * paragraph_funcs.C: cleanup
8816
8817 2002-09-11  John Levon  <levon@movementarian.org>
8818
8819         * PrinterParams.h: odd/even default to true
8820
8821 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8822
8823         * PrinterParams.h: update printer parameters for new xforms dialog
8824
8825 2002-09-11  Angus Leeming  <leeming@lyx.org>
8826
8827         * lyxserver.C (read_ready): re-write to make it more transparent
8828         and to make it work in coherent fashion under Tru64 Unix.
8829
8830 2002-09-11  André Pönitz <poenitz@gmx.net>
8831
8832         * commandtags.h:
8833         * LyXAction.C:
8834         * text3.C: implement LFUN_WORDSEL
8835
8836 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8837
8838         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8839         make floatlist_ a boost::shared_ptr<FloatList>
8840
8841         * lyxtextclass.C: include FloatList.h
8842         (LyXTextClass): initialize floatlist_
8843         (TextClassTags): add TC_NOFLOAT
8844         (Read): match "nofloat" to TC_NOFLOAT and use it.
8845         (readFloat): modify call to floatlist_
8846         (floats): ditto
8847         (floats): ditto
8848
8849         * FloatList.[Ch] (FloatList): remove commented out float
8850         initialization.
8851         (erase): new function
8852
8853 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8854
8855         * MenuBackend.C (expandToc): fix crash when there is no document
8856         open
8857
8858 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8859
8860         * many files: Add insetwrap.
8861
8862 2002-09-09  John Levon  <levon@movementarian.org>
8863
8864         * text2.C: remove confusing and awkward depth wraparound
8865
8866 2002-09-09  John Levon  <levon@movementarian.org>
8867
8868         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8869
8870         * buffer.h:
8871         * buffer.C: remove getIncludeonlyList()
8872
8873         * paragraph.C:
8874         * lyxfunc.C: remove headers
8875
8876 2002-09-09  Juergen Vigna  <jug@sad.it>
8877
8878         * text.C (getColumnNearX): fix form Michael this is most
8879         probably a cut&paste bug.
8880
8881 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8882
8883         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8884
8885         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8886         references, ws changes.
8887
8888         * text2.C (init): update counters after init
8889         (insertParagraph): no need to set counter on idividual paragraphs.
8890         (setCounter): access the counters object in the textclass object
8891         on in the buffer object.
8892         (updateCounters): ditto
8893
8894         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8895         shared_ptr<Counters> to avoid loading counters.h in all
8896         compilation units.
8897         (LyXTextClass): initialize ctrs_
8898         (TextClassTags): add TC_COUNTER, and ...
8899         (Read): use it here.
8900         (CounterTags): new tags
8901         (readCounter): new function
8902         (counters): new funtion
8903         (defaultLayoutName): return a const reference
8904
8905         * counters.C (Counters): remove contructor
8906         (newCounter): remove a couple of unneeded statements.
8907         (newCounter): simplify a bit.
8908         (numberLabel): some small formatting changes.
8909
8910         * buffer.[Ch]: remove all traces of counters, move the Counters
8911         object to the LyXTextClass.
8912
8913 2002-09-06  Alain Castera  <castera@in2p3.fr>
8914
8915         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8916         package to set the horizontal alignment on fixed width columns.
8917
8918         * lyx_sty.C:
8919         * lyx_sty.h: added tabularnewline macro def.
8920
8921         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8922
8923 2002-09-06  John Levon  <levon@movementarian.org>
8924
8925         * LyXAction.C: tooltips for sub/superscript
8926
8927         * MenuBackend.C: a bit more verbose
8928
8929         * lyxfunc.C: tiny clean
8930
8931         * undo_funcs.C: document undo_frozen
8932
8933 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8934
8935         * counters.C (Counters): add missing algorithm counter.
8936
8937         * text2.C (setCounter): lookup the counter with layouts latexname
8938         instead of by section number.
8939         (setCounter): use a hackish way to lookup the correct enum
8940         counter.
8941         a float name->type change
8942         reset enum couners with counter name directly instead of depth value.
8943
8944         * counters.C (Counters): remove the push_backs, change to use the
8945         float type not the float name.
8946         (labelItem): remove unused string, float name->type change
8947
8948         * counters.h: don't include vector, loose the enums and sects vectors
8949
8950 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8951
8952         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8953         (Read): add float->TC_FLOAT to textclassTags
8954         (Read): and handle it in the switch
8955         (readFloat): new function
8956
8957         * FloatList.C (FloatList): comment out the hardcoded float
8958         definitions.
8959
8960         * lyxlayout.h: ws change.
8961
8962 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8963
8964         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8965
8966 2002-09-03  Angus Leeming  <leeming@lyx.org>
8967
8968         * BufferView_pimpl.h: qualified name is not allowed in member
8969         declaration: WorkArea & Pimpl::workarea() const;
8970
8971         * factory.C: added using std::endl directive.
8972
8973         * text3.C: added using std::find and std::vector directives.
8974
8975 2002-08-29  André Pönitz <poenitz@gmx.net>
8976
8977         * lyxtext.h:
8978         * text2.C: remove unused member number_of_rows
8979
8980         * Makefile.am:
8981         * BufferView2.C: remove file, move contents to...
8982         * BufferView.C: ... here
8983
8984         * BufferView_pimpl.C:
8985         * factory.C: move more inset creation to factory
8986
8987         * vspace.C: avoid direct usage of LyXText, ws changes
8988
8989         * BufferView.[Ch]:
8990                 don't provide direct access to WorkArea, use two simple
8991                 acessors haveSelction() and workHeight() instead
8992
8993
8994 2002-08-29  John Levon  <levon@movementarian.org>
8995
8996         * BufferView_pimpl.C (dispatch): do not continue when
8997           no buffer
8998
8999 2002-08-28  André Pönitz <poenitz@gmx.net>
9000
9001         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9002
9003         * BufferView.h:
9004         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9005
9006 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9007
9008         * buffer.C: increment LYX_FORMAT to 221
9009
9010         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9011         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9012
9013         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9014
9015         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9016
9017 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9018
9019         * factory.C (createInset): use LyXTextClass::floats
9020
9021         * MenuBackend.C (expandFloatListInsert):
9022         (expandFloatInsert):
9023         (expandToc):
9024
9025         * text2.C (setCounter):
9026
9027         * LaTeXFeatures.C (useFloat):
9028         (getFloatDefinitions):
9029
9030         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9031
9032         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9033         floatlist_, with accessor floats().
9034
9035         * FloatList.h: remove global FloatList
9036
9037 2002-08-26  André Pönitz <poenitz@gmx.net>
9038
9039         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9040
9041         * BufferView.h:
9042         * BufferView2.C:
9043         * BufferView_pimpl.C:
9044         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9045
9046 2002-08-25  John Levon  <levon@movementarian.org>
9047
9048         * LyXAction.C: fix margin note description
9049
9050 2002-08-24  John Levon  <levon@movementarian.org>
9051
9052         * buffer.C:
9053         * bufferlist.C:
9054         * bufferview_funcs.C:
9055         * lyxfont.C:
9056         * undo_funcs.C: cleanups
9057
9058         * lyxfunc.C: disable CUT/COPY when no selection
9059
9060 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9061
9062         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9063         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9064
9065         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9066         Add backward compatibility to "mono", "gray" and "no".
9067
9068 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9069
9070         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9071         (and file_format >= 200).
9072
9073 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9074
9075         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9076
9077 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9078
9079         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9080
9081 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9082
9083         * BufferView_pimpl.C:
9084         * LyXAction.C:
9085         * buffer.C:
9086         * commandtags.h:
9087         * lyxfunc.C:
9088         * paragraph.[Ch]:
9089         * text2.C:
9090         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9091         inset and code to make it  work with the paragraph code. The inset
9092         can be anywhere in the paragraph, but will only do the expected
9093         thing in LaTeX if the layout file contains the parameter line
9094                         OptionalArgs    1
9095         (or more generally, a nonzero value) for that layout.
9096
9097 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9098
9099         * paragraph.h: remove the declaration of undefined counters class
9100         function.
9101
9102 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9103
9104         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9105         Dr. Richard Hawkins.
9106
9107 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9108
9109         * paragraph_funcs.h: remove some unneeded includes
9110
9111         * text.C (backspace): pasteParagraph now in global scipe
9112
9113         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9114         (pasteSelection): ditto
9115
9116         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9117         * paragraph_funcs.C (pasteParagraph): ... here
9118
9119 2002-08-20  André Pönitz <poenitz@gmx.net>
9120
9121         * commandtags.h: new LFUNs for swapping/copying table row/colums
9122
9123         * LyXAction.C:
9124         * lyxfunc.C: support for new lfuns
9125
9126 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9127
9128         * tabular.C:
9129         * buffer.[Ch]: remove NO_COMPABILITY stuff
9130
9131 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9132
9133         * boost.C (throw_exception): new file, with helper function for
9134         boost compiled without exceptions.
9135
9136         * paragraph.h:
9137         * lyxlength.C:
9138         * buffer.C:
9139         * ParameterStruct.h:
9140         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9141
9142         * bufferlist.C (emergencyWriteAll): use boost bind
9143
9144         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9145
9146         * text.C: include paragraph_funcs.h
9147         (breakParagraph): breakParagraph is now in global scope
9148
9149         * paragraph_funcs.[Ch]: new files
9150
9151         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9152         global scope
9153
9154         * buffer.C: include paragraph_funcs.h
9155         (insertStringAsLines): breakParagraph is now in global scope
9156
9157         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9158         paragraph_funcs.C
9159
9160         * CutAndPaste.C: include paragraph_funcs.h
9161         (cutSelection): breakParagraphConservative is now in global scope
9162         (pasteSelection): ditto
9163
9164         * buffer.h: declare oprator== and operator!= for
9165         Buffer::inset_iterator
9166
9167         * bufferlist.C (emergencyWrite): don't use fmt(...)
9168
9169         * text3.C: add using std::endl
9170
9171         * BufferView.C (moveCursorUpdate): remove default arg
9172
9173 2002-08-20  André Pönitz <poenitz@gmx.net>
9174
9175         * buffer.[Ch]: move inline functions to .C
9176
9177         * BufferView2.C:
9178         * BufferView_pimpl.C:
9179         * text.C:
9180         * buffer.[Ch]: use improved inset_iterator
9181
9182         * buffer.C:
9183         * paragraph.[Ch]: write one paragraph at a time
9184
9185 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9186
9187         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9188         style if style is not specified.
9189
9190 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9191
9192         * text2.C (setCounter): when searching for right label for a
9193         caption, make sure to recurse to parent insets (so that a caption
9194         in a minipage in a figure float works) (bug #568)
9195
9196 2002-08-20  André Pönitz <poenitz@gmx.net>
9197
9198         * text3.C: new file for LyXText::dispatch() and helpers
9199
9200         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9201
9202         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9203
9204 2002-08-19  André Pönitz <poenitz@gmx.net>
9205
9206         * lyxtext.h:
9207         * text.C: new LyXText::dispatch()
9208
9209         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9210
9211 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9212
9213         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9214
9215         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9216         Hebrew text.
9217
9218 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9219
9220         * Makefile.am: use $(variables) instead of @substitutions@
9221
9222 2002-08-15  André Pönitz <poenitz@gmx.net>
9223
9224         * lyxfunc.C:
9225         * BufferView_pimpl.C: streamlining mathed <-> outer world
9226         interaction
9227
9228         * commandtags.h:
9229         * LyXAction.C: remove unused LFUN_MATH
9230
9231 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9232
9233         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9234
9235 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9236
9237         * paragraph.C (Paragraph): reformat a bit
9238         (cutIntoMinibuffer): use builtin InsetList function instad of
9239         doing it manually.
9240         (getInset): ditto
9241
9242         * buffer.C: include boost/bind.hpp, add using std::for_each
9243         (writeFileAscii): use ParagraphList iterators
9244         (validate): use for_each for validate traversal of paragraphs
9245         (getBibkeyList): use ParagraphList iterators
9246         (resizeInsets): use for_each to resizeInsetsLyXText for all
9247         paragraphs.
9248         (getParFromID): use ParagraphList iterators
9249
9250         * BufferView2.C (lockInset): use paragraph list and iterators
9251
9252 2002-08-14  John Levon  <levon@movementarian.org>
9253
9254         * lyxserver.C: remove spurious xforms include
9255
9256 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9257
9258         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9259
9260 2002-08-13  André Pönitz <poenitz@gmx.net>
9261
9262         * LyXAction.[Ch]:
9263         * lyxfunc.C: further cleaning
9264
9265 2002-08-13  André Pönitz <poenitz@gmx.net>
9266
9267         * funcrequest.h: new constructor
9268
9269         * funcrequest.C: move stuff here from .h
9270
9271         * Makefile.am:
9272         * BufferView_pimpl.C:
9273         * LyXAction.C:
9274         * toc.C:
9275         * lyxfunc.C: subsequent changes
9276
9277         * lyxfunc.h: new view() member function
9278
9279         * lyxfunc.C: subsequent changes
9280
9281 2002-08-13  Angus Leeming  <leeming@lyx.org>
9282
9283         * BufferView2.C:
9284         * BufferView_pimpl.C:
9285         * buffer.C:
9286         * converter.C:
9287         * importer.C:
9288         * lyxfunc.C:
9289         * lyxvc.C:
9290         * toc.C:
9291         * vc-backend.C:
9292         changes due to the changed LyXView interface that now returns references
9293         to member variables not pointers.
9294
9295 2002-08-13  Angus Leeming  <leeming@lyx.org>
9296
9297         * WordLangTuple (word, lang_code): return references to strings,
9298         not strings.
9299
9300         * BufferView.h:
9301         * SpellBase.h:
9302         * lyxtext.h: forward-declare WordLangTuple.
9303
9304         * BufferView2.C:
9305         * ispell.C:
9306         * pspell.C:
9307         * text.C: #include "WordLangTuple.h".
9308
9309         * lyxtext.h:
9310         * text.C: (selectNextWordToSpellcheck): constify return type.
9311
9312 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9313
9314         * buffer.C:
9315         * buffer.h:
9316         * lyxtext.h:
9317         * paragraph.C:
9318         * paragraph_pimpl.h:
9319         * text.C:
9320         * text2.C:
9321         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9322         suggested by Angus.
9323         Made updateCounter always count from start of buffer, and removed
9324         second argument (par).
9325         Reverted floats number display to '#'. Perhaps I'll try again when the
9326         code base is sanitized a bit.
9327
9328 2002-08-12  Angus Leeming  <leeming@lyx.org>
9329
9330         * buffer.[Ch] (getLabelList): constify.
9331
9332 2002-08-07  André Pönitz <poenitz@gmx.net>
9333
9334         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9335
9336         * funcrequest.h: extension to keep mouse (x,y) position
9337
9338 2002-08-12  Juergen Vigna  <jug@sad.it>
9339
9340         * BufferView2.C (insertErrors): forbid undo when inserting error
9341         insets.
9342
9343         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9344
9345 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9346
9347         * ParagraphList.[Ch]: new files
9348
9349         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9350
9351         * BufferView2.C (lockInset): ParagraphList changes
9352         * toc.C: ditto
9353         * text2.C: ditto
9354         * bufferlist.C: ditto
9355         * buffer.h: ditto
9356         * buffer.C: ditto
9357
9358 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9359
9360         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9361         unused class variable counter_,
9362
9363         * paragraph.[Ch] (getFirstCounter): delete unused function
9364
9365         * counters.C: include LAssert.h
9366         (reset): add a new function with no arg, change other version to
9367         not have def. arg and to not allow empty arg.
9368
9369         * text2.C (setCounter): remove empty arg from call to Counters::reset
9370
9371 2002-08-11  John Levon  <levon@movementarian.org>
9372
9373         * Makefile.am: add WordLangTuple.h
9374
9375 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9376
9377         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9378         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9379
9380         * insets/insettext.C: InsetList changes
9381
9382         * graphics/GraphicsSupport.C (operator()): InsetList changes
9383
9384         * toc.C (getTocList): InsetList changes
9385
9386         * paragraph_pimpl.[Ch]: InsetList changes
9387
9388         * paragraph.[Ch]: InsetList changes
9389
9390         * buffer.C (inset_iterator): InsetList changes
9391         (setParagraph): ditto
9392         * buffer.h (inset_iterator): ditto
9393         * iterators.C (operator++): ditto
9394         * iterators.h: ditto
9395
9396         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9397
9398         * InsetList.[Ch]: new files, most InsetList handling moved out of
9399         paragraph.C.
9400
9401         * BufferView2.C (removeAutoInsets): InsetList changes
9402         (lockInset): ditto
9403         (ChangeInsets): ditto
9404
9405 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9406
9407         * paragraph_pimpl.h (empty): new function
9408
9409         * paragraph.[Ch] (empty): new function
9410
9411         * other files: use the new Paragraph::empty function
9412
9413 2002-08-09  John Levon  <levon@movementarian.org>
9414
9415         * lyxtext.h: remove unused refresh_height
9416
9417 2002-08-09  John Levon  <levon@movementarian.org>
9418
9419         * Makefile.am:
9420         * sgml.h:
9421         * sgml.C:
9422         * buffer.C:
9423         * paragraph.h:
9424         * paragraph.C: move sgml char escaping out of paragraph
9425
9426         * paragraph.h:
9427         * paragraph.C: remove id setter
9428
9429         * buffer.C:
9430         * paragraph.C:
9431         * paragraph_pimpl.C: remove dead tex_code_break_column
9432
9433         * bufferview_funcs.C: small cleanup
9434
9435         * lyxfunc.C: remove dead proto
9436
9437         * lyxtext.h: make some stuff private. Remove some dead stuff.
9438
9439         * lyxgluelength.C: make as[LyX]String() readable
9440
9441 2002-08-08  John Levon  <levon@movementarian.org>
9442
9443         * LyXAction.h:
9444         * LyXAction.C:
9445         * MenuBackend.C:
9446         * ToolbarDefaults.C:
9447         * lyxfunc.C:
9448         * lyxrc.C:
9449         * toc.C: lyxaction cleanup
9450
9451 2002-08-08  John Levon  <levon@movementarian.org>
9452
9453         * BufferView2.C: small cleanup
9454
9455         * lyxfind.h:
9456         * lyxfind.C: move unnecessary header into the .C
9457
9458 2002-08-08  John Levon  <levon@movementarian.org>
9459
9460         * funcrequest.h: just tedious nonsense
9461
9462         * lyx_main.h:
9463         * lyx_main.C: cleanups
9464
9465         * buffer.C:
9466         * vspace.C: remove dead header lyx_main.h
9467
9468 2002-08-07  Angus Leeming  <leeming@lyx.org>
9469
9470         * Paragraph.[Ch]:
9471         * paragraph_pimpl.h:
9472         Forward declare class Counters in paragraph.h by moving the ctrs member
9473         variable into Paragraph::Pimpl.
9474         (counters): new method, returning a reference to pimpl_->ctrs.
9475
9476         * text2.C: ensuing changes.
9477
9478 2002-08-07  John Levon  <levon@movementarian.org>
9479
9480         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9481
9482         * BufferView_pimpl.C: announce X selection on double/triple
9483           click
9484
9485         * lyx_main.C: use correct bool in batch dispatch
9486
9487         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9488
9489 2002-08-07  André Pönitz <poenitz@gmx.net>
9490
9491         * funcrequest.h: new class to wrap a kb_action and its argument
9492
9493         * BufferView.[Ch]:
9494         * BufferView_pimpl[Ch]:
9495         * LaTeX.C:
9496         * LyXAction.[Ch]:
9497         * lyxfunc.[Ch]:
9498         * lyxrc.C: subsequent changes
9499
9500
9501 2002-08-07  John Levon  <levon@movementarian.org>
9502
9503         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9504           document options change.
9505
9506 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9507
9508         * counters.[Ch]
9509         * text2.C
9510         * paragraph.[Ch]
9511         * makefile.am: move counters functionality over from
9512         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9513
9514 2002-08-06  John Levon  <levon@movementarian.org>
9515
9516         * WordLangTuple.h: new file for word + language code tuple
9517
9518         * SpellBase.h:
9519         * pspell.h:
9520         * pspell.C:
9521         * ispell.h:
9522         * ispell.C:
9523         * lyxtext.h:
9524         * text.C:
9525         * text2.C:
9526         * BufferView.h:
9527         * BufferView2.C: use WordLangTuple
9528
9529         * layout.h:
9530         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9531
9532 2002-08-06  John Levon  <levon@movementarian.org>
9533
9534         * lyx_main.C: fix cmdline batch handling
9535
9536 2002-08-06  André Pönitz <poenitz@gmx.net>
9537
9538         * lyxrc.C: set default for show_banner to true
9539
9540 2002-08-06  John Levon  <levon@movementarian.org>
9541
9542         * pspell.C: fix a crash, and allow new aspell to work
9543
9544 2002-08-06  John Levon  <levon@movementarian.org>
9545
9546         * lyxfunc.C:
9547         * kbmap.C: small cleanup
9548
9549         * vspace.h:
9550         * vspace.C: add const
9551
9552 2002-08-05  John Levon  <levon@movementarian.org>
9553
9554         * LyXAction.C: back to tabular-insert
9555
9556 2002-08-04  John Levon  <levon@movementarian.org>
9557
9558         * BufferView.h:
9559         * BufferView.C: cosmetic change
9560
9561         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9562
9563         * bufferlist.C:
9564         * buffer.h:
9565         * buffer.C:
9566         * lyxcb.h:
9567         * lyxcb.C:
9568         * lyxserver.C:
9569         * lyxvc.C:
9570         * vc-backend.C:
9571         * BufferView2.C: purge all "Lyx" not "LyX" strings
9572
9573         * lyxcursor.h:
9574         * lyxcursor.C: attempt to add some documentation
9575
9576         * lyxfunc.C:
9577         * commandtags.h:
9578         * LyXAction.C:
9579         * ToolbarDefaults.C:
9580         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9581           merge with LFUN_TABULAR_INSERT
9582
9583         * Makefile.am:
9584         * SpellBase.h:
9585         * ispell.h:
9586         * ispell.C:
9587         * pspell.h:
9588         * pspell.C: split up i/pspell implementations into separate
9589           files, many cleanups
9590
9591         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9592
9593         * text2.C: some cleanup
9594
9595         * lyxfunc.C: don't check for isp_command == "none" any more, it
9596           didn't make any sense
9597
9598 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9599
9600         * counters.[Ch]
9601         * text2.C
9602         * paragraph.[Ch]
9603         * makefile.am: move counters functionality over
9604         from text2.C/paragraph.[Ch] to counters.[Ch], and
9605         make proper C++.
9606 2002-08-02  John Levon  <levon@movementarian.org>
9607
9608         * buffer.C: s/lyxconvert/lyx2lyx/
9609
9610 2002-08-02  Angus Leeming  <leeming@lyx.org>
9611
9612         * lyxlex.C: revert John's change as it breaks reading of the user
9613         preamble.
9614
9615 2002-08-02  Angus Leeming  <leeming@lyx.org>
9616
9617         * importer.C (Import):
9618         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9619         changes due to LyXView::view() now returning a boost::shared_ptr.
9620
9621 2002-08-02  John Levon  <levon@movementarian.org>
9622
9623         * lyxlex.C: small cleanup
9624
9625 2002-08-02  John Levon  <levon@movementarian.org>
9626
9627         * text2.C (status): small cleanup, no logic change
9628
9629 2002-08-01  John Levon  <levon@movementarian.org>
9630
9631         * buffer.h:
9632         * buffer.C (writeFile): don't output alerts, caller
9633           handles this
9634
9635         * bufferlist.C:
9636         * lyx_cb.C: from above
9637
9638         * lyxfunc.C: allow to open non-existent files
9639
9640 2002-07-31  John Levon  <levon@movementarian.org>
9641
9642         * lyxserver.C: don't let incidental errors get
9643           in the way (errno)
9644
9645 2002-07-30  John Levon  <levon@movementarian.org>
9646
9647         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9648
9649 2002-07-30  John Levon  <levon@movementarian.org>
9650
9651         * lyxserver.h:
9652         * lyxserver.C: remove I/O callback too
9653
9654 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9655
9656         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9657         log.
9658
9659 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9660
9661         * many files: strip,frontStrip -> trim,ltrim,rtrim
9662
9663 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9664
9665         * PrinterParams.h: remove extern containsOnly, and include
9666         support/lstrings.h instead.
9667
9668         * LaTeX.C (scanAuxFile): modify because of strip changes
9669         (deplog): ditto
9670         * buffer.C (makeLaTeXFile): ditto
9671         * bufferparams.C (writeFile): ditt
9672         * lyxfont.C (stateText): ditto
9673         * lyxserver.C (read_ready): ditto
9674         * vc-backend.C (scanMaster): ditto
9675
9676         * BufferView_pimpl.h: ws changes
9677
9678         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9679
9680 2002-07-26  André Pönitz <poenitz@gmx.net>
9681
9682         * kb_sequence.C: remove unnedred usings
9683
9684 2002-07-26  Juergen Vigna  <jug@sad.it>
9685
9686         * lyxfind.C (LyXReplace): we have to check better if the returned
9687         text is not of theLockingInset()->getLockingInset().
9688
9689 2002-07-25  Juergen Vigna  <jug@sad.it>
9690
9691         * lyxfind.C (LyXReplace): don't replace if we don't get the
9692         right LyXText.
9693
9694         * undo_funcs.C (createUndo): remove debugging code.
9695
9696 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9697
9698         * buffer.C (parseSingleLyXformat2Token): Use default placement
9699         when reading old floats.
9700
9701         * FloatList.C (FloatList): Change the default placement of figure
9702         and tables to "tbp".
9703
9704 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9705
9706         * MenuBackend.C: using std::max
9707
9708 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9709
9710         * MenuBackend.C (expandToc):
9711         (expandToc2): code moved from xforms menu frontend. It is now
9712         generic and TOCs are transparent to menu frontends.
9713
9714 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9715
9716         * toc.C (getTocList): protect against buf=0
9717
9718         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9719         Menu as first parameter. Now, this calls itself recursively to
9720         expand a whole tree (this will be useful for TOC handling)
9721         (expandFloatInsert): remove 'wide' version of floats
9722
9723         * MenuBackend.h (submenuname): returns the name of the submenu.
9724         (submenu): returns the submenu itself, provided it has been
9725         created by MenuBackend::expand
9726
9727 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9728
9729         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9730         insets which have noFontChange == true. (bug #172)
9731
9732 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9733
9734         * BufferView_pimpl.C: add connection objects and use them...
9735         (Pimpl): here.
9736
9737 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9738
9739         * MenuBackend.C (expandLastfiles):
9740         (expandDocuments):
9741         (expandFormats):
9742         (expandFloatListInsert):
9743         (expandFloatInsert):
9744         (expand): split expand in parts
9745
9746 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9747
9748         * lyx_gui.C: use lyx_gui::exit()
9749
9750 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9751
9752         * LyXAction.C: show the failing pseudo action
9753
9754 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9755
9756         * buffer.C (readFile): Run the lyxconvert script in order to read
9757         old files.
9758
9759 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9760
9761         * LyXAction.C:
9762         * commandtags.h:
9763         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9764
9765 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9766
9767         * LyXAction.C:
9768         * commandtags.h:
9769         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9770
9771 2002-07-22  Herbert Voss  <voss@lyx.org>
9772
9773         * lengthcommon.C:
9774         * lyxlength.[Ch]: add support for the vertical lengths
9775
9776 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9777
9778         * toc.[Ch]: std:: fixes
9779
9780 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9781
9782         * lyxrc.C: do not include lyx_main.h
9783
9784         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9785         for layouts
9786
9787         * lyxrc.C:
9788         * encoding.C:
9789         * bufferlist.C:
9790         * BufferView2.C: include "lyxlex.h"
9791
9792         * tabular.h:
9793         * bufferparams.h: do not #include "lyxlex.h"
9794
9795         * lyxtextclasslist.C (Add): remove method
9796         (classlist): renamed to classlist_
9797
9798         * paragraph_pimpl.C:
9799         * paragraph.C:
9800         * text2.C:
9801         * CutAndPaste.C:
9802         * bufferview_funcs.C:
9803         * bufferlist.C:
9804         * text.C:
9805         * LaTeXFeatures.C:
9806         * buffer.C:
9807         * toc.C (getTocList): use BufferParams::getLyXTextClass
9808
9809         * toc.C (getTocList): use InsetFloat::addToToc
9810
9811         * toc.[Ch]: new files, containing helper functions to handle table
9812         of contents
9813
9814         * lyxfunc.C (dispatch): no need to remove spaces around command
9815         given as a string
9816         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9817         first command of the sequence; it is not very clever, but I do not
9818         have a better idea, actually
9819
9820         * LyXAction.C (LookupFunc): make sure to remove space at the
9821         beginning and end of the command
9822
9823 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9824
9825         * MenuBackend.C (getMenubar): new method: return the menubar of
9826         this menu set
9827         (read): treat differently reading of menu and menubar (in
9828         particular, the menubar has no name now)
9829         (Menu::menubar): remove
9830
9831         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9832         saving is finished
9833
9834 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9835
9836         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9837         a bibitem inset in a RTL paragraph.
9838
9839 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9840
9841         * paragraph_pimpl.C: constify
9842
9843         * BufferView_pimpl.C:
9844         * LaTeX.C:
9845         * lyxfunc.C: fix dispatch in a nicer way
9846
9847 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9848
9849         * lyxfunc.C (dispatch):
9850         * BufferView_pimpl.C:
9851         * BufferView_pimpl.h:
9852         * BufferView.C:
9853         * BufferView.h: rename Dispatch() to dispatch()
9854
9855         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9856
9857         * lyxlayout.C (Read): honor DependsOn tag
9858
9859         * lyxlayout.[Ch] (depends_on): new method
9860
9861         * version.C.in: update lyx_docversion
9862
9863         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9864
9865         * paragraph.C (validate): remove from here...
9866         * paragraph_pimpl.C (validate): ... and move here
9867         (isTextAt): make it const
9868
9869         * buffer.C (getLists): ws cleanup
9870
9871 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9872
9873         * language.C (read): Use iso8859-1 encoding in latex_lang
9874         (this prevents LyX from crashing when using iso10646-1 encoding).
9875
9876 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9877
9878         * text2.C (toggleInset): if cursor is inside an inset, close the
9879         inset and leave cursor _after_ it
9880
9881 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9882
9883         * lyxfunc.C: move minibuffer completion handling out of here
9884
9885 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9886
9887         * BufferView_pimpl.C:
9888         * LaTeX.C: fix dispatch calls
9889
9890 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9891
9892         * text.C (drawChars): Fix Arabic text rendering.
9893
9894 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * LyXAction.C:
9897         * commandtags.h:
9898         * lyxfunc.C: remove message-push/pop
9899
9900         * lyxserver.C:
9901         * lyxfunc.h:
9902         * lyxfunc.C: rationalise some code by removing verboseDispatch
9903           in favour of a bool argument to dispatch()
9904
9905 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9906
9907         * lyx_main.C (init): make sure to read symlinks as absolute paths
9908
9909 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9910
9911         * lyxfunc.h:
9912         * lyxfunc.C: no need for commandshortcut to be a member
9913
9914 2002-07-15  André Pönitz <poenitz@gmx.net>
9915
9916         * converter.C: add support for $$s (scripts from lib/scripts dir)
9917         * lyx_main.C: white space
9918
9919 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9920
9921         * bufferlist.C:
9922         * lyxrc.h:
9923         * lyxrc.C: remove second exit confirmation
9924
9925 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9926
9927         * BufferView.h:
9928         * BufferView.C:
9929         * BufferView2.C:
9930         * BufferView_pimpl.h:
9931         * BufferView_pimpl.C:
9932         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9933
9934 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9935
9936         * MenuBackend.C (expand): add numeric shortcuts to document menu
9937
9938         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9939
9940 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9941
9942         * lyxfont.C (setLyXFamily):
9943         (setLyXSeries):
9944         (setLyXShape):
9945         (setLyXSize):
9946         (setLyXMisc):
9947         (lyxRead):
9948         * debug.C (value):
9949         * buffer.C (asciiParagraph): use ascii_lowercase
9950
9951 2002-07-15  Mike Fabian  <mfabian@suse.de>
9952
9953         * lyxlex_pimpl.C (search_kw):
9954         * lyxlex.C (getLongString):
9955         * converter.h (operator<):
9956         * converter.C (operator<):
9957         * buffer.C (parseSingleLyXformat2Token):
9958         (asciiParagraph):
9959         * ToolbarDefaults.C (read):
9960         * MenuBackend.C (checkShortcuts):
9961         (read):
9962         * LColor.C (getFromGUIName):
9963         (getFromLyXName): use the compare_ascii_no_case instead of
9964         compare_no_case, because in turkish, 'i' is not the lowercase
9965         version of 'I', and thus turkish locale breaks parsing of tags.
9966
9967 2002-07-16  Angus Leeming  <leeming@lyx.org>
9968
9969         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9970         now takes a Buffer const & argument.
9971
9972 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9973
9974         * BufferView.C (resize): check there's a buffer to resize
9975
9976 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9977
9978         * lyxfunc.C: remove dead code
9979
9980         * lyxserver.h:
9981         * lyxserver.C: use lyx_guii::set_read_callback
9982
9983 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9984
9985         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9986         an inset in a RTL paragraph.
9987
9988 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9989
9990         * lyxfunc.C: repaint after a font size update
9991
9992 2002-07-15  André Pönitz <poenitz@gmx.net>
9993
9994         * lyxlength.C: inBP should be able to return negative values
9995
9996 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9997
9998         * lyxfunc.C: use lyx_gui::update_fonts()
9999
10000 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10001
10002         * lyxfunc.C: use lyx_gui::update_color()
10003
10004 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10005
10006         * bufferlist.C:
10007         * lyxfunc.h:
10008         * lyxfunc.C:
10009         * lyxrc.h:
10010         * lyxrc.C: remove file->new asks for name option, and let
10011           buffer-new take an argument
10012
10013 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10014
10015         * BufferView_pimpl.C: remove unneeded extra repaint()
10016
10017 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10018
10019         * LyXAction.C: allow command-sequence with NoBuffer
10020
10021         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10022
10023 2002-07-10  Angus Leeming  <leeming@lyx.org>
10024
10025         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10026
10027 2002-07-09  Angus Leeming  <leeming@lyx.org>
10028
10029         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10030
10031 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10032
10033         * lengthcommon.h: whitespace
10034
10035         * lyxfunc.C: update scrollbar after goto paragraph
10036
10037         * lyxtext.h: factor out page break drawing, and fix it so
10038           page break/added space paints as selected nicely
10039
10040 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10041
10042         * BufferView_pimpl.C: add FIXMEs, clean up a little
10043
10044 2002-07-09  André Pönitz <poenitz@gmx.net>
10045
10046         * lyxfont.[Ch]: support for wasy symbols
10047
10048 2002-07-08  André Pönitz <poenitz@gmx.net>
10049
10050         * BufferView_pimpl.C: apply John's patch for #93.
10051
10052 2002-07-05  Angus Leeming  <leeming@lyx.org>
10053
10054         * BufferView_pimpl.C (buffer): generate previews if desired.
10055
10056         * LColor.h: add "preview" to the color enum.
10057
10058         * LColor.C (LColor): add a corresponding entry to the items array.
10059
10060         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10061         with this buffer.
10062
10063 2002-07-05  Angus Leeming  <leeming@lyx.org>
10064
10065         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10066         The body of the code is now in the method that is passed an ostream &
10067         rather than a file name.
10068         Pass an additional only_preamble parameter, useful for the forthcoming
10069         preview stuff.
10070
10071 2002-07-03  André Pönitz <poenitz@gmx.net>
10072
10073         * lyxfunc.C: simplify getStatus() a bit for math stuff
10074
10075 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10076
10077         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10078
10079 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10080
10081         * text.C (changeRegionCase): do not change case of all the
10082         document when region ends at paragraph end (bug #461)
10083
10084 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10085
10086         * paragraph.C (startTeXParParams):
10087         (endTeXParParams): add \protect when necessary
10088
10089 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10090
10091         * BufferView_pimpl.C (workAreaExpose): remove warning
10092
10093 2002-06-27  Angus Leeming  <leeming@lyx.org>
10094
10095         * Makefile.am: add lyxlayout_ptr_fwd.h.
10096
10097 2002-06-26  André Pönitz <poenitz@gmx.net>
10098
10099         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10100
10101 2002-06-25  Angus Leeming  <leeming@lyx.org>
10102
10103         * lyxfunc.C (dispatch): Comment out the call to
10104         grfx::GCache::changeDisplay. The method no longer exists now that the
10105         pixmap generation part of the graphics loader has been moved into
10106         InsetGraphics.
10107
10108 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10109
10110         * text2.C: layout as layout
10111
10112         * text.C: layout as layout
10113
10114         * tabular.C (OldFormatRead): layout as layout
10115
10116         * paragraph_pimpl.C (TeXDeeper): layout as layout
10117         (realizeFont): layout as layout
10118
10119         * paragraph.C (writeFile): layout as layout
10120         (validate): layout as layout
10121         (getFont): layout as layout
10122         (getLabelFont): layout as layout
10123         (getLayoutFont): layout as layout
10124         (breakParagraph): layout as layout
10125         (stripLeadingSpaces): layout as layout
10126         (getEndLabel): layout as layout
10127         (getMaxDepthAfter): layout as layout
10128         (applyLayout): layout as layout
10129         (TeXOnePar): layout as layout
10130         (simpleTeXOnePar): layout as layout
10131         (TeXEnvironment): layout as layout
10132         (layout): layout as layout
10133         (layout): layout as layout
10134
10135         * lyxtextclass.C (compare_name): new functor to work with
10136         shared_ptr, layout as layout
10137         (Read): layout as layout
10138         (hasLayout): layout as layout
10139         (operator): layout as layout
10140         (delete_layout): layout as layout
10141         (defaultLayout): layout as layout
10142
10143         * lyxlayout_ptr_fwd.h: new file
10144
10145         * lyxlayout.C (Read): layout as layout
10146
10147         * lyx_cb.C (MenuInsertLabel): layout as layout
10148
10149         * bufferlist.C (newFile): layout as layout
10150
10151         * buffer.C (readLyXformat2): layout as layout
10152         (parseSingleLyXformat2Token): layout as layout
10153         (insertStringAsLines): layout as layout
10154         (asciiParagraph): layout as layout
10155         (latexParagraphs): layout as layout
10156         (makeLinuxDocFile): layout as layout
10157         (simpleLinuxDocOnePar): layout as layout
10158         (makeDocBookFile): layout as layout
10159         (simpleDocBookOnePar): layout as layout
10160         (getLists): layout as layout
10161
10162         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10163
10164         * CutAndPaste.C (cutSelection): layout as layout
10165         (pasteSelection): layout as layout
10166         (SwitchLayoutsBetweenClasses): layout as layout
10167
10168         * BufferView_pimpl.C (Dispatch): layout as layout
10169         (smartQuote): layout as layout
10170
10171         * BufferView2.C (unlockInset): layout as layout
10172
10173 2002-06-24  André Pönitz <poenitz@gmx.net>
10174
10175         * lyxfunc.C: fix #487
10176
10177 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10178
10179         * lyxrc.h:
10180         * lyxrc.C:
10181         * lyxfunc.C: remove display_shortcuts, show_banner
10182
10183 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10184
10185         * Buffer_pimpl.C: oops, update on resize
10186
10187 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10188
10189         * buffer.C:
10190         * converter.C:
10191         * exporter.C:
10192         * lyxfunc.C:
10193         * BufferView.h:
10194         * BufferView.C: use repaint()
10195
10196         * BufferView_pimpl.h:
10197         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10198           as it's a clearer description. Remove superfluous
10199           redraws.
10200
10201 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10202
10203         * text.C: fix bug 488. Not ideal, but getting
10204           getWord() to work properly for the insets that
10205           matter is more difficult ...
10206
10207 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10208
10209         * BufferView_pimpl.C:
10210         * LyXAction.C:
10211         * commandtags.h:
10212         * lyxfunc.C: remove the six million index lyxfuncs to just
10213           one, and DTRT (bug 458)
10214
10215 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10216
10217         * BufferView.h:
10218         * BufferView.C:
10219         * BufferView_pimpl.h:
10220         * BufferView_pimpl.C: clean up resize() stuff,
10221           and unnecessary updateScreen()s
10222
10223 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10224
10225         * BufferView.h:
10226         * BufferView.C:
10227         * BufferView_pimpl.h:
10228         * BufferView_pimpl.C:
10229         * lyxfind.h:
10230         * lyxfind.C:
10231         * minibuffer.C: remove focus management of workarea,
10232           not needed. Use screen's greyOut()
10233
10234 2002-06-17  Herbert Voss  <voss@lyx.org>
10235
10236         * converter.C: (convert) do not post a message, when converting
10237         fails, let the calling function decide what to do in this case
10238
10239 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10240
10241         * lyxfunc.C: tidy up a little
10242
10243 2002-06-16    <alstrup@diku.dk>
10244
10245         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10246         Got rid of FORMS_H_LOCATION include. Now we are
10247         GUII.
10248
10249 2002-06-15  LyX Development team  <lyx@rilke>
10250
10251         * buffer.[Ch] (sgmlOpenTag):
10252         (sgmlCloseTag): Added support for avoiding pernicious mixed
10253         content. Return number of lines written.
10254
10255         (makeLinuxDocFile):
10256         (makeDocBookFile): Fixed calls to sgml*Tag.
10257         Simple white space clean.
10258
10259         (simpleDocBookOnePar): Simple white space clean.
10260
10261         * tabular.[Ch] (docBook): Renamed to docbook and got another
10262         argument to related with the pernicious mixed content.
10263
10264         (docbookRow): Fixed calls for docbook inset method.
10265
10266 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10267
10268         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10269         so it's X11 independent.
10270
10271         * kb*.[Ch]: ditto.
10272
10273         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10274
10275 2002-06-15  Lyx Development team  <lyx@electronia>
10276
10277         * intl.h: Renamed getTrans to getTransManager.
10278
10279 2002-06-14  Angus Leeming  <leeming@lyx.org>
10280
10281         * Makefile.am: nuke forgotten stl_string_fwd.h.
10282
10283 2002-06-12  Angus Leeming  <leeming@lyx.org>
10284
10285         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10286
10287 2002-06-13  Angus Leeming  <leeming@lyx.org>
10288
10289         * LaTeX.C:
10290         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10291
10292 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10293
10294         * kbmap.C (getiso): add support for cyrillic and greek
10295
10296 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10297
10298         * BufferView.h:
10299         * BufferView.C:
10300         * BufferView_pimpl.h:
10301         * BufferView_pimpl.C: move bogus scrolling logic
10302           to xforms
10303
10304 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10305
10306         * lyxfunc.C:
10307         * BufferView_pimpl.C: view->resize() change
10308
10309 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * BufferView_pimpl.C: topCursorVisible
10312           prototype change
10313
10314 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10315
10316         * Makefile.am:
10317         * lyx_gui.h:
10318         * lyx_gui.C: move to frontends/
10319
10320         * main.C:
10321         * lyx_main.h:
10322         * lyx_main.C: changes from above
10323
10324 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10325
10326         * intl.C:
10327         * intl.h:
10328         * kbmap.C:
10329         * kbsequence.C:
10330         * lyx_cb.C:
10331         * lyx_main.C: minor tidy
10332
10333 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10334
10335         * BufferView_pimpl.h:
10336         * BufferView_pimpl.C:
10337         * BufferView.h:
10338         * BufferView.C: make painter() const,
10339           remove dead code
10340
10341         * BufferView2.C: use screen() accessor
10342
10343         * lyx_main.h:
10344         * lyx_main.C: some minor cleanup
10345
10346 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10347
10348         * BufferView_pimpl.h:
10349         * BufferView_pimpl.C: remove enter/leaveView,
10350           use workHeight()
10351
10352 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10353
10354         * BufferView.h:
10355         * BufferView.C:
10356         * BufferView2.C:
10357         * BufferView_pimpl.h:
10358         * BufferView_pimpl.C: only construct screen once,
10359           rename
10360
10361         * lyxrc.C: remove pointless comment
10362
10363 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10364
10365         * BufferView.h:
10366         * BufferView.C: remove active() and belowMouse()
10367
10368         * BufferView_pimpl.h:
10369         * BufferView_pimpl.C: use workarea() not workarea_,
10370           and make it use a scoped_ptr instead
10371
10372 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10373
10374         * lyx_gui.C: add debug message on BadWindow
10375
10376 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10377
10378         * sp_spell.C: fdopen is not part of the C++ standard.
10379
10380         * paragraph.C (InsetIterator): use >= instead of ==
10381
10382 2002-06-07  Angus Leeming  <leeming@lyx.org>
10383
10384         Fixes needed to compile with Compaq cxx 6.5.
10385         * BufferView_pimpl.C:
10386         * DepTable.C:
10387         * buffer.C:
10388         * converter.C:
10389         * encoding.C:
10390         * lyx_gui.C:
10391         * lyx_main.C:
10392         * lyxtextclasslist.C:
10393         * minibuffer.C:
10394         * sp_spell.C:
10395         * tabular_funcs.C:
10396         * vc-backend.C:
10397         all c-library variables have been moved into namespace std. Wrap
10398         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10399
10400         * lyxlength.C:
10401         * tabular-old.C:
10402         * tabular.C:
10403         Add a using std::abs declaration.
10404
10405         * kbmap.h (modifier_pair):
10406         * paragraph.h (InsetTable, InsetList):
10407         * lyxfont.h (FontBits):
10408         type definition made public.
10409
10410         * bufferlist.C (emergencyWriteAll): the compiler complains that
10411         there is more than one possible lyx::class_fun template to choose from.
10412         I re-named the void specialisation as lyx::void_class_fun.
10413
10414         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10415
10416         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10417         the compiler is is unable to find tostr in write_attribute.
10418
10419 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10420
10421         * buffer.C (sgmlError): hide #warning
10422
10423 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10424
10425         * xtl/*: get rid of xtl, which is not in use anyway
10426
10427         * LyXAction.C (init):
10428         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10429         were unimplemented xtl experimentation
10430
10431 2002-06-04  André Pönitz <poenitz@gmx.net>
10432
10433         * lyxfunc.C: disable array operation on simple formulae
10434
10435 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10436
10437         * converter.C: constify a bit
10438
10439 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10440
10441         * lyx_gui.C: check xforms version correctly
10442
10443 2002-04-30  Herbert Voss  <voss@lyx.org>
10444
10445         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10446         "keep" option
10447
10448 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10449
10450         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10451           attempt to register it with a VCS)
10452
10453 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10454
10455         * lyx_main.C (init): honor variables LYX_DIR_13x and
10456         LYX_USERDIR_13x
10457
10458 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10459
10460         * buffer.h:
10461         * buffer.C:
10462         * lyx_main.C: fix a crash on bad command line,
10463           and give a useful exit status on error
10464
10465         * lyxfunc.C (doImport): allow -i lyx to work
10466
10467 2002-03-30  André Pönitz <poenitz@gmx.net>
10468
10469         * lyxfunc.C: mathed font changes
10470
10471 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10472
10473         * LaTeX.C:
10474         * importer.h:
10475         * importer.C:
10476         * lyx_sty.h:
10477         * lyx_sty.C:
10478         * lyxlex.C:
10479         * lyxrow.h:
10480         * lyxtext.h:
10481         * paragraph.h:
10482         * paragraph.C:
10483         * texrow.h:
10484         * texrow.C:
10485         * text.C:
10486         * trans_mgr.h: srcdocs, and some minor cleanups
10487
10488 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10489
10490         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10491         call getFont all the time)
10492
10493 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10494
10495         * switch from SigC signals to boost::signals
10496
10497 2002-05-29  André Pönitz <poenitz@gmx.net>
10498
10499         * paragraph_pimpl.C (getChar): don't call size() too often...
10500
10501 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10502
10503         * paragraph_pimpl.C (insertChar): do not try to update tables when
10504         appending (pos == size())
10505
10506         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10507         in order to reduce drastically the number of comparisons needed to
10508         parse a large document
10509
10510 2002-05-29  André Pönitz <poenitz@gmx.net>
10511
10512         * text.C:
10513         * text2.C:
10514         * lyxtextclass.C:
10515         * sp_pspell.h:
10516         * textclasslist.[Ch]:
10517         * sp_ispell.h: whitespace change
10518
10519 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10520
10521         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10522         lyxaction directly now.
10523
10524 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10525
10526         * trans.C:
10527         * lyxfont.C:
10528         * lyxvc.C: remove unused headers
10529
10530 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10531
10532         * Makefile.am:
10533         * buffer.h:
10534         * undostack.h:
10535         * undostack.C:
10536         * undo_funcs.h:
10537         * undo_funcs.C: some cleanups. Use shared_ptr
10538           and a template for the undo stacks.
10539
10540 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10541
10542         * BufferView_pimpl.h:
10543         * BufferView_pimpl.C:
10544         * kbmap.h:
10545         * kbmap.C:
10546         * kbsequence.h:
10547         * kbsequence.C:
10548         * lyxfunc.h:
10549         * lyxfunc.C:
10550         * text2.C: use key_state/mouse_state
10551
10552 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10553
10554         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10555         and LSubstring
10556
10557         * chset.C: change include order
10558         (loadFile): use boost regex and get rid of LRegex and LSubstring
10559
10560         * Makefile.am (BOOST_LIBS): new variable
10561         (lyx_LDADD): use it
10562
10563         * LaTeX.C: change include order.
10564         (scanAuxFile): use boost regex and get rid of LRegex and
10565         LSubstring
10566         (deplog): ditto
10567
10568 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10569
10570         * ColorHandler.h:
10571         * ColorHandler.C:
10572         * FontInfo.h:
10573         * FontInfo.C: moved to frontends/xforms/
10574
10575         * FontLoader.h:
10576         * FontLoader.C: moved into frontends for GUIIzation
10577
10578         * Makefile.am:
10579         * lyx_gui.C:
10580         * lyxfont.C:
10581         * lyxfunc.C: changes from above
10582
10583 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10584
10585         * LColor.C: remove spurious X include
10586
10587         * BufferView_pimpl.C:
10588         * Makefile.am:
10589         * font.h:
10590         * font.C:
10591         * text.C:
10592         * text2.C: move font metrics to frontends/
10593
10594 2002-05-24  Juergen Vigna  <jug@sad.it>
10595
10596         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10597         setting the undo_cursor.
10598
10599         * ParagraphParameters.h: include local includes first.
10600
10601 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10602
10603         * BufferView_pimpl.C:
10604         * BufferView_pimpl.h:
10605         * Makefile.am:
10606         * WorkArea.h:
10607         * WorkArea.C:
10608         * screen.C: move WorkArea into frontends/
10609
10610         * lyxscreen.h:
10611         * screen.C:
10612         * text.C:
10613         * BufferView.C:
10614         * BufferView2.C: move LyXScreen into frontends/
10615
10616         * lyxlookup.h:
10617         * lyxlookup.C:
10618         * lyx_gui.C: move lyxlookup into frontends/xforms/
10619
10620 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10621
10622         * BufferView2.C:
10623         * BufferView_pimpl.C:
10624         * FontLoader.C:
10625         * LyXView.h:
10626         * LyXView.C:
10627         * Makefile.am:
10628         * WorkArea.C:
10629         * XFormsView.h:
10630         * XFormsView.C:
10631         * buffer.C:
10632         * bufferlist.C:
10633         * bufferview_funcs.C:
10634         * converter.C:
10635         * importer.C:
10636         * lyx_cb.C:
10637         * lyx_gui.C:
10638         * lyx_main.C:
10639         * lyx_find.C:
10640         * lyxfunc.C:
10641         * lyxvc.C:
10642         * minibuffer.C:
10643         * text.C:
10644         * text2.C:
10645         * trans.C:
10646         * vc-backend.C: move LyX/XFormsView into frontends/
10647
10648 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10649
10650         * Makefile.am:
10651         * PainterBase.C:
10652         * PainterBase.h:
10653         * Painter.C:
10654         * Painter.h:
10655         * WorkArea.C:
10656         * WorkArea.h:
10657         * screen.C:
10658         * tabular.C:
10659         * text.C:
10660         * text2.C: move Painter to frontends/
10661
10662 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10663
10664         * buffer.C: comment out some some code that depend upon lyx_format
10665         < 220
10666
10667         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10668         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10669
10670         * buffer.h (NO_COMPABILITY): turn off compability
10671
10672         * ColorHandler.C: include scoped_array.hpp
10673
10674         * font.C: Use more specific smart_ptr header.
10675         * Painter.C: ditto
10676         * gettext.C: ditto
10677         * ShareContainer.h: ditto
10678         * lyx_main.h: ditto
10679         * kbmap.h: ditto
10680         * FontInfo.h: ditto
10681         * BufferView_pimpl.h: ditto
10682         * ColorHandler.h: ditto
10683
10684         * kbmap.C (defkey): change call to shared_ptr::reset
10685
10686 2002-05-21  Juergen Vigna  <jug@sad.it>
10687
10688         * buffer.C (insertErtContents): fix to insert ert asis if it is
10689         non empty. Skip it completely if it contains only whitespaces.
10690
10691 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10692
10693         * BufferView_pimpl.C:
10694         * BufferView2.C: clear selection on paste (bug 393)
10695
10696 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10697
10698         * DepTable.C: include ctime
10699
10700 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10701
10702         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10703
10704 2002-05-14  Juergen Vigna  <jug@sad.it>
10705
10706         * text.C (breakParagraph): fixed function to honor the keepempty
10707         layout in the right maner and also to permit the right breaking
10708         algorithm on empty or non empyt keepempty paragraphs.
10709
10710         * paragraph.C (breakParagraph): we have to check also if the par
10711         is really empty (!size()) for isempty otherwise we do the wrong
10712         paragraph break.
10713
10714 2002-05-10  Juergen Vigna  <jug@sad.it>
10715
10716         * buffer.[Ch] : The following are only changes to the ert
10717         compatibility read reading old LaTeX layout and font stuff and
10718         convert it to ERTInsets.
10719
10720         * buffer.h: added isErtInset().
10721
10722         * buffer.C (struct ErtComp): add a fromlayout bool to check
10723         if we're inside a LaTeX layout.
10724         (isErtInset): new helper function.
10725         (insertErtContents): look for other ert insets before this one
10726         and insert the contents there, so that we don't have subsequent
10727         ERT insets with nothing between them. This way we create only one
10728         inset with multiple paragraphs. Also check if we don't insert only
10729         spaces ' ' as they are ignored anyway afterwards in the .tex file
10730         so if we have only spaces we will ignore this latex part in the
10731         new file.
10732         (parseSingleLyXformat2Token \\layout): better compatibility when
10733         reading layout-latex stuff.
10734         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10735         language tag.
10736         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10737         stuff after reading the inset only get the information back from
10738         the stack.
10739
10740 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10741
10742         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10743
10744         * LaTeXFeatures.C (getBabelOptions): New method.
10745
10746 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10747
10748         * BufferView_pimpl.C (Dispatch): work around missing argument for
10749         'layout'
10750
10751 2002-05-08  Juergen Vigna  <jug@sad.it>
10752
10753         * text.C (leftMargin): handle paragraph leftindent.
10754
10755         * paragraph.C (writeFile): write the new \\leftindent tag.
10756         (validate): handle leftindent code.
10757         (TeXEnvironment): handle paragraphleftindent code again.
10758
10759         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10760
10761         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10762         for paragrap_extra indent code and new token \\leftindent.
10763         (latexParagraphs): handle the leftindent as environment.
10764
10765         * ParameterStruct.h: added leftindent support.
10766
10767         * ParagraphParameters.C (leftIndent): added support functions for
10768         the paragraph left indent.
10769
10770         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10771         more appropriate.
10772
10773 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10774
10775         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10776         inside insetERT.
10777
10778         * text.C (computeBidiTables): No bidi in insetERT.
10779
10780         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10781         in RTL documents.
10782
10783 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10784
10785         * version.C.in: pre 5
10786
10787 2002-05-02  José Matos  <jamatos@fep.up.pt>
10788         * buffer.C (makeDocBookFile): white space changes, add newline to
10789         command styles.
10790         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10791
10792         * tabular.C (docBook): fix typo.
10793
10794 2002-05-03  Juergen Vigna  <jug@sad.it>
10795
10796         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10797         change in LyXText as we can not be sure it was not freed.
10798         (drawOneRow): remove unused code.
10799
10800         * text.C (drawInset): redo the calculation of the need_break_row as
10801         it could have a row which was already freed.
10802         (draw): look at the return value of drawInset and return false if
10803         it also returned false.
10804         (paintRowText): look at the return value of draw and return false if
10805         it also returned false.
10806
10807         * lyxtext.h: added bool return type to drawInset() and draw() so that
10808         if we have a change in the row so that the rowbreak has to be redone
10809         we abort drawing as it will be called again.
10810
10811 2002-05-02  Juergen Vigna  <jug@sad.it>
10812
10813         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10814         a change in the maintext also if we're inside an inset.
10815         (Dispatch): set the cursor again after a break line and after the
10816         screen has been updated as it could be we're in a different row.
10817
10818         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10819         to set the cursor behind the pargraph with > size().
10820         (setCursor): check also for the same paragraph when checking where
10821         to put the cursor if we have a NFR inset.
10822
10823         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10824         parts of layout read further up as it still was in the wrong
10825         position.
10826
10827 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10828
10829         * screen.C (drawFromTo): change sine fullRebreak always return
10830         true.
10831
10832         * buffer.C (parseSingleLyXformat2Token): reindent some
10833
10834         * BufferView_pimpl.C (update): change since fullRebreak always
10835         return true.
10836         (Dispatch): git rid of the last hardcoded "Standard"s.
10837
10838 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10839
10840         * text2.[Ch] (fullRebreak): make it return void now that we always
10841         returned true.
10842
10843 2002-04-30  Juergen Vigna  <jug@sad.it>
10844
10845         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10846         ert compatibility check for "latex" layout.
10847
10848 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10849
10850         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10851         minipages: use col% instead of p%, and also use the current font.
10852         (makeLaTeXFile): Fix use babel condition.
10853         (parseSingleLyXformat2Token): Correct font when reading old floats.
10854
10855 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10856
10857         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10858         inserting list of floats.
10859
10860 2002-04-25  Herbert Voss  <voss@lyx.org>
10861
10862         * MenuBackend.C (expand): don't add the graphics extensions to the
10863         export menu
10864
10865 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10866
10867         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10868         non-existing layout, do not complain if it was the default layout
10869         of the original class (bug #342)
10870
10871 2002-04-24  Juergen Vigna  <jug@sad.it>
10872
10873         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10874         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10875
10876 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10877
10878         * buffer.C (getBibkeyList): If using \bibliography, return the
10879         option field with the reference itself. Enables us to provide natbib
10880         support when using \bibliography.
10881
10882 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10883
10884         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10885
10886         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10887         natbib is provided by the LaTeX class.
10888
10889 2002-04-23  Juergen Vigna  <jug@sad.it>
10890
10891         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10892         Wakeup functions.
10893
10894         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10895
10896 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10897
10898         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10899
10900         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10901         ensuremath around textordmasculine, textordfeminine and
10902         textdegree.
10903
10904 2002-04-19  Juergen Vigna  <jug@sad.it>
10905
10906         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10907         reinitializing the buffer otherwise row-dimensions may be wrong.
10908         (update): reset also the selection cursors if they do exits otherwise
10909         their x/y positions may be wrong.
10910
10911         * text2.C (cursorDown): don't enter the inset if we came from a row
10912         above and are one row over the inset.
10913
10914         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10915         really leaving an inset.
10916
10917 2002-04-18  Juergen Vigna  <jug@sad.it>
10918
10919         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10920         of the selected paragraph does not have the selected layout also if
10921         the last one had!
10922
10923         * text2.C (setLayout): fixed bug which did not change last selected
10924         paragraph.
10925
10926         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10927         changed the read and substituted \\end_float with \\end_inset!
10928
10929         * BufferView_pimpl.C (cursorPrevious):
10930         (cursorNext): fixed to make it work with rows heigher than the work
10931         area without moving the cursor only the draw of the row.
10932         (workAreaMotionNotify): fix jumping over high rows.
10933
10934 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10935
10936         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10937         Ressler.
10938
10939 2002-04-16  Juergen Vigna  <jug@sad.it>
10940
10941         * text2.C (setCursor): set also the irow().
10942         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10943         (cursorUp):
10944         (cursorDown): support for locking an inset if the x_fix value goes
10945         inside it. That way I can transverse insets too with cursor up/down.
10946
10947         * lyxrow.h: added irow helper function same as other (i) functions.
10948
10949         * BufferView_pimpl.C (cursorPrevious):
10950         (cursorNext): fixed for insets!
10951
10952 2002-04-15  Juergen Vigna  <jug@sad.it>
10953
10954         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10955         position otherwise it is wrong in some cases.
10956
10957         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10958         inside the inset before the call.
10959
10960 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10961
10962         * buffer.[Ch] (getBibkeyList): make it const.
10963
10964 2002-04-12  Juergen Vigna  <jug@sad.it>
10965
10966         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10967
10968         * text2.C (getCursorX): new helper function
10969         (setCursor): compute also ix_
10970         (setCursorFromCoordinates): set also ix.
10971
10972         * lyxcursor.h: added ix_ and helper functions.
10973
10974         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10975
10976         * buffer.C (insertStringAsLines): dont break paragraph if the this
10977         paragraph is inside an inset which does not permit it!
10978
10979         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10980         also with no chars on this paragraph.
10981         (paintRowText): only paint stuff if it's inside the workarea!
10982
10983         * paragraph.C (breakParagraph): honor keepempty flag and break the
10984         paragraph always below not above.
10985
10986         * BufferView2.C (unlockInset): update the paragraph layout on inset
10987         unlock as we changed paragraph in such a case.
10988
10989         * lyxfind.C (LyXFind): clear the former selection if not found!
10990
10991         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10992         again called in insertChar().
10993
10994         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10995         an inset which uses the whole row!
10996         (rightMargin): ditto.
10997         (insertChar): force a rebreak if we inserted an inset!
10998
10999 2002-03-28  Herbert Voss  <voss@lyx.org>
11000
11001         * lyxlength.[Ch]: add inBP() to get the right PS-point
11002         units (BigPoint). With inPixels we have rounding errors
11003
11004 2002-04-11  Juergen Vigna  <jug@sad.it>
11005
11006         * text2.C (setCursorFromCoordinates): set iy to the right value.
11007         (setCursor): add check if row->previous exists!
11008
11009         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11010         an old float_type as this was the case in the old code!
11011
11012         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11013
11014         * BufferView2.C (showLockedInsetCursor): use iy
11015         (fitLockedInsetCursor): ditto
11016
11017         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11018         locked insets as there we have the right value now.
11019
11020         * lyxcursor.C: added iy_ variable and iy functions to set to the
11021         baseline of cursor-y of the locked inset.
11022
11023         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11024         (setCursor): fixed for insets which need a full row.
11025
11026         * text.C (rowLastPrintable): don't ignore the last space when before
11027         an inset which needs a full row.
11028         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11029         as last character of a row when before a inset which needs a full row.
11030
11031 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11032
11033         * version.C.in: update date
11034
11035         * text2.C (fullRebreak): try to always return true and see what
11036         happens...
11037
11038 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11039
11040         * MenuBackend.C (expand): use Floating::listName
11041
11042         * FloatList.C (FloatList): add listName argument to the built-in
11043         floats
11044
11045         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11046         text associated with the float.
11047
11048 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11049
11050         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11051
11052 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11053
11054         * ShareContainer.h: add a couple of missing typenames.
11055
11056 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11057
11058         * lyxrc.C (getDescription): use _() correctly rather than N_().
11059
11060 2002-03-28  Herbert Voss  <voss@lyx.org>
11061
11062         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11063         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11064
11065 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11066
11067         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11068         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11069
11070 2002-03-29  Juergen Vigna  <jug@sad.it>
11071
11072         * lyxfunc.C (dispatch): add a missing fitCursor call.
11073
11074         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11075         it was scrolled by a cursor move, so return the bool status.
11076
11077         * BufferView.C (fitCursor): return the bool flag also to the outside
11078         world as this is needed.
11079
11080         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11081
11082         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11083         call the edit() as it is not needed (and wrong) IMO.
11084         (workAreaButtonPress): set the screen_first variable before evt.
11085         unlock the inset as this may change screen_first and then we have
11086         a wrong y position for the click!
11087
11088 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11089
11090         * MenuBackend.C (expand): another translation that I missed
11091
11092 2002-03-28  Juergen Vigna  <jug@sad.it>
11093
11094         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11095
11096         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11097
11098 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11099
11100         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11101
11102         * MenuBackend.C (expand): fix export/view/update when there is no
11103         document open.
11104
11105 2002-03-27  Herbert Voss  <voss@lyx.org>
11106
11107         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11108         and text%
11109
11110 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11111
11112         * bufferview_funcs.C (currentState): only show paragraph number
11113         for is DEVEL_VERSION is set.
11114
11115         * lyxfunc.C (dispatch): put warning in INFO channel
11116
11117         * MenuBackend.C (expand): translate the name of floats
11118
11119         * FloatList.C (FloatList): mark the float names for translation
11120
11121         * converter.C (convert): use LibScriptSearch
11122
11123 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11124
11125         * MenuBackend.C (defaults): fix default menu (we might as well get
11126         rid of it...)
11127
11128 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11129
11130         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11131         directory.
11132
11133 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11134
11135         * lyxvc.C: reorder includes.
11136
11137 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11138
11139         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11140           properly
11141
11142 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11143
11144         * CutAndPaste.C: change layouts earlier on paste
11145           to avoid crashing when calling getFont()
11146
11147 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11148
11149         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11150         irritating #error.
11151
11152 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11153
11154         * WorkArea.C: remove 'Pending' debug message.
11155
11156         * most files: ws cleanup
11157
11158         * buffer.[Ch]: ws changes
11159
11160         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11161
11162 2002-03-21  Juergen Vigna  <jug@sad.it>
11163
11164         * tabular.C (SetMultiColumn): collapse also the contents of the
11165         cells and set the last border right. Added a Buffer const * param.
11166
11167 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11168
11169         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11170         linking or not.
11171
11172 2002-03-19  Juergen Vigna  <jug@sad.it>
11173
11174         * text2.C (clearSelection): reset also xsel_cache.
11175
11176         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11177         where it needs to be called (John tells us to do so too :)
11178         (selectionLost): reset sel_cache.
11179
11180         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11181
11182 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11183
11184         * text2.C (setCursorIntern): put debuging code in INSETS channel
11185
11186 2002-03-19  André Pönitz <poenitz@gmx.net>
11187
11188         * lyxfunc.C: tiny whitespace change
11189
11190 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11191
11192         * ToolbarDefaults.C (init):
11193         * LyXAction.C (init):
11194         * commandtags.h:
11195         * BufferView_pimpl.C (Dispatch):
11196         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11197
11198 2002-03-19  Allan Rae  <rae@lyx.org>
11199
11200         * exporter.C (Export): removeAutoInsets before doing anything else.
11201         While I've just introduced a dependency on BufferView this really is
11202         the best place to clean the buffer otherwise you need to cleanup in
11203         a dozen places before calling export or cleanup in a dozen functions
11204         that export calls.
11205
11206         * converter.C (runLaTeX):
11207         (scanLog): Better handling of removeAutoInsets and screen updates.
11208
11209         * lyxfunc.C (dispatch): small whitespace changes
11210
11211 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11212
11213         * WorkArea.C (C_WorkAreaEvent): return a value.
11214         (event_cb): return 1 if we handled the event, 0 otherwise.
11215
11216         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11217
11218 2002-03-18  Juergen Vigna  <jug@sad.it>
11219
11220         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11221         (GetAdditionalWidth): ditto.
11222         (RightLine): ditto.
11223         (LeftLine): ditto.
11224
11225         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11226         inset if we're there actually (probably not used right now but this
11227         is the direction to go for unifying code).
11228         (paste): disable code to clear the selection.
11229
11230         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11231         inside an InsetText and move the check further up as it is in the
11232         wrong place.
11233
11234         * text2.C (pasteSelection): set a selection over the pasted text.
11235
11236 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11237
11238         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11239         and libgraphics to build on Cygwin.
11240
11241 2002-03-15  Juergen Vigna  <jug@sad.it>
11242
11243         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11244         inserting an Inset into the paragraph. I know this is not the best
11245         fix but we already use current_view in CutAndPaste so we will remove
11246         all of it's using at the same time.
11247
11248         * buffer.C (sgmlError): deactivated function till it is rewritten in
11249         the right mode, now it can create problems.
11250
11251         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11252         before accessing it.
11253
11254 2002-03-14  Juergen Vigna  <jug@sad.it>
11255
11256         * undo_funcs.C (textHandleUndo): do the right thing when updating
11257         the inset after the undo/redo.
11258
11259         * text2.C (setCursor): just some testcode for #44 not ready yet.
11260
11261         * undo_funcs.C (textHandleUndo): set the next() and previous()
11262         pointers of the paragraph to 0 before deleting otherwise we have
11263         problems with the Paragraph::[destructor].
11264
11265         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11266         on a paragraph insertion.
11267
11268 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11269
11270         * buffer.C (asciiParagraph): use += operator for char append to
11271         string.
11272
11273         * paragraph.C (getFontSettings): compare >= not just >
11274         (highestFontInRange): ditto
11275         (setFont): ditto
11276
11277 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11278
11279         * paragraph.C: change several algorithm to be more appripriate for
11280         the problem domain. This is lookip in FontList and in the InsetList.
11281
11282 2002-03-13  André Pönitz <poenitz@gmx.net>
11283
11284         * commandtags.h:
11285         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11286
11287 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11288
11289         * commandtags.h:
11290         * LyXAction.C:
11291         * lyxfunc.C:
11292         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11293
11294 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11295
11296         * Painter.C (display): anon helper function, adjust code for this
11297         change.
11298         (pixmap): remove function.
11299
11300         * Painter.h: remove private display variable.
11301
11302         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11303
11304 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11305
11306         * WorkArea.[Ch]: remove figinset_canvas cruft.
11307
11308 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11309
11310         * lyxtextclass.C (operator): add one item cache optimization.
11311
11312         * bufferlist.h: doxy changes
11313
11314         * bufferlist.C: ws changes
11315
11316         * DepTable.[Ch] (ext_exist): place const in the right spot.
11317
11318         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11319         call resizeInsets.
11320         (workAreaExpose): call resizeInsets when the with BufferView changes.
11321         (Dispatch): adjust for protectedBlank removal
11322         (specialChar): call updateInset if the insert went ok.
11323
11324         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11325         specialChar instead.
11326
11327         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11328
11329         * BufferView.h: doxy change
11330
11331         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11332
11333         * lyxtextclass.C (operator[]): remove non-const version
11334         (defaultLayout): remove non-const version
11335
11336 2002-03-12  Juergen Vigna  <jug@sad.it>
11337
11338         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11339         did resize the LyXText too.
11340
11341         * buffer.C (readLyXformat2): set layout information on newly allocated
11342         paragraphs.
11343
11344         * tabular.C (OldFormatRead): set layout information on the paragraph.
11345
11346 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11347
11348         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11349
11350 2002-03-11  Juergen Vigna  <jug@sad.it>
11351
11352         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11353         plainly wrong.
11354         (resizeCurrentBuffer): force also the insets to resize themselfes.
11355         (moveCursorUpdate): fixed up for InsetText.
11356
11357 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11358
11359         * commandtags.h:
11360         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11361         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11362         value of Dialogs::tooltipsEnabled().
11363         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11364
11365 2002-03-08  Juergen Vigna  <jug@sad.it>
11366
11367         * BufferView_pimpl.C (updateInset): update inset inside inset also
11368         if it isn't inside theLockingInset().
11369
11370 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11371
11372         * buffer.C (asciiParagraph): redo some of the word and line length
11373         handling.
11374         (getLists): look for Caption instead of caption.
11375
11376 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11377
11378         * buffer.C (Buffer): initialize niceFile to true
11379         (makeLaTeXFile):
11380         (makeLinuxDocFile):
11381         (makeDocBookFile): make sure niceFile is true on exit
11382
11383 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11384
11385         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11386
11387 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11388
11389         * LyXSendto.C: remove.
11390         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11391         * lyx_gui.C: remove now-redundant comment.
11392         * ColorHandler.h: remove forward declaration of class WorkArea.
11393         * lyxfunc.C: remove #include "WorkArea.h".
11394
11395 2002-03-07  Juergen Vigna  <jug@sad.it>
11396
11397         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11398         got moved away with the DEPM and also set the inset_owner always
11399         right which before could have been omitted.
11400
11401 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11402
11403         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11404         wanted layout is not found.
11405
11406 2002-03-07  Juergen Vigna  <jug@sad.it>
11407
11408         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11409
11410 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11411
11412         * paragraph.C (breakParagraph): use default layout not layout of
11413         prev paragraph.
11414         (Paragraph): clear ParagraphParameters.
11415
11416 2002-03-06  Juergen Vigna  <jug@sad.it>
11417
11418         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11419         otherwise it would not be a valid lenght. Fixed a special case in
11420         the minipage compatibility read where we end the document with a
11421         minipage.
11422
11423         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11424         was set as it could be 0 for InsetTexts first entry.
11425
11426 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11427
11428         * paragraph.C (writeFile): if layout is empty write out
11429         defaultLayoutName().
11430
11431         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11432         file without named layout we set layout to defaultLayoutName().
11433
11434 2002-03-06  Juergen Vigna  <jug@sad.it>
11435
11436         * CutAndPaste.C (copySelection): set layout for new paragraph.
11437
11438         * text.C (prepareToPrint): leave ERT inset left aligned
11439         (leftMargin): don't indent paragraphs inside ERT insets
11440
11441 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11442
11443         * paragraph.C (breakParagraph): dont call clear do the work manually
11444
11445         * paragraph.[Ch] (clear): remove function
11446
11447 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11448
11449         * paragraph.C (Paragraph): dont call clear, the work has already
11450         been done.
11451
11452         * lyxtextclass.C (operator): assert if n is empty
11453
11454         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11455         work manually instead.
11456
11457 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11458
11459         * BufferView_pimpl.C: protect selectionLost against text == 0
11460
11461 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11462
11463         * text.C (breakParagraph): fix a setting layout to '0' problem.
11464
11465 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11466
11467         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11468         final location of file, for the included files, and graphics.
11469
11470 2002-03-05  Juergen Vigna  <jug@sad.it>
11471
11472         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11473
11474 2002-03-04  Juergen Vigna  <jug@sad.it>
11475
11476         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11477
11478         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11479         last column of multicolumn cells.
11480         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11481
11482 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11483
11484         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11485         file if it doesn't go to a temporary file.
11486
11487         * buffer.C (sgmlOpenTag):
11488         (sgmlCloseTag):  remove extra newline insertion.
11489
11490 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11491
11492         * text.C (getRowNearY): comment out debug msg
11493
11494 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11495
11496         * text2.C: first -> first_y
11497
11498         * text.C (getRowNearY): add some attemts at a possible
11499         optimization, not working.
11500
11501         * tabular.[Ch]: add BufferParams to several function so that newly
11502         created paragraph can be initialized to he default layotu for the
11503         buffers textclass.
11504
11505         * tabular-old.C (ReadOld): add buf->params to call of Init
11506
11507         * screen.C: rename text->first to text->first_y
11508
11509         * paragraph.C (breakParagraph): always set layout in the broken
11510         paragraph
11511
11512         * lyxtextclass.C (Read): remove lowercase
11513         (hasLayout): ditto
11514         (operator): ditto
11515         (delete_layout): ditto
11516
11517         * lyxtext.h: rename first -> first_y
11518
11519         * lyxlayout.C (Read): remove lowercase
11520         (name): ditto
11521         (setName): ditto
11522         (obsoleted_by): ditto
11523
11524         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11525
11526         * buffer.C (insertErtContents): add params are to InsetERT
11527         (parseSingleLyXformat2Token): add code to check if a paragraphs
11528         layout really exist.
11529         (parseSingleLyXformat2Token): add params to several inset
11530         constructors
11531         (asciiParagraph): remove lowercase, do the layout comparisons with
11532         no_case
11533
11534         * BufferView_pimpl.C (cursorNext): first -> first_y
11535         (resizeCurrentBuffer): first -> first_y
11536         (updateScrollbar): first -> first_y
11537         (scrollCB): first -> first_y
11538         (workAreaMotionNotify): first -> first_y
11539         (workAreaButtonPress): first -> first_y
11540         (checkInsetHit): first -> first_y
11541         (cursorPrevious): first -> first_y
11542         (cursorNext): first -> first_y
11543         (Dispatch): add buffer_->params to severl inset contructors
11544
11545 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11546
11547         * lyxlayout.C (Read): remove some debug info that I forgot.
11548
11549         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11550         clean up the code slightly.
11551         (makeLinuxDocFile): ditto
11552         (makeDocBookFile): ditto
11553
11554         * text2.C: layout as string
11555
11556         * text.C: layout as string
11557
11558         * paragraph_pimpl.C: layout as string
11559
11560         * paragraph.[Ch]: layout as string
11561
11562         * lyxtextclasslist.[Ch]: layout as string
11563
11564         * lyxtextclass.[Ch]: layout as string
11565
11566         * lyxtext.h: layout as string
11567
11568         * lyxlayout.[Ch]: layout as string
11569
11570         * lyx_cb.C: layout as string
11571
11572         * bufferview_funcs.C: layout as string
11573
11574         * bufferparams.C: layout as string
11575
11576         * buffer.C: layout as string
11577
11578         * LyXView.[Ch]: layout as string
11579
11580         * LaTeXFeatures.[Ch]: layout as string
11581
11582         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11583
11584         * BufferView_pimpl.C: change current_layout to string, remove
11585         lyx::layout_type.
11586         (Dispatch):
11587         (smartQuote):
11588         (insertInset):
11589         (workAreaButtonRelease): layout as string
11590
11591         * BufferView2.C (unlockInset): adjust
11592
11593         * vspace.C (asLatexCommand): use an explict temp variable.
11594
11595 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11596
11597         * Makefile.am: use FRONTEND_*
11598
11599 2002-03-01  Juergen Vigna  <jug@sad.it>
11600
11601         * tabular.C (SetWidthOfMulticolCell): changed to something better
11602         I hope but still work in progress.
11603         (recalculateMulticolumnsOfColumn): renamed function from
11604         recalculateMulticolCells as it is more appropriate now.
11605         (SetWidthOfCell): calculate multicols better.
11606
11607 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11608
11609         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11610
11611         * lyxfunc.C (processKeySym): print sequence also if it is
11612         `deleted' (complete)
11613
11614         * kbsequence.C (print): print sequence even if it is deleted
11615         (complete would be a better word, actually).
11616
11617         * lyxfunc.C (dispatch): print complete options after a prefix key
11618
11619         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11620
11621 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11622
11623         * text2.C (setCharFont): eliminate setCharFont code duplication.
11624
11625 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11626
11627         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11628         LFUN_TABULAR_FEATURE (bug #177)
11629
11630 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11631
11632         * Makefile.am: remove figure.h
11633
11634 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11635
11636         * Bufferview_pimpl.C:
11637         * CutAndPasteC:
11638         * LaTeX.C:
11639         * LyXSendto.C:
11640         * buffer.C:
11641         * bufferlist.C:
11642         * converter.C:
11643         * language.C:
11644         * lyxfunc.C:
11645         * lyxvc.C:
11646         * paragraph.C:
11647         * text.C:
11648         * text2.C: remove #include "lyx_gui_misc.h".
11649
11650         * LaTeX.C: added #include <cstdio>
11651
11652 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11653
11654         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11655         that the paragraph following this one can have.
11656
11657         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11658
11659         * vspace.C (asLatexCommand): fix bogus gcc warning
11660
11661         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11662
11663 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11664
11665         * text2.C (setLayout): get rid of redundant code
11666
11667 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11668
11669         * text2.C (incDepth): make sure depth cannot be increased beyond
11670         reasonable values.
11671
11672 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11673
11674         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11675         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11676
11677         * PainterBase.h (image):
11678         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11679         a LyXImage const *.
11680
11681 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11682
11683         * BufferView.C:
11684         * BufferView.h:
11685         * BufferView_pimpl.C:
11686         * BufferView_pimpl.h:
11687         * LaTeXFeatures.C:
11688         * LyXAction.C:
11689         * LyXView.C:
11690         * Makefile.am:
11691         * UpdateList.h:
11692         * UpdateList.C:
11693         * buffer.C:
11694         * figure.h:
11695         * figureForm.C:
11696         * figureForm.h:
11697         * figure_form.C:
11698         * figure_form.h:
11699         * lyx_cb.C:
11700         * lyx_gui.C:
11701         * lyx_gui_misc.C:
11702         * lyxfunc.C:
11703         * sp_base.h:
11704         * sp_ispell.h:
11705         * sp_pspell.h:
11706         * sp_spell.C: remove fig inset, and the crap house of
11707           cards that follows it
11708
11709 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11710
11711         * Makefile.am:
11712         * lyxserver.C:
11713         * os2_defines.h:
11714         * os2_errortable.h:
11715         * nt_defines.h: move .h into support/
11716
11717         * vms_defines.h: remove
11718
11719         * WorkArea.C: add space in debug output
11720
11721         * text2.C:
11722         * paragraph.C:
11723         * buffer.C: add WITH_WARNINGS
11724
11725         * vc-backend.h:
11726         * vc-backend.C:
11727         * bufferlist.C: s/retrive/retrieve/, add docs
11728
11729         * vspace.h:
11730         * vspace.C:
11731         * kbmap.h:
11732         * lyxlength.h:
11733         * lyxgluelength.h:
11734         * length_common.h:
11735         * chset.h:
11736         * chset.C: add docs
11737
11738         * lyxgui.C: add ID to X error handler
11739
11740         * lyxtestclass.c: fix typo
11741
11742 2002-02-26  Juergen Vigna  <jug@sad.it>
11743
11744         * tabular_funcs.C (write_attribute): changed so that some default
11745         attributes are not written at all.
11746         (getTokenValue): set default values before trying to read the
11747         value so we have the return value always set as default if we don't
11748         find the token we search for.
11749
11750         * tabular.C (Write): write bools as bools not as strings!
11751
11752 2002-02-22  Juergen Vigna  <jug@sad.it>
11753
11754         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11755         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11756
11757         * text.C (leftMargin): don't add an indent for paragraphs inside
11758         tabular cells (fix #208).
11759
11760 2002-02-21  José Matos  <jamatos@fep.up.pt>
11761
11762         * tabular.C (docBook): fixed support for long tables.
11763
11764 2002-02-20  Juergen Vigna  <jug@sad.it>
11765
11766         * text2.C (getFont): get the drawing font of the Inset if this
11767         paragraph is inside an inset (only important for InsetERT for now).
11768
11769         * buffer.C (insertErtContents): use new lanugage params in ERT
11770         constructor.
11771
11772         * CutAndPaste.C: commenting out seemingly uneeded code.
11773
11774 2002-02-19  Allan Rae  <rae@lyx.org>
11775
11776         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11777         Iterators might be simple to use but they also get invalidated.
11778         (removeAutoInsets): renamed saved cursor tracking variables and added
11779         some comments to clarify what everything does.
11780
11781 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11782
11783         * Chktex.C:
11784         * LaTeX.C:
11785         * LyXSendto.C:
11786         * converter.C:
11787         * lyx_cb.C:
11788         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11789         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11790
11791         * lyxfunc.C:
11792         * vc-backend.h: remove #include "support/syscall.h"
11793
11794         * LaTeX.C:
11795         * LyXSendto.C:
11796         * converter.C: rearrange #includes in Lars' approved fashion.
11797
11798         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11799         forward declare class Timeout in the header file.
11800
11801         * XFormsView.C: changes due to the above.
11802
11803         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11804         similar to LyXView.
11805
11806         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11807         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11808
11809 2002-02-18  José Matos  <jamatos@fep.up.pt>
11810
11811         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11812         insets contents.
11813
11814 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11815
11816         * a lot of small ws changes
11817         * add a lot of using std::XXX
11818         * use std construcs some places where approp.
11819         * use some exisint stuff from lyxfunctional where approp.
11820         * Make file changes to use partial linking (lets test this now...)
11821
11822 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11823
11824         * Chktex.C:
11825         * buffer.C:
11826         remove #include "support/syscontr.h" as it's redundant. Always has been.
11827
11828         * Chktex.C:
11829         * LaTeX.C:
11830         * LyXSendto.C:
11831         * converter.C:
11832         * lyx_cb.C:
11833         * vc-backend.C:
11834         change Systemcalls::System to Systemcalls::Wait and
11835         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11836         No change of functionality, just reflects the stripped down Systemcalls
11837         class.
11838
11839 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11840
11841         * debug.[Ch]: add a GRAPHICS type to the enum.
11842
11843 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11844
11845         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11846
11847         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11848         there is an inset.
11849
11850 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11851
11852         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11853         match the changes below.
11854
11855         * text2.C (toggleInset): if there is not editable inset at cursor
11856         position, try to see if cursor is _inside_ a collapsable inset
11857         and close it.
11858
11859 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11860
11861         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11862         document menu has a nice checkbox
11863
11864 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11865
11866         * lyxlength.C (asLatexString): change PW to output as percent of
11867         \textwidth.
11868
11869         * lengthcommon.C: change '%' to 't%'
11870
11871         * lyxfunc.C (dispatch): a few comments from Martin
11872
11873 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11874
11875         * WorkArea.h:
11876         * WorkArea.C:
11877         * BufferView_pimpl.h:
11878         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11879           the X selection.
11880
11881 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11882
11883         * vspace.C (inPixels): fix compiler warning
11884
11885 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11886
11887         * lyxfunc.C (getStatus): fix status message for disabled commands.
11888
11889 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11890
11891         * BufferView_pimpl.C: fix crash on close buffer
11892         during selection (#227)
11893
11894 2002-01-27  Herbert Voss  <voss@lyx.org>
11895
11896         * buffer.C: link old Figure to new graphic inset
11897
11898 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11899
11900         * FontLoader.C (getFontinfo): Change the latex font names in order
11901         to match the names of type1inst.
11902
11903 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11904
11905         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11906
11907         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11908         (extchanged): ditto
11909         (ext_exist): ditto
11910         (remove_files_with_extension): ditto
11911         (remove_file): ditto
11912         (write): ditto
11913
11914         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11915         document is smaller than the work area height. Do not initialize
11916         static variables to 0.
11917
11918 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11919
11920         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11921
11922         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11923         LFUN_LAYOUT_PARAGRAPHS.
11924
11925         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11926         tabular. It is possible to provide a possible cell, which will
11927         typically be the actcell from the corresponding insettabular
11928
11929         * lyxfunc.C (getStatus): small cleanup; disable
11930         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11931         true
11932
11933 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11934
11935         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11936
11937         * paragraph.C (startTeXParParams):
11938         (endTeXParParams): new methods. The LaTeX code to
11939         start/end paragraph formatting
11940         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11941         empty (fixes bug #200)
11942
11943         * vspace.C (inPixels): adapt to the change below
11944         (inPixels): [later] more cleanups (remove unused variables)
11945
11946         * lyxlength.C (inPixels): change to use a width and a height as
11947         parameter.
11948
11949 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11950
11951         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11952         Replaced with \paperwidth
11953
11954         * DepTable.C (insert): add std:: qualifier
11955
11956 2002-01-18  Allan Rae  <rae@lyx.org>
11957
11958         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11959         updated also?
11960
11961         * text.C (drawInset): Turned out I didn't know enough about how
11962         rebreaking worked.  This fixes most of the redraw problems.  I see
11963         an occasional cursor trail when a line is broken now and the cursor
11964         placement can seem out by a few pixels also after a rebreak.
11965
11966 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11967
11968         * buffer.C (parseSingleLyXformat2Token): update because minipage
11969         width is now a LyXLength
11970
11971         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11972
11973         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11974         math insets
11975
11976 2002-01-17  Juergen Vigna  <jug@sad.it>
11977
11978         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11979
11980         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11981         is set correctly and the inset is updated correctly.
11982
11983 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11984
11985         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11986         the beginning of the loop.
11987
11988 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11989
11990         * lyxrc.C: improve help for use_scalable_fonts
11991
11992 2002-01-17  Allan Rae  <rae@lyx.org>
11993
11994         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11995
11996 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11997
11998         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11999         make sure to set their inset_owner to the right value (bug #171)
12000
12001 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12002
12003         * DepTable.h
12004         * DepTable.C: Implement mtime checking to reduce time spent doing
12005         CRCs.
12006
12007 2002-01-16  Juergen Vigna  <jug@sad.it>
12008
12009         * tabular.C (GetAdditionalHeight): one of error fixed.
12010
12011         * lyxrc.C (output): small fix in writing use_pspell.
12012
12013 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12014
12015         * sp_base.h: #include LString.h
12016
12017 2002-01-16  Allan Rae  <rae@lyx.org>
12018
12019         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12020         Can someone check this please?
12021
12022         * text.C (drawInset): It was possible that p.row would be removed by
12023         breakAgainOneRow upsetting a few other settings.  There may be another
12024         small tweak possible by setting need_break_row = 0 when p.row has been
12025         removed but I don't know enough about the logic here.
12026
12027 2002-01-15  Allan Rae  <rae@lyx.org>
12028
12029         * text.C (insertChar): removed conditional truism.
12030
12031         * BufferView2.C (removeAutoInsets): More tweaks.
12032         cur_par_prev could be a stray pointer.  Check for trailing empty line
12033         in case last line was cur_par and only had an error inset on it.
12034
12035 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12036
12037         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12038         absolute
12039
12040         * vc-backend.C (most methods):
12041         * exporter.C (Export):
12042         * converter.C (convert):
12043         (runLaTeX):
12044         * LyXSendto.C (SendtoApplyCB):
12045         * lyxfunc.C (dispatch):
12046         (menuNew):
12047         (open):
12048         (doImport):
12049         * lyx_cb.C (AutoSave):
12050         (InsertAsciiFile):
12051         * BufferView_pimpl.C (MenuInsertLyXFile):
12052         * buffer.C (runChktex): use Buffer::filePath().
12053
12054         * buffer.h: rename filename to filename_; rename filepath to
12055         filepath_ and make it private
12056         (filePath): new method
12057
12058         * buffer.C (writeFile): use fileName()
12059         (getLatexName):
12060
12061         * lyx_main.C (init): fix starting  of LyX when the binary is a
12062         link from so,ewhere else.
12063
12064         * minibuffer.C: include <cctype> for isprint
12065
12066 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12067
12068         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12069         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12070         name clash with InsetCollapsable's width function.
12071
12072 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12073
12074         * lastfiles.C: include <iterator>
12075
12076 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12077
12078         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12079         std::count.
12080
12081         * buffer.C (makeLaTeXFile): ditto.
12082         Also make loop operation more transparent.
12083
12084 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12085
12086         * ToolbarDefaults.C: remove trailing comma closing namespace.
12087
12088         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12089
12090         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12091         as in WorkArea.
12092
12093         * trans.C (Load): comment out unused variable, allowed.
12094
12095 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12096
12097         * minibuffer.[Ch] (append_char): new method to recieve input from the
12098         drop-down completion browser. If a key was pressed, then recieve this
12099         char and append it to the existing string.
12100         (peek_event): modify the positioning data passed to the completion
12101         browser so that it can be placed above the minibuffer rather than below.
12102 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12103
12104         * LyXAction.C (init): alloe error-next for readonly documents.
12105
12106         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12107         count.
12108
12109 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12110
12111         * bufferlist.C (readFile): create the buffer _after_ checking that
12112         the file exists.
12113
12114         * lyxfunc.C (verboseDispatch): fix handling of arguments
12115
12116         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12117
12118         * lyxrc.C: use string::erase() instead of initializing to "".
12119
12120
12121 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12122
12123         * BufferView_pimpl.h:
12124         * BufferView_pimpl.C:
12125         * WorkArea.h:
12126         * WorkArea.C:
12127         * text2.C: tell X when we have made a selection for copying
12128
12129 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12130
12131         * BufferView_pimpl.C (MenuInsertLyXFile):
12132         * lyxfunc.C (menuNew):
12133         (open):
12134         (doImport): add shortcuts to directory buttons
12135
12136         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12137         open a float)
12138
12139         * lyxfunc.C (setStatusMessage):
12140         (getStatusMessage): new methods
12141         (getStatus):use setStatusMessage instead of setErrorMessage
12142         (dispatch): when function is disabled, set error message here
12143         [instead of in getStatus previously]
12144
12145         * BufferView_pimpl.C (workAreaButtonRelease): update
12146         toolbar/menubar here too.
12147
12148 2002-01-13  Allan Rae  <rae@lyx.org>
12149
12150         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12151         Now seems indestructible.  Remaining task is to audit all other
12152         code affected by deleteEmptyParagraphMechanism.  One small quirk
12153         left is that an empty document with an error in the preamble can
12154         be made to report an error but no error box appears.  I don't know
12155         where it goes.
12156         (removeAutoInsets): Improved comments.
12157
12158 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12159
12160         * Thesaurus.h:
12161         * Thesaurus.C: update for Aiksaurus 0.14
12162
12163 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12164
12165         * text2.C (firstParagraph): removed member function, all uses
12166         replaces with ownerParagraph
12167         (redoParagraphs): here
12168         (updateInset): here
12169         (toggleAppendix): here
12170         * BufferView2.C (insertErrors): here
12171         (setCursorFromRow): here
12172
12173 2002-01-13  Allan Rae  <rae@lyx.org>
12174
12175         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12176         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12177         There is still a way to segfault this although you may have to do this
12178         multiple times: Have an InsetERT with an unknown command in it.
12179         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12180         <down-arrow>, <Enter> again, View->DVI, BANG!
12181
12182         * text2.C (setCursor):
12183         (deleteEmptyParagraphMechanism):
12184         * lyxtext.h (setCursor):
12185         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12186         Making use of the return value may help fix other bugs.
12187
12188 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12189
12190         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12191
12192         * LyXView.C (updateMenubar): call MenuBar::update here
12193         (updateToolbar): but not here
12194         (showState): do not update toolbar/menubar
12195
12196         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12197         should need to care about that.
12198
12199         * lyxfunc.C (verboseDispatch): simplify a bit
12200         (getStatus): have a version which takes a pseudoaction, and
12201         another which requires a (kb_action,string).
12202
12203         * LyXAction.C (retrieveActionArg): make it work also when action
12204         is not a pseudo-action.
12205         (getActionName): simplify a bit
12206         (helpText):
12207
12208 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12209
12210         * lyxfunc.C (verboseDispatch): new families of methods with
12211         several ways to specify a command and a bool to indicate whether
12212         the command name and shortcut should be displayed in minibuffer
12213         (eventually, we could extend that to a finer bitmask like
12214         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12215         (dispatch): the pristine dispatch command which just, well,
12216         dispatchs! Note it still sets its result to minibuffer; I'm not
12217         sure we want that.
12218
12219         * lyxfunc.h: remove setHintMessage
12220
12221         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12222
12223 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12224
12225         * BufferView_pimpl.C (specialChar): delete new inset if we have
12226         not been able to insert it.
12227
12228         * kbmap.C: revert to using int instead of kb_action, since all we
12229         are dealing with is pseudo-actions.
12230
12231         * LyXAction.C (searchActionArg): change to return int instead of
12232         kb_action, since the result is a pseudoaction.
12233
12234 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12235
12236         * buffer.C (insertErtContents): Fix (partially) the font bug.
12237
12238 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12239
12240         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12241         as the other one is broken on my machine!
12242
12243 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12244
12245         * commandtags.h:
12246         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12247
12248 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12249
12250         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12251         reflect their actual use. Provide compatibility code for older lyxrc
12252         files.
12253
12254         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12255         FL_NORMAL_STYLE.
12256         change names of popup font variables in line with the changes to lyxrc.C
12257
12258 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12259
12260         * buffer.C (asciiParagraph): avoid outputing a word twice after
12261         an inset.
12262
12263         * lyxrc.C (getDescription): document that document_path and
12264         template_path can be empty.
12265
12266 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12267
12268         * LaTeXFeatures.C (getMacros):
12269         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12270
12271         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12272
12273         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12274         getPackages.
12275         (getPackages): rename feature "floats" to "float". Use an array to
12276         iterate over 'simple' features (i.e. just a \usepackage). Add
12277         handling of "amsmath" (renamed from "amsstyle").
12278
12279 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12280
12281         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12282         features list.
12283
12284 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12285
12286         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12287         FuncStaus::FuncStatus & FuncStaus::some_method().
12288
12289 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12290
12291         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12292         of the func_satus stuff. Edited and massaged in various ways by
12293         JMarc.
12294
12295         * lyxfunc.C (getStatus): use FuncStatus
12296
12297 2002-01-08  Juergen Vigna  <jug@sad.it>
12298
12299         * text.C (nextBreakPoint): use function Inset::isChar().
12300
12301         * paragraph.C (TeXOnePar): use function
12302         Inset::forceDefaultParagraphs.
12303
12304         * buffer.C (latexParagraphs): use function
12305         Inset::forceDefaultParagraphs.
12306
12307 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12308
12309         * lyx_gui.C (init): set the style of the menu popups to
12310         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12311
12312 2002-01-07  Juergen Vigna  <jug@sad.it>
12313
12314         * text.C (setHeightOfRow): small fix
12315         (prepareToPrint): don't look at alignment if we don't have the place
12316         for doing it.
12317
12318 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12319
12320         * box.C: New file. Move the Box methods and functions out of box.h,
12321         following Lars' suggestion.
12322
12323 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12324
12325         * box.h: #include "support/LOstream.h", needed for inlined function.
12326
12327         * lyxtextclass.C:
12328         * lyxtextclasslist.C: added some using std declarations.
12329
12330 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12331
12332         * box.h: make signed dimensions to allow insets wider than
12333           the screen (bug #162)
12334
12335         * BufferView_pimpl.C: add some insetHit debug
12336
12337 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12338
12339         * vc-backend.C: add FIXME
12340
12341 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12342
12343         * lyxfunc.C (getStatus): enable code for showing math font status
12344         in toolbar/menu.
12345
12346 2002-01-07  Juergen Vigna  <jug@sad.it>
12347
12348         * text.C (nextBreakPoint): removed debug output not needed anymore.
12349
12350 2002-01-06  Juergen Vigna  <jug@sad.it>
12351
12352         * text.C (nextBreakPoint): fixed up this function we had this bug
12353         since ever but now hopefully we break row better.
12354         (insertChar): we have to check if an inset is the next char as it
12355         could now happen that a large inset is causing a break.
12356
12357 2002-01-05  Juergen Vigna  <jug@sad.it>
12358
12359         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12360         if it doesn't like to be drawed.
12361
12362 2002-01-04  Juergen Vigna  <jug@sad.it>
12363
12364         * BufferView2.C (lockInset): forgot to set a cursor.
12365
12366         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12367
12368 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12369
12370         * FormMathsPanel.C:
12371         * FormMathsPanel.h
12372         * MathsSymbols.C:
12373         * form_maths_panel.C:
12374         * form_maths_panel.h:
12375         * form_maths_panel.fd: implemented sub- and super- buttons in math
12376         panel.
12377
12378         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12379         (or ^ space) to be used as in TeX (req'd by André).
12380
12381         * lyxfunc.C: Allow ^ and _ again to be used both as
12382         super/subscript (mathed) and as themselves (in text).
12383
12384 2002-01-03  Allan Rae  <rae@lyx.org>
12385
12386         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12387         "LyX" or the filename of the current buffer if it has one.  This is a
12388         modified form of John Levon's patch.
12389
12390         * XFormsView.C (setWindowTitle): also set icon title.
12391
12392         * LyXView.h (setWindowTitle): signature changed.
12393         * XFormsView.h (setWindowTitle): ditto.
12394
12395 2002-01-02  Juergen Vigna  <jug@sad.it>
12396
12397         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12398
12399 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12400
12401         * screen.C (topCursorVisible): introduce a temp var for
12402         text->cursor.row(), handle the case where this row is null. (kindo
12403         hachish)
12404
12405         * text2.C (setCursor): add a couple of asserts.
12406
12407         * paragraph.h (inset_iterator): add -> operator
12408
12409         * paragraph.[Ch] (autoDeleteInsets): remove member function
12410
12411         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12412         cursor pos correctly and handle inset deletion by itself.
12413         (insertErrors): move iterator declaration out of for expression
12414
12415         * lyxtextclass.C: add <algorithm>
12416
12417         * Makefile.am: added the new files to sources, removed layout.C
12418
12419         * layout.C: removed file
12420
12421         * layout.h: remove LYX_DUMMY_LAYOUT
12422
12423         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12424         layout.
12425
12426         * lyxlayout.[Ch]:
12427         * lyxtextclass.[Ch]:
12428         * lyxtextclasslist.[Ch]: new files
12429
12430         * include order changes to a lot of files, also changes because of
12431         the six new files.
12432
12433 2001-12-27  Juergen Vigna  <jug@sad.it>
12434
12435         * buffer.C (asciiParagraph): more fixes.
12436
12437         * tabular.C (ascii): make ascii export support export of only the
12438         data separated by a column-delimiter.
12439         (ascii): better support for ascii export.
12440
12441         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12442
12443 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12444
12445         * tabular_funcs.C: use a "using std::getline" instead of the
12446         previous fix from Angus (necessary for cxx + lyxstring)
12447
12448 2001-12-24  Juergen Vigna  <jug@sad.it>
12449
12450         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12451
12452         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12453         problems. First check a minipage also if we have some ert-contents
12454         (not only on par->size(), second set the right depth of the paragraph
12455         on the relink to the root-paragraph-list!
12456
12457         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12458         which then did not anymore update the main paragraphs on undo/redo!
12459
12460 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12461
12462         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12463         code. Support all font-changing funcs (even those which are not in
12464         menu currently). Support for reporting font settings in
12465         mathed (disabled until Andre provides a function on mathed's side).
12466
12467         * func_status.h (toggle): small helper function to set toggle
12468         state on a flag.
12469
12470 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12471
12472         * tabular_funcs.C: getline -> std::getline
12473
12474 2001-12-21  Juergen Vigna  <jug@sad.it>
12475
12476         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12477         accessed and could be 0 (I couldn't generate this but it seems
12478         Michael could!).
12479
12480 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12481
12482         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12483         * tabular_funcs.h: here and include iosfwd
12484
12485 2001-12-20  Juergen Vigna  <jug@sad.it>
12486
12487         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12488         inside inset but undo_par was.
12489
12490 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12491
12492         * Thesaurus.C: always include <config.h> in sources.
12493
12494         * Painter.h:
12495         * lyxlookup.h:
12496         * box.h: do not include <config.h> in header files
12497
12498         * text.C (paintLastRow): remove unused variable
12499
12500         * text.C (transformChar):
12501         (insertChar):
12502         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12503
12504         * Painter.C (text):
12505         * font.C (width): rewrite to use uppercase() instead of
12506         islower/toupper.
12507
12508         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12509
12510 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12511
12512         * lyxfind.C: clean up of find failure position change
12513
12514 2001-12-20  Juergen Vigna  <jug@sad.it>
12515
12516         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12517
12518         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12519         (TeXRow): added to LaTeX a single tabular row.
12520         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12521         (Latex): simplified and finally good LT-h/f support.
12522         (various_functions): just small adaptions for LT-h/f support.
12523
12524         * tabular_funcs.[hC]: added and moved here all not classfunctions
12525         of LyXTabular.
12526
12527 2001-12-19  Juergen Vigna  <jug@sad.it>
12528
12529         * tabular.[Ch]: better support for longtabular options (not finished
12530         yet!)
12531
12532 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12533
12534         * text.C (paintLastRow): use the label font instead of the font of
12535         the last character to compute the size of *_BOX. This makes more
12536         sense and avoids a crash with empty paragraphs.
12537         Use Painter::rectangle to draw EMPTY_BOX.
12538
12539 2001-12-19  Juergen Vigna  <jug@sad.it>
12540
12541         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12542         the paragraphs if the replaced paragraph is not the first one!
12543         Tried to delete not used paragraphs but does not work yet so for
12544         now it's inside #ifdef's and by default off!
12545
12546 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12547
12548         * MenuBackend.C: include "lyx_main.h" instead of declaring
12549         lastfiles (actually was declared as LastFiles* instead of a
12550         scoped_ptr).
12551
12552 2001-12-17  Juergen Vigna  <jug@sad.it>
12553
12554         * tabular.C (AppendColumn): applied John's fix
12555
12556 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12557
12558         * BufferView.h:
12559         * BufferView.C:
12560         * BufferView_pimpl.h:
12561         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12562
12563         * Makefile.am:
12564         * box.h: new start of class for above
12565
12566         * lyxfunc.C: ignore space-only minibuffer dispatches.
12567           Show the command name when it doesn't exist
12568
12569         * minibuffer.C: don't add empty lines to the history
12570
12571         * minibuffer.C: add a space on dropdown completion
12572
12573 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12574
12575         * text.C: fix line above/below drawing in insets
12576
12577 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12578
12579         * lyxlength.C (LyXLength): Initialize private variables.
12580
12581 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12582
12583         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12584         when inserting error insets.
12585
12586 2001-12-13  Juergen Vigna  <jug@sad.it>
12587
12588         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12589         actually sometimes the before-paragraph.
12590         (setUndo): don't clear the redostack if we're not actually undoing!
12591
12592 2001-12-06  Juergen Vigna  <jug@sad.it>
12593
12594         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12595         and fixed redoing of main paragraph, so we can use it now ;)
12596
12597         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12598
12599 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12600
12601         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12602         Juergen's request
12603
12604 2001-12-13  André Pönitz <poenitz@gmx.net>
12605
12606         * undostack.[Ch]:
12607         * undo_func.C: minor cleanup
12608
12609 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12610
12611         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12612         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12613         font in urw-fonts package which is marked as -urw-fontspecific and
12614         does not work (incidentally, changing the encoding in the
12615         fonts.dir of this package to -adobe-fontspecific fixes the
12616         problem).
12617
12618         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12619         is a crash when undoing first paragraph (Juergen, please take a
12620         look). THis does not mean the undo fix is wrong, just that it
12621         uncovers problems.
12622
12623         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12624         the (Paragraph*) version when needed instead of duplicating the
12625         code.
12626
12627         * text.C (workWidth): use Inset::parOwner to find out where the
12628         inset has been inserted. This is a huge performance gain for large
12629         documents with lots of insets. If Inset::parOwner is not set, fall
12630         back on the brute force method
12631
12632         * paragraph_pimpl.C (insertInset):
12633         * paragraph.C (Paragraph):
12634         (cutIntoMinibuffer): set parOwner of insets when
12635         inserting/removing them
12636
12637         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12638
12639 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12640
12641         * commandtags.h:
12642         * LyXAction.C:
12643         * lyx_main.C:
12644         * lyxfunc.C:
12645         * mathed/formulabase.C:
12646         * mathed/math_cursor.[Ch]:
12647         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12648
12649
12650 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12651
12652         * lyxlength.[Ch] (operator!=): new function
12653
12654 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12655
12656         * text.C (workWidth): use Inset::parOwner to find out where the
12657         inset has been inserted. This is a huge performance gain for large
12658         documents with lots of insets. If Inset::parOwner is not set, fall
12659         back on the brute force method
12660
12661         * paragraph_pimpl.C (insertInset):
12662         * paragraph.C (Paragraph):
12663         (cutIntoMinibuffer): set parOwner of insets when
12664         inserting/removing them
12665
12666         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12667
12668 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12669
12670         * tabular-old.C (getTokenValue):
12671         * tabular.C (getTokenValue):
12672         (write_attribute): new versions for LyXLength
12673         (everywhere): adjust the use of widths
12674
12675         * tabular.h: change the type of widths from string to LyXLength
12676
12677 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12678
12679         * paragraph.C: fixed missing line number count when exporting
12680         Environments to LaTeX file
12681
12682         * buffer.C: added informational message for checking line numbers.
12683
12684 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12685
12686         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12687         paragraph, do the 'double space' part, but not the 'empty
12688         paragraph' one.
12689
12690         * text.C (workWidth): small optimization
12691         (getLengthMarkerHeight): use minimal size for negative lengths.
12692
12693 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12694
12695         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12696
12697         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12698
12699 2001-12-11  André Pönitz <poenitz@gmx.net>
12700
12701         * FontLoader.C:
12702         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12703
12704 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12705
12706         * text2.C: keep selection on a setFont()
12707
12708 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12709
12710         * lyx_cb.C: another bv->text misuse, from insert label
12711
12712 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12713
12714         * kbsequence.h:
12715         * kbsequence.C: re-instate nmodifier mask
12716
12717 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12718
12719         * lyx_main.h: make lyxGUI private.
12720
12721 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12722
12723         * lyxfind.C: place the cursor correctly on failed search
12724
12725 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12726
12727         * text.C (getLengthMarkerHeight): for small heights, the arrows
12728         are not always on top/bottom of the text
12729         (drawLengthMarker): smaller arrows; take the left margin in
12730         account; draw also vfills.
12731         (paintFirstRow):
12732         (paintLastRow): remove special code for vfill and standard spaces,
12733         since everything is handled in drawLengthMarker now.
12734
12735 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12736
12737         * buffer.C (insertErtContents): try to handle font and language
12738         interaction a bit better.g
12739
12740         * ColorHandler.C (updateColor): change the hash to cover the whole
12741         LColor enum, ws cleanup
12742         (getGCLinepars): ditto
12743         (getGCLinepars): only lookup in the linecache once.
12744
12745 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12746
12747         * iterators.C (operator++): Make the iterator more robust
12748
12749         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12750         (John's patch)
12751         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12752
12753 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12754
12755         * lyxtext.h:
12756         * text.C: better added space drawing
12757
12758 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12759
12760         * LyXView.C:
12761         * BufferView2.C: fix layout combo update on inset unlock
12762
12763 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12764
12765         * Makefile.am: don't compile unused files
12766
12767 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12768
12769         * lyxfunc.C:
12770         * commandtags.h:
12771         * LyXAction.C: remove old LFUN_LAYOUTNO
12772
12773 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12774
12775         * paragraph_pimpl.h:
12776         * paragraph_pimpl.C: isTextAt() doesn't need font param
12777
12778 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12779
12780         * lyxlex.h:
12781         * lyxlex.C: little cleanup
12782
12783 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12784
12785         * BufferView_pimpl.C: fix insertAscii for insets
12786
12787 2001-12-05  Juergen Vigna  <jug@sad.it>
12788
12789         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12790         set the right font on the "multi" paragraph paste!
12791
12792 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12793
12794         * trans_decl.h:
12795         * trans_mgr.[Ch]:
12796         * trans.[Ch]:
12797         * lyxgluelength.C:
12798         * lyxlength.C: remove out-commented code.
12799
12800         * BufferView_pimpl:
12801         * CutAndPaste.C:
12802         * DepTable.C:
12803         * buffer.C:
12804         * chset.C:
12805         * lastfiles.C:
12806         * lyxlex.C:
12807         * lyxlex_pimpl.C:
12808         * lyxserver.C:
12809         * screen.C:
12810         * tabular-old.C:
12811         * tabular.C:
12812         * text.C:
12813         * trans_mgr.C:
12814         * vc-backend.C: change "while(" to "while ("
12815
12816         * lyxlength.[Ch]: add zero function to check if length is zero or
12817         not
12818         * lyxgluelength.C: use it
12819
12820 2001-12-05  Allan Rae  <rae@lyx.org>
12821
12822         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12823         Works for 2.95.3, from what I understand of Garst's reports this should
12824         work for other g++ versions.  We're screwed if the abs(int) definition
12825         changed between bugfix releases of gcc.
12826
12827 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12828
12829         * text.C: fix chapter label offset !
12830
12831 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12832
12833         * lyxtext.h:
12834         * text.C: fix hfill at end of line, clean up
12835
12836 2001-12-04  Juergen Vigna  <jug@sad.it>
12837
12838         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12839         that we force an update of the inset and it's owners if neccessary.
12840
12841 2001-12-03  Juergen Vigna  <jug@sad.it>
12842
12843         * text.C (rowLast): simplified code
12844
12845 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12846
12847         * lyxfunc.C: fix show options on timeout
12848
12849 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12850
12851         * screen.C (topCursorVisible): scroll half a page when the cursor
12852         reached top of bottom of screen
12853
12854 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12855
12856         * minibuffer.C: deactivate on loss of focus
12857
12858 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12859
12860         * vspace.[Ch] (operator!=): add operator.
12861
12862 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12863
12864         * BufferView_pimpl.C: refuse to open an inset when
12865         there's a selection.
12866
12867 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12868
12869         * BufferView_pimpl.C: allow to click on RHS of full row insets
12870
12871 2001-11-30  Juergen Vigna  <jug@sad.it>
12872
12873         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12874         insets for undo reasons.
12875
12876 2001-11-28  André Pönitz <poenitz@gmx.net>
12877
12878         * vspace.[Ch]: cosmetical changes
12879
12880 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12881
12882         * LyXAction.h:
12883         * LyXAction.C:
12884         * lyxfunc.h:
12885         * lyxfunc.C:
12886         * kbmap.h:
12887         * kbmap.C:
12888         * lyxrc.C:
12889         * kbsequence.h:
12890         * kbsequence.C: part re-write of old kb code
12891
12892         * Painter.C:
12893         * WorkArea.C: remove Lgb_bug_find_hack
12894
12895 2001-11-30  José Matos <jamatos@fep.up.pt>
12896
12897         * buffer.C (makeDocBookFile): add a comment to point a hack.
12898         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12899         Fixed a double write of labels.
12900
12901 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12902
12903         * LaTeX.C:
12904         * LaTeX.h Fixed bug in LaTeX class where it would not
12905         re-run latex if no depfiles were changed, but the .dvi was removed.
12906
12907 2001-11-28  André Pönitz <poenitz@gmx.net>
12908
12909         * all the files from the change on 2001/11/26:
12910         use lyx::layout_type instead of LyXTextClass::size_type
12911         use lyx::textclass_type instead of LyXTextClassList::size_type
12912
12913 2001-11-29  Juergen Vigna  <jug@sad.it>
12914
12915         * text.C: added support for paragraph::isFreeSpacing()
12916
12917         * buffer.C: same as above
12918
12919         * paragraph.h: inserted isFreeSpacing() function to enable
12920         FreeSpacing inside InsetERT.
12921
12922         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12923         of the paragraph's in the cut/copy buffer to 0!
12924
12925         * text2.C (removeRow): remove the assert as it can!
12926
12927         * lyxtext.h: added helper function firstRow returning firstrow and
12928         made firstrow private again.
12929
12930         * BufferView2.C (lockInset): don't relock if we're already locked!
12931
12932         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12933         the only paragraph.
12934         (removeRow): added Assert::(firstrow)
12935
12936         * debug.C: forgot to add INSETTEXT here.
12937
12938 2001-11-28  Juergen Vigna  <jug@sad.it>
12939
12940         * sp_spell.C (initialize): changed error text to more general
12941         spellchecker command use (not only ispell!)
12942
12943         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12944
12945         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12946
12947 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12948
12949         * vspace.C: initialise lyxgluelength on failure
12950
12951 2001-11-28  Allan Rae  <rae@lyx.org>
12952
12953         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12954         declaration & definition that looks like a function declaration.
12955
12956 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12957
12958         * BufferView2.C (copy):
12959         (copyEnvironment): do not clear the selection when doing a copy.
12960
12961         * text.C (paintFirstRow): compilation fix
12962
12963 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12964
12965         * tabular.C (Latex): correct line count when writing latex.
12966
12967 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12968
12969         * paragraph_pimpl.h:
12970         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12971           bug a bit
12972
12973 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12974
12975         * text.C:
12976         * LColor.h:
12977         * LColor.C: change vfillline->added_space
12978
12979         * text.C: add markers and text for added space
12980
12981         * vspace.C: fix comment
12982
12983 2001-11-28  André Pönitz <poenitz@gmx.net>
12984
12985         * paragraph.C: whitespace changes
12986         * all the other files from the change on 2001/11/26:
12987         change *::pos_type into lyx::pos_type
12988
12989 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12990
12991         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12992         language of the document when inserting error insets.
12993
12994 2001-11-26  André Pönitz <poenitz@gmx.net>
12995
12996         * BufferView_pimpl.[Ch]:
12997         *       CutAndPaste.C:
12998         * buffer.[Ch]:
12999         * lyxcursor.[Ch]:
13000         * lyxfind.C:
13001         * lyxfunc.C:
13002         * lyxrow.[Ch]:
13003         * paragraph.[Ch]:
13004         * paragraph_pimpl.[Ch]:
13005         * sp_spell.C:
13006         * text.C:
13007         * text2.C: reduce header dependencies, introduce type for positions
13008
13009 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13010
13011         * <various>: change to use Alert.h
13012
13013 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13014
13015         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13016         when encountering an unknown token.
13017         (readLyXformat2): Show an error message if there were unknown tokens.
13018
13019 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13020
13021         * BufferView2.C:
13022         * BufferView_pimpl.C:
13023         * buffer.C:
13024         * paragraph.h:
13025         * text.C:
13026         * text2.C: use par->isInset()
13027
13028 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13029
13030         * paragraph_pimpl.h:
13031         * paragraph_pimpl.C: cleanup
13032
13033 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13034
13035         * text2.C (removeRow):
13036         * text.C (setHeightOfRow): remove useless (and costly) call to
13037         getRow.
13038
13039 2001-11-20  Allan Rae  <rae@lyx.org>
13040
13041         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13042         Now need Inset*::checkInsertChar() to return true for appropriate
13043         cases so that the characters in the minibuffer will actually be
13044         inserted.
13045
13046 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13047
13048         * text.C: change the order of the includes.
13049         (workWidth): initialize it at once.
13050         (workWidth): make maxw unsigned
13051         (setHeightOfRow): remove unused variable (inset)
13052         (selectSelectedWord): remove unused variable (inset)
13053         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13054
13055 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13056
13057         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13058         server is not running.
13059         (openConnection):
13060         (closeConnection): add debug info when server is disabled.
13061
13062         * ColorHandler.C (getGCForeground): send debug message to GUI
13063         channel.
13064
13065         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13066
13067         * kbmap.C (bind): modify because return conventions of
13068         kb_sequence::parse have changed.
13069
13070         * kbsequence.C (parse): only ignore spaces and not any stupid
13071         control character. This avoids tests like s[i] <= ' ', which are
13072         guaranteed to fail with 8bit characters and signed chars.
13073         Change return code to string::npos when there have been no error
13074         (0 was a bad idea when error is at first character)
13075
13076 2001-11-14  José Matos  <jamatos@fep.up.pt>
13077
13078         * buffer.h:
13079         * buffer.C (simpleDocBookOnePar): removed unused argument.
13080
13081 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13082
13083         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13084         insets which are part of a word. Paragraph::isLetter takes care of
13085         that now. Use Paragraph::isInset to identify insets.
13086         (selectSelectedWord): do not test for hyphenation break.
13087
13088         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13089         that protected spaces are considered as spaces.
13090
13091         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13092         Inset::isLetter.
13093
13094 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13095
13096         * lyxserver.h:
13097         * lyxserver.C: fix it. and small cleanup.
13098
13099 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13100
13101         * BufferView_pimpl.C: use inline helpers
13102
13103         * LaTeXFeatures.h:
13104         * LaTeXFeatures.C: fix typos
13105
13106         * Spacing.h:
13107         * Spacing.C: move spacing_string into class
13108
13109         * ToolbarDefaults.C: move stuff into namespace anon
13110
13111         * layout.h: update enum
13112
13113         * lyxfunc.C: use better debug
13114
13115         * minibuffer.h: fix typo
13116
13117         * debug.h:
13118         * debug.C:
13119         * WorkArea.C: add and use Debug::WORKAREA
13120
13121         * lyxtext.h:
13122         * text.C:
13123         * text2.C: code re-organisation, inline helpers
13124
13125 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13126
13127         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13128         std::vector.empty().
13129
13130 2001-11-09  Allan Rae  <rae@lyx.org>
13131
13132         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13133         '\n's after tables.  Tabular and ERT inset work now makes this no
13134         longer necessary.
13135
13136 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13137
13138         * minibuffer.h:
13139         * minibuffer.C: fix crash, improve drop-down completion
13140
13141 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13142
13143         * lyxserver.h:
13144         * lyxserver.C: invalidate fd's when doing endPipe()
13145
13146 2001-11-08  José Matos  <jamatos@fep.up.pt>
13147
13148         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13149         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13150
13151         * paragraph.h:
13152         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13153
13154 2001-11-07  José Matos  <jamatos@fep.up.pt>
13155
13156         * buffer.h:
13157         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13158         const qualifier.
13159
13160         * buffer.C (sgmlOpenTag):
13161         * buffer.C (sgmlCloseTag): removed debug info.
13162
13163         * buffer.h (sgmlOpenTag):
13164         * buffer.h (sgmlCloseTag): made public.
13165
13166 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13167
13168         * buffer.C (saveParamsAsDefaults):
13169         * lyx_cb.C (MenuLayoutSave): remove
13170
13171         * LyXAction.C (init):
13172         * commandtags.h:
13173         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13174
13175 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13176
13177         * buffer.C (setPaperStuff): removed from here...
13178
13179         * bufferparams.C (setPaperStuff): ... and moved there.
13180
13181 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13182
13183         * minibuffer.h:
13184         * minibuffer.C:
13185         * XFormsView.C: add support for drop-down completion
13186
13187 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13188
13189         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13190         commands.
13191
13192 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13193
13194         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13195         disabled.
13196
13197 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13198
13199         * lyx_main.C: change ref to known bugs
13200
13201 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13202
13203         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13204         to work around older babel problems.
13205
13206 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13207
13208         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13209
13210 2001-10-24  Juergen Vigna  <jug@sad.it>
13211
13212         * tabular-old.C (ReadOld): below variable changes reflected.
13213
13214         * tabular.[Ch]: added ltType struct for longtable header/footer
13215         defines and changed all instances where they are used. Added
13216         future support for double top/bottom rows.
13217
13218 2001-10-24  José Matos  <jamatos@fep.up.pt>
13219
13220         * buffer.h (docbookHandleCaption):
13221         * buffer.C (docbookHandleCaption): removed unused function.
13222         (makeDocBookFile): moved docbook supported version to v4.1.
13223
13224 2001-10-24  José Matos  <jamatos@fep.up.pt>
13225
13226         * tabular.h:
13227         * tabular.C (docbookRow): new function to export docbook code of a row.
13228         (DocBook): now honors the longtable flags.
13229
13230 2001-10-23  José Matos  <jamatos@fep.up.pt>
13231
13232         * LaTeXFeatures.h:
13233         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13234         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13235
13236         * buffer.C (makeLinuxDocFile):
13237         (makeDocBookFile): reworked the preamble, more clean, and with
13238         support for lyx defined entities. Changed the document declaration
13239         to be more XML friendly.
13240
13241         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13242         if we need to output XML that should be done with a filter.
13243
13244 2001-10-22  Juergen Vigna  <jug@sad.it>
13245
13246         * sp_pspell.h (class PSpell): add alive function needed in the
13247         controller to see if the spellchecker could be started.
13248
13249 2001-10-22  Juergen Vigna  <jug@sad.it>
13250
13251         * buffer.C (insertStringAsLines): modify the font for inserting
13252         chars in certain conditions by calling checkInsertChar(font).
13253
13254 2001-10-19  Juergen Vigna  <jug@sad.it>
13255
13256         * text.C (workWidth): use getRow instead of wrong algorithm.
13257         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13258
13259 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13260
13261         * lyxserver.h:
13262         * lyxserver.C:
13263         * lyx_main.h:
13264         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13265
13266 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13267
13268         * text.C (workWidth): do not search for the exact row when
13269         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13270         optimization for big documents.
13271
13272 2001-10-18  Juergen Vigna  <jug@sad.it>
13273
13274         * text.C (workWidth): new function with added Inset * parameter.
13275
13276 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13277
13278         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13279
13280         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13281         change return type of getColumnNearX.
13282
13283
13284         * text.C (changeRegionCase): use uppercase/lowercase instead of
13285         toupper/tolower.
13286         (leftMargin):
13287         (rightMargin): simplify code by factoring out the uses of
13288         textclasslist.
13289         (labelFill):
13290         (numberOfHfills):
13291         (setHeightOfRow):
13292         (appendParagraph): use Paragraph::size_type
13293
13294 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13295
13296         * vspace.C (asLatexString): add a missing break
13297
13298 2001-10-15  Herbert Voss  <voss@perce.de>
13299
13300         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13301
13302 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13303
13304         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13305         is not available.
13306
13307 2001-10-10  André Pönitz <poenitz@gmx.net>
13308
13309         * lyxfunc.C: removed greek_kb_flag.
13310
13311 2001-10-10  Herbert Voss  <voss@perce.de>
13312
13313         * lyx_main.C: delete global string help_lyxdir.
13314
13315 2001-10-09  Herbert Voss  <voss@perce.de>
13316
13317         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13318
13319         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13320
13321         * lyx_main.C: added global string help_lyxdir.
13322
13323         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13324
13325 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13326
13327         * lyxrc.C (set_font_norm_type): support iso8859-4
13328
13329 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13330
13331         * LaTeX.C (deplog): add another regex for MikTeX
13332
13333 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13334
13335         * lyxrc.C (set_font_norm_type): support iso8859-3
13336
13337 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13338
13339         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13340
13341         * LaTeXFeatures.C: remove special case of french and index
13342
13343         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13344         before \begin{document}). This solves several incompatibilities.
13345
13346 2001-10-03  Garst Reese  <reese@isn.net>
13347
13348         * lyx_cb.C: change CheckTex error msg.
13349
13350 2001-10-03  José Matos  <jamatos@fep.up.pt>
13351
13352         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13353
13354 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13355
13356         * .cvsignore: update
13357
13358         * lyx_main.C (commandLineVersionInfo): use new style version info.
13359
13360         * buffer.C (writeFile):
13361         (makeLaTeXFile):
13362         (makeLinuxDocFile):
13363         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13364
13365         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13366
13367         * version.h: update to use stuff in version.C
13368
13369         * version.C.in: new file. Contains version information determined
13370         at compile time. This is a merging of version.h and
13371         version_info.h.in.
13372
13373 2001-10-03  Juergen Vigna  <jug@sad.it>
13374
13375         * BufferView_pimpl.C (update): don't change "dirty" status in
13376         updateInset call.
13377
13378 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13379
13380         * WorkArea.C (c-tor): re-position version string slightly.
13381
13382 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13383
13384         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13385         revert to previous code.
13386
13387         WorkArea.[Ch]: (show, destroySplash): methods removed.
13388
13389         WorkArea.C: rework code so that it's an amalgam of the codes before and
13390         after the splash screen was moved to WorkArea.
13391
13392 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13393
13394         * lyxrc.C (read):
13395         * vspace.C (inPixels):
13396         (lyx_advance):
13397         * kbmap.C (bind):
13398         * buffer.C (insertStringAsLines):
13399         (asciiParagraph): fix types to be large enough
13400
13401         * lyxlex_pimpl.h: change member status from short to int
13402
13403         * layout.h: fix type of endlabeltype
13404
13405         * kbmap.C (bind):
13406         * kbsequence.C (parse): change return type to string::size_type
13407
13408         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13409         variable
13410
13411         * Bullet.C (bulletSize):
13412         (bulletEntry): do not use short ints as parameters
13413
13414         * BufferView2.C (insertLyXFile): change a char to an int.
13415
13416         * WorkArea.C (WorkArea): remove unneeded floats in computation
13417
13418 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13419
13420         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13421
13422         * paragraph.C (asString): Do not ignore newline/hfill chars when
13423         copying to the clipboard.
13424
13425 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13426
13427         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13428         after a multi-line inset.
13429
13430 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13431
13432         * paragraph.C (validate): Set NeedLyXFootnoteCode
13433
13434 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13435
13436         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13437         and decrease-error to decrease.
13438
13439 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13440
13441         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13442         it more readable (should be equivalent)
13443
13444 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13445
13446         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13447
13448 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13449
13450         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13451         of a cursor (row, etc.) after a character has been deleted
13452         (deleteEmptyParagraphMechanism): call the method above on _all_
13453         cursors held by the LyXText when a double space has been
13454         detected/deleted.
13455
13456 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13457
13458         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13459         pixmap.
13460         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13461
13462         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13463         background. Use greyOut() and the new show() methods to toggle between
13464         the foreground and background. Add code to remove the splash after
13465         its initial showing.
13466
13467         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13468         (create_forms): no longer call Dialogs::showSplash.
13469
13470 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13471
13472         * .cvsignore: add version_info.h
13473
13474 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13475
13476         * version_info.h.in: new file
13477
13478         * Makefile.am: add version_info.h.in
13479
13480         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13481         version_info.h instead of VERSION_INFO
13482
13483 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13484
13485         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13486         The ERT inset now returns string().
13487
13488 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13489
13490         * lyxtext.h, text.C (selectNextWord): renamed as
13491         selectNextWordToSpellcheck.
13492
13493         * text.C (selectNextWordToSpellcheck): Modified to not select
13494         words inside an ERT inset.
13495
13496 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13497
13498         * lyx_cb.C (MenuLayoutSave): change a bit the question
13499
13500         * sp_base.h: include <sys/types.h>
13501
13502 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13503
13504         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13505
13506 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13507
13508         * several files: fix typos in user-visible strings
13509
13510 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13511
13512         * text2.C (pasteSelection): do not set the selection, since it
13513         will be cleared later. Actually, the intent was to fix the way the
13514         selection was set, but I figured rmoving the code was just as good.
13515
13516 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13517
13518         * FontLoader.C (available): Check if font is available without
13519         loading the font.
13520
13521 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13522
13523         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13524
13525 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13526
13527         * lyxrc.[Ch]: added display_graphics variable and associated code.
13528
13529 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13530
13531         * bufferparams.C (hasClassDefaults): new method. Returns true if
13532         the buffer parameters correspond to known class defaults
13533
13534 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13535
13536         * XFormsView.C (show): set minimum size to the main window.
13537
13538 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13539
13540         * text2.C (copySelection):
13541         (cutSelection):
13542         * lyxfind.C (LyXReplace):
13543         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13544         LyXText::selectionAsString.
13545
13546         * paragraph.C (asString): add "label" argument to the second form
13547
13548         * text2.C (selectionAsString): add "label" argument and pass it to
13549         Paragraph::asString.
13550
13551 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13552
13553         * lyx_main.C (commandLineHelp): remove version information
13554
13555 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13556
13557         * lyx_main.C: add -version commandline option
13558
13559 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13560
13561         * paragraph.h: make the optional constructor arg required instead.
13562         some modifications to other files because of this.
13563
13564         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13565
13566         * lyxserver.C (C_LyXComm_callback): make it static
13567
13568         * lyx_main.C (error_handler): make it static
13569
13570         * lyx_gui.C (LyX_XErrHandler): make it static
13571
13572         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13573
13574         * WorkArea.C: make the extern "C" methods static.
13575
13576         * Makefile.am (lyx_LDADD): simplify
13577
13578 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13579
13580         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13581         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13582
13583         * LyXAction.C (init):
13584         * lyxfunc.C (dispatch): associated code removal.
13585
13586 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13587
13588         * lyxfont.h (isSymbolFont): shut off warning
13589
13590         * text.C (setHeightOfRow):
13591         (getVisibleRow): fix crash with empty paragraphs which have a
13592         bottom line
13593
13594 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13595
13596         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13597         code.
13598
13599 2001-09-04  José Matos  <jamatos@fep.up.pt>
13600         * buffer.C
13601         * buffer.h
13602         * tabular.C (docbook): rename docBook method to docbook.
13603
13604 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13605
13606         * Makefile.am: add dependencies to main.o.
13607
13608 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13609
13610         * FontLoader.C (available): Return false if !lyxrc.use_gui
13611
13612 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13613
13614         * FontInfo.C (query):
13615         * converter.C (view):
13616         * importer.C (Import):
13617         * exporter.C (Export): Can not -> cannot.
13618
13619 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13620
13621         * BufferView_pimpl.C: allow to create index inset even if
13622           string is empty
13623
13624 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13625
13626         * buffer.C (getLists): replace boost::tie code with an explicit pair
13627         as boost::tie can break some compilers.
13628
13629         * iterators.h: Added a std:: declaration to the return type of
13630         ParIterator::size.
13631
13632 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13633
13634         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13635           case.
13636
13637 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13638
13639         * iterators.[Ch]: New files. Provide paragraph iterators.
13640
13641         * buffer.C (changeLanguage): Use paragraph iterators.
13642         (isMultiLingual): ditto
13643
13644         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13645
13646 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13647
13648         * FontLoader.C: Support for cmr font.
13649
13650 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13651
13652         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13653         (available): New method.
13654
13655         * FontInfo.C (getFontname): Use scalable fonts even when
13656         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13657         found.
13658
13659 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13660
13661         * converter.C (Formats::view): reverted! Incorrect fix.
13662
13663 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13664
13665         * converter.C (Formats::view): only output the -paper option
13666         if the dvi viewer is xdvi, thereby fixing bug #233429.
13667
13668 2001-08-23  Herbert Voss  <voss@perce>
13669
13670         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13671
13672 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13673
13674         * Spacing.h (Spacing): Set space to Default on in the default
13675         constructor.
13676
13677 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13678
13679         * vc-backend.h (RCS::versionString): add RCS to version
13680         (CVS::versionString): add CVS to version
13681
13682         * vc-backend.C (scanMaster): do not add CVS to version.
13683         (scanMaster): do not add RCS to version
13684
13685         * lyxvc.C (versionString): new method
13686
13687         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13688
13689 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13690
13691         * Spacing.C (set): initialize fval
13692
13693 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13694
13695         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13696         " or \.
13697
13698 2001-08-16  Juergen Vigna  <jug@sad.it>
13699
13700         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13701
13702 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13703
13704         * BufferView_pimpl.C:
13705         * figureForm.C:
13706         * lyxtext.h:
13707         * text2.C: setParagraph takes linespacing now
13708
13709 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13710
13711         * LyxAction.C: add internal LFUN_CITATION_INSERT
13712
13713         * LyXView.C: actually apply fix
13714
13715         * bufferlist.C: fix open non-existent file
13716
13717         * lyxfind.C: fix indentation
13718
13719         * lyxfunc.C: remove unneeded assert, fix typo
13720
13721 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13722
13723         * MenuBackend.C: use "Floatname List"
13724
13725 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13726
13727         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13728         when converting LaTeX layout to insetERT.
13729         Generate a non-collapsed float when reading old float
13730
13731 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13732
13733         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13734         ERT insets.
13735
13736 2001-08-13  Juergen Vigna  <jug@sad.it>
13737
13738         * text.C (fill): return 0 instead of 20 as this seems to be the more
13739         correct value.
13740
13741 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13742
13743         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13744         lyxrc.font_norm.
13745
13746 2001-08-13  Juergen Vigna  <jug@sad.it>
13747
13748         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13749         casesensitive off.
13750         (SearchBackward): comment out the unlocking of the inset_owner this
13751         should not be needed!
13752
13753 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13754
13755         * Many files: Remove inherit_language, and add latex_language
13756
13757         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13758         collapsible insets.
13759
13760 2001-08-10  Juergen Vigna  <jug@sad.it>
13761
13762         * text.C (prepareToPrint): fixed hfill-width in draw!
13763
13764         * BufferView2.C (selectLastWord): save the selection cursor as this
13765         now is cleared in the function LyXText::clearSelection!
13766
13767 2001-08-08  Juergen Vigna  <jug@sad.it>
13768
13769         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13770         BACKSPACE type functions.
13771
13772         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13773         is only cutted from the document but not put in the cut-buffer, where
13774         still the old stuff should be.
13775
13776         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13777
13778         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13779
13780         * tabular.C (SetWidthOfCell): fixed special case where the width
13781         was not updated!
13782         (LeftLine): handle '|' in align_special.
13783         (RightLine): ditto
13784         (LeftAlreadyDrawed): ditto
13785         (SetWidthOfCell): ditto
13786
13787 2001-08-07  Juergen Vigna  <jug@sad.it>
13788
13789         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13790
13791 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13792
13793         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13794         * lyxlex.[hC]: ditto
13795
13796 2001-08-06  Juergen Vigna  <jug@sad.it>
13797
13798         * text.C (getVisibleRow): fix up row clearing a bit.
13799
13800 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13801
13802         * minibuffer.C: make sure the X server sees the changes in the input.
13803
13804 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13805
13806         * paragraph.C (getFont): split into...
13807         (getLabelFont): this
13808         (getLayoutFont): and this
13809         * paragraph_pimpl.C (realizeFont): calling this
13810
13811         * text2.C (getFont): split into...
13812         (getLayoutFont): this
13813         (getLabelFont): and this
13814         (realizeFont): all three calling this
13815
13816         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13817         files where used.
13818
13819 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13820
13821         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13822
13823 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13824
13825         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13826         layouts from the Quote inset insertion.
13827
13828 2001-08-03  Juergen Vigna  <jug@sad.it>
13829
13830         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13831
13832         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13833         only if status not is already CHANGED_IN_DRAW (second level).
13834
13835         * text.C (draw): don't set the need_break_row when inside an
13836         InsetText LyXText.
13837
13838 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13839
13840         * buffer.C (parseSingleLyXformat2Token): handle more latex
13841         conversion cases.
13842
13843         * bufferview_funcs.[hC]: change function names to
13844         begin with small char, adjust other files.
13845
13846 2001-08-02  André Pönitz <poenitz@gmx.net>
13847
13848         * lyxfunc.C:
13849         BufferView_pimpl.C: remove broken special code for math-greek
13850
13851 2001-08-02  Juergen Vigna  <jug@sad.it>
13852
13853         * BufferView_pimpl.C (update): redone this function so that we
13854         update the text again if there was a CHANGE_IN_DRAW.
13855
13856         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13857         (drawFromTo): added a new internal bool which is used by draw() and
13858         redraw() function.
13859         (general): some cursor drawing problems fixed.
13860
13861 2001-08-01  Juergen Vigna  <jug@sad.it>
13862
13863         * lyxfind.C (LyXFind): fixed
13864         (SearchForward): ditto
13865         (SearchBackward): ditto
13866
13867         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13868         spurius drawing of the cursor in the main area.
13869
13870         * text2.C (status): small fix which could lead to a segfault!
13871         (clearSelection): remove unneeded BufferView param.
13872
13873 2001-08-01  André Pönitz <poenitz@gmx.net>
13874
13875         * lyxfunc.C: small change due to changed mathed interface
13876
13877 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13878
13879         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13880
13881 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13882
13883         * lyxfunc.c: fail gracefully if file doesn't exist
13884
13885         * LyXSendto.C:
13886         * buffer.C:
13887         * lyxfunc.C:
13888         * BufferView_pimpl.C: IsDirWriteable() proto changed
13889
13890         * LyXView.C: fix updateWindowTitle() to store the last title
13891
13892 2001-07-31  Juergen Vigna  <jug@sad.it>
13893
13894         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13895         the font (wrong since using of Paragraph::highestFontInRange).
13896
13897         * paragraph.C (highestFontInRange): added a default_size parameter.
13898
13899         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13900         (setHeightOfRow): reformat
13901
13902 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13903
13904         * converter.[hC] + affected files: move to (inital-char)lowercase
13905         function names.
13906
13907         * ParagraphParameters.C (ParagraphParameters): remove commented code
13908
13909         * PainterBase.[Ch]: remove commented code
13910
13911         * LaTeXFeatures.h: add "bool floats" for float.sty
13912
13913         * LaTeXFeatures.C (LaTeXFeatures): init floats
13914         (require): handle float
13915         (getPackages): do it with floats
13916
13917 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13918
13919         * BufferView_pimpl.C (Dispatch): improve handling of
13920         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13921
13922         * commandtags.h: #include lyxfont.h here temporarily to avoid
13923         keybinding bug.
13924
13925         * bufferlist.h: include LString.h here.
13926
13927 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13928
13929         * text2.C (getStringToIndex): new method.
13930
13931 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13932
13933         * *: Reduced header file dependencies all over.
13934
13935 2001-07-30  Baruch Even  <baruch@lyx.org>
13936
13937         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13938
13939 2001-07-29  Baruch Even  <baruch@lyx.org>
13940
13941         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13942
13943 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13944
13945         * ParameterStruct.h (endif): add a default constructor to make
13946         sure that all variables is initialized.
13947
13948         * ParagraphParameters.C (ParagraphParameters): adjust
13949
13950 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13951
13952         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13953         index; also, check that there is something to index, and that it
13954         does not span over several paragraphs.
13955         (doubleClick): use WHOLE_WORD_STRICT for double click.
13956
13957         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13958
13959         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13960         scheme.
13961
13962 2001-07-26  Baruch Even  <baruch@lyx.org>
13963
13964         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13965         an InsetFig figure, backwards compatible reading of old figure code.
13966
13967 2001-07-27  Juergen Vigna  <jug@sad.it>
13968
13969         * text2.C: font.realize function adaption.
13970
13971         * text.C (draw): add a warnings lyxerr text if needed.
13972
13973         * layout.C: font.realize function adaption.
13974
13975         * language.C: add inherit_language and implement it's handlings
13976
13977         * bufferview_funcs.C (StyleReset): remove language parameter from
13978         font creation (should be language_inherit now).
13979
13980         * bufferparams.C (writeFile): handle ignore_language.
13981
13982         * paragraph.C (getFontSettings): the language has to be resolved
13983         otherwise we have problems in LyXFont!
13984
13985         * lyxfont.C (lyxWriteChanges): added document_language parameter
13986         (update): removed unneeded language parameter
13987
13988         * paragraph.C (validate): fixed wrong output of color-package when
13989         using interface colors for certain fonts in certain environments,
13990         which should not seen as that on the final output.
13991
13992 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13993
13994         * BufferView_pimpl.C:
13995         * Thesaurus.h:
13996         * Thesaurus.C:
13997         * Makefile.am:
13998         * commandtags.h:
13999         * LyXAction.C: add thesaurus support
14000
14001         * lyxfind.h:
14002         * lyxfind.C: add "once" parameter, for thesaurus, to not
14003           move to the next match
14004
14005 2001-07-26  Juergen Vigna  <jug@sad.it>
14006
14007         * lyxfont.C (realize): honor ignore_language too!
14008         (resolved): ditto.
14009
14010         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14011
14012         * text.C (draw): one place more for ignore_language to not draw
14013         itself!
14014
14015 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14016
14017         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14018
14019 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14020
14021         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14022         the minipage conversion problem.
14023
14024 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14025
14026         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14027         insert an inset.
14028
14029 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14030
14031         * BufferView.h: don't forward declare WorkArea
14032
14033         * BufferView.C: don't include WorkArea.h
14034
14035 2001-07-25  André Pönitz <poenitz@gmx.net>
14036
14037         * commandtags.h:
14038         * LyXAction.C:
14039         * lyxfunc.C:  new LFUN 'math-space'
14040
14041         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14042
14043 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14044
14045         * text2.C (toggleInset): call open/close
14046
14047 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14048
14049         * lyxfunc.C (dispatch): add debug for the disabled case
14050
14051         * font.C (buttonText): make similar to rectText
14052
14053         * buffer.C (readInset): comment out parsing of insetlist and
14054         insttheorem
14055
14056         * PainterBase.C (rectText): small correction
14057
14058         * BufferView_pimpl.C: comment out insettheorem and insetlist
14059         * LyXAction.C: ditto
14060         * commandtags.h: ditto
14061
14062 2001-07-24  Juergen Vigna  <jug@sad.it>
14063
14064         * text.C (draw): honor the ignore_language.
14065
14066         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14067
14068 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14069
14070         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14071         char inset.
14072
14073 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14074
14075         * lyxtext.h: remove unused (and unimplemented) methods
14076
14077 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14078
14079         * text.C (getVisibleRow): honor background color
14080
14081         * PainterBase.h:
14082         * Painter.h: remove default color argument for fillRectangle
14083
14084         * text.C (backgroundColor): new method
14085
14086 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14087
14088         * text.C (getVisibleRow): adjust
14089
14090         * font.[Ch] (rectText): new method, metrics
14091         (buttonText): new method, metrics
14092
14093         * PainterBase.[hC]: make rectText and buttonText always draw and take
14094         fewer paramteres.
14095
14096 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14097
14098         * ToolbarDefaults.C (read):
14099         * MenuBackend.C (read): allow escaping in all strings
14100
14101         * BufferView_pimpl.C (insertAndEditInset): new method.
14102         (Dispatch): use insertAndEditInset whenever appropriate.
14103
14104         * BufferView_pimpl.C (insertNote): removed
14105
14106         * BufferView_pimpl.C (smartQuote): new method, moved from
14107         BufferView; if an insetquote cannot be inserted, insert a '"'
14108         character instead.
14109
14110         * BufferView2.C: remove insertCorrectQuote();
14111
14112         * lyxfunc.C (getStatus): Add support for all remaingin
14113         inset-insert lfuns.
14114
14115         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14116
14117         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14118         command (necessary to pass " as parameter of self-insert.
14119
14120         * text.C (selectWordWhenUnderCursor):
14121         (selectWord): add word_location parameter
14122         (selectWordWhenUnderCursor): same + remove special code for word
14123         boundary.
14124         (selectNextWord): use kind() to guess type of insetspecialchar,
14125         not latex().
14126
14127         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14128         (insertErtContents): create ert insets as collapsed.
14129         (readInset): better compatibility code for Info inset.
14130
14131 2001-07-20  Juergen Vigna  <jug@sad.it>
14132
14133         * lyxfunc.C (dispatch): use always LyXFind now!
14134
14135         * text2.C (init): add a reinit flag so that the LyXText can be
14136         reinited instead of deleted and reallocated (used in InsetText).
14137
14138         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14139
14140         * text.C: ditto
14141
14142         * text2.C: ditto
14143
14144 2001-07-18  Juergen Vigna  <jug@sad.it>
14145
14146         * text.C (selectNextWord): handle insets inside inset by calling
14147         always the bv->text functions so that we can go up the_locking_inset!
14148
14149         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14150         in strange locations when inside an inset!
14151
14152         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14153         handling to include insets.
14154
14155         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14156
14157 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14158
14159         * LyXAction.C (init):
14160         * commandtags.h:
14161         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14162         LIGATURE_BREAK, since the name is so stupid.
14163
14164 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14165
14166         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14167         InsetInfos.
14168
14169         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14170
14171         * sp_form.[Ch]: remove.
14172
14173         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14174
14175         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14176         InsetInfo.
14177
14178         * src/buffer.C (readInset): ditto.
14179
14180 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14181
14182         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14183         menuSeparator(), endOfSentenceDot(), ldots() and
14184         hyphenationPoint(), which are therefore removed.
14185         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14186
14187         * LyXAction.C (init):
14188         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14189
14190         * paragraph.C (getWord): removed.
14191
14192         * BufferView_pimpl.C (Dispatch): use last word or selection for
14193         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14194
14195         * lyx_main.C (queryUserLyXDir): do not ask before creating
14196         user_dir, except if it has been named explicitely.
14197
14198 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14199
14200         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14201         a document of zero size.
14202
14203 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14204
14205         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14206         approriately in the c-tor and in require().
14207         (getPackages): output the appropriate LaTeX for natbib support.
14208
14209         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14210         variables "use_natbib" and "use_numerical_citations" when reading the
14211         LyX file.
14212         (readInset): read the various natbib cite commands.
14213         (validate): white-space change.
14214
14215         * bufferparams.[Ch]: new variables "bool use_natbib" and
14216         "bool use_numerical_citations".
14217         (writeFile): output them in the LyX file.
14218
14219 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14220
14221         * lyxfunc.C (getStatus): add support for all the inset insertion
14222         commands.
14223
14224         * text2.C (insertInset):
14225         * paragraph.C (insetAllowed):
14226         * BufferView_pimpl.C (insertInset): update to take in account the
14227         renaming of insertInsetAllowed
14228
14229         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14230
14231         * text2.C (getInset): new method. returns inset at cursor position.
14232
14233         * BufferView_pimpl.C (Dispatch): changes because of this.
14234
14235         * LyXAction.C (init): rename open-stuff to inset-toggle.
14236
14237         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14238
14239         * text2.C (toggleInset): renamed from openStuff; use
14240         Inset::open().
14241
14242 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14243
14244         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14245
14246         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14247
14248 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14249
14250         * buffer.C (readLyXformat2): Add filename to the error dialog
14251
14252 2001-07-18  Juergen Vigna  <jug@sad.it>
14253
14254         * tabular.C (GetCellNumber): put an assert here instead of the check!
14255
14256 2001-07-17  Juergen Vigna  <jug@sad.it>
14257
14258         * BufferView_pimpl.C (toggleSelection): adapted too.
14259
14260         * text.C (selectNextWord): adapted for use with insets.
14261         (selectSelectedWord): ditto
14262
14263 2001-07-17  Juergen Vigna  <jug@sad.it>
14264
14265         * sp_spell.C (PSpell): fix initialitation order.
14266
14267 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14268
14269         * paragraph.C: spacing
14270
14271 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14272
14273         * sp_spell.C: repair language selection for pspell
14274
14275 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14276
14277         * lyxfunc.h: change more methods to begin with lower char.
14278
14279 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14280
14281         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14282         for unknown layouts.
14283
14284 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14285
14286         * buffer.C (readLyXformat2): Generate an error dialog if there are
14287         unknown layouts.
14288
14289 2001-07-16  Juergen Vigna  <jug@sad.it>
14290
14291         * sp_spell.C: always compile ISpell part.
14292
14293         * lyxrc.C: added use_pspell entry and it's handling.
14294
14295 2001-07-13  Juergen Vigna  <jug@sad.it>
14296
14297         * sp_spell.C: removed double includes.
14298
14299 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14300
14301         Consistent use of Lsstream.h:
14302         * Lsstream.h: added using std::stringstream for consistencies sake.
14303
14304         * buffer.C: removed using std::stringstream
14305
14306         * lyxfont.C (stateText):
14307         * paragraph.C (asString):
14308         * text.C (selectNextWord, selectSelectedWord):
14309         * text2.C (setCounter):
14310         * vspace.C (asString, asLatexString):
14311         std::ostringstream -> ostringstream.
14312
14313 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14314
14315         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14316         * commandtags.h: add LFUN_HELP_ABOUTLYX
14317         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14318
14319 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14320
14321         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14322         cursorToggle()
14323         * lyx_gui_misc.C: remove spellchecker
14324         * lyxfunc.C: showSpellchecker
14325         * sp_base.h: added
14326         * sp_ispell.h: added
14327         * sp_pspell.h: added
14328         * sp_spell.C: added
14329         * sp_form.[Ch]: removed
14330         * spellchecker.[Ch]: removed
14331
14332 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14333
14334         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14335         is set.
14336         (simpleTeXSpecialChars): Simply print the input character without
14337         any special translation if pass_thru is set.
14338
14339         * layout.h: Added bool pass_thru to layout class for being able to
14340         implement pass through of a paragraph for Literate Programming.
14341
14342         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14343         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14344         * layout.C (Read): add "passthru" to list of layout tags and add
14345         code to set the pass_thru boolean when it is read.
14346
14347 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14348
14349         * trans_decl.h: remove allowed from KmodInfo
14350
14351         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14352         remove allowed code
14353         (Load): adjust
14354
14355         * paragraph_pimpl.C (erase): use boost::prior
14356
14357         * Painter.C (text): use data() instead of c_str() when length is
14358         also provided.
14359         * WorkArea.C (putClipboard): ditto
14360         * font.h (width): ditto
14361
14362         * BufferView2.C: use it-> instead of (*it). for iterators
14363         * texrow.C: ditto
14364         * paragraph_pimpl.C: ditto
14365         * paragraph.C: ditto
14366         * minibuffer.C: ditto
14367         * language.C: ditto
14368         * kbmap.C: ditto
14369         * encoding.C: ditto
14370         * counters.C: ditto
14371         * converter.C: ditto
14372         * chset.C: ditto
14373         * Variables.C: ditto
14374         * TextCache.C: ditto
14375         * MenuBackend.C: ditto
14376         * LyXAction.C: ditto
14377         * LColor.C: ditto
14378         * FloatList.C: ditto
14379         * DepTable.C: ditto
14380         * ColorHandler.C (LyXColorHandler): ditto
14381
14382 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14383
14384         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14385
14386         * text2.C (openStuff): reintroduce this method (which had been
14387         nuked in NEW_INSETS frenzy).
14388
14389         * lyxfunc.C (Dispatch): when an action has not been handled, use
14390         its name in the error message, not its number.
14391
14392         * paragraph.C (inInset): change method name to begin with lowercase.
14393
14394         * undo_funcs.C:
14395         * text2.C: updates because of this.
14396
14397 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14398
14399         * ToolbarDefaults.C (add): add spaces in error message
14400
14401 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14402
14403         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14404         (readLyXformat2): rename return_par to first_par, use lyxlex's
14405         pushToken and remove the manual push handling.
14406         (parseSingleLyXformat2Token): add another ert comp. variable:
14407         in_tabular, rename return_par to first_par. handle newlines better
14408
14409 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14410
14411         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14412
14413 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14414
14415         * text2.C (getParFromID): removed
14416
14417         * buffer.C (getParFromID): new method moved form lyxtext.
14418         * BufferView2.C (insertErrors): adjust
14419         (setCursorFromRow): adjust
14420         * BufferView_pimpl.C (restorePosition): adjust
14421         * lyxfunc.C (Dispatch): adjust
14422         * undo_funcs.C (textUndo): adjust
14423         (textRedo): adjust
14424         (textHandleUndo): adjust
14425         (textHandleUndo): adjust
14426
14427 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14428
14429         * buffer.C: up' the LYX_FORMAT
14430
14431         * lyxfont.h: turn NO_LATEX on as default
14432
14433         * buffer.C (insertErtContents): new methods of tex style compability.
14434         (parseSingleLyXformat2Token): use it several places.
14435         * tabular.C (OldFormatRead): and here
14436
14437 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14438
14439         * text2.C: remove some commented code.
14440         reindent file.
14441
14442         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14443         * trans.C: changes because of the above.
14444
14445 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14446
14447         * text2.C (setCounter): Fix counters bug with bibliography layout.
14448
14449 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14450
14451         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14452         own member functions
14453         (simpleTeXSpecialChars): ditto
14454
14455 2001-07-06  Juergen Vigna  <jug@sad.it>
14456
14457         * a lot of files: changed the access to LyXText::status and the
14458         call of undo-functions.
14459
14460         * undo.[Ch]: added a inset_id to the undo informations.
14461
14462         * undo_funcs.[Ch]: added and moved here all undo functions.
14463
14464         * lyxtext.h: give the status enum a weight, made status_ a private
14465         variable and made accessor functions for it, removed the whole bunch
14466         of undo-functions as they are now in their own file, make some
14467         functions publically available. Added function ownerParagraph with
14468         int parameter.
14469
14470         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14471         made InInset() a const function, added getParFromID() function.
14472
14473         * buffer.[Ch]: added const version for inset_iterator functions,
14474         added getInsetFromID() function.
14475
14476         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14477         changed undo functions for new version.
14478
14479 2001-07-05  Juergen Vigna  <jug@sad.it>
14480
14481         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14482         unknow mechanism does not call the proper constructor but only this
14483         one also if I request the other!?
14484
14485 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14486
14487         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14488
14489         * text2.C (LyXText): use initialization lists.
14490
14491         * lyxtext.h (Selection): initialize set_ and mark_
14492         (init): remove method
14493
14494 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14495
14496         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14497
14498 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14499
14500         * screen.[Ch]: change method names to begin with lowercase
14501
14502         * BufferView_pimpl.C (updateScrollbar): simplify further and
14503         hopefully make it a bit faster.
14504
14505 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14506
14507         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14508         calling directly xforms functions.
14509
14510         * Painter.C (Painter):
14511         * lyx_cb.C (MenuWrite):
14512         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14513         fl_display.
14514
14515         * lyx_gui.C: remove bogus guiruntime extern declaration.
14516
14517 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14518
14519         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14520         in NEW_INSETS
14521         (redoDrawingOfParagraph): ditto
14522         (redoParagraphs): ditto
14523         (cutSelection): don't create a object for CutAndPaste use the
14524         static method directly
14525         (pasteSelection): ditto
14526
14527         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14528         LyXview (+ rename)
14529
14530 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14531
14532         * modifications to some other files because of this.
14533
14534         * Makefile.am (lyx_SOURCES): add XFormsView
14535
14536         * XFormsView.[Ch]: new files
14537
14538         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14539         the main window. Move the gui dependent stuff to XFormsView
14540
14541 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14542
14543         * tabular.C (GetCellInset): update cur_cell also in the row/col
14544         version of this function.
14545
14546         * lyxfunc.C: no need to include figure_form.h here.
14547
14548         * FontLoader.h:
14549         * lyxfunc.h:
14550         * lyxscreen.h:
14551         * text2.C:
14552         * lyxvc.C: no need to include forms.h here.
14553
14554 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14555
14556         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14557
14558         * lyxfunc.C (Dispatch):
14559         * Spacing.C (set):
14560         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14561         constructor argument.
14562
14563 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14564
14565         * paragraph.C (Paragraph): dont't clear, and just set layout.
14566         (makeSameLayout): use params's copy contructor.
14567
14568         * ParagraphParameters.[Ch] (makeSame): delete method
14569
14570 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14571
14572         * Variables.[Ch]: fix indentation, rename set to isSet
14573
14574 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14575
14576         * lyxfunc.C (Dispatch): fix typo
14577
14578 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14579
14580         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14581         upper_bound.
14582
14583         * bufferlist.C: include assert.h for emergencyWrite().
14584
14585 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14586
14587         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14588           give up at last (bug #425202) !
14589
14590 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14591
14592         * lyx_gui_misc.C:
14593         * sp_form.h:
14594         * sp_form.C:
14595         * spellchecker.h:
14596         * spellchecker.C: strip spellchecker options and bring up
14597           preferences tab instead
14598
14599 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14600
14601         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14602         the istringstream constructor
14603
14604 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14605
14606         * paragraph.C (getLayout): fix return value
14607
14608         * paragraph.h: do not declare getLayout as inline.
14609
14610         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14611
14612 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14613
14614         * lyxcursor.h (operator<): new func
14615         (operator>): new func
14616         (operator>=): new func
14617         (operator<=): new func
14618
14619         * text.C (changeCase): use selection.start and selection.end
14620         (changeRegionCase): require from to be <= to. Require par to be a
14621         valid paragraph.
14622
14623         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14624
14625 2001-06-27  Juergen Vigna  <jug@sad.it>
14626
14627         * text.C (cursorLeftOneWord): changed to return the cursor and added
14628         overlay with BufferView * parameter which calls this one.
14629         (getWord): added
14630         (selectWord): use new getWord function.
14631         (changeCase): renamed from changeWordCase as and extended to work
14632         also on selections.
14633
14634         * lyxtext.h: added enum word_location
14635
14636         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14637         changeCase as this operates now also on selections.
14638
14639 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14640
14641         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14642
14643         * many files: send debug output to Debug::INFO instead of
14644         Debug::ANY.
14645
14646         * converter.C (View):
14647         (Convert):
14648         (Move): send debug output to Debug::FILES instead of console.
14649
14650 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14651
14652         * lyxfunc.C (getStatus): use func_status
14653
14654         * func_status.h: new header, describing the results of
14655         LyXFunc::getStatus;
14656
14657         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14658         LFUN_MATH_HALIGN.
14659
14660 2001-06-25  The LyX Project  <jug@sad.it>
14661
14662         * buffer.C (sgmlOpenTag):
14663         (sgmlCloseTag):
14664         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14665
14666 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14667
14668         * text2.C: remove some dead code
14669
14670         * tabular.C (GetCellInset): store the last cell checked (gotten)
14671
14672         * tabular.h: add the helper for the speedup
14673
14674         * lyxtext.h: remove some dead code
14675
14676 2001-06-26  The LyX Project  <Asger>
14677
14678         * paragraph.C: Change export to LaTeX of alignment to
14679         \begin{center} and family for better roundtrip work with reLyX.
14680
14681         * Tune the math drawing a bit.
14682
14683 2001-06-25  The LyX Project  <Asger>
14684
14685         * LColor.C (LColor): New color for math background. New color
14686         for buttons.
14687
14688 2001-06-25  The LyX Project  <jug@sad.it>
14689
14690         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14691
14692         * lyxfunc.C (Open):
14693         * bufferlist.C (newFile): do not restrict to files ending with
14694         .lyx
14695
14696         * BufferView_pimpl.C (MenuInsertLyXFile):
14697
14698 2001-06-24  The LyX Project  <jug@sad.it>
14699
14700         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14701         of compare_no_case
14702
14703 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14704
14705         * lyxtext.h: rename most methods to begin with a small char.
14706         Lots of changes because of this.
14707
14708         * paragraph.C (Paragraph): do not call fitToSize
14709         (erase): call Pimpl::erase
14710         (insertChar): call Pimpl::insertChar
14711         (insertInset): call Pipl::insertInset
14712         (breakParagraph): do not call fitToSize
14713         (breakParagraphConservative): do not call fitToSize
14714         (fitToSize): remove method
14715
14716         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14717
14718 2001-06-24  The LyX Project  <Asger>
14719
14720         * Fix Qt compilation^2
14721
14722 2001-06-24  The LyX Project  <jug@sad.it>
14723
14724         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14725         depthHook(getDepth()-1).
14726
14727         * paragraph.h:
14728         * ParagraphParameters.h:
14729         * ParameterStruct.h: change type of depth to unsigned int ==
14730         depth_type. Many adaptations to other files before of that.
14731
14732 2001-06-24  The LyX Project  <Asger>
14733
14734         * Fix Qt compilation.
14735
14736 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14737
14738         * paragraph.h: renamed several methods to begin with small letter.
14739         several changes to many parts of the code because of this.
14740
14741 2001-06-23  The LyX Project  <jug@sad.it>
14742
14743         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14744         rewritten to discard all double spaces when KeepEmpty is off
14745         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14746         to only handle newlines but not fiddle with spaces and friends.
14747
14748         * lyxfunc.C (MenuNew): when doing 'new from template', use
14749         template_path as default directory
14750
14751 2001-06-23  The LyX Project  <Asger>
14752
14753         * Clean-up of header file includes all over
14754         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14755
14756 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14757
14758         * paragraph.h: renamed from lyxparagraph.h
14759
14760 2001-06-23  Asger  <lyx@violet.home.sad.it>
14761
14762         * Buffer.h: Removed Buffer::resize
14763         * BufferList.h: Removed BufferList::resize
14764         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14765         the document lazily when we change the width, or the font settings.
14766
14767 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14768
14769         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14770
14771 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14772
14773         * buffer.h: remove out of date comment
14774
14775 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14776
14777         * lyxscreen.h:
14778         * screen.C: fix "theoretical" GC leak
14779
14780 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14781
14782         * LaTeX.C (scanAuxFile):
14783         (deplog): remove trailing \r when reading stream (useful under
14784         win32)
14785
14786 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14787
14788         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14789         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14790         and BufferView::theLockingInset(Inset*), so should use them and not
14791         access bv_->text->the_locking_inset directly.
14792
14793         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14794
14795 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14796
14797         * Makefile.am:
14798         * tex-defs.h: remove old unused file
14799
14800 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14801
14802         * BufferView_pimpl.C: fix typo, remove minibuffer message
14803           when buffer has loaded
14804
14805 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14806
14807         * lyxfunc.C (Dispatch): use stringstream
14808         (MenuNew): use stringstream
14809         (Open): use stringstream
14810
14811         * importer.C (Import): use stringstream
14812
14813         * bufferview_funcs.C (CurrentState): use stringstream
14814
14815         * LaTeX.C (run): use stringstream
14816
14817         * BufferView_pimpl.C (savePosition): use stringstream
14818         (restorePosition): use stringstream
14819         (MenuInsertLyXFile): use stringstream
14820
14821 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14822
14823         * BufferView.C:
14824         * Bullet.C:
14825         * ColorHandler.C:
14826         * FontInfo.C:
14827         * FontLoader.C:
14828         * LColor.C:
14829         * LaTeXFeatures.C:
14830         * Painter.C:
14831         * gettext.C:
14832         * lyx_gui_misc.C:
14833         * lyxserver.C:
14834         * vspace.C: removed // -*- C++ -*- as first line.
14835
14836         * lyxfind.h:
14837         * version.h: added // -*- C++ -*- as first line.
14838
14839 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14840
14841         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14842
14843         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14844         of string
14845
14846 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14847
14848         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14849         of floats.
14850
14851 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14852
14853         * gettext.C: include LString.h even when --disable-nls is on.
14854
14855 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14856
14857         * converter.h (Get): changed argument type from int to
14858         FormatList::size_type to avoid unnecessary conversion.
14859
14860         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14861         before using it.
14862
14863 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14864
14865         * gettext.h: include LString.h even when --disable-nls is on.
14866
14867 2001-06-07  Juergen Vigna  <jug@sad.it>
14868
14869         * text.C (BreakAgain): subst spaces with tabs.
14870
14871         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14872         (resizeInsetsLyXText): set force on resizeLyXText.
14873
14874 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14875
14876         * gettext.h (gettext_init):
14877         (locale_init): use a real definition instead of a macro
14878
14879 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14880
14881         * Bufferview_pimpl.C:
14882         * LColor.h:
14883         * LColor.C: further lcolor tidies
14884
14885 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14886
14887         * BufferView_pimpl.C (updateScrollbar): simplify.
14888
14889         * BufferView2.C: don't include insets/insetinfo.h, change
14890         prototype for insertInset and call the Pimpl version. let
14891         updateInset call Pimpl version.
14892
14893         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14894         gotoInset to BufferView::Pimpl
14895
14896 2001-06-01  Juergen Vigna  <jug@sad.it>
14897
14898         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14899         inside a LockingInset (is the update needed at all?).
14900
14901 2001-05-31  Juergen Vigna  <jug@sad.it>
14902
14903         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14904         here not the old one otherwise how should we compare it afterwards
14905         if it's the same!
14906
14907 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14908
14909         * lyxfont.C:
14910         * tabular.C:
14911         * tabular-old.C:
14912         * FontInfo.C: bring C functions into global namespace when
14913         necessary
14914
14915 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14916
14917         * LString.h: make sure config.h has been loaded before LString.h.
14918
14919         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14920         (one for each char read by EatLine!).
14921
14922         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14923         variables.
14924
14925 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14926
14927         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14928         to the same as the par we break from
14929
14930 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14931
14932         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14933
14934         * MenuBackend.C (expand): also create menu entries for wide
14935         versions of the floats.
14936
14937         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14938
14939         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14940
14941         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14942         frontends/Makefile.am
14943
14944         * text2.C: adjust
14945         * text.C: adjust
14946
14947
14948         * tabular.C (getTokenValue): add std::
14949
14950         * tabular-old.C (getTokenValue): add std::
14951         (getTokenValue): ditto
14952         (getTokenValue): ditto
14953
14954         * screen.C (ToggleSelection): adjust
14955
14956         * lyxtext.h: put selection cursors inside a Selection struct.
14957
14958         * lyxfunc.C (moveCursorUpdate): adjust
14959
14960         * lyxfont.C (latexWriteStartChanges): add std::
14961
14962         * lyxfind.C: adjust
14963
14964         * font.h: delete with(char const *, LyXFont const &)
14965
14966         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14967
14968         * FontInfo.C (getFontname): add std::
14969
14970         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14971         (workAreaButtonPress): adjust
14972         (tripleClick): adjust
14973         (update): adjust
14974         (moveCursorUpdate): adjust
14975         (Dispatch): adjust
14976
14977         * BufferView2.C (gotoInset): adjust
14978
14979 2001-05-30  Juergen Vigna  <jug@sad.it>
14980
14981         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14982         to check pspell I add this as default as I now have new pspell
14983         libraries and they seem to use this.
14984
14985 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14986
14987         * text2.C (CutSelection): make the cursor valid before the call to
14988         ClearSelection.
14989
14990 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14991
14992         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14993         relied on 0 terminated strings and other horrors. Bug found due to
14994         the new assert in lyxstring!
14995
14996         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14997         KP_ keys.
14998
14999 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15000
15001         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15002         to latinkeys.bind.
15003
15004         * lyxfunc.C (processKeySym): change method of getting to the
15005         self-insert char.
15006
15007         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15008         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15009         * BufferView_pimpl.[Ch]: here as private methods.
15010
15011 2001-05-28  Juergen Vigna  <jug@sad.it>
15012
15013         * text.C (SetHeightOfRow): added the update() call again as it is
15014         needed to initialize inset dimensions!
15015
15016 2001-05-16  Juergen Vigna  <jug@sad.it>
15017
15018         * text2.C (SetCharFont): Add new function with BufferView * and
15019         bool toggleall parameters for setting insets internal fonts.
15020         (SetFont): Freeze the undo as we may change fonts in Insets and
15021         all this change should be inside only one Undo!
15022
15023         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15024         setting font's in insets as for them we have the SetFont function!
15025
15026 2001-05-15  Juergen Vigna  <jug@sad.it>
15027
15028         * text2.C (ClearSelection): to be sure we REALLY don't have any
15029         selection anymore!
15030
15031         * tabular.C (TeXCellPreamble): fixed the left border problem for
15032         multicolumn cells.
15033
15034 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15035
15036         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15037         dependancy file
15038
15039 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15040
15041         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15042         LFUN_BREAKPARAGRAPH.
15043
15044         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15045         help test to "internal only", similar for LFUN_INSERT_URL
15046
15047         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15048         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15049         auto_region_delete and deadkeys.
15050
15051 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15052
15053         * LColor.h:
15054         * LColor.C: remove some dead entries, tidy a little
15055
15056 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15057
15058         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15059         commented code.
15060         (Dispatch): implement LFUN_ESCAPE
15061
15062         * commandtags.h: add LFUN_ESCAPE
15063
15064         * LyXAction.C (init): add entry for LFUN_ESCAPE
15065
15066         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15067         Remove commented code.
15068         (insertNote): moved here
15069         (open_new_inset): moved here
15070
15071         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15072         BufferView_pimpl
15073
15074 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15075
15076         * kbmap.C (findbinding): clean it up and make it work correctly.
15077
15078         * lyx_main.C (init): do not pass argc and argv as parameters
15079
15080 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15081
15082         * buffer.C: fix path for OS/2 & Win32
15083
15084         * lyx_gui.C:
15085         * lyx_main:
15086         * lyx_main.C: Added os:: class.
15087
15088         * os2_defines.h: update
15089
15090 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15091
15092         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15093         better by trying again with reduced state.
15094
15095 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15096
15097         * lyxrc.C (read): print error about invalid key sequence only when
15098         debugging (because not all latinX keysyms are known to some X
15099         servers)
15100
15101         * kbsequence.C (getiso): add a few std:: qualifiers
15102         (getiso): comment out extra return statement.
15103
15104 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15105
15106         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15107         handling.
15108         (Dispatch): enhance the accent inset a bit. (not perfect)
15109
15110 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15111
15112         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15113
15114 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15115
15116         * bufferlist.C (emergencyWrite): fix assert() call
15117
15118 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15119
15120         * text.C (InsertChar): Added trivial patch to only send the "you
15121         can not do multiple spaces this way" message once during a
15122         session.
15123
15124 2001-05-08  Baruch Even  <baruch@lyx.org>
15125
15126         * Makefile.am: Changed order of libraries to get LyX to link properly
15127         with the gnome frontend.
15128
15129 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15130
15131         * LaTeXFeatures.h: add a std:: qualifier
15132
15133 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15134
15135         * paragraph.C (String): use stringstream
15136
15137 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15138
15139         * paragraph.C (writeFile): remove footflag arg
15140
15141         * buffer.C (makeLaTeXFile): use stringstream
15142         (latexParagraphs): remove footnot gurba
15143
15144         * LaTeXFeatures.C (getPackages): use stringstream
15145         (getMacros): likewise
15146         (getTClassPreamble): likewise
15147         (getFloatDefinitions): new method
15148
15149         * paragraph.C (writeFile): reindent
15150         (Erase): reindent
15151
15152         * WorkArea.h: revert the xpos + etc changes.
15153
15154         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15155
15156         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15157
15158         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15159         (pasteSelection): likewise
15160         * text2.C (CreateUndo): likewise
15161
15162 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15163
15164         * minibuffer.C (peek_event): temporarily reduce the functionality
15165         of the minibuffer (to allow args on lfuns)
15166
15167         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15168         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15169
15170         * buffer.C (readInset): add compability reading of old float
15171         lists, add reading of new style float list.
15172         (readInset): avoid reevaluation of inscmd.getCmdName()
15173         (getLists): reindent
15174
15175         * MenuBackend.C (MenuItem): implement parsing of
15176         md_floatlistinsert and md_floatinsert.
15177         (expand::LastFiles): move initalizaton of iterators out of loop,
15178         avoid reevaluation.
15179         (expand::Documents): introduce typdedef vector<string> Strings,
15180         and use it.
15181         (expand::ExportFormats): introduce typedef vector<Format const *>
15182         Formats, and use it.
15183         (expand): implement FloatListInsert and FloatInsert.
15184
15185         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15186         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15187         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15188
15189         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15190         handling.
15191         (Dispatch::LFUN_FLOAT_LIST): implement
15192
15193 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15194
15195         * LaTeX.C (run): Fix problem with --export code.
15196
15197 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15198
15199         * BufferView.[Ch] (workarea): removed.
15200         (getClipboard) new method; wrapper for workarea()->getClipboard()
15201
15202         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15203         bug.
15204
15205         * WorkArea.h (width, height, xpos, ypos): These methods all
15206         returned the dimensions of the work_area sub-area of WorkArea,
15207         resulting in a position error if the WorkArea were resized. Now
15208         return the dimensions of the entire WorkArea.
15209
15210         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15211
15212 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15213
15214         * LaTeX.C (deplog): correct the syntax of regex reg1
15215
15216 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15217
15218         * undo.C: remove !NEW_INSETS cruft
15219
15220 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15221
15222         * text2.C: remove !NEW_INSETS cruft
15223
15224         * text.C: remove !NEW_INSETS cruft
15225
15226         * tabular.C: remove !NEW_INSETS cruft
15227
15228         * spellchecker.C: remove !NEW_INSETS cruft
15229
15230         * lyxtext.h: remove !NEW_INSETS cruft
15231
15232         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15233
15234         * lyxfunc.C: remove !NEW_INSETS cruft
15235
15236         * lyxfind.C: remove !NEW_INSETS cruft
15237
15238         * lyx_cb.C: remove !NEW_INSETS cruft
15239
15240         * figureForm.C: remove  !NEW_INSETS cruft
15241
15242         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15243
15244         * buffer.[Ch]: remove !NEW_INSETS cruft
15245
15246         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15247
15248         * CutAndPaste.C: remove !NEW_INSETS cruft
15249
15250         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15251
15252         * BufferView2.C: remove !NEW_INSETS cruft
15253
15254         * BufferView.h: remove !NEW_INSETS cruft
15255
15256 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15257
15258         * Lsstream.h: include LString.h before the sstream headers to
15259         fix problem with gcc 2.95.3 and lyxstring
15260
15261 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15262
15263         * lyx_main.C: add using directives when needed for C functions
15264         declared in std:: namespace.
15265
15266 2001-04-27  Juergen Vigna  <jug@sad.it>
15267
15268         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15269         (SetHeightOfRow): comment out the update call should not be needed!
15270
15271 2001-04-13  Juergen Vigna  <jug@sad.it>
15272
15273         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15274         (LyXTabular): tried to minimize operator= operations (and realized
15275         hopfully Lars wish).
15276
15277 2001-04-27  Juergen Vigna  <jug@sad.it>
15278
15279         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15280
15281 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15282
15283         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15284
15285         * buffer.C (readInset): hack to make listof algorithm work
15286
15287         * BufferView_pimpl.C: hack to make listof algorithm work
15288
15289 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15290
15291         * LyXAction.C: removed all !NEW_INSETS cruft
15292         (init): moved lfun_item in method
15293
15294         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15295
15296 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15297
15298         * BufferView2.C (theLockingInset): white space.
15299
15300 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15301
15302         * minibuffer.C: include <iostream>
15303
15304         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15305
15306         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15307
15308         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15309
15310         * text.[Ch] (TransposeChars): new method
15311
15312 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15313
15314         * call message directly through LyXView instead of through LyXFunc
15315         * BufferView2.C: adjust
15316         * BufferView_pimpl.C: adjust
15317         * FontLoader.C: adjust
15318         * buffer.C: adjust
15319         * bufferview_funcs.C: adjust
15320         * converter.C: adjust
15321         * figureForm.C: adjust
15322         * importer.C: adjust
15323         * lyx_cb.C: adjust
15324         * lyx_gui_misc.C: adjust
15325         * lyxfunc.C: adjust
15326         * lyxvc.C: adjust
15327         * text2.C: adjust
15328         + more files in subdirs
15329
15330         * lyxparagraph.h (size): move up int file
15331         (GetLayout): ditto
15332
15333         * adjust all uses of Assert to lyx::Assert.
15334
15335         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15336         lyxfunctional in namespace lyx
15337         * layout.C (hasLayout): ditto
15338         (GetLayout): ditto
15339         (GetLayout): ditto
15340         (delete_layout): ditto
15341         (NumberOfClass): ditto
15342         * converter.C (GetFormat): ditto
15343         (GetNumber): ditto
15344         (Add): ditto
15345         (Delete): ditto
15346         (SetViewer): ditto
15347         * bufferlist.C (getFileNames): ditto
15348         (emergencyWriteAll): ditto
15349         (exists): ditto
15350         (getBuffer): ditto
15351         * MenuBackend.C (hasSubmenu): ditto
15352         (hasMenu): ditto
15353         (getMenu): ditto
15354         * BufferView_pimpl.C (getInsetByCode): ditto
15355
15356 2001-04-18  Juergen Vigna  <jug@sad.it>
15357
15358         * vspace.C (asLatexString): fixed the 100% problem.
15359
15360 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15361
15362         * lyxfunc.C (Dispatch):
15363         * minibuffer.C:
15364         * minibuffer.h: add a few std:: qualifiers
15365
15366 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15367
15368         * minibuffer.[Ch]: reimplement so that commands is initiated and
15369         run from lyxfunc, simplified som handling, and made the completion
15370         and history code for complete. wip.
15371
15372         * lyxfunc.C (processKeySym): call message
15373         (miniDispatch): new temporary method
15374         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15375         (LFUN_MESSAGE): implement
15376         (LFUN_MESSAGE_PUSH): implement
15377         (LFUN_MESSAGE_POP): implement
15378         (initMiniBuffer): the initial/defualt minibuffer message.
15379
15380         * lyxfont.[Ch]: inline some more getters
15381
15382         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15383
15384         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15385
15386         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15387         (AutoSave): use LFUN_MESSAGE
15388         (Reconfigure): ditto
15389
15390         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15391
15392         * figureForm.C: use LFUN_MESSAGE
15393
15394         * converter.C (runLaTeX): use LFUN_MESSAGE
15395
15396         * bufferview_funcs.C: use LFUN_MESSAGE
15397         (Melt): ditto
15398         (changeDepth): ditto
15399
15400         * bufferparams.h: use boost::
15401
15402         * bufferlist.h: inherit privately from noncopyable
15403
15404         * bufferlist.C (loadLyXFile): remove some commented code.
15405
15406         * buffer.C (runChktex): use LFUN_MESSAGE
15407
15408         * ShareContainer.h: inherit privately from noncopyable
15409
15410         * ParagraphParameters.[hC] (depth): inline it.
15411
15412         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15413         methods.
15414         (message): new method
15415         (messagePush): ditto
15416         (messagePop): ditto
15417         (show): init minibuffer
15418         (showState): direct call
15419
15420         * LaTeX.[Ch]: inherit privately from noncopyable
15421         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15422         instead of WriteStatus.
15423
15424         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15425
15426         * BufferView_pimpl.C (buffer): don't init minibuffer
15427         (workAreaButtonPress): use LFUN_MESSAGE
15428         (workAreaButtonRelease): ditto
15429         (savePosition): ditto
15430         (restorePosition): ditto
15431         (MenuInsertLyXFile): ditto
15432         (workAreaExpose): don't init minibuffer
15433         (update): remove commented code, simplify
15434
15435         * BufferView2.C (openStuff): use LFUN_MESSAGE
15436         (toggleFloat): ditto
15437         (menuUndo): ditto
15438         (menuRedo): ditto
15439         (copyEnvironment): ditto
15440         (pasteEnvironment): ditto
15441         (copy): ditto
15442         (cut): ditto
15443         (paste): ditto
15444         (gotoInset): ditto
15445         (updateInset): remove some commented code
15446
15447         * lastfiles.h: inherit privately from noncopyable
15448         * layout.h: ditto
15449         * lyx_gui.h: ditto
15450         * lyx_main.h: ditto
15451         * lyxlex.h: ditto
15452         * lyxlex_pimpl.h: ditto
15453
15454         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15455         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15456         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15457
15458         * LyXAction.h: inherit privately from noncopyable, add methods
15459         func_begin, func_end, returning iterators to the func map.
15460
15461         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15462         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15463         (func_begin): new method
15464         (func_end): new method
15465
15466         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15467         and not)
15468         (copySelection): ditto
15469         (pasteSelection): ditto
15470
15471         * BufferView.C: whitespace change
15472         * BufferView.h: inherit privately from noncopyable
15473
15474 2001-04-16  Allan Rae  <rae@lyx.org>
15475
15476         * tabular-old.C (l_getline):
15477         * spellchecker.C (sc_check_word):
15478         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15479         an unrecognised preprocessor directive.  So ensure they're wrapped.
15480
15481 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15482
15483         * src/exporter.C (Export): Give an error message when path to file
15484         contains spaces.
15485
15486 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15487
15488         * LaTeX.C (deplog): Always check that foundfile exists.
15489
15490 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15491
15492         * lyx_main.h:
15493         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15494
15495 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15496
15497         * tabular.[Ch] (getLabelList): implement new method
15498
15499         * minibuffer.h: comment ouf setTiimer
15500
15501         * minibuffer.C (ExecutingCB): constify res
15502         (peek_event): constify s
15503         (Set): constify ntext
15504         (Init): constify nicename
15505
15506         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15507
15508         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15509         (savePosition): use two params to Minibuffer::Set
15510         (restorePosition): ditto
15511
15512 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15513
15514         * lyx_main.C: include language.h
15515
15516         * Makefile.am (lyx_main.o): add language.h
15517
15518 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15519
15520         * exporter.C:
15521         * paragraph.C:
15522         * screen.C:
15523         * tabular.C:
15524         * CutAndPaste.C: include gettext.h
15525
15526         * lyxfont.h: remove old hack with ON and OFF.
15527
15528         * lyxparagraph.h:
15529         * lyxfont.h: do not include language.h...
15530
15531         * BufferView2.C:
15532         * LaTeXFeatures.C:
15533         * Painter.C:
15534         * bufferview_funcs.C:
15535         * font.C:
15536         * lyxfont.C:
15537         * text.C:
15538         * text2.C:
15539         * trans_mgr.C:
15540         * paragraph.C: ... but do it here instead
15541
15542 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15543
15544         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15545
15546         * tabular.C: small reformat
15547
15548         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15549         NEW_INSETS version
15550         (GetChar): ditto
15551         (BreakParagraph): ditto
15552         (SetOnlyLayout): ditto
15553         (SetLayout): ditto
15554
15555         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15556         with one arg less.
15557
15558         * lastfiles.C: removed most using decl, add std:: where needed
15559
15560         * buffer.C: ws changes
15561
15562         * MenuBackend.C (class compare_format): put into anon namespace
15563         (expand): constify label, names, action, action2
15564         (expand):
15565
15566         * text.C (SingleWidth): constify font
15567         (IsBoundary): constify rtl2
15568         (GetVisibleRow): constify ww
15569
15570         * LaTeX.C (deplog): constify logfile
15571
15572         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15573         start_x, end_x
15574         (workAreaExpose): constify widthChange, heightChange
15575
15576         * lyxrow.C (par): moved
15577         (height): moved
15578         (next): moved
15579         * lyxrow.h: as inlines here
15580
15581         * lyxfont.h (shape): moved from lyxfont.C
15582         (emph): moved from lyxfont.C
15583
15584         * lyxfont.C (LyXFont): use initialization list for all
15585         constructors
15586         (shape): move to lyxfont.h as inline
15587         (emph): move to lyxfont.h as inline
15588
15589
15590 2001-04-04  Juergen Vigna  <jug@sad.it>
15591
15592         * vspace.C: had to include stdio.h for use of sscanf
15593
15594 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15595
15596         * BufferView.h:
15597         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15598         independent of xforms.
15599
15600 2001-04-02  Juergen Vigna  <jug@sad.it>
15601
15602         * spellchecker.C: fixed namespace placing!
15603
15604 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15605
15606         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15607         the LyXParagraph * is 0.
15608
15609 2001-03-29  Juergen Vigna  <jug@sad.it>
15610
15611         * vspace.C: added support for %, c%, p%, l%.
15612         (stringFromUnit): added helper function.
15613         (asLatexString): changed to give right results for the %-values.
15614
15615         * buffer.C: convert the widthp in a width%.
15616
15617 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15618
15619         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15620         figureForm.[Ch].
15621
15622         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15623         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15624
15625         * lyx_cb.[Ch]: see above.
15626
15627         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15628         form1.[Ch].
15629
15630         * form1.[Ch]:
15631         * lyx.[Ch]: replaced by figure_form.[Ch].
15632
15633         * lyx_gui.C:
15634         * lyx_gui_misc.C:
15635         * lyxfunc.C: changed headers associated with above changes.
15636
15637 2001-03-27  Juergen Vigna  <jug@sad.it>
15638
15639         * BufferView_pimpl.C: set the temporary cursor right!
15640
15641 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15642
15643         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15644
15645 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15646
15647         * LString.h: removed "using std::getline"!
15648
15649         * BufferView_pimpl.C (Dispatch): changes due to changes in
15650         InsetInclude::Params.
15651
15652         * buffer.C (tag_name): removed redundant break statements as they were
15653         producing lots of warnings with my compiler.
15654
15655 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15656
15657         * LString.h: add "using std::getline" when using the real <string>.
15658
15659 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15660
15661         * buffer.C: removed bitset usage.
15662         PAR_TAG moved to an anonymous name space.
15663         (tag_name): new funtion, also in the anonymous namespace.
15664         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15665         (makeDocBookFile): clean code. Completed transition from string arrays
15666         to string vectors.
15667         (SimpleDocBookOnePar): code clean.
15668
15669 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15670
15671         * tabular.C: add some comments.
15672
15673 2001-03-22  Juergen Vigna  <jug@sad.it>
15674
15675         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15676         compatibility read a bit and fixed bug with minipage in different
15677         depth.
15678
15679 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15680
15681         * buffer.C (pop_tag): removed.
15682         (push_tag): removed.
15683         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15684         array replaced with vector. Added support for CDATA sections.
15685         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15686         at any nest level.
15687         (makeDocBookFile): XML conformant declaration of CDATA section,
15688         fixed bug related to <emphasis> in the first paragraph char.
15689         (sgmlOpenTag): exclude empty tags.
15690         (sgmlCloseTag): ditto.
15691
15692         * buffer.h (pop_tag): removed.
15693         (push_tag): removed.
15694
15695 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15696
15697         * language.h (Languages): added size_type and size().
15698
15699 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15700
15701         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15702         response on compability reading of minipages. One probliem is that
15703         the old usage of minipages was «flertydig»
15704
15705         * several files here and in subdirs: don't use static at file
15706         scope use anon namespaces instead.
15707
15708 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15709
15710         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15711         LaTeX output. This is necessary for Literate document
15712         processing.
15713
15714 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15715
15716         * buffer.C: insert hfill when needed.
15717
15718         * tabular.C (l_getline): use string::erase, small whitespace change.
15719
15720         * BufferView_pimpl.C: try the anon namespace.
15721         * WorkArea.C: ditto
15722
15723 2001-03-16  Juergen Vigna  <jug@sad.it>
15724
15725         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15726         otherwise it won't open options-dialogs.
15727
15728         * buffer.C: honor pextraWidth(p) on converting minipages.
15729
15730         * tabular.C (l_getline): changed the functions to strip trailing \r.
15731
15732 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15733
15734         * BufferView_pimpl.C:
15735         * minibuffer..C: added "using SigC::slot" declaration.
15736
15737 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15738
15739         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15740
15741         * text2.C: ditto
15742
15743         * text.C: ditto
15744
15745         * paragraph.C: ditto
15746
15747         * lyxtext.h: NO_PEXTRA
15748
15749         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15750
15751         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15752         * ParameterStruct.h: ditto
15753         * ParagraphParameters.h: ditto
15754         * lyxparagraph.h: ditto
15755
15756 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15757
15758         * buffer.C: add compability for minipage alignment.
15759         (latexParagraphs): remove unwanted pextra check.
15760
15761         * several files: remove CXX_WORKING_NAMESPACES
15762
15763         * buffer.C (pop_tag): tie is in namespace boost
15764
15765         * BufferView.h: noncopyable is in namespace boost
15766         * lyxlex.h: ditto
15767         * lyx_main.h: ditto
15768         * lyx_gui.h: ditto
15769         * layout.h: ditto
15770         * lastfiles.h: ditto
15771         * bufferlist.h: ditto
15772         * ShareContainer.h: ditto
15773         * LyXView.h: ditto
15774         * LyXAction.h: ditto
15775         * LaTeX.h: ditto
15776
15777 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15778
15779         * Merging changes from BRANCH_MVC back into HEAD.
15780
15781         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15782
15783 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15784
15785         * BufferView_pimpl.C: change from intl.C
15786
15787         * combox.h:
15788         * combox.C:
15789         * Makefile.am: move combox.*
15790
15791         * form1.h:
15792         * form1.C:
15793         * lyx_gui.C:
15794         * intl.h:
15795         * intl.C: remove dialog (covered by prefs)
15796
15797 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15798
15799         * lyxfunc.C (Dispatch): removed redundant break statement.
15800
15801 2001-03-14  Juergen Vigna  <jug@sad.it>
15802
15803         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15804
15805 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15806
15807         * buffer.C: add hack to fix compability reading of minipages.
15808
15809 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15810
15811         * buffer.C (getLists): Cleanup.
15812
15813 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15814
15815         * lyxfont.C (update): don't honor toggleall on font size.
15816
15817 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15818
15819         * bmtable.c:
15820         * bmtable.h:
15821         * Makefile.am: moved to frontends/xforms/
15822
15823         * lyx_gui_misc.C:
15824         * lyxfunc.C:
15825         * BufferView_pimpl.C: changes for moved mathpanel
15826
15827 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15828
15829         * gettext.h: fix gettext_init() in --disable-nls
15830
15831 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15832
15833         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15834
15835 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15836
15837         * lyx.C:
15838         * lyx.h: strip external form
15839
15840 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15841
15842         * BufferView_pimpl.C: add comment, destroySplash()
15843
15844 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15845
15846         * BufferView_pimpl.C:
15847         * LyXAction.C:
15848         * buffer.C:
15849         * commandtags.h:
15850         * lyxfunc.C: use re-worked insetinclude
15851
15852 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15853
15854         * buffer.C: add using std::stringstream.
15855
15856         * lyx_cb.C: readd using std::ios.
15857
15858         * buffer.C: add using std::map.
15859
15860         * BufferView_pimpl.C: add using std::vector.
15861
15862         * ShareContainer.h: add std:: to swap.
15863
15864         * buffer.h: add some typedefs
15865         * buffer.C (getLists): use them
15866         (getLists): renamed from getTocList.
15867         add a counter for the different float types and use it in the
15868         generated string.
15869         (getLists): use the same counter for the NEW_INSETS and the "non"
15870         NEW_INSETS
15871
15872         * lyx_cb.h: remove unused items, includes, using etc.
15873
15874         * ShareContainer.h: remove some commented code, add more comments
15875         and "documentation".
15876
15877 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15878
15879         * buffer.C (getTocList): make the list also when NEW_INSETS is
15880         defined.
15881
15882         * buffer.h: remove TocType
15883
15884         * buffer.C (getTocList): change to return a map<string,
15885         vector<TocItem> >, implement for dynamic number of list.
15886
15887         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15888         * text2.C (PasteSelection): adjust
15889         * CutAndPaste.C (pasteSelection): adjust
15890
15891         * FloatList.C (FloatList): update from the new_insets branch.
15892         * Floating.[Ch]: ditto
15893         * LaTeXFeatures.C: ditto
15894         * buffer.C: ditto
15895         * lyxlex_pimpl.C: ditto
15896
15897         * paragraph.C (Last): remove when NEW_INSETS is defined.
15898
15899         * other file: changes because of the above.
15900
15901 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15902
15903         * lyxparagraph.h: rename next to next_, previous to previous_,
15904         make them private for NEW_INSETS. Rename Next() to next(),
15905         Previous() to previous().
15906
15907         * other files: changes because of the above.
15908
15909 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15910
15911         * BufferView.h:
15912         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15913         problem.
15914
15915 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15916
15917         * main.C (main): pass lyx_localedir to gettext_init().
15918
15919         * gettext.h: remove locale_init and gettext_init macros
15920
15921         * gettext.C (locale_init): new function
15922         (gettext_init): new function
15923
15924         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15925         setlocale().
15926
15927 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15928
15929         * Moved credits to frontends:
15930         * credits.[Ch]: removed
15931         * credits_form.[Ch]: removed
15932         * lyx_gui_misc.C: remove credits stuff
15933         * Makefile.am:
15934
15935 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15936
15937         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15938
15939         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15940         unneeded destructor.
15941
15942         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15943         a standalone pointer again.
15944
15945         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15946
15947 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15948
15949         * Makefile.am:
15950         * filedlg.h:
15951         * filedlg.C:
15952         * LyXAction.C:
15953         * ToolbarDefaults.C:
15954         * bufferlist.C:
15955         * commandtags.h:
15956         * form1.C:
15957         * form1.h:
15958         * lyx_cb.C:
15959         * lyx_cb.h:
15960         * lyxfunc.h:
15961         * lyxfunc.C:
15962         * BufferView_pimpl.C: use new file dialog in GUII
15963
15964         * lyx_cb.h:
15965         * lyx_cb.C: remove LayoutsCB to Toolbar
15966
15967 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15968
15969         * ShareContainer.h (get): add std:: qualifier
15970
15971 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15972
15973         * ShareContainer.h: define a proper ShareContainer::value_type
15974         type (and use typename to please compaq cxx)
15975
15976 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15977
15978         * lyxparagraph.h: move serveral local vars to
15979         ParameterStruct/ParagraphParameters., use ShareContainer in
15980         FontTable., make vars in FontTable private and add getter and
15981         setter.
15982
15983         * paragraph.C: changes because of the above.
15984
15985         * lyxfont.h: remove copy constructor and copy assignment. (the
15986         default ones is ok), move number inside FontBits. move inlines to
15987         lyxfont.C
15988
15989         * lyxfont.C: add number to initializaton of statics, move several
15990         inlines here. constify several local vars. some whitespace
15991         cleanup. Dont hide outerscope variables.
15992
15993         * Spacing.h: add two new constructors to match the set methods.
15994
15995         * ShareContainer.h: new file, will perhaps be moved to support
15996
15997         * ParameterStruct.h: new file
15998
15999         * ParagraphParameters.h: new file
16000
16001         * ParagraphParameters.C: new file
16002
16003         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16004         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16005
16006         * BufferView_pimpl.C: ParagraphParameter changes.
16007         * buffer.C: Likewise.
16008         * bufferview_funcs.C: Likewise.
16009         * text.C: Likewise.
16010         * text2.C: Likewise.
16011
16012 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16013
16014         * lyxfind.C (LyXReplace): do not redefine default argument in
16015         implementation.
16016         (IsStringInText): ditto
16017         (SearchForward): ditto
16018         (SearchBackward): ditto
16019
16020 2001-03-06  Juergen Vigna  <jug@sad.it>
16021
16022         * lyxfind.C (IsStringInText): put parentes around expressions.
16023
16024 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16025
16026         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16027
16028 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16029
16030         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16031
16032         * stl_string_fwd.h: add comment
16033
16034         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16035
16036         * tabular.h:
16037         * tabular.C: remove unused DocBook methods
16038
16039         * intl.C:
16040         * language.C:
16041         * paragraph.C:
16042         * buffer.C:
16043         killed DO_USE_DEFAULT_LANGUAGE
16044
16045 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16046
16047         * lyx_gui.C: do not include language.h.
16048
16049         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16050         arguments in function implementation.
16051
16052 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16053
16054         * BufferView_pimpl.C: add <ctime>
16055
16056 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16057
16058         * BufferView_pimpl.C: add using std::find_if
16059
16060 2001-02-27  José Matos  <jamatos@fep.up.pt>
16061
16062         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16063         by OnlyPath.
16064
16065 2001-02-11  José Matos  <jamatos@fep.up.pt>
16066
16067         * buffer.C (makeDocBookFile): command styles now have a parameter as
16068         "title" by default.
16069
16070 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16071
16072         * layout_forms.[Ch]: removed
16073         * lyx_cb.[Ch]: out character
16074         * lyx_gui.C: out character
16075         * lyx_gui_misc.C: out character
16076         * bufferview_funcs.C: : out character,
16077         added toggleall as parameter in ToggleAndShow
16078
16079 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16080
16081         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16082
16083         * text2.C (SetCurrentFont): Disable number property at boundary.
16084
16085 2001-02-26  Juergen Vigna  <jug@sad.it>
16086
16087         * lyxfunc.C (getStatus): added a string argument override function so
16088         that this is correctly called from LyXFunc::Dispatch if it contains a
16089         do_not_use_argument which is used!
16090         (Dispatch): added check for "custom" export and call appropriate func.
16091
16092 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16093
16094         * lyxrc.C: Add language_command_local, language_use_babel and
16095         language_global_options.
16096
16097         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16098
16099         * buffer.C (makeLaTeXFile): Use language_use_babel and
16100         language_global_options.
16101
16102 2001-02-23  Juergen Vigna  <jug@sad.it>
16103
16104         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16105         which works with LyXText and putted it inside BufferView. Here now we
16106         only call for that part the BufferView::Dispatch() function.
16107
16108         * BufferView.C (Dispatch): added.
16109
16110         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16111         functions which needs to use a LyXText over from LyXFunc.
16112         (MenuInsertLyXFile): added
16113         (getInsetByCode): added
16114         (moveCursorUpdate): added
16115         (static TEXT): added
16116
16117 2001-02-22  Juergen Vigna  <jug@sad.it>
16118
16119         * BufferView_pimpl.C (update): call a status update to see if LyXText
16120         needs it.
16121
16122 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16123
16124         * vc-backend.C (revert): implement for CVS
16125         (getLog): implement for CVS
16126
16127 2001-02-20  Juergen Vigna  <jug@sad.it>
16128
16129         * text2.C (ClearSelection): added BufferView param for inset_owner call
16130
16131         * lyxfunc.C (TEXT): added this function and use it instead of
16132         directly owner->view()-text of getLyXText().
16133
16134 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16135
16136         * src/layout_forms.C: out preamble
16137         * src/layout_forms.h: out preamble
16138         * src/lyx_cb.C: out preamble
16139         * src/lyx_cb.h: out preamble
16140         * src/lyx_gui.C: out preamble
16141         * src/lyx_gui_misc.C: out preamble
16142         * src/lyxfunc.C: connect with guii preamble
16143
16144 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16145
16146         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16147
16148 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16149
16150         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16151         whether to run bibtex.
16152
16153 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16154
16155         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16156
16157 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16158
16159         * Makefile.am (lyx_SOURCES): removed bibforms.h
16160
16161         * vspace.h: doxygen
16162
16163         * text.C (GetVisibleRow): make several local vars const
16164
16165         * tabular.C: small cleanup.
16166
16167         * lyxserver.C (callback): use compare instead of strncmp
16168
16169         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16170         inlines to after class or to paragraph.C
16171
16172         * lyxfont.h: remove friend operator!=
16173
16174         * converter.h: move friend bool operator< to non friend and after
16175         class def.
16176
16177         * combox.h: small cleanup
16178
16179         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16180         to inlines after class def.
16181
16182         * buffer.C (pop_tag): use string operations instead of strcmp
16183
16184         * bmtable.c: doxygen, small cleanup
16185
16186         * LaTeX.h: remove friend operator==
16187
16188 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16189
16190         * screen.C:
16191         * lyxrc.[Ch]:
16192         * lyxfunc.C:
16193         * lyxfont.[Ch]:
16194         * lyx_cb.C:
16195         * intl.[Ch]:
16196         * commandtags.h:
16197         * buffer.C:
16198         * WorkArea.[Ch]:
16199         * LyXAction.C:
16200         * BufferView_pimpl.C:
16201         * BufferView.[Ch]: remove cruft
16202
16203 2001-02-14  Juergen Vigna  <jug@sad.it>
16204
16205         * lyxfunc.C: removed #if 0 unused code
16206
16207         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16208
16209         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16210
16211         * text2.C (SetSelection): added a BufferView * parameter
16212
16213 2001-02-13  Juergen Vigna  <jug@sad.it>
16214
16215         * lyxfunc.C (Dispatch): fixed protected blank problem.
16216         * BufferView2.C (protectedBlank): added LyxText * parameter.
16217
16218         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16219         (AppendColumn): same as above for column_info.
16220
16221         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16222         (moveCursorUpdate): use a LyXText param for support of InsetText.
16223
16224         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16225         (tripleClick): ditto
16226
16227         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16228
16229         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16230
16231         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16232
16233         * text2.C (SetSelection): set correct update status if inset_owner
16234         (ToggleFree): ditto
16235
16236 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16237
16238         * tabular.C: remove some commented code.
16239
16240 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16241
16242         * BufferView_pimpl.C: call hideSplash()
16243
16244         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16245
16246         * include_form.h:
16247         * bibforms.h: remove
16248
16249         * lyxfunc.C:
16250         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16251           add LFUN_CHILD_CREATE
16252
16253         * counters.h: fix tiny typo
16254
16255         * lyx_cb.C:
16256         * lyx.h:
16257         * lyx_gui.C:
16258         * lyx.C: move splash to frontends/xforms/
16259
16260         * lyx_gui_misc.C: move Include and Bibform to frontends
16261
16262         * lyxvc.h: clarify comment
16263
16264         * vspace.C: tiny housekeeping
16265
16266 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16267
16268         * text.C (PrepareToPrint): RTL Fix.
16269
16270         * paragraph.C (GetUChar): New method.
16271         (String):  Use GetUChar.
16272
16273         * buffer.C (asciiParagraph): Use GetUChar.
16274
16275 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16276
16277         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16278
16279 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16280
16281         * buffer.h:
16282         * buffer.C: rename to getLogName(), handle
16283           build log / latex log nicely
16284
16285 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16286
16287         * MenuBackend.C:
16288         * MenuBackend.h: remove support for reference menuitem type.
16289
16290 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16291
16292         * BufferView_pimpl.C: housekeeping
16293         * BufferView_pimpl.h:
16294         * LyXView.h:
16295         * Makefile.am:
16296         * Timeout.C:
16297         * Timeout.h:
16298         * minibuffer.h: move Timeout GUI-I
16299
16300 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16301
16302         * lyxrc.C (read): Update converters data-structures.
16303
16304 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16305
16306         * LaTeX.h (operator!=): add operator != for Aux_Info
16307
16308 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16309
16310         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16311
16312         * LaTeXLog.C: deleted, useful code moved to Buffer
16313
16314         * buffer.h:
16315         * buffer.C: new function getLatexLogName()
16316
16317         * lyx_gui_misc.C:
16318         * lyx_gui.C:
16319         * lyxvc.C:
16320         * lyxvc.h:
16321         * lyxfunc.C: use frontends for LaTeX and VC logs
16322
16323 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16324
16325         * LaTeX.h: yet another std:: that Allan forgot.
16326
16327         * Variables.C (set): renamed from isset(), because this clashes
16328         with some HP-UX macros (grr).
16329
16330 2001-02-06  Allan Rae  <rae@lyx.org>
16331
16332         * LaTeX.h: Another bug fix.  Missing std:: this time.
16333
16334 2001-02-04  Allan Rae  <rae@lyx.org>
16335
16336         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16337         floats problem. I've left it commented out because it's not quite
16338         correct.  It should also test that the current object is a table or
16339         figure inset.  But I haven't gotten around to figuring out how to do
16340         that.  I *think* it'll be something like: "table" == inset.type()
16341
16342         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16343         bool.
16344
16345 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16346
16347         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16348         all the citation/databases/styles in the auxilary file.
16349         (run): Rerun latex if there was a babel language error.
16350
16351 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16352
16353         * text.C (Backspace): Preserve the font when changing newline char
16354         with a space.
16355         (BreakParagraph): If the cursor is before a space, delete the space.
16356
16357         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16358
16359 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16360
16361         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16362         new argument (code).
16363         (ChangeCitationsIfUnique): New method.
16364
16365         * paragraph.C (GetPositionOfInset): Handle bibkey.
16366
16367 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16368
16369         * BufferView_pimpl.h: change type of Position::par_pos to
16370         LyXParagraph::size_type.
16371
16372 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16373
16374         * BufferView_pimpl.C (savePosition, restorePosition): Write
16375         messages to minibuffer.
16376
16377 2001-01-28  José Matos  <jamatos@fep.up.pt>
16378
16379         * buffer.C (makeDocBookFile): adds support for document language.
16380         A silly restriction on the name of LatexCommand types where removed.
16381         Added support for CDATA sections, allows to chars unescaped, used
16382         among others in code, to avoid escape < and >.
16383
16384 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16385
16386         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16387         saved positions instrad of a stack. Furthermore, a position is
16388         stored using paragraph id/paragraph position.
16389
16390         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16391         Remove LFUN_REF_BACK.
16392
16393 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16394
16395         * converter.C (dvipdfm_options): New method.
16396
16397 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16398
16399         * vspace.C (isValidLength): Fix for empty input string.
16400
16401 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16402
16403         * LyXAction.C (init): change description of LFUN_FIGURE to
16404         "Insert Graphics"
16405
16406 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16407
16408         * LaTeX.C: add using directive
16409
16410 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16411
16412         * MenuBackend.C (expand): Fix the sorting of the formats.
16413
16414 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16415
16416         * lyx_main.C: tiny error message fix
16417
16418 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16419
16420         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16421         calling fl_initialize(). This fixes the problem with ',' as
16422         decimal separator in text files.
16423
16424 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16425
16426         * trans.C (process): Fix the keymap bug.
16427
16428 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16429
16430         * LaTeX.C (scanAuxFiles): New method. Provides support for
16431         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16432         (scanLogFile) Scan for "run BibTeX" messages.
16433
16434         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16435         OT1 font encoding. Also, load the aecompl package if the ae
16436         package is loaded.
16437
16438         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16439
16440 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16441
16442         * texrow.C (increasePos): turn two error messages into debug
16443         messages.
16444
16445 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16446
16447         * LaTeX.C (scanAux): Handle the \@input macro.
16448         (runBibTeX): Use scanAux().
16449
16450         * language.C (latex_options_): New field.
16451
16452         * LaTeXFeatures.C (getMacros): Add language macros.
16453
16454         * buffer.C (makeLaTeXFile): Small fix.
16455
16456 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16457
16458         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16459
16460         * text2.C: add a using directive.
16461
16462 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16463
16464         * BufferView2.C:
16465         * lyx_gui_misc.h:
16466         * lyxfr1.C:
16467         * lyxfunc.C: kill LyXBell.
16468
16469 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16470
16471         * text.C (IsBoundary): Remove the error message
16472
16473         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16474
16475         * lyxrc.C (setDefaults): Correct initialization value for
16476         font_norm_type.
16477
16478 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16479
16480         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16481         gotoError().
16482
16483         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16484         and GotoNextNote().
16485
16486         * src/LyXAction.C: Added reference-next.
16487
16488         * text.C (InsertChar): Use contains instead of strchr.
16489
16490         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16491
16492 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16493
16494         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16495         alignment commands (when needed).
16496
16497         * text.C (InsertChar): Add ':' to number separator chars.