]> git.lyx.org Git - features.git/blob - src/ChangeLog
correctly display messages issued by getStatus
[features.git] / src / ChangeLog
1 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
4         call BufferView::getStatus if LCursor::getStatus did nothing
5         (setStatusMessage, getStatusMessage): removed.
6
7         * FuncStatus.C (message): new methods. Used to provide an error
8         message indicating why a command is disabled.
9         (clear, |=, FuncStatus): update for message.
10         
11 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
12
13         * lyxfunc.C (dispatch): always call sendDispatchMessage
14         
15 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
16
17         * BufferView.C:
18         * BufferView_pimpl.C:
19         * CutAndPaste.C:
20         * FontIterator.C:
21         * buffer.C:
22         * cursor.C:
23         * cursor_slice.[Ch]:
24         * dociterator.[Ch]:
25         * lyxfind.C:
26         * paragraph_funcs.C:
27         * pariterator.C:
28         * rowpainter.C:
29         * text.C:
30         * text2.C:
31         * text3.C:
32         * undo.C: par->pit renaming
33
34
35 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
36
37         * tabular.C (cellstruct): use initialization, store a shared_ptr
38         to insettext instead of the insettext directly, adjust to fit.
39         (operator=):  new function
40         (swap): new function
41         (rowstruct): use initialization
42         (columnstruct): use initialization
43         (ltType): use initialization
44         
45
46         * lyxlength.h (swap): new function 
47
48         * LColor.[Ch] (operator=): use the common semantics 
49
50 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
51
52         * lyxfind.C (findNextChange): update the bufferview after setting
53         the selection.
54
55 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
56
57         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
58         number of InsetOptArgs has already been inserted.
59
60         * output_latex.C (latexOptArgInsets): new method. This outputs all
61         the optarg insets, up to the limit defined in the layout file.
62         (optArgInset): removed
63         (TeXOnePar): call latexOptArgInsets; correctly update texrow
64
65 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
66
67         * paragraph.C (isLetter): remove special spellchecker-related
68         code; return true also for digits
69         (isWord, isKomma): remove
70
71         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
72         * lyxfind.C (MatchString()): use isLetter instead of isWord
73
74 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
75
76         * pariterator.h (operatir=): comment out un-implemented member
77         function.
78
79         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
80         static cast.
81
82 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
83
84         * lyxfont.h: include LColor.h to satisfy concept checks.
85
86 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
87
88         * pariterator.h: add typdefs for value_type, difference_type,
89         pointer and reference to satisfy concept checks. Also add default
90         constructor for same reason.
91
92         * pariterator.C (operator++): add post-increment operator to
93         satisfy concept checks.
94
95         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
96         checks.
97
98         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
99
100         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
101         checks. Also rename base_type to BaseType to follow naming
102         standard better.
103
104         * FloatList.h: include Floating.h to satisfy concept checks.
105
106 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
107
108         * lyxfunc.C (getStatus): when the origin of the request is menu or
109         toolbar, and the LyXView does not have focus, do as if there was
110         no buffer (bug 1720)
111
112         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
113         FuncRequest to individual entries of LFUN_SEQUENCE
114
115 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
116
117         * output_latex.C (TeXOnePar): override runparams.moving_arg
118         according to the needprotect value of the current paragraph (bug
119         1739)
120
121         * paragraph.C (simpleTeXOnePar): no need to override
122         runparams.moving_args here
123
124 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
125
126         * vspace.C: fix off-by-one-error, related to fix #1682
127
128 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
129
130         * lengthcommon.C: a more general fix for bug 1682
131
132 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
133
134         * text.C (backspace): fix crash
135
136 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
137
138         * format.[Ch] (getFormatFromFile): new method
139         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
140
141 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
142
143         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
144
145 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
146
147         * lyxfunc.C (dispatch): remove the verbose argument
148         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
149         instead
150
151         * kbmap.C (defkey): set the origin of func to KEYBOARD
152
153         * MenuBackend.C (MenuItem):
154         * ToolbarBackend.C (add): set the origin of func to UI
155
156         * funcrequest.[Ch]: add origin member, which indicates which part
157         of LyX requests an action
158
159 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
160
161         * converter.C (move): don't lie in the error message
162         * converter.h (isReachable, move): document
163
164 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
165
166         * buffer.C: remove unused using lyx::support::atoi
167         * paragraph_funcs.C: ditto
168
169 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
170
171         * bufferlist.C (exists): use bind and equal_to instead of
172         compare_memfun
173         (getBuffer): ditto
174         * lyxtextclasslist.C (NumberOfClass): ditto
175
176         * cursor.C (insert): use for_each instead of explicit for loop
177
178         * bufferlist.C (getFileNames): use std::transform and
179         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
180
181         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
182         for loop
183
184         * buffer.C (changeLanguage): use for_each instead of explicit for
185         loop
186         (hasParWithID): implement using getParFromID
187
188         * LaTeXFeatures.C: ws change only
189
190         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
191         to cleanup a bit.
192
193         * BufferView_pimpl.C (trackChanges): use for_each instead of
194         expilicit for loop
195
196 2004-11-04  André Pönitz  <poenitz@gmx.net>
197
198         * undo.h:
199         * undo.C (textUndoOrRedo): fix crash when creating undo information.
200
201         * dociterator.C (asDocIterator): use hard assert again.
202
203 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
204
205         * lyxlength.C (asLatexString): rewrite so that it does not use
206         snprintf anymore
207
208 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
209
210         * text3.C (specialChar, dispatch): make sure cursor moves to the
211         right after inserting an inset
212
213 2004-11-02  José Matos  <jamatos@lyx.org>
214
215         * output_docbook.C (docbook):
216         * paragraph.C (getID):
217         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
218         garantee that the output is always legal.
219
220         * tabular.C (docbook):
221         * outputprams.[Ch]: remove mixed contents.
222
223 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
224
225         * text2.C (setCounter): prevent endless loop
226
227 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
228
229         * exporter.C (copyFile): use the mover instead of support::copy()
230         * exporter.C (Export): pass format and latex name to copyFile()
231         * exporter.h (addExternalFile): document
232         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
233
234 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
235
236         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
237
238 2004-10-30  José Matos  <jamatos@lyx.org>
239
240         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
241         text and no inset or font change. This allows to use CDATA
242         sections just for the whole paragraph.
243
244 2004-10-30  José Matos  <jamatos@lyx.org>
245
246         * paragraph.C (getFirstWord): remove unused variable.
247
248 2004-10-30  José Matos  <jamatos@lyx.org>
249
250         * paragraph.C (getFirstWord): the content should always be escaped
251         there.
252         (simpleDocBookOnePar):
253         * output_docbook.C (makeEnvironment): replace reference to CDATA
254         to style pass_thru.
255
256 2004-10-30  José Matos  <jamatos@lyx.org>
257
258         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
259
260 2004-10-30  José Matos  <jamatos@lyx.org>
261
262         * output_docbook.C (makeParagraphs):
263         * paragraph.[Ch] (emptyTag): for docbook and company, if the
264         standard paragraph has only a given type of content drop the wrapper.
265
266 2004-10-29  José Matos  <jamatos@lyx.org>
267
268         * output_docbook.C (makeEnvironment):
269         * sgml.C (openTag):
270         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
271
272 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
273
274         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
275         (cleanID): sanitize any id.
276
277 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
278
279         * buffer.C, lyxlex_pimpl.C:
280         * lyxlex_pimpl.C (setFile):
281         s/getExtFromContents/getFormatFromContents/
282
283 2004-10-28  José Matos  <jamatos@lyx.org>
284
285         * output_docbook.C (makeEnvironment): move id to broadest possible
286         scope.
287
288         * sgml.C (openTag): apply substitution of <> for all attributes.
289
290 2004-10-28  José Matos  <jamatos@lyx.org>
291
292         * buffer.C (makeLinuxDocFile, makeDocBookFile):
293         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
294         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
295
296         * sgml.[Ch]: new version for open and closeTag for paragraph and
297         for strings. Now they handle the ids of paragraphs.
298
299 2004-10-26  Angus Leeming  <leeming@lyx.org>
300
301         * Makefile.am: add mover.[Ch].
302
303         * converter.C (convert, move): use the new Movers to move external
304         files to the temp directory.
305
306         * lyx_main.C (init): ensure that the global system_movers data
307         is initialised.
308
309         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
310         preferences file.
311
312         * mover.[Ch]: new files, defining a Mover as a utility to move an
313         external file between directories and, if necessary, manipulate this
314         file using a helper script.
315
316 2004-10-25  José Matos  <jamatos@lyx.org>
317
318         * output_docbook.C (makeCommand): merge two if's that tested the
319         same condition.
320
321 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
322
323         * sgml.C (escapeString): fix warning in a better way
324
325 2004-10-25  José Matos  <jamatos@lyx.org>
326
327         * sgml.C (escapeString): import the require boosts header file for
328         tie, and avoid a signed unsigned comparison.
329
330 2004-10-25  José Matos  <jamatos@lyx.org>
331
332         * sgml.h: add #include <string>
333
334 2004-10-25  José Matos  <jamatos@lyx.org>
335
336         * sgml.[Ch] (escapeString): new function to escape all the string.
337
338 2004-10-24  José Matos  <jamatos@lyx.org>
339
340         * paragraph.[Ch] (getFirstWord): new function to get the first
341         word. Useful for description.
342         (simpleDocBookOnePar): remove depth argument, add another that
343         says where to start the paragraph.
344
345         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
346         use the new functions to fix cleanly the support for descriptions.
347
348 2004-10-24  José Matos  <jamatos@lyx.org>
349
350         * buffer.C (makeLinuxDocFile, makeDocBookFile):
351         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
352         * output_linuxdoc.C (linuxdocParagraphs):
353         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
354         add buffer as argument.
355
356 2004-10-24  José Matos  <jamatos@lyx.org>
357
358         * output_docbook.C (makeEnvironment, searchEnvironment): place
359         CDATA inside paragraphs and fix scope for listitems.
360
361 2004-10-24  José Matos  <jamatos@lyx.org>
362
363         * output_docbook.C: remove using statement for stack.
364
365 2004-10-23  José Matos  <jamatos@lyx.org>
366
367         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
368         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
369         docbook. The new scheme is recursive and makes use of iterators, the
370         same as latex export works.
371         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
372         directly with the paragraph contents. This code was moved up to
373         output_docbook.C (docbookParagraphs).
374         * sgml.C (openTag, closeTag): removed unneeded newlines.
375         (closeEnvTags) removed.
376
377 2004-10-23  André Pönitz  <poenitz@gmx.net>
378
379         * undo.C (textUndoOrRedo):
380         * dociterator.C (asDocIterator): work around crash
381
382         * cursor.C (getStatus): replace ASSERT by more verbose error message
383           and manual correction of the problem. Should increase stability
384           while providing more sensible information.
385
386 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
387
388         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
389
390         * bufferlist.C (previous, next): new methods
391
392         * lfuns.h:
393         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
394
395 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
396
397         * buffer.C (makeDocBookFile): add dsssl stylesheet control
398         entities to preamble.
399
400 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
401
402         * messages.C (Pimpl): strip off translation context information
403
404 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
405
406         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
407         the cursor is correct (bug 1694)
408
409 2004-10-13  José Matos  <jamatos@lyx.org>
410
411         * output_docbook.C (docbookParagraphs): fix closing tags in the
412         end of the document.
413
414 2004-10-09  José Matos  <jamatos@lyx.org>
415
416         * buffer.C: format up to 237.
417         * bufferparams.C (write): use tostr to convert booleans to strings.
418
419 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
420
421         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
422
423 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
424
425         * LaTeX.C: implement use of babel language in xindy.
426
427 2004-10-05  José Matos  <jamatos@lyx.org>
428
429         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
430         Add new translators to help reading and writing the lyx file.
431
432 2004-10-05  José Matos  <jamatos@lyx.org>
433
434         * ParagraphParameters.C (read):
435         * text.C (readParToken): replace nexToken by more appropriate lex
436         methods.
437
438 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
439
440         * LaTeX.C (runMakeIndex):
441         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
442         (usually 'makeindex') configurable.
443
444         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
445         with a variable rather than with a number.
446
447 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
448
449         * output_latex.C (TeXOnePar): make sure font setting is the first
450         thing that gets output (and the last at the end). Should fix bug
451         1404.
452
453 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
454
455         * pch.h: use proper signal include
456
457         * LaTeX.h: Use preferred calling of Boost.Signal
458         * buffer.h: ditto
459
460 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
461
462         * pch.h: dont include <boost/function/function0.hpp>
463
464         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
465
466         * paragraph_pimpl.h: remove usage of ShareContainer
467
468         * paragraph_pimpl.C: remove initialization of ShareContainer.
469
470 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
471
472         Fix bug #1666
473
474         * BufferView.C (putSelectionAt): change the semantics when
475         backwards == true: now, this just swaps cursor and anchor wrt the
476         forward case
477
478         * BufferView.h (putSelectionAt): add some documentation
479
480         * lyxfind.C (findBackwards): rewrite using while(). In particular,
481         make sure backwardChar is done at least once (to avoid getting
482         stuck)
483         (findNextChange): use putSelectionAt in the forward direction
484         (operator()): use Paragraph::isWord
485
486 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
487
488         * Spacing.C (set): c_str fix
489
490 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
491
492         * lyx_cb.C (Reconfigure): quote the name of configure script in
493         case it contains spaces
494
495 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
496
497         * client: new dir
498
499         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
500         (BOOST_LIBS): use top_buildir when looking for the file
501
502 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
503
504         * pch.h: do not use include boost/format.hpp, multiple symbols
505                 will result (gcc bug)
506
507
508 2004-08-23  José Matos  <jamatos@lyx.org>
509
510         * bufferparams.C (readToken): fix reading of the author field.
511
512 2004-08-20  José Matos  <jamatos@lyx.org>
513
514         * lyxrc.C: remove support/translator.h inclusion since it is not used.
515
516 2004-08-20  José Matos  <jamatos@lyx.org>
517
518         * lyxlex.[Ch] (findToken): remove function.
519
520         * ParagraphParameters.C (findToken):
521         * bufferparams.C (findToken): replace call for previous function
522         with local copy. This local function has one more argument, the
523         read string argument.
524
525 2004-08-16  José Matos  <jamatos@lyx.org>
526
527         * ParagraphParameters.C (write):
528         * Spacing.C (writeFile):
529         * bufferparams.C (writeLaTeX):
530         * lyx_cb.C (Reconfigure):
531         * paragraph.C (write):
532         * tabular.C (write): remove unnecessary space at end of line.
533
534
535 2004-08-16  José Matos  <jamatos@lyx.org>
536
537         * text.C (readParagraph): remove debug message.
538
539 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
540
541         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
542         crash
543
544         * output_plaintext.C (asciiParagraph): set depth correctly
545
546         * outputparams.h: add member depth
547
548         * paragraph_funcs.C (ownerPar): remove.
549
550         * text2.C (setCounter): remove first_pit; comment out some
551         non-working code that uses ownerPar
552
553         * BufferView.C (getParentLanguage): remove. Not used anymore, and
554         uses ownerPar
555
556 2004-08-16  José Matos  <jamatos@lyx.org>
557
558         * text.C (readParToken, readParagraph, read): report all unknown tokens.
559         For the same level of importance use the same chanel to report problems.
560         (read): add code to deal with \begin_body and \end_body.
561
562
563 2004-08-15  José Matos  <jamatos@lyx.org>
564
565         * lyxlex.C (getString): fix comment, buffer::readBody is now
566         buffer:readDocument.
567
568         * tex-strings.C (string_papersize): Default -> default,
569         Custom -> custom, for consistency with other options.
570
571 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
572
573         * pch.h: new file
574
575         * Makefile.am: support pch
576
577 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
578
579         * text.C (readParToken): remove the static LyXFont variable and
580         pass it as a parameter instead. This fixes a nasty bug where an
581         inset will be inserted with a bad font in some situations
582         (readParagraph): adapt
583
584         * text2.C (setCounter): reduce number of calls to pars_[pit]
585
586         * text.C (singleWidth): add an assert, fix a test
587
588         * rowpainter.C (paintText): reduce number of calls to singleWidth
589
590         * paragraph.C (isHfill):
591         (isNewline): ws only
592
593 2004-08-14  André Pönitz  <poenitz@gmx.net>
594
595         * text.C:
596         * text2.C:
597         * rowpainter.C:
598         * lyxtext.h (several functions): use a Paragraph & argument
599         instead of par_type
600
601 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
602
603         * metricsinfo.h: add a new field ltr_pos to PainterInfo
604
605         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
606
607         * text.C (singleWidth): remove useless test
608
609 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
610
611         * tabular.h: remove bogus comments
612
613         * tabular.C (getDescentOfRow):
614         (isPartOfMultiColumn): add assertions
615
616         * lyxlength.C (inPixels): remove #warning
617
618 2004-08-14  André Pönitz  <poenitz@gmx.net>
619
620         * paragraph.h: inline getChar()
621
622         * BufferView.h: remove unused declarations
623
624 2004-08-14  José Matos  <jamatos@lyx.org>
625
626         * Buffer.[Ch] (readDocument): new name for old readBody.
627         * Buffer.C: new file format, new keywords: \begin_document,
628         \begin_header, \begin_body, \end_body.
629
630         * bufferparams.C (readToken): replace all calls to lex.nextToken
631         by lex.next(). Do the same to eatLine except where really needed.
632
633         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
634         line when writing to the lyx file.
635
636         * output_plaintext.C (asciiParagraph): fix Bibliography style
637         handling.
638
639         * text.C (read): fix end of file handling.
640
641 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
642
643         * MenuBackend.C (Menu::operator[]): new method to access
644         individual menu items
645         (Menu::hasFunc): new method. search for an item that corresponds
646         to a given func
647         (MenuBackend::specialMenu): new method
648         (MenuBackend::expand): if a special menu has been set, skip
649         entries whose func() appears in this menu
650
651 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
652
653         * text3.C: use Debug::DEBUG a bit more
654
655         * text.C (leftMargin): try to simplify a tiny bit change var x to
656         l_margin. Dont output the wide margins always.
657         (rightMargin): no margin in inner texts
658
659         * rowpainter.h (nestMargin): new func
660         (changebarMargin): new func
661         (rightMargin): new func
662
663         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
664         now functions.
665         (paintLast): ditto
666
667         * factory.C (createInset): modify setDrawFrame
668
669         * cursor.C: use Debug::DEBUG a bit more
670
671 2004-08-14  André Pönitz  <poenitz@gmx.net>
672
673         * coordcache.[Ch]:
674         * Makefile.am: new files to accomodate an 'external' (x,y)-position
675         cache for all insets in (at least partially) visible (top-level)
676         paragraphs.
677
678         * BufferView_pimpl.C: reset external coord cache before every update.
679         This means the coord cache only contains valid entries.
680
681 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
682
683         bug 1096
684         * BufferView_pimpl.C (getInsetByCode): move function out of class
685         and change in to a template in anon namespace. Also fix to do what
686         suits us better.
687
688 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
689
690         bug 1305
691         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
692         of char
693         (breakParagraph): rename par to par_offset and use a local
694         reference. Add code to keep the language over a rebreak.
695         (breakParagraphConservative): rename par to par_offset, use a
696         local reference
697         (mergeParagraph): ditto
698         (outerHook): ditto
699         (isFirstInSequence): ditto
700         (outerFont): rename pit to par_offset
701
702         * paragraph.C: ws change
703         * paragraph.h: ditto
704         * text3.C: ditto
705         * text.C: ditto
706
707 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
708
709         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
710         treatment for ']'
711
712         * paragraph.C (simpleTeXOnePar): when we have a \item with
713         optional argument, enclose the argument with curly brackets (in
714         case it contains a closing square bracket)
715
716         * text2.C (editXY):
717         * text2.C (editXY):
718         * text3.C (checkInsetHit): constify
719
720 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
721
722         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
723         documents (bug 1629)
724
725 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
726
727         Fix toggling of collapsable insets with the mouse (bug 1558)
728
729         * lyxfunc.C (dispatch): adapt to LCursor changes
730
731         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
732         make sure that dispatch is not invoked twice
733
734         * cursor.C (needsUpdate): new method
735         (dispatch): return void
736         (result): new method, to access the DispatchResult of the cursor.
737
738 2004-08-13  José Matos  <jamatos@lyx.org>
739
740         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
741
742 2004-08-13  André Pönitz  <poenitz@gmx.net>
743
744         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
745
746         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
747           multiple cells
748
749 2004-08-12  André Pönitz  <poenitz@gmx.net>
750
751         * text3.C: take out the 'cursor right' form insertInset and only
752         do it in those places when it is really needed. Fixes crash on
753         C-m...
754
755 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
756
757         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
758
759         * BufferView_pimpl.C (setBuffer): initialize the current font of
760         the underlying LyXText
761
762 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
763
764         * kbsequence.C (print): use UI native formatting for menu
765         shortcuts
766
767         * text.C (insertChar): call Paragraph::insertChar with a font
768         argument (cosmetic)
769
770         * paragraph.C (insertInset, insertChar): the version that takes a
771         LyXFont argument is now a wrapper around the other one (the
772         opposite used to be true).
773
774         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
775         argument. Font setting is done in Paragraph now.
776
777 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
778
779         * outputparams.h: add new members intitle and lang.
780
781         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
782         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
783
784 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
785
786         * text3.C (dispatch): remove special handling of button 4 and 5,
787         it is now taken care of in the frontend code.
788
789 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
790
791         * Spacing.h: add <string> (STLPort compile fix)
792
793 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
794
795         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
796
797 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
798
799         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
800         to bool.
801
802         * converter.C (showMessage): inherit from unary_function, make
803         operator() const.
804
805         * buffer.C (writeFile): initialize retval
806
807         * InsetList.h: rename private variable list to list_
808         * InsetList.[Ch]: adjust accordingly.
809
810 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
811
812         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
813         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
814         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
815         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
816         * ParagraphParameters.C, LaTeXFeatures.C: replace
817         "support/std_sstream.h" with <sstream>
818
819 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
820
821         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
822         * lyxsocket.C (LyXServerSocket): ditto
823         (serverCallback): ditto
824
825 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
826
827         * LaTeXFeatures.C: check release date when loading jurabib.
828
829 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
830
831         * lyxserver.C (startPipe): call register_socket_callback
832         (endPipe): call unregister_socket_callback
833
834 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
835
836         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
837         (LyXServerSocket): register the callback
838         (LyXServerSocket): unregister the callback
839         (fd): delete function
840         (serverCallback): improve error checking and setup the callbacks.
841         (dataCallback): change arg to fd.
842         (writeln): new func (copied fro the client socket) used for server
843         write to client.
844         (LyXDataSocket): simplify
845         (~LyXDataSocket): close ann unregiser callback
846         (server): delete function
847         (fd): delete function
848         (readln): small changes, improve some std::string usage
849         (writeln): constify a bit
850
851 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
852
853         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
854         Qt frontend
855
856 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
857
858         * BufferView_pimpl.C (setBuffer): set the layout combox value only
859         after it has been populated
860
861 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
862
863         * text2.C (insertInset): move cursor when inserting inset.
864
865 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
866
867         * kbmap.C (findbindings): a couple of new methods. returns a
868         container of kb_sequence objects. The real work is done by the
869         private recursive version
870         (printbindings): uses findbindings to print out a bracketed list
871         of bindings (renamed from findbinding).
872
873         * MenuBackend.C (binding): use kb_keymap::findbindings
874
875         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
876
877 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
878
879         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
880
881 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
882
883         * paragraph.C (isWord): return true on insets that report
884         isLetter().
885
886         * text.C (getWord): use Paragraph::isWord to decide what is in a
887         word and what is not; fix bug 1609.
888
889 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
890
891         * tex-strings.C: add "none" to string_paperpackages[], fixes
892         off-by-one-error in the paperpackage selection.
893
894         * lyxlex.[Ch]:
895         * tex-strings.[Ch]: char const * string[n]
896         -> char const * const string[]
897
898 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
899
900         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
901         command, return early.
902
903 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
904
905         * debug.h: add DEBUG to enum and fix size of ANY.
906
907         * debug.C: add support for Debug::DEBUG
908         (showTags): cast errorTags.level to unsigned int
909
910         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
911         (redoCurrentBuffer): ditto
912         (updateScrollbar): ditto
913         * cursor.C (dispatch): ditto
914         * text2.C (setLayout): ditto
915         (setFont): ditto
916         (updateCounters): ditto
917         (editXY): ditto
918         (deleteEmptyParagraphMechanism): ditto
919
920 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
921
922         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
923         annotations to cleanup the Makefile slightly.
924
925 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
926
927         * lyxrc.C: do not set user_email to a default value but use empty
928         instead. The entry used to be translated, which does not work
929         since at the point where lyxrc is constructed there is no
930         translation service available
931
932         * messages.C (getLocaleDir): remove and use directly
933         lyx_localedir() instead
934
935 2004-06-02  Angus Leeming  <leeming@lyx.org>
936
937         Fix crash caused by dereferencing null pointer 'exportdata' in
938         OutputParams by creating a new ExportData variable on the heap,
939         storing it in a boost::shared_ptr.
940         The crash was triggered when generating an Instant Preview
941         of an external inset.
942
943         * Makefile.am: add outputparams.C
944
945         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
946         (c-tor): allocate memory to it.
947
948         * exporter.C (c-tor): associated changes.
949
950 2004-06-01  Angus Leeming  <leeming@lyx.org>
951
952         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
953         contains data before calling isInset(0). (Bug 1513.)
954
955 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
956
957         * exporter.C (checkOverwrite): new method
958         * exporter.C (copyFile): new method
959         * exporter.C (Export): copy referenced files to the document dir
960         * exporter.[Ch]: new class ExportedFile
961         * exporter.[Ch]: new class ExportData. Contains currently the
962         names of referenced external files
963         * outputparams.h: add exportdata member.
964
965 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
966
967         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
968         version.C-tmp
969
970 2004-05-19  Angus Leeming  <leeming@lyx.org>
971
972         * LaTeXFeatures.C:
973         * ToolbarBackend.C:
974         * bufferparams.C:
975         * lyxfunc.C: small changes due to the introduction of namespace
976         lyx::frontend and the moving of namespace biblio to lyx::biblio.
977
978 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
979
980         * text3.C (dispatch): supress update when only moving the cursor
981         * cursor.C (selHandle): remove commented code
982
983 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
984
985         * paragraph.C (startTeXParParams): correct column count
986         * CutAndPaste.C (pasteSelection): remove const_cast
987         * output_docbook.C (docbookParagraphs): remove const_cast
988         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
989         const_cast and return ParagraphList::const_iterator
990         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
991         * output_plaintext.C (writeFileAscii): remove const_cast
992         * paragraph.[Ch] (simpleTeXOnePar): make const
993         * paragraph_funcs.C (outerPar): use const iterators
994         * paragraph_pimpl.C (validate): use const iterators
995         * text.C (setHeightOfRow): use const iterators
996
997 2004-05-17  Angus Leeming  <leeming@lyx.org>
998
999         * lfuns.h:
1000         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1001
1002         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1003         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1004         if the citation engine has changed.
1005
1006 2004-05-14  José Matos  <jamatos@lyx.org>
1007
1008         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1009         if the textclass does not provide it. Have it different for sgml and
1010         xml.
1011         support the language of document.
1012         * output_docbook.C (docbookParagraphs):
1013         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1014         first anchor as the id of the paragraph, remove special case code.
1015         * sgml.C (escapeChar): escape only < & >.
1016
1017 2004-05-14  Angus Leeming  <leeming@lyx.org>
1018
1019         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1020         dependencies on src/frontends/controllers/biblio.h. Define a
1021         CiteEngine_enum wrapper class to enable the enum to be forward
1022         declared.
1023
1024 2004-05-12  Angus Leeming  <leeming@lyx.org>
1025
1026         * buffer.C: up LYX_FORMAT to 234.
1027         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1028         use_numerical_citations with a single biblio::CiteEngine cite_engine
1029         variable.
1030         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1031
1032 2004-05-13  José Matos  <jamatos@lyx.org>
1033
1034         * converter.h:
1035         * converter.C (Converter, readFlags): add xml member.
1036         * outputparams.h: add XML flavor.
1037         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1038
1039 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1040
1041         * lyxfunc.C (dispatch):
1042         (getStatus): fix handling of LFUN_SEQUENCE
1043
1044 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1045
1046         * debug.C (showLevel): do not forget the end-of-line marker
1047
1048 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1049
1050         * kbmap.C (read): do not stop parsing a bind file when an error
1051         occurs (bug 1575)
1052
1053 2004-04-29  Angus Leeming  <leeming@lyx.org>
1054
1055         * cursor.C:
1056         * factory.C:
1057         * pariterator.C:
1058         * text2.C: wrap a bunch of #warning statements
1059         inside #ifdef WITH_WARNINGS blocks.
1060
1061 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1062
1063         * buffer.C: increment format to 233.
1064
1065 2004-04-28  Angus Leeming  <leeming@lyx.org>
1066
1067         * BufferView_pimpl.C:
1068         * lyxfunc.C:
1069         * text3.C:
1070         s/updateToolbar()/updateToolbars()/
1071         s/Toolbar.h/Toolbars.h/
1072
1073 2004-04-28  Angus Leeming  <leeming@lyx.org>
1074
1075         * BufferView.[Ch] (c-tor):
1076         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1077         No longer passes these data to the WorkArea generator.
1078
1079 2004-04-28  Angus Leeming  <leeming@lyx.org>
1080
1081         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1082
1083 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1084
1085         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1086
1087 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1088
1089         * output_latex.C (TeXEnvironment): make sure that there is a line
1090         break before \end{foo} for the last paragraph of a document
1091         (TeXOnePar): if the paragraph is at the end of the document (or
1092         inset) and the language has to be reset, then make sure that the
1093         line break is _before_ the language command, not after (fixes bug
1094         1225); also make sure that the language reset command is the first
1095         thing after the paragraph (to ensure proper nesting of
1096         environments and thus fix bug 1404)
1097
1098 2004-04-21  John Levon  <levon@movementarian.org>
1099
1100         * ToolbarBackend.h:
1101         * ToolbarBackend.C: make "name" be a programmatic name
1102         and a gui_name field.
1103
1104         * lyxfunc.C: display the minibuffer on M-x
1105
1106 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1107
1108         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1109         (bug 1526)
1110
1111 2004-04-19  Angus Leeming  <leeming@lyx.org>
1112
1113         * BufferView_pimpl.C (setBuffer): changed preview interface.
1114
1115         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1116         possible values.
1117
1118 2004-04-19  John Levon  <levon@movementarian.org>
1119
1120         * BufferView_pimpl.C:
1121         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1122
1123 2004-04-05  Angus Leeming  <leeming@lyx.org>
1124
1125         * text.C (redoParagraphs): add call to updateCounters(), thereby
1126         fixing the missing "Figure #:" label from the caption of a
1127         figure float.
1128
1129 2004-04-13  Angus Leeming  <leeming@lyx.org>
1130
1131         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1132         cursor is clicked out of an inset.
1133
1134 2004-04-13  Angus Leeming  <leeming@lyx.org>
1135
1136         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1137         than an InsetOld one.
1138
1139 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1140
1141         * format.[Ch]: add editor to Format
1142         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1143         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1144
1145 2004-04-08  André Pönitz  <poenitz@gmx.net>
1146
1147         * metricsinfo.h: remove PainterInfo::width member
1148
1149 2004-04-08  Angus Leeming  <leeming@lyx.org>
1150
1151         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1152         "\providecommand" rather than "\newcommand", thereby preventing
1153         clashes with packages that define "\boldsymbol" themselves.
1154         Eg, beamer.
1155
1156 2004-04-08  Angus Leeming  <leeming@lyx.org>
1157
1158         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1159         thereby squashing an unnecessary warning.
1160
1161 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1162
1163         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1164         setBuffer()
1165
1166 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1167
1168         * BufferView.C (setCursor): call redoParagraph (some insets could
1169         have been opened)
1170         (putSelectionAt): remove the 'double update' trick
1171
1172         * BufferView_pimpl.C (fitCursor): call refreshPar
1173         (workAreaDispatch): remove an uneeded update call
1174         (dispatch): remove some manual update calls
1175
1176         * cursor.[Ch]: remove cached_y_, updatePos
1177         (selHandle): set noUpdate when appropriate
1178
1179         * lyxfunc.C (dispatch): track if we need an update
1180
1181         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1182
1183         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1184         (paintSelection): cheap optimization, do not call cursorX when not
1185         needed
1186         (paintPars): change signature
1187         (refreshPar): add
1188         (paintText): adjust
1189         (paintTextInset): adjust
1190
1191         * text.C: adjust
1192
1193 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1194
1195         * lengthcommon.C: compilation fix: remove explicit array size from
1196         unit_name[] and friends
1197
1198 2004-04-05  Angus Leeming  <leeming@lyx.org>
1199
1200         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1201
1202         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1203         present only for the preferences dialog.
1204         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1205
1206 2004-04-05  Angus Leeming  <leeming@lyx.org>
1207
1208         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1209         to enable the frontends to export changes to lyxrc correctly.
1210
1211         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1212
1213 2004-04-07  André Pönitz  <poenitz@gmx.net>
1214
1215         * cursor.[Ch] (selClear, adjust): remove math
1216
1217         * cursor_slice.C: more agressive assert
1218
1219         * lyxfunc.C:
1220         * BufferView_pimpl.C: rework mouse event dispatch
1221
1222         * dociterator.C:
1223         * paragraph.C:
1224         * text2.C:
1225         * text3.C: adjust
1226
1227 2004-04-05  André Pönitz  <poenitz@gmx.net>
1228
1229         * cursor.[Ch] (valign, halign...): remove unneeded functions
1230
1231 2004-04-05  Angus Leeming  <leeming@lyx.org>
1232
1233         * lyxlength.[Ch] (unit_name et al.): const-correct.
1234
1235 2004-04-05  Angus Leeming  <leeming@lyx.org>
1236
1237         * BufferView_pimpl.C:
1238         * buffer.C:
1239         * counters.C:
1240         * cursor.C:
1241         * lyxfunc.C
1242         * paragraph.C:
1243         * pariterator.C:
1244         * text.C:
1245         * text2.C:
1246         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1247
1248 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1249
1250         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1251
1252 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1253
1254         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1255         * BufferView_pimpl.[Ch] (getStatus)
1256         * BufferView.[Ch] (getStatus): add
1257         * lyxfunc.C (getStatus): move lfuns handled in
1258         BufferView::dispatch to te function above
1259         * Cursor.C (setSelection): set selection() = true
1260
1261 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1262
1263         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1264
1265 2004-03-31  Angus Leeming  <leeming@lyx.org>
1266
1267         * lyxfunc.C (dispatch): Fall through to the generic
1268         Dialogs::show("preamble").
1269
1270 2004-03-31  Angus Leeming  <leeming@lyx.org>
1271
1272         * lyxfunc.C (dispatch): Fall through to the generic
1273         Dialogs::show("spellchecker").
1274
1275 2004-03-31  Angus Leeming  <leeming@lyx.org>
1276
1277         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1278         preferences dialog.
1279
1280 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1281
1282         * BufferView.C
1283         * cursor.[Ch]
1284         * dociterator.[Ch]:
1285         * insetiterator.[Ch]:
1286         * lyxfind.C:
1287         * lyxfunc.C:
1288         * pariterator.[Ch]:
1289         * text2.C:
1290         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1291
1292 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1293
1294         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1295         insets where we are putting the cursor.
1296
1297 2004-03-31  Angus Leeming  <leeming@lyx.org>
1298
1299         * lfuns.h:
1300         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1301
1302         * lyxrc.[Ch] (read, write): overloaded member functions taking
1303         a std::[io]stream arguments.
1304
1305         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1306
1307 2004-03-31  Angus Leeming  <leeming@lyx.org>
1308
1309         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1310         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1311
1312         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1313         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1314
1315 2004-03-31  Angus Leeming  <leeming@lyx.org>
1316
1317         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1318         the LFUN_ALL_INSETS_TOGGLE code.
1319
1320 2004-03-30  Angus Leeming  <leeming@lyx.org>
1321
1322         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1323         has died. Fall through to the generic Dialogs::show("document").
1324
1325 2004-03-30  Angus Leeming  <leeming@lyx.org>
1326
1327         * lfuns.h:
1328         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1329         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1330
1331         * lyxfunc.C (getStatus, dispatch): define the actions for these
1332         lfuns. Little more than a cut and pste job from ControlDocument.C
1333
1334         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1335
1336 2004-03-30  Angus Leeming  <leeming@lyx.org>
1337
1338         * lfuns.h:
1339         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1340         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1341
1342         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1343         open/closed state of ollapsable insets. Usage:
1344
1345         all-inset-toggle <state> <name>, where
1346         <state> == "open" || "closed" || "toggle" and
1347         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1348
1349         * lyxtext.h, text2.C (toggleInset): removed.
1350
1351         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1352         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1353         now passes LFUN_INSET_TOGGLE to the found inset.
1354
1355         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1356         is now invoked as "all-insets-toggle toggle branch".
1357
1358 2004-03-30  Angus Leeming  <leeming@lyx.org>
1359
1360         * dociterator.C:
1361         * insetiterator.C:
1362         * pariterator.[Ch]: added/corrected header blurb.
1363
1364 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1365
1366         * dociterator.[Ch]: add an inset_ member
1367         (backwardPos): implemented
1368         (backwardPos, forwardPos): use inset_ when the stack is empty.
1369         (doc_iterator_begin, doc_iterator_end): implemented
1370         * pariterator.[Ch]: adjust, add begin, end
1371         * insetiterator.[Ch]: adjust, add begin, end
1372         * cursor.C:
1373         * document.C:
1374         * BufferView.C:
1375         * BufferView_pimpl.C:
1376         * CutAndPaste.C: adjust
1377
1378 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1379
1380         * buffer.C: increment file format to 232.
1381         * LaTeXFeatures.C: add bibtopic package.
1382         * bufferparams.[Ch]: param \use_bibtopic.
1383
1384         * lyxrc.[Ch]: add lyxrc bibtex_command
1385         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1386
1387         * buffer.C: increment file format to 231.
1388
1389 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1390
1391         * dociterator.C: implement forwardPar
1392         * iterators.[Ch]: remove, replaced by
1393         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1394         * BufferView.C:
1395         * BufferView_pimpl.C:
1396         * CutAndPaste.C:
1397         * buffer.C:
1398         * bufferview_funcs.C:
1399         * cursor.C:
1400         * lyxfind.C
1401         * lyxfunc.C
1402         * paragraph_funcs.C
1403         * toc.C:
1404         * Makefile.am: adjust
1405
1406 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1407
1408         * CutAndPaste.C (pasteSelection): fix 2 crashes
1409         (eraseSelection): fix a crash
1410         * paragraph_funcs.C: remove a warning
1411
1412 2004-03-28  Angus Leeming  <leeming@lyx.org>
1413
1414         * lfuns.h:
1415         * LyXAction.C (init): new LFUN_PRINT.
1416
1417         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1418
1419 2004-03-27  Angus Leeming  <leeming@lyx.org>
1420
1421         * lfuns.h:
1422         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1423
1424         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1425
1426 2004-03-27  Angus Leeming  <leeming@lyx.org>
1427
1428         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1429         insetlist always contains non-null pointers to insets.
1430
1431 2004-03-26  Angus Leeming  <leeming@lyx.org>
1432
1433         * src/BufferView_pimpl.C:
1434         * src/CutAndPaste.C:
1435         * src/buffer.C:
1436         * src/iterators.C:
1437         * src/output_plaintext.C:
1438         * src/outputparams.h:
1439         * src/paragraph_funcs.C:
1440         * src/rowpainter.C:
1441         * src/text.C:
1442         * src/text2.C:
1443         * src/frontends/controllers/ControlErrorList.C:
1444         * src/frontends/gtk/FileDialogPrivate.C:
1445         * src/frontends/gtk/GPainter.C:
1446         * src/frontends/gtk/GToolbar.C:
1447         * src/frontends/qt2/QRef.C:
1448         * src/mathed/math_scriptinset.C: squash compiler warnings.
1449
1450 2004-03-26  Angus Leeming  <leeming@lyx.org>
1451
1452         * ispell.C (LaunchIspell::start):
1453         * lyx_cb.C (AutoSaveBuffer::start):
1454         invoke run(DontWait) rather than runNonBlocking().
1455
1456 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1457
1458         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1459
1460 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1461
1462         * kbsequence.C (print): adjust
1463
1464         * kbmap.C (printKeySym): rename and change signature
1465         (printKey): use LyXKeySym::print()
1466
1467 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1468
1469         * undo.C: add using std::advance to compile for stlport
1470
1471 2004-03-24  Angus Leeming  <leeming@lyx.org>
1472
1473         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1474         it leads to a crash when no buffer is present.
1475
1476 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1477             Martin Vermeer  <martin.vermeer@hut.fi>
1478
1479         * lyxfunc.C (dispatch):
1480         * bufferparams.C (readToken): use the new LColor::setColor
1481
1482         * LColor.[Ch] (setColor): new version that takes two strings as
1483         argument and creates a new color entry if necessary
1484
1485 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1486
1487         * buffer.C (makeLaTeXFile): if the main latex file that is
1488         processed is usually a subdocument of some master, then pretend
1489         for a while that it is actually the master
1490
1491 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1492
1493         * buffer.C (getLabelList):
1494         (getBibkeyList): use getMasterBuffer()
1495         (getMasterBuffer): new method. Returns the main document in the
1496         case where one is using included documents.
1497
1498 2004-03-25  André Pönitz  <poenitz@gmx.net>
1499
1500         * Makefile.am:
1501         * iterators.[Ch]:
1502         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1503
1504         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1505
1506         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1507         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1508
1509         * ParameterStruct.h: merge with ParagraphParameters
1510
1511         * lyxtext.h: remove LyXText::parOffset() and getPar()
1512
1513         * text3.C: Remove all 'manual' update calls. We do now one per user
1514         interaction which is completely sufficient.
1515
1516         * Bidi.C:
1517         * BufferView.[Ch]:
1518         * BufferView_pimpl.C:
1519         * FontIterator.[Ch]:
1520         * MenuBackend.C:
1521         * ParagraphParameters.[Ch]:
1522         * buffer.C:
1523         * buffer.h:
1524         * bufferlist.C:
1525         * cursor.[Ch]:
1526         * cursor_slice.[Ch]:
1527         * dociterator.[Ch]:
1528         * errorlist.[Ch]:
1529         * factory.C:
1530         * lfuns.h:
1531         * lyxfind.C:
1532         * lyxfunc.C:
1533         * output_docbook.[Ch]:
1534         * output_latex.[Ch]:
1535         * output_linuxdoc.[Ch]:
1536         * output_plaintext.[Ch]:
1537         * paragraph.[Ch]:
1538         * paragraph_funcs.[Ch]:
1539         * paragraph_pimpl.[Ch]:
1540         * rowpainter.C:
1541         * tabular.[Ch]:
1542         * text.C:
1543         * text2.C:
1544         * toc.C:
1545         * undo.[Ch]: adjust
1546
1547         * frontends/controllers/ControlDocument.C:
1548         * frontends/controllers/ControlErrorList.C:
1549         * frontends/controllers/ControlSpellchecker.C:
1550         * insets/inset.C:
1551         * insets/inset.h:
1552         * insets/insetbase.h:
1553         * insets/insetbibitem.C:
1554         * insets/insetbox.C:
1555         * insets/insetbranch.C:
1556         * insets/insetcaption.C:
1557         * insets/insetcharstyle.C:
1558         * insets/insetcharstyle.h:
1559         * insets/insetcollapsable.C:
1560         * insets/insetcollapsable.h:
1561         * insets/insetert.C:
1562         * insets/insetfloat.C:
1563         * insets/insetfoot.C:
1564         * insets/insetmarginal.C:
1565         * insets/insetnote.C:
1566         * insets/insetoptarg.C:
1567         * insets/insettabular.C:
1568         * insets/insettext.C:
1569         * insets/insettext.h:
1570         * insets/insetwrap.C:
1571         * mathed/math_mboxinset.C:
1572         * mathed/math_nestinset.C:
1573         * mathed/math_scriptinset.C:
1574         * mathed/math_scriptinset.h:
1575         * support/types.h:
1576
1577 2004-03-24  Angus Leeming  <leeming@lyx.org>
1578
1579         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1580         deal with any child processes that have finished but are waiting to
1581         communicate this fact to the rest of LyX.
1582
1583 2004-03-24  Angus Leeming  <leeming@lyx.org>
1584
1585         64-bit compile fixes.
1586
1587         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1588         (c-tor): pass lyx::pos_types rather than ints.
1589
1590         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1591         lyx::pos_type.
1592
1593         * text.C (Delete): compile fix.
1594         (getPar): ensure that function declaration is the same as that in
1595         the header file.
1596
1597 2004-03-23  Angus Leeming  <leeming@lyx.org>
1598
1599         * ispell.C (LaunchIspell):
1600         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1601         a boost::shred_ptr rather than a std::auto_ptr.
1602
1603 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1604
1605         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1606         handle LFUN_FILE_INSERT_*
1607
1608         * lyxrc.C (setDefaults, getDescription, output, read):
1609         * lyxrc.h: remove ps_command
1610
1611 2004-03-22  Angus Leeming  <leeming@lyx.org>
1612
1613         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1614         Ensure that error_handler is processed once only and that all data
1615         is saved before attempting to output any warning messages.
1616
1617         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1618
1619 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1620
1621         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1622
1623 2004-03-19  André Pönitz  <poenitz@gmx.net>
1624
1625         * cursor.[Ch] (reset): take main text inset as argument
1626
1627         * BufferView: adjust
1628         * BufferView_pimpl.C: adjust
1629
1630         * paragraph.[Ch]: fix completely broken operator=()
1631
1632 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1633
1634         * LColor.C (getFromLyXName): make sure that the color name is used
1635         as lowercase.
1636
1637 2004-03-17  Angus Leeming  <leeming@lyx.org>
1638
1639         * lfuns.h:
1640         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1641
1642         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1643         dialog and to kill a forked process.
1644
1645 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1646
1647         * text2.C (setCursorFromCoordinates): fix font problem
1648
1649 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1650
1651         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1652         bogus "rebuild cursor" code
1653
1654 2004-03-11  André Pönitz  <poenitz@gmx.net>
1655
1656         * buffer.[Ch]: use InsetText instead of LyXText as container for
1657         the main lyx text.
1658
1659         * dociterator.[Ch]: drop the BufferView * member which is not needed
1660         anymore after the change to buffer.C
1661
1662         * paragraph_funcs.C:
1663         * text.C:
1664         * text2.C:
1665         * BufferView.[Ch]:
1666         * BufferView_pimpl.[Ch]:
1667         * cursor.[Ch]:
1668         * cursor_slice.[Ch]: adjust
1669
1670         * text3.C: fix bug in mathDispatch
1671
1672 2004-03-08  André Pönitz  <poenitz@gmx.net>
1673
1674         * undo.[Ch]: use 'StableDocumentIterator' as base for
1675         the Undo struct.
1676
1677 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1678
1679         * LaTeXFeatures.C:
1680         * bufferparams.[Ch]: add jurabib support and param.
1681
1682         * LaTeX.C: add FIXME/comment.
1683
1684 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1685
1686         * buffer.C: increment file format to 230.
1687
1688 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1689
1690         * cursor.C (dispatch): avoid infinite loops
1691
1692 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1693
1694         * rowpainter.C (paintSelection): fix x coordinates
1695
1696 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1697
1698         * text.C (rowBreakPoint): fix breaking before displayed insets
1699
1700 2004-03-01  André Pönitz  <poenitz@gmx.net>
1701
1702         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1703
1704         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1705
1706         * Makefile.am:
1707         * BufferView.C:
1708         * BufferView_pimpl.C:
1709         * buffer.C:
1710         * lyxfind.C:
1711         * lyxfunc.C:
1712         * text.C:
1713         * text2.C:
1714         * text3.C: adjust
1715
1716 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1717
1718         * lyxtext.h:
1719         * text.C:
1720         * text2.C:
1721         * rowpainter.C:
1722         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1723         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1724
1725 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1726
1727         * Bidi.[Ch] (computeTables): const correctness
1728         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1729         fill_hfill, fill_label_hfill and x from Row
1730         * lyxtext.h: prepareToPrint returns a RowMetrics
1731         * rowPainter.C: adjust
1732         * text.C (prepareToPrint): use width, not textWidth. adjust
1733         (redoParagraphInternal, cursorX): adjust
1734         * text2.C (getColumnNearX): adjust
1735         (init): put a default value to the top LyXText::width
1736
1737 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1738
1739         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1740
1741 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1742
1743         * lyxtext.h: add FontIterator class
1744
1745         * text.C (FontIterator, operator*, operator->, operator++): add
1746         (rowBreakPoint, setRowWidth): adjust (fixing a
1747         rebreaking bug)
1748
1749 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1750
1751         * BufferView_pimpl.C (workAreaDispatch): allow also
1752         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1753
1754 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1755
1756         * text.C (rowBreakPoint): fix a bug showing with very large insets
1757
1758 2004-02-25  André Pönitz  <poenitz@gmx.net>
1759
1760         * text3.C:
1761         * cursor.[Ch]: move some mathed specific code to mathed
1762
1763 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1764
1765         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1766         use_tempdir in preferences
1767         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1768         tempfile creation
1769         * lyx_main.C: ensure that tempdir is valid
1770         * lyxlex.h: correct typo
1771         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1772         * paragraph.[Ch] (isMultiLingual): make const
1773         * cursor.[Ch] (openable): make const
1774
1775 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1776
1777         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1778
1779 2004-02-20  André Pönitz  <poenitz@gmx.net>
1780
1781         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1782
1783         * cursor.[Ch]: prepare for localized getStatus()
1784
1785         * lyxtext.h:
1786         * tabular.C:
1787         * text.C:
1788         * text2.C:
1789         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1790
1791 2004-02-20  André Pönitz  <poenitz@gmx.net>
1792
1793         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1794
1795 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1796
1797         * text2.C (setCursorFromCoordinates): switch to absolute coords
1798         (cursorUp): adjust
1799         (cursorDown): adjust
1800         * text3.C (dispatch): adjust
1801
1802 2004-02-16  André Pönitz  <poenitz@gmx.net>
1803
1804         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1805           insets/ChangeLog)
1806
1807         * cursor_slice.[Ch]: remove unneeded acessor function
1808
1809         * lyxtext.h: rename rtl() to isRTL()
1810
1811         * rowpainter.C:
1812         * tabular.C:
1813         * text.C:
1814         * text2.C:
1815         * text3.C: adjust
1816
1817 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1818
1819         * rowpainter.C (paintSelection): coord fix
1820
1821 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1822
1823         * Spacing.C: compile fix
1824
1825 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1826
1827         * cursor.C (dispatch): restore current_ before returning
1828
1829 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1830
1831         * text2.C (cursorUp, cursorDown): fix coords
1832         (moveUp): fix crash
1833
1834 2004-02-12  André Pönitz  <poenitz@gmx.net>
1835
1836         * lyxtext.h:
1837         * text.C:
1838         * text2.C:
1839         * text3.C: add LCursor & parameter to most cursor movement functions
1840           remove usage of LyXText::cursorRow() and cursorPar()
1841
1842         * cursor.[Ch]: add textRow() needed members
1843
1844         * BufferView.C:
1845         * BufferView_pimpl.C:
1846         * paragraph.[Ch]:
1847         * BufferView.C:
1848         * BufferView_pimpl.C: adjust
1849
1850 2004-02-11  André Pönitz  <poenitz@gmx.net>
1851
1852         * lyxfunc.C:
1853         * BufferView.[Ch]:
1854         * BufferView_pimpl.C: shift undo/redo handling
1855
1856         * cursor.[Ch]: fix mathed crash
1857
1858         * lyxfind.C:
1859         * lyxtext.h: move selectionAsText to LCursor
1860
1861         * output_latex.C:
1862         * paragraph.C:
1863         * text.C:
1864         * text2.C:
1865         * text3.C: adjust
1866
1867         * rowpainter.C: fix excessive drawing
1868
1869 2004-02-06  André Pönitz  <poenitz@gmx.net>
1870
1871         * BufferView.[Ch]:
1872         * BufferView_pimpl.[Ch]:
1873         * text3.C: move some text specific LFUN handling
1874
1875 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1876
1877         * text3.C (checkInsetHit): adjust coords
1878         * text2.C (getColumnNearX): adjust coords
1879         (edit): adjust coords
1880         * text.C (getRowNearY): add two asserts
1881
1882 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1883
1884         * converter.C:
1885         * format.C: add using std::distance to compile on gcc 2.95/stlport
1886
1887 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1888
1889         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1890
1891 2004-02-04  André Pönitz  <poenitz@gmx.net>
1892
1893         * BufferView.[Ch] (insertInset):
1894         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1895
1896         * text2.C:
1897         * text3.C: adjust
1898
1899 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1900
1901         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1902         on the default clause of the switch
1903         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1904         wasn't catched by LCursor::dispatch
1905
1906 2004-02-03  André Pönitz  <poenitz@gmx.net>
1907
1908         * BufferView.C:
1909         * cursor.[Ch]: some additional asserts
1910
1911         * undo.[Ch]: remove LyXText dependency in interface
1912
1913         * lyxfunc.C: adjust
1914
1915         * lyxtext.h (firstPar, lastPar): remove dead functions
1916
1917         * text.C:
1918         * text2.C:
1919         * text3.C:
1920         * paragraph.[Ch]: adjust
1921
1922 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1923
1924         * lyxfind.C (find): fix argument order in call to ::find
1925
1926 2004-02-02  André Pönitz  <poenitz@gmx.net>
1927
1928         * cursor.[Ch]: remove direct access to anchor
1929
1930         * text.C: remove findText() hack
1931
1932 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1933
1934         * iterators.[Ch] (lockPath): remove in favour of...
1935         * BufferView.[Ch] (setCursor): this addition
1936         * BufferView.C (putSelectionAt): adjust
1937         * undo.C (performUndoOrRedo): adjust
1938         * lyxfunc.C (dispatch): adjust
1939
1940 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1941
1942         * iterators.C (lockPath): add a missing slice
1943         * undo.C (performUndoOrRedo): remove redundant positioning code
1944
1945 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1946
1947         * vc-backend.C (scanMaster): ";" -> ';'
1948
1949 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1950
1951         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1952         std::binary_function
1953
1954         * lyxtextclass.C (compare_name): rename to...
1955         (LayoutNamesEqual): ...this
1956
1957         * lyxlex_pimpl.C (compare_tags): inherit from
1958         std::binary_function, put back into anon namespace
1959
1960         * lyxfind.C (MatchString): inherig from std::binary_function
1961         (findChange): use empty() istead of !size()
1962
1963         * format.C (FormatNamesEqual): new functor
1964         (getFormat): use it
1965         (getNumber): use it
1966         (add): use it
1967         (erase): use it
1968         (setViewer): use it
1969
1970         * converter.C (compare_Converter): rename to...
1971         (ConverterEqual): ...this, and fixup a bit.
1972         (getConverter): use it, and make function const
1973         (getNumber): use it, and make function const
1974         (add): use it
1975         (erase): use it:
1976
1977         * bufferlist.C: add using boost::bind
1978
1979         * MenuBackend.C (MenuNamesEqual): new functor
1980         (hasMenu): use it, and make function const
1981         (hasSubmenu): use nested bind to get rid of compare_memfun.
1982
1983 2004-01-30  André Pönitz  <poenitz@gmx.net>
1984
1985         * BufferView_pimpl.C:
1986         * cursor.C:
1987         * cursor.h:
1988         * cursor_slice.[Ch]:
1989         * lyxfunc.C:
1990         * lyxtext.h:
1991         * paragraph_funcs.C:
1992         * paragraph_funcs.h:
1993         * rowpainter.C:
1994         * text.C:
1995         * text2.C:
1996         * text3.C: move some of the edit(x,y) handling to the insets
1997         some coordinate changes.
1998
1999 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2000
2001         * text.C: add using statements for std::advance and std::distance
2002
2003         * paragraph.C: add using statement for std::distance
2004
2005         * lyxfind.C: add using statement for std::advance
2006
2007         * cursor.C (region): remove std:: from swap
2008         (openable): use nucleus in stead of operator->
2009
2010         * BufferView.C: add using statements for std::distance and std::swap
2011
2012 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2013
2014         * iterators.C: Remove the pimple, move the needed structures to
2015         the header file. Create accessor for the positions stack.
2016         (asPosIterator): remove function
2017
2018         * PosIterator.C (PosIterator): move constructors to top of file
2019         (PosIterator): reimplement the constructor taking a ParIterator in
2020         terms of setFrom.
2021         (setFrom): new function
2022         (operator!=): inline it
2023
2024 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2025
2026         * lyxfind.C (replaceAll): use std::advance
2027
2028         * iterators.h: inherit from std::iterator.
2029
2030         * PosIterator.C (advance, distance): remove
2031         * PosIterator.h: interit from std::iterator.
2032
2033 2004-01-26  André Pönitz  <poenitz@gmx.net>
2034
2035         * BufferView.[Ch]:
2036         * BufferView_pimpl.[Ch]:
2037         * InsetList.[Ch]:
2038         * PosIterator.[Ch]:
2039         * buffer.h:
2040         * bufferview_funcs.C:
2041         * cursor.[Ch]:
2042         * cursor_slice.h:
2043         * factory.[Ch]:
2044         * iterators.[Ch]:
2045         * lyxfind.C:
2046         * lyxfunc.C:
2047         * lyxtext.h:
2048         * output_docbook.C:
2049         * output_latex.C:
2050         * output_linuxdoc.C:
2051         * output_plaintext.C:
2052         * paragraph.[Ch]:
2053         * paragraph_funcs.[Ch]:
2054         * paragraph_pimpl.[Ch]:
2055         * rowpainter.C:
2056         * tabular.C:
2057         * tabular.h:
2058         * text.C:
2059         * text2.C:
2060         * text3.C: more IU:  dumps most of the rest of the mathcursor
2061     implementation into cursor.[Ch]; "globalize" a bit of it.
2062
2063 2004-01-25  Angus Leeming  <leeming@lyx.org>
2064
2065         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2066
2067 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2068
2069         * LaTeXFeatures.h: add nice_ and nice() const
2070         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2071
2072 2004-01-20  André Pönitz  <poenitz@gmx.net>
2073
2074         * BufferView.[Ch]:
2075         * BufferView_pimpl.C:
2076         * PosIterator.C:
2077         * bufferview_funcs.C:
2078         * cursor.[Ch]:
2079         * cursor_slice.[Ch]:
2080         * factory.C:
2081         * iterators.C:
2082         * lyx_cb.C:
2083         * lyxfind.C:
2084         * lyxfunc.C:
2085         * lyxtext.h:
2086         * rowpainter.C:
2087         * text.C:
2088         * text2.C:
2089         * text3.C:
2090         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2091           LCursor and mathcursor parts to LCursor and InsetBase.
2092
2093 2004-01-15  André Pönitz  <poenitz@gmx.net>
2094
2095         * cursor_slice.[Ch]: add a few covienience functions
2096
2097         * funcrequest.[Ch]: remove BufferView * member
2098
2099         * BufferView_pimpl.C:
2100         * cursor.C:
2101         * factory.[Ch]:
2102         * lyxfind.[Ch]:
2103         * lyxfunc.C:
2104         * lyxtext.h:
2105         * text3.C:
2106         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2107
2108 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2109
2110         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2111         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2112
2113 2004-01-13  André Pönitz  <poenitz@gmx.net>
2114
2115         * textcursor.[Ch]:
2116         * lyxtext.h: hide cursor and selection anchor behind accessor function
2117
2118         * BufferView.C:
2119         * BufferView_pimpl.[Ch]:
2120         * PosIterator.C:
2121         * bufferview_funcs.C:
2122         * cursor.h:
2123         * lyxfind.C:
2124         * lyxfunc.C:
2125         * text.C:
2126         * text2.C:
2127         * text3.C:
2128         * undo.C: adjust
2129
2130         * cursor.h:
2131         * cursor_slice.[Ch]: some integer type changes for inset unification
2132
2133         * lyxcursor.[hC]: remove, it's CursorSlice now.
2134
2135         * Makefile.am:
2136         * BufferView_pimpl.[Ch]:
2137         * bufferview_funcs.C:
2138         * cursor_slice.C:
2139         * lyxtext.h:
2140         * text.C:
2141         * text2.C:
2142         * text3.C:
2143         * textcursor.[Ch]: adjust
2144
2145 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2146
2147         * text2.C (undoSpan): add and use
2148         * text.C (breakParagraph): use undoSpan (fix bug 578)
2149         * lyxtext.h: adjust
2150
2151 2004-01-08  Angus Leeming  <leeming@lyx.org>
2152
2153         * BufferView_pimpl.C (MenuInsertLyXFile):
2154         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2155         * lyxfunc.C (menuNew, open, doImport):
2156         FileFilterList change to the FileDialog open and save functions.
2157
2158 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2159
2160         * ShareContainer.h: make isEqual and isUnique adaptable
2161
2162         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2163
2164 2004-01-07  Angus Leeming  <leeming@lyx.org>
2165
2166         * LyXAction.C:
2167         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2168
2169         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2170
2171         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2172         functions replacing find, replace and replaceAll.
2173
2174         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2175         LFUN_WORDFIND(FORWARD|BACKWARD).
2176
2177 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2178
2179         * text.C (breakParagraph): remove an outdated #warning
2180
2181 2004-01-07  André Pönitz  <poenitz@gmx.net>
2182
2183         * lyxfind.C: somewhat clearer logic
2184
2185         * text.C: prevent crash in cursorX on unitialized row cache
2186
2187 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2188
2189         * lyxcursor.[Ch] (operator>): add
2190         * textcursor.C (selStart, selEnd): use std::min and std::max
2191
2192 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2193
2194         * Chktex.C: include boost/format.hpp
2195
2196 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2197
2198         * InsetList.C: replace functor MathcIt with adaptable functor
2199         InsetTablePosLess
2200         (insetIterator): modify accordingly
2201
2202         * BranchList.h: move the BranchNamesEqual functor here from...
2203         * BranchList.C: ... to here
2204
2205         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2206         SameName and match.
2207         (add): replace a finding loop with std::find_if.
2208
2209 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2210
2211         * output_docbook.C: moving LatexParam functionality into
2212         .layout files
2213
2214 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2215
2216         * buffer.C: increment format to 229.
2217
2218 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2219
2220         * LaTeXFeatures.C:
2221         * lyx_sty.[Ch]: remove minipageindent_def
2222
2223         * LyXAction.C:
2224         * factory.C:
2225         * lfuns.h:
2226         * lyxfunc.C:
2227         * text3.C: remove LFUN_INSET_MINIPAGE
2228
2229 2003-12-28  Angus Leeming  <leeming@lyx.org>
2230
2231         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2232
2233 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2234
2235         * text2.C (setParagraph): fix off-by-one crash
2236
2237 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2238
2239         * output_docbook.C: header stuff for AGU
2240
2241 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2242
2243         * text2.C (redoCursor): remove
2244         * text.C:
2245         * text3.C:
2246         * BufferView_pimpl.C: remove calls to redoCursor and
2247         setCursor(cursor.par(), cursor.pos()) all around
2248
2249 2003-12-15  Angus Leeming  <leeming@lyx.org>
2250
2251         * buffer.C: up the format to 228.
2252
2253 2003-12-15  André Pönitz  <poenitz@gmx.net>
2254
2255         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2256         slices
2257
2258         * Makefile.am:
2259
2260         * BufferView_pimpl.C:
2261         * cursor.[Ch]:
2262         * lyxcursor.[Ch]:
2263         * rowpainter.[Ch]:
2264         * lyxtext.h:
2265         * text.C:
2266         * text2.C:
2267         * text3.C: adjust
2268
2269 2003-12-15  Angus Leeming  <leeming@lyx.org>
2270
2271         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2272         than getFromGUIName to manipulate the color.
2273
2274 2003-12-14  Angus Leeming  <leeming@lyx.org>
2275
2276         * BranchList.[Ch]: minimize the API.
2277         (Branch::getBranch, getColor): now return a 'const &'.
2278         (Branch::setSelected) now returns a bool set to true if the
2279         selection status changes.
2280         (BranchList::clear, size, getColor, setColor, setSelected,
2281         allBranches, allSelected, separator): removed.
2282         (BranchList::find): new functions, returning the Branch with
2283         the given name.
2284         (BranchList::add, remove): return a bool indicating that
2285         the operation was successful.
2286
2287         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2288         new InsetBranch::isBranchSlected member function.
2289
2290         * LColor.[Ch]: mimimize the API.
2291         (fill): renamed as addColor and made private.
2292         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2293         versions of these functions taking a string arg have been removed.
2294
2295         * bufferparams.C (readToken):
2296         * lyxfunc.C (dispatch):
2297         * lyxrc.C (read): changes due to the altered BranchList and
2298         LColor APIs.
2299
2300         * factory.C (createInset, readInset): changes due to altered
2301         InsetBranch c-tor.
2302
2303 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2304
2305         * factory.C:
2306         * lyxfunc.C: remove insetminipage. "minipage-insert"
2307         now produces a frameless minipage box inset.
2308
2309 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2310
2311         * textcursor.[Ch] (selStart,selEnd): add new methods
2312         remove selection::start, end, use LyXCursor::operator<
2313         * lyxcursor.[Ch] (operator<): add
2314         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2315         * BufferView.[Ch] (unsetXSel): add
2316         * text2.C (clearSelection): use unsetXSel,adjust
2317         * text.C: adjust
2318         * text3.C: adjust
2319         * rowpainter.C: adjust
2320         * bufferview_funcs.C (put_selection_at): adjust
2321
2322 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2323
2324         * BufferView_pimpl.C: small coord. correction
2325
2326 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2327
2328         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2329         dragging over the splash screen.
2330
2331 2003-12-11  Angus Leeming  <leeming@lyx.org>
2332
2333         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2334         as it is now handled in LyXText::dispatch.
2335
2336         * text3.C (doInsertInset): remove a level of nesting.
2337
2338 2003-12-11  Angus Leeming  <leeming@lyx.org>
2339
2340         * factory.C (createInset): changes due to the changed interface to
2341         InsetCommandMailer::string2params.
2342
2343 2003-12-10  Angus Leeming  <leeming@lyx.org>
2344
2345         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2346         'dialog-show-new-inset <inset name>'
2347
2348 2003-12-10  Angus Leeming  <leeming@lyx.org>
2349
2350         * buffer.C: up the format to 227.
2351
2352         * factory.C: the box inset is now identified simply by 'Box'.
2353
2354 2003-12-10  Angus Leeming  <leeming@lyx.org>
2355
2356         * buffer.C: up the format to 226.
2357
2358         * factory.C: the note inset is now identified simply by 'Note'.
2359
2360 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2361
2362         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2363         when a pit is enough. Standarize a couple of loops.
2364
2365 2003-12-05  Angus Leeming  <leeming@lyx.org>
2366
2367         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2368         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2369         data to the re-worked "log" dialog.
2370
2371 2003-12-03  André Pönitz  <poenitz@gmx.net>
2372
2373         * PosIterator.C:
2374         * iterators.C:
2375         * lyxtext.h:
2376         * output_latex.C:
2377         * paragraph_funcs.C:
2378         * text.C:
2379         * text2.C: use Inset::getText instead of Inset::getParagraph
2380
2381 2003-12-03  André Pönitz  <poenitz@gmx.net>
2382
2383         * buffer.[Ch]:
2384         * lyxtext.h:
2385         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2386         InsetText::read() as LyXText::read()
2387
2388 2003-12-02  Angus Leeming  <leeming@lyx.org>
2389
2390         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2391         type. Add a comment in the implementation that the function uses
2392         the stream's bad() function rather than fail() as the std::streams
2393         would do.
2394
2395 2003-12-02  André Pönitz  <poenitz@gmx.net>
2396
2397         * lyxlex.[Ch]: make interface more similar to std::stream
2398
2399         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2400
2401 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2402
2403         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2404
2405 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2406
2407         * vspace.[Ch]: remove VSpace::NONE
2408
2409 2003-12-01  André Pönitz  <poenitz@gmx.net>
2410
2411         * buffer.[Ch]:
2412         * lyxtext.h: move ParagraphList member to LyXText
2413         rename LyXText::ownerParagraphs to LyXText::paragraph
2414
2415         * CutAndPaste.C:
2416         * bufferview_funcs.C:
2417         * iterators.[Ch]:
2418         * lyx_cb.C:
2419         * paragraph.C:
2420         * rowpainter.C:
2421         * tabular.C:
2422         * text.C:
2423         * text2.C:
2424         * text3.C: adjust
2425
2426         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2427
2428         * undo.C: fix cursor positioning
2429
2430 2003-12-01  John Levon  <levon@movementarian.org>
2431
2432         * BufferView_pimpl.C: fix a crash on exit with
2433         a buffer open
2434
2435 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2436
2437         * BranchList.C: fix setSelected() method.
2438
2439 2003-11-28  André Pönitz  <poenitz@gmx.net>
2440
2441         * ParagraphParameters.[Ch]:
2442         * ParameterStruct.h: remove space above/below from Paragraph to
2443          InsetVSpace
2444
2445         * BufferView_pimpl.C:
2446         * factory.C:
2447         * lyxfunc.C:
2448         * lyxtext.h:
2449         * output_latex.C:
2450         * paragraph.C:
2451         * paragraph_funcs.C:
2452         * rowpainter.[Ch]:
2453         * text.C:
2454         * text2.C:
2455         * text3.C: adjust
2456
2457 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2458
2459         * factory.C: Syntax change for CharStyles
2460
2461 2003-11-28  André Pönitz  <poenitz@gmx.net>
2462
2463         * BufferView.[Ch]:
2464         * BufferView.[Ch]:
2465         * buffer.[Ch]:
2466         * buffer.[Ch]: move LyXText member
2467
2468 2003-11-28  André Pönitz  <poenitz@gmx.net>
2469
2470         * BufferView.[Ch]: make LyXText * text a private member
2471
2472         * BufferView_pimpl.C:
2473         * cursor.C:
2474         * iterators.C:
2475         * lyx_cb.C:
2476         * lyxfind.C:
2477         * lyxtext.h:
2478         * rowpainter.[Ch]:
2479         * text.C:
2480         * text2.C:
2481         * undo.C: adjust
2482
2483         * output_plaintext.C: cleanup
2484
2485 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2486
2487         * buffer.C:
2488         * lyxtextclass.[Ch]: parametrize SGML document header
2489
2490 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2491
2492         * converter.[Ch]:
2493         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2494         getFlavor().
2495
2496 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2497
2498         * text2.C (setFont): rework using PosIterator (no more recursive)
2499         (setCharFont): no more needed
2500         (setLayout): no more selection cursors fiddling (done by redoCursor)
2501         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2502         destroy remaining ones)
2503
2504 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2505
2506         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2507         * lyxtext.h: ditto
2508         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2509         selection cursors
2510         * lyxfunc.C: adjust
2511         * text3.C: adjust + re-allow multi par depth changes
2512         * textcursor.C: simplify a bit
2513
2514 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2515
2516         * src/buffer.C:
2517         * src/lyxlayout.C:
2518         * src/lyxlayout.h:
2519         * src/lyxtext.h:
2520         * src/output_docbook.C:
2521         * src/output_latex.C:
2522         * src/paragraph.C:
2523         * src/paragraph.h:
2524         * src/sgml.C:
2525         * src/sgml.h:
2526         * src/text2.C: Introducing a number of tags parametrizing various
2527         XML formats that we may want to support
2528
2529 2003-11-25  André Pönitz  <poenitz@gmx.net>
2530
2531         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2532
2533         * lyxtext.h (leftMargin/rightMargin): simplify interface
2534
2535         * rowpainter.C:
2536         * text.C:
2537         * text2.C:
2538         * text3.C: adjust
2539
2540 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2541
2542         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2543         master file to any child files. Fixes bug 546.
2544
2545 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2546
2547         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2548
2549 2003-11-24  André Pönitz  <poenitz@gmx.net>
2550
2551         * rowpainter.C: simplification
2552
2553         * text2.C (updateCounters): remove call to redoParagraph on
2554         changed labels as this is far too expensive.
2555
2556 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2557
2558         * converter.C (convert): fix a crash: this function gets
2559         called with buffer == 0 from importer code.
2560
2561 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2562
2563         * text3.C (cursorPrevious): make sure that we do not compare
2564         iterators form different containers.
2565         (cursorNext): ditto
2566
2567         * rowpainter.C (paintSelection): make sure that we do not compare
2568         iterators from different containers.
2569
2570         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2571         iterators from different ParagraphList containers.
2572         [NEXT] ditto
2573
2574         * text2.C (LyXText): change order of initialization slightly
2575         (operator=): new function. copy all variables except cache_par_
2576         (moveUp): make sure that we do not compare iterators from
2577         different ParagraphList constainers.
2578         (moveDown): ditto
2579
2580         * text.C (firstPar): new function
2581         (lastPar): new function
2582         (endPar): new function
2583
2584         * lyxtext.h: move things around and group public functions, public
2585         variables, private functions, private variables
2586
2587 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2588
2589         * factory.C: change call to InsetERT constructor to avoid
2590         additional invocation of method status
2591         * text2.C (toggleInset): remove redundant update() call
2592         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2593         instead of a Bufferview pointer
2594
2595 2003-11-21  André Pönitz  <poenitz@gmx.net>
2596
2597         * rowpainter.C: simplification
2598
2599 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2600
2601         * text3.C (dispatch): make possible to extend a word/row selection
2602         with the mouse
2603
2604 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2605
2606         * lyxtext.h: x0_,y0_ -> xo_,yo_
2607         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2608         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2609         * rowpainter.C (paintRows): paint full paragraphs
2610
2611 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2612
2613         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2614         screen coordinates)
2615
2616 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2617
2618         * lyxtext.h: add x0_, y0_
2619         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2620         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2621
2622 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2623
2624         * text2.C (setCursorIntern): move the x_target update here *
2625         * text3.C: change some bv() to true/false in calls to
2626         cursorUp/Down/Right/Left
2627         * cursor.C: use helper function.
2628
2629 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2630
2631         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2632         * paragraph_funcs.[Ch]: correct comment
2633         * rowpainter.C: do not paint selections away from bv->cursor()
2634         Fix a long standing selection painting bug.
2635         * text3.C: generalize mouse-selection code to LyXTexts other that
2636         top one
2637         * textcursor.C: do not use y coords if we can use par offsets
2638
2639 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2640
2641         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2642         cursor position after e.g. inset insert)
2643
2644 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2645
2646         * lyxfind.C (replace): adjust to locking removal + some
2647         code simplification
2648
2649 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2650
2651         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2652         of the path
2653
2654 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2655
2656         * lyxlayout.[Ch]:
2657         * output_docbook.C: XML sanitation: new layout
2658         parameters InnerTag and CommandDepth
2659
2660 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2661
2662         * BufferView_pimpl.C:
2663         * factory.C:
2664         * text3.C: Fix the insertion and modification of button-style
2665         insets
2666
2667 2003-11-13  André Pönitz  <poenitz@gmx.net>
2668
2669         * InsetList.[Ch]: remove deleteLyXText
2670
2671         * paragraph.[Ch]: cache beginOfBody position
2672
2673         * Bidi.C:
2674         * text.C:
2675         * text2.C:
2676         * text3.C: remove superfluous update() calls
2677
2678         * vspace.C: cleanup
2679
2680 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2681
2682         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2683         * BufferView.C (fitLockedInsetCursor): remove
2684         * cursor.[Ch] (getDim): add
2685         * text.C (getRowNearY): add faster version
2686         * text3.C: remove some update calls
2687
2688 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2689
2690         * LaTeXFeatures.C:
2691         * LyXAction.C:
2692         * MenuBackend.C:
2693         * MenuBackend.h:
2694         * dispatchresult.h:
2695         * factory.C:
2696         * lfuns.h:
2697         * lyxfunc.C:
2698         * lyxtextclass.C:
2699         * lyxtextclass.h:
2700         * text3.C: The Character Style /XML short element patch.
2701
2702 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2703
2704         * text3.C:
2705         * factory.C: Small step to solving 'unable to insert some insets'
2706         problem
2707
2708 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2709
2710         * cursor.[Ch] (updatePos): new function for updating the y
2711         position of the tip inset
2712         * bufferview_funcs.C (put_selection_at):
2713         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2714
2715 2003-11-11  André Pönitz  <poenitz@gmx.net>
2716
2717         * text.C: remove big comment on invalid Paragraph pointers as it is
2718         not valid anymore
2719
2720 2003-11-11  André Pönitz  <poenitz@gmx.net>
2721
2722         * text_funcs.[Ch]: merge with ...
2723
2724         * text.C: ... this
2725
2726         * lyxtext.h:
2727         * text2.C:
2728         * text3.C: adjust
2729
2730         * Makefile.am: remove text_funcs.[Ch]
2731
2732 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2733
2734         * cursor.C (getPos): return absolute cached y coord
2735
2736         * BufferView_pimpl.C (fitCursor): new simplistic code
2737         (workAreaDispatch): add a fitCursor call
2738
2739 2003-11-10  André Pönitz  <poenitz@gmx.net>
2740
2741         * BufferView.[Ch]:
2742         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2743
2744 2003-11-10  André Pönitz  <poenitz@gmx.net>
2745
2746         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2747         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2748         indicate that the cursor needs to leave an inset
2749
2750         * lyxtext.h: remove inset locking
2751
2752         * cursor.[Ch]: re-implement functionality provided by inset locking
2753
2754         * BufferView.[Ch]:
2755         * BufferView_pimpl.[Ch]:
2756         * LyXAction.C:
2757         * bufferview_funcs.[Ch]:
2758         * factory.C:
2759         * funcrequest.[Ch]:
2760         * iterators.C:
2761         * lyx_cb.C:
2762         * lyxfind.C:
2763         * lyxfunc.C:
2764         * text.C:
2765         * text2.C:
2766         * text3.C:
2767         * undo.C: adjust
2768
2769 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2770
2771         * PosIterator.[Ch]: replace the stack with a vector, add inset
2772         accesor
2773         * iterators.[C]: adjust
2774
2775 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2776
2777         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2778         replaced
2779         * paragraph_funcs.C (readParToken): put the correct id in the
2780         error item, not the id of the top paragraph
2781
2782 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2783
2784         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2785         * bufferview_funcs.C (put_selection_at): use the above
2786
2787 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2788
2789         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2790
2791 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2792
2793         * output_linuxdoc.h:
2794         * output_plaintext.h:
2795         * output.h:
2796         * output_docbook.h: add #include statements
2797
2798 2003-11-05  José Matos  <jamatos@lyx.org>
2799
2800         * output_docbook.[Ch]:
2801         * output_latex.[Ch]:
2802         * output_linuxdoc.[Ch]:
2803         * output_plaintext.[Ch]: New files for output formats.
2804         * output.[Ch]: New file for helper functions.
2805
2806         * buffer.[Ch]:
2807         * paragraph_funcs.[Ch]: output functions moved to new files.
2808
2809         * outputparams.h: rename of latexrunparams.h
2810
2811         * LaTeX.[Ch]:
2812         * buffer.[Ch]:
2813         * bufferlist.[Ch]:
2814         * converter.[Ch]:
2815         * exporter.C:
2816         * paragraph.[Ch]:
2817         * paragraph_funcs.[Ch]:
2818         * paragraph_pimpl.[Ch]:
2819         * tabular.[Ch]: rename ascii to plaintext
2820         and LatexRunParams to OutputParams.
2821
2822 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2823
2824         * iterators.[Ch] (text): require bv argument
2825         * undo.C (recordUndo):
2826         * lyxfunc.C (dispatch):
2827         * bufferview_funcs.C (put_selection_at): adjust
2828
2829 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2830
2831         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2832
2833 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2834
2835         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2836         nestings
2837
2838 2003-11-04  André Pönitz  <poenitz@gmx.net>
2839
2840         * cursor.[Ch]: restructure
2841
2842         * BufferView.[Ch]:
2843         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2844
2845         * iterators.[Ch] (asCursor): remove
2846
2847         * lfuns.h: remove LFUN_INSET_EDIT
2848
2849         * lyxfunc.C:
2850         * tabular.C:
2851         * text.C:
2852         * text2.C:
2853         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2854
2855 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2856
2857         * lyxfind.[Ch]: complete overhaul
2858         * BufferView_pimpl.C:
2859         * lyxfunc.C: adjust
2860         * paragraph.[Ch] (insert): add
2861
2862 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2863
2864         * BufferView.[Ch]:
2865         * lyxtext.h:
2866         * text.C: remove dead spellcheck code
2867
2868 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2869
2870         * dispatchresult.h: add a val setter
2871
2872         * cursor.C (dispatch): use a tempvar for data_[i]
2873
2874 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2875
2876         * PosIterator.[Ch]: compile fix
2877
2878 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2879
2880         * text.C (cursorPar): deactivate the cursor cache
2881
2882 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2883
2884         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2885
2886 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2887
2888         * text3.C (dispatch): adjust for new DisptchResult semantics.
2889
2890         * lyxfunc.C (dispatch): handle update when return from
2891         Cursor::dispatch, adjust for new DispatchResult semantics.
2892
2893         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2894         DispatchResult(true) mean to not update. Add class functions for
2895         setting dispatched and update, as well as reading.
2896
2897         * cursor.C (dispatch): don't handle update here
2898
2899 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2900
2901         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2902         * trans_mgr.C: adjust
2903
2904         * paragraph_funcs.C (readParToken): exception safety
2905
2906         * lyxvc.h: store the vcs pointer in a scoped_ptr
2907         * lyxvc.C: adjust
2908
2909         * lyxsocket.C (serverCallback): exception safety
2910
2911         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2912
2913         * ispell.C (clone): make it return a auto_ptr
2914
2915         * factory.C (createInset): exception safety
2916         (readInset): exception safety
2917
2918         * bufferlist.C (newBuffer): exception safety
2919
2920         * Thesaurus.C (Thesaurus): use initialization for aik_
2921
2922         * MenuBackend.C (expandToc): exception safety.
2923
2924 2003-11-03  André Pönitz  <poenitz@gmx.net>
2925
2926         * buffer.C:
2927         * buffer.h:
2928         * bufferview_funcs.C: remove getInsetFromId()
2929
2930         * lyxcursor.[Ch]:
2931         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2932
2933         * lyxfunc.C:
2934         * text2.C:
2935         * text3.C: adjust
2936
2937 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2938
2939         * PosIterator.C (distance, advance): new
2940         * bufferview_funcs.[Ch] (put_selection_at): new
2941         * iterators.[Ch] (lockPath): new
2942
2943 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2944
2945         * iterators.[Ch] (asPosIterator): added
2946         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2947         * PosIterator.[Ch]: added
2948
2949 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2950
2951         * text3.C:
2952         * lyxfunc.C:
2953         * cursor.C (dispatch):
2954         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2955
2956         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2957         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2958         contructor, add a class function dispatched. Remove operator>=
2959
2960 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2961
2962         * debug.C: only use the default constructor for debugstream
2963         (lyxerr) here.
2964
2965         * main.C (main): include debug.h and setup the lyxerr streambuf
2966         here.
2967
2968 2003-10-31  José Matos  <jamatos@lyx.org>
2969
2970         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2971
2972         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2973         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2974         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2975         * paragraph_pimpl.C (simpleTeXSpecialC):
2976         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2977         add LatexRunParams argument.
2978
2979         * exporter.C (Export): change call accordingly.
2980
2981         * latexrunparams.h: add new member to take care of the other backends.
2982 2003-10-30  José Matos  <jamatos@lyx.org>
2983
2984         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2985         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2986         factorise code for paragraph output.
2987         * buffer.[Ch]:
2988         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2989         move functions.
2990
2991 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2992
2993         * text3.C (dispatch):
2994         * lyxfunc.C (dispatch):
2995         * cursor.C (dispatch):
2996         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2997
2998         * dispatchresult.h: make the dispatch_result_t ctor explicit
2999
3000 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3001
3002         * sgml.[Ch]:
3003         * buffer.C: small refactoring of docbook stuff
3004
3005 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3006
3007         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3008         meaning.
3009
3010 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3011
3012         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3013         operator dispatch_result_t, and operators for == != and >=
3014
3015         * cursor.C (dispatch): adjust for operator dispatch_result_t
3016         removal. comment out call to update
3017
3018         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3019
3020 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3021
3022         * text3.C:
3023         * text2.C:
3024         * text.C:
3025         * lyxtext.h:
3026         * lyxfunc.C:
3027         * cursor.C:
3028         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3029         (dispatch):
3030
3031         * dispatchresult.h: new file, DispatchResult broken out of
3032         insets/insetbase.h
3033
3034         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3035
3036 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3037
3038         * text.C (rowBreakPoint): put a hack inside #if 0
3039
3040 2003-10-28  André Pönitz  <poenitz@gmx.net>
3041
3042         * lyxtext.h:
3043         * metricsinfo.C:
3044         * paragraph_funcs.C:
3045         * rowpainter.C:
3046         * text.C:
3047         * text2.C: general cleanup (lots of small stuff)
3048
3049 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3050
3051         * text2.C (cursorEnd): simple fix to the "end key goes to one
3052         before the end on last row" bug
3053
3054 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3055
3056         * text.C (backspace): fix the "zombie characters"
3057
3058 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3059
3060         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3061
3062 2003-10-27  André Pönitz  <poenitz@gmx.net>
3063
3064         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3065
3066         * factory.C: handle new InsetPagebreak, InsetLine
3067
3068         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3069         and move handling into new InsetPagebreak, InsetLine
3070
3071         * BufferView_pimpl.C:
3072         * LyXAction.C:
3073         * ParagraphParameters.C:
3074         * ParameterStruct.h:
3075         * lyxfunc.C:
3076         * lyxtext.h:
3077         * paragraph.C:
3078         * paragraph.h:
3079         * paragraph_funcs.C:
3080         * paragraph_pimpl.C:
3081         * rowpainter.C:
3082         * text.C:
3083         * text2.C:
3084         * text3.C: adjust
3085
3086 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3087
3088         * text.C:
3089         * lyxrow_funcs.[Ch]:
3090         * Bidi.C:
3091         * paragraph.C:
3092         * lyxtext.h:
3093         * rowpainter.C:
3094         * text2.C:
3095         * text3.C: remove lastPos uses in favour of Row::endpos
3096
3097 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3098
3099         * undo.C (performUndoOrRedo): fix two crashes by setting a
3100         cursor by hand and reordering some calls. Use bv->lockInset instead
3101         of inset->edit because the latter loses cursor information
3102
3103 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3104
3105         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3106         by Martin
3107         (rowBreakPoint): fix width. change point to point + 1.
3108         Add a missing check.
3109
3110 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3111
3112         * MenuBackend.C:
3113         * lyxfunc.C: fix (at least partly) the problems
3114         with the Nav menu and headers inside branch insets
3115         reported by Kayvan
3116
3117 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3118
3119         * paragraph.C (getChar): add strong asserts
3120
3121         * lyxrow_funcs.C (lastPos): remove hideous hack
3122
3123         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3124         (fill): adjust to that (avoid an infinite loop)
3125
3126 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3127
3128         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3129
3130 2003-10-23  André Pönitz  <poenitz@gmx.net>
3131
3132         * RowList_fwd.h: change list<> to vector<> to gain speed
3133         after suggestion from Alfredo
3134
3135 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3136
3137         * lyxtext.h: move the bidi stuff from here...
3138         * text.C: and here
3139         * text2.C: and here
3140         * Bidi.[Ch]: ... to here
3141
3142 2003-10-23  André Pönitz  <poenitz@gmx.net>
3143
3144         * lyxtext.h:
3145         * text.C (isLastRow, isFirstRow): new functions
3146
3147         * paragraph.h: new width cache member
3148
3149         * rowpainter.C: replace RowList::iterator with Row & where possible
3150
3151         * lyxfunc.C: replace several view()->text with a single call
3152
3153         * toc.C: fix 'unused' warning
3154
3155 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3156
3157         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3158         when woring with stream::pos_type
3159         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3160
3161 2003-10-22  André Pönitz  <poenitz@gmx.net>
3162
3163         * lyxtext.h:
3164         * text.C: use Row & instead of RowList::iterator
3165
3166         * lyxrow.h: rename end() to endpos()
3167
3168         * rowpainter.C:
3169         * text.C:
3170         * text2.C: adjust
3171
3172 2003-10-22  Angus Leeming  <leeming@lyx.org>
3173
3174         * buffer.[Ch] (fully_loaded): new member function, returning true
3175         only when the file has been loaded fully.
3176         Used to prevent the premature generation of previews and by the
3177         citation inset to prevent computation of the natbib-style label.
3178
3179         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3180         templates are all set up.
3181
3182         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3183
3184 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3185
3186         * text.C: fixed an "oops" in the "is a bit silly"
3187         bug fix
3188
3189 2003-10-21  André Pönitz  <poenitz@gmx.net>
3190
3191         * FuncStatus.[Ch]: small stuff, whitespace
3192
3193         * lyxfont.[Ch]: operator<<() for debug reasons
3194
3195         * lyxfunc.C:
3196         * lyxrow_funcs.C:
3197         * lyxtext.h: whitespace, spelling
3198
3199         * paragraph.C: naming of variables
3200
3201         * text.C:
3202         * text2.C: small stuff
3203
3204
3205 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3206
3207         * text.C: (1) finish off the inset display() work;
3208         (2) fix the "is a bit silly" bug (accessing char
3209         past end of par).
3210
3211 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3212
3213         * text.C: re-introduce display() for insets, fixing the
3214         various bugs (stretch of line above, math inset
3215         positioning, ...)
3216
3217 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3218
3219         * text.C (rightMargin): remove spurious semicolon
3220
3221         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3222         1415)
3223
3224 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3225
3226         * text3.C: fix one crash due to wrong cursor def
3227
3228 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3229
3230         * vc-backend.C (scanMaster): make the regex static
3231
3232         * LaTeX.C (scanAuxFile): make the regexs static
3233
3234         * text3.C (doInsertInset, dispatch, dispatch):
3235         * text2.C (cursorUp, cursorDown):
3236         * text.C (selectNextWordToSpellcheck):
3237         * BufferView_pimpl.C (dispatch):
3238         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3239
3240 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3241
3242         * lyxsocket.C: include <cerrno>
3243
3244 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3245
3246         * lyxfunc.C (dispatch): remove textcache stuff
3247
3248         * bufferlist.C (release): remove textcache stuff
3249         (closeAll): ditto
3250
3251         * TextCache.C: delete file
3252         * TextCache.h: delete file
3253
3254         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3255
3256         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3257         delete of the bv_->text.
3258         (resizeCurrentBuffer): remove texcache stuff
3259         (workAreaResize): ditto
3260
3261 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3262
3263         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3264         action.
3265
3266 2003-10-16  André Pönitz  <poenitz@gmx.net>
3267
3268         * lyxrow.[Ch]:
3269         * paragraph.h:
3270         * rowpainter.C:
3271         * text.C:
3272         * text2.C:
3273         * text3.C: speed up by storing y positions per paragraph plus per-row
3274         offset instead of having a 'full' y position in the row.
3275
3276 2003-10-15  André Pönitz  <poenitz@gmx.net>
3277
3278         * iterators.[Ch]:
3279         * iterators.[Ch]:
3280         * undo.[Ch]: make undo aware of inner insets
3281
3282 2003-10-14  Angus Leeming  <leeming@lyx.org>
3283
3284         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3285         static member functions LyX::ref() and LyX::cref.
3286         (lastfiles): new accessor functions for the new lastfiles_ member var.
3287         (addLyXView, views_): add a new LyXView to the list of views_.
3288         (updateInset): loop over all LyXViews to call their own updateInset
3289         member function, returning a pointer to the Buffer owning the inset.
3290
3291         * BufferView_pimpl.C (loadLyXFile):
3292         * MenuBackend.C (expandLastfiles):
3293         * bufferlist.C (MenuWrite, QuitLyX):
3294         lastfiles is no longer a global variable.
3295         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3296
3297         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3298         static function. Access through LyX::cref().emergencyCleanup().
3299
3300 2003-10-14  André Pönitz  <poenitz@gmx.net>
3301
3302         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3303
3304         * undo.[Ch]: restoring part of 'undo in insets'
3305
3306         * Makefile.am:
3307         * undo_funcs.[Ch]: merge with undo.[Ch]
3308
3309         * tabular.C: small cleansing stuff
3310
3311 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3312
3313         * paragraph_funcs.C (readParToken): report unknown insets as error
3314         boxes. Use the outer paragraph as location (also for unknown
3315         tokens).
3316
3317         * factory.C (readInset): do not abort on reading an unknown inset.
3318         Eat it and return 0.
3319
3320 2003-10-13  Angus Leeming  <leeming@lyx.org>
3321
3322         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3323
3324         * lyxrc.C: displayTranslator is now a function,
3325         declared in GraphicsTypes.h.
3326
3327 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3328
3329         * format.C: new placeholder $$a to pass the socket address.
3330
3331         * bufferlist.[Ch]: new function getBufferFromTmp.
3332
3333         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3334           files in the temporary dir.
3335
3336 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3337
3338         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3339
3340         * Makefile.am: add lyxsocket.[Ch].
3341
3342         * lyx_main.C (error_handler): handle SIGPIPE.
3343
3344 2003-10-13  André Pönitz  <poenitz@gmx.net>
3345
3346         * BufferView_pimpl.C:
3347         * lyxtext.h:
3348         * text.C:
3349         * text2.C:
3350         * text3.C:
3351         * undo_funcs.[Ch]: use paroffset_type instead of
3352           ParagraphList::iterators to prevent multiple conversion
3353           (and get a more robust interface)
3354
3355 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3356
3357         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3358         * lyxtext.h: ditto
3359         * text3.C (dispatch): ditto
3360
3361 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3362
3363         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3364         move the onlyfile, use onlyfile instead of foundfile in a couple
3365         of places.
3366
3367         * DepTable.C (update): flush the error stream a bit more
3368
3369 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3370
3371         * lyxserver.C (callback): adjust
3372
3373         * lyxfunc.C (getStatus): add a missing brace in commented code
3374         (ensureBufferClean): reindent
3375         (dispatch): delete version taking a string
3376
3377 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3378
3379         * LaTeX.C (deplog): move found file handlig from here...
3380         (handleFoundFile): .. to new function here.
3381         (deplog): make sure to discover several files mentioned on the
3382         same log line.
3383
3384 2003-10-10  André Pönitz  <poenitz@gmx.net>
3385
3386         * lyxfunc.C:
3387         * lyxtext.h:
3388         * tabular.C:
3389         * text.C:
3390         * text2.C:
3391         * text3.C: fix some of the tabular crashes
3392
3393 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3394
3395         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3396
3397         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3398
3399 2003-10-09  André Pönitz  <poenitz@gmx.net>
3400
3401         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3402
3403         * BufferView.C:
3404         * BufferView_pimpl.C:
3405         * bufferview_funcs.C:
3406         * lyx_cb.C:
3407         * lyxcursor.C:
3408         * lyxfind.C:
3409         * lyxfunc.C:
3410         * lyxtext.h:
3411         * text.C:
3412         * text2.C:
3413         * text3.C:
3414         * text_funcs.[Ch]:
3415         * textcursor.[Ch]:
3416         * undo_funcs.C: adjust
3417
3418 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3419
3420         * text2.C (incrementItemDepth): new function, use a backtracking
3421         algorithm to discover the correct item depth.
3422         (resetEnumCounterIfNeeded): new function, use a backtracking
3423         algorithm to discover if counter reset is needed.
3424         (setCounter): use them. Simplify a bit. Add different labels for
3425         different item depths for itemize.
3426
3427         * paragraph.C (Paragraph): remove initialization of enumdepth
3428         (operator=): ditto
3429
3430         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3431         enumerate and itemize. Change the type of itemdepth to signed char.
3432
3433 2003-10-08  André Pönitz  <poenitz@gmx.net>
3434
3435         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3436           thing assignable.
3437         * text.C:
3438         * text2.C: adjust
3439
3440         * tabular.[Ch]: fix crash after 'row-insert'
3441
3442 2003-10-08  Angus Leeming  <leeming@lyx.org>
3443
3444         Fix doxygen warnings.
3445
3446         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3447         Remove CutAndPaste:: prefix from header file declaration.
3448
3449         * LColor.h (fill): remove LColor:: prefix from declaration.
3450
3451         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3452         use lyx::depth_type rather than Paragraph::depth_type so that
3453         header file and .C file match.
3454
3455         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3456
3457         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3458         * aspell.C: \file aspell_local.C -> \file aspell.C
3459         * gettext.C: \file gettext.C -> \file src/gettext.C
3460         * gettext.h: \file gettext.h -> \file src/gettext.h
3461         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3462         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3463         * text.C: \file text.C -> \file src/text.C
3464
3465         * toc.C: move comment so that doxygen is not confused.
3466
3467 2003-10-07  Angus Leeming  <leeming@lyx.org>
3468
3469         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3470
3471 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3472
3473         * aspell.C:
3474         * aspell_local.h: add forgotten std::string's.
3475
3476 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3477
3478         * LaTeXFeatures.C:
3479         * LyXAction.C:
3480         * factory.C:
3481         * lfuns.h:
3482         * lyxfunc.C:
3483         * text3.C: The Box patch. Fancybox support, minipage, parbox
3484
3485 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3486
3487         * CutAndPaste.h:
3488         * DepTable.h:
3489         * FloatList.h:
3490         * LaTeXFeatures.h:
3491         * ParagraphParameters.h:
3492         * TextCache.h:
3493         * Thesaurus.h:
3494         * bufferlist.h:
3495         * exporter.h:
3496         * importer.h:
3497         * lastfiles.h:
3498         * lyxfind.h:
3499         * lyxfont.h:
3500         * lyxlex.h:
3501         * lyxtextclasslist.h:
3502         * messages.h:
3503         * paragraph.h:
3504         * paragraph_pimpl.C:
3505         * textcursor.h: add <string> and other small fixes to make Lars'
3506         std::string patch compile with STLport.
3507
3508 2003-10-06  Angus Leeming  <leeming@lyx.org>
3509
3510         * LColor.h: Add missing #include <string>.
3511
3512 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3513
3514         * All most all file in all subdirs: Make <string> be the prefered
3515         way of getting to std::string, add using declarations.
3516
3517 2003-10-06  André Pönitz  <poenitz@gmx.net>
3518
3519         * metricsinfo.C: initialize LyXFont before changing attribute.
3520         (fixes the 'math in \emph is upright' bug)
3521
3522 2003-10-06  André Pönitz  <poenitz@gmx.net>
3523
3524         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3525
3526 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3527
3528         * graph.C:
3529         * paragraph_pimpl.C: Small fixes to build using STLport
3530
3531 2003-10-02  André Pönitz  <poenitz@gmx.net>
3532
3533         * lyxfunc.C:
3534         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3535
3536 2003-10-01  André Pönitz  <poenitz@gmx.net>
3537
3538         * factory.C: assert early
3539
3540 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3541
3542         * lyx_main.C: remove the global debug object
3543
3544         * debug.h: adjust for new debugstream
3545
3546         * debug.C: adjust for new debugstream and keep the global debug
3547         object here.
3548
3549 2003-09-22  Angus Leeming  <leeming@lyx.org>
3550
3551         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3552         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3553         an incomplete class LyXFont.
3554
3555 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3556
3557         * factory.C: bug fix in branches
3558
3559 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3560
3561         * lyxfunc.C (processKeySym): adjust
3562         (dispatch): adjust
3563         (dispatch): change arg name from ev to func, adjust
3564         (sendDispatchMessage): ditto
3565
3566         * lyx_main.C (defaultKeyBindings): adjust keybindings
3567         (deadKeyBindings): ditto
3568
3569         * kbsequence.C (addkey): return a FuncRequest
3570
3571         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3572
3573         * kbmap.C (bind): take a FuncRequest as arg, adjust
3574         (read): adjust
3575         (lookup): adjust
3576         (defkey): change to take a FuncRequest as arg, adjust
3577         (findbinding): take a FuncRequest as arg, adjust.
3578
3579         * funcrequest.h (operator=): added
3580
3581         * funcrequest.C (FuncRequest): default kb_action changed from
3582         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3583
3584         * buffer.C (dispatch): simplify
3585         (dispatch): adjust to take a FuncRequest as arg, adjust
3586
3587         * boost.C (assertion_failed): change assertion message slightly
3588
3589         * ToolbarBackend.C (read): simplify
3590
3591         * MenuBackend.C (binding): adjust call to findbinding, add a
3592         message if no binding is found.
3593         (read): simplify
3594         (expandToc): correct by adding a empty FuncRequest
3595
3596         * LyXAction.C: include <boost/assert.hpp>
3597         (isPseudoAction): delete function
3598         (LookupFunc): change name to...
3599         (lookupFunc): this. change return type to FuncRequest.
3600         (getActionName): take kb_action as arg, simplify
3601         (funcHasFlag): add an assert, simplify.
3602
3603 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3604
3605         * toc.C (action): return a FuncRequest, simplify
3606
3607         * lyxfunc.C (processKeySym): adjust
3608         (getStatus): delete version that takes an int.
3609         (getStatus): adjust
3610         (dispatch): delete version that takes action as int
3611         (dispatch): adjust
3612         (sendDispatchMessage): simplify and adjust
3613
3614         * funcrequest.C (getArg): take unsigned int as arg
3615
3616         * ToolbarBackend.C (read): adjust
3617         (add): delete version that takes func as a string.
3618         (getIton): take a FuncRequest as arg
3619
3620         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3621         action.
3622
3623         * MenuBackend.C (MenuItem): add a new construct that only takes a
3624         Kind, simplify the constructor use for submenus.
3625         (add): adjust
3626         (expandLastfiles): adjust
3627         (expandDocuments): adjust
3628         (expandFormats): adjust
3629         (expandFloatListInsert): adjust
3630         (expandFloatInsert): adjust
3631         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3632
3633         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3634         Remove class variables lyx_pseudo_map and lyx_arg_map
3635
3636         * LyXAction.C (searchActionArg): delete function
3637         (getPseudoAction): delete function
3638         (retrieveActionArg): delete function
3639         (LookupFunc): make it return kb_action, simplify.
3640         (getActionName): simplify
3641
3642         * factory.C (createInset): fix new bug
3643
3644 2003-09-19  Angus Leeming  <leeming@lyx.org>
3645
3646         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3647         masterFilename_ parameter in the include inset.
3648
3649         * factory.C (createInset): changes due to the changes to InsetInclude.
3650
3651 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3652
3653         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3654
3655 2003-09-18  Angus Leeming  <leeming@lyx.org>
3656
3657         * buffer.C:
3658         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3659         Inset::fillWithBibKeys.
3660         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3661
3662 2003-09-18  Angus Leeming  <leeming@lyx.org>
3663
3664         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3665         variables.
3666         (ctor): pass and store a 'Buffer const &'
3667         (buffer): new member function.
3668
3669         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3670         '*this' to the LaTeXFeatures ctor.
3671
3672 2003-09-18  Angus Leeming  <leeming@lyx.org>
3673
3674         * LColor.h:
3675         * lyxfont.C:
3676         * lyxfont.h:
3677         * lyxtext.h:
3678         * text.C: rename EnumLColor as LColor_color.
3679
3680 2003-09-18  Angus Leeming  <leeming@lyx.org>
3681
3682         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3683         remove #include "insets/insetbase.h" from cursor.h.
3684
3685 2003-09-18  Angus Leeming  <leeming@lyx.org>
3686
3687         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3688         InsetOld_code to remove #include "inset.h".
3689
3690         * iterators.C: add #include "insets/inset.h"
3691
3692 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3693
3694         * BufferView.C: remove more locking stuff that apparently doesn't
3695         do anything sensible.
3696
3697 2003-09-16  André Pönitz  <poenitz@gmx.net>
3698
3699         * paragraph.[Ch]:
3700         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3701           performance boost.
3702
3703 2003-09-16  Angus Leeming  <leeming@lyx.org>
3704
3705         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3706
3707         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3708         arg/return type.
3709
3710         * paragraph.h: remove #include "lyxfont.h". Forward declare
3711         LyXFont_size.
3712
3713 2003-09-16  Angus Leeming  <leeming@lyx.org>
3714
3715         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3716         of support/textutils.h.
3717         (isWord): move the contents of support/textutils.h's IsWordChar here.
3718
3719         * buffer.C:
3720         * lyxfind.C:
3721         * rowpainter.C:
3722         * text.C:
3723         * text2.C: add #include "paragraph.h".
3724
3725         * rowpainter.C:
3726         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3727
3728 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3729
3730         * main.C:
3731         * lyx_main.C:
3732         * lyx_cb.C:
3733         * buffer.C:
3734         * LaTeX.C: use namespace alias for lyx::support::os
3735
3736 2003-09-16  Angus Leeming  <leeming@lyx.org>
3737
3738         * bufferparams.C:
3739         * bufferview_funcs.C:
3740         * factory.C:
3741         * lyxfunc.C:
3742         * paragraph_pimpl.C:
3743         * rowpainter.C:
3744         * text.C: add #include "LColor.h".
3745
3746 2003-09-16  Angus Leeming  <leeming@lyx.org>
3747
3748         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3749         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3750         return LyXFont &.
3751         Store the FontBits::color variable as an int rather than as an
3752         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3753         file.
3754
3755         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3756         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3757         string calls together.
3758
3759         * lyxrc.C: add #include "LColor.h".
3760
3761 2003-09-15  Angus Leeming  <leeming@lyx.org>
3762
3763         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3764         a cow_ptr.
3765
3766 2003-09-15  Angus Leeming  <leeming@lyx.org>
3767
3768         * LColor.h: add an EnumLColor wrapper for LColor::color.
3769
3770         * lyxfont.[Ch] (color, setColor, realColor):
3771         * lyxtext.h, text.C (backgroundColor):
3772         pass EnumLColor args to/from the functions, rather than LColor::color
3773         ones.
3774
3775         * lyxfont.h:
3776         * lyxtext.h: forward declare EnumLColor.
3777
3778         * lyx_main.C: add #include "LColor.h".
3779
3780 2003-09-15  Angus Leeming  <leeming@lyx.org>
3781
3782         * .cvsignore: add lyx-gtk.
3783
3784 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3785
3786         * Chktex.C
3787         * LaTeX.C
3788         * LaTeXFeatures.C
3789         * ParagraphParameters.C
3790         * Spacing.C
3791         * buffer.C
3792         * bufferparams.C
3793         * bufferview_funcs.C
3794         * chset.C
3795         * counters.C
3796         * funcrequest.C
3797         * lyxfont.C
3798         * lyxgluelength.C
3799         * lyxlength.C
3800         * paragraph.C
3801         * paragraph_funcs.C
3802         * text3.C
3803         * vc-backend.C: remove usage of STRCONV
3804
3805 2003-09-15  Angus Leeming  <leeming@lyx.org>
3806
3807         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3808         explicitly define the color passed to the painter.
3809
3810 2003-09-15  Angus Leeming  <leeming@lyx.org>
3811
3812         * bufferparams.C (BufferParams): reorder member initializers to avoid
3813         compiler warning.
3814
3815 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3816
3817         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3818         * text.C (updateRowPositions): remove an unusual nop
3819
3820 2003-09-12  André Pönitz  <poenitz@gmx.net>
3821
3822         * BufferView_pimpl.C:
3823         * Bullet.C:
3824         * layout.h:
3825         * lyxfunc.C:
3826         * lyxlayout.[Ch]:
3827         * lyxtextclass.C:
3828         * rowpainter.C:
3829         * text.C:
3830         * text2.C:
3831         * Counters.[Ch]: finish the 'automatic counters' job
3832
3833 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3834
3835         * aspell.C: include <boost/assert.cpp> (compile fix)
3836
3837 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3838
3839         * boost.C (assertion_failed): use lyx::support::abort instead of
3840         assert.
3841
3842 2003-09-10  Angus Leeming  <leeming@lyx.org>
3843
3844         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3845         with their _fwd progeny.
3846
3847 2003-09-09  Angus Leeming  <leeming@lyx.org>
3848
3849         134 files throughtout the source tree: replace 'using namespace abc;'
3850         directives with the appropriate 'using abc::xyz;' declarations.
3851
3852 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3853
3854         * boost.C (emergencyCleanup): moved here from LAssert.c
3855         (assertion_failed): new function, called by BOOST_ASSERT
3856
3857         * several files: change Assert to BOOST_ASSERT
3858
3859 2003-09-09  Angus Leeming  <leeming@lyx.org>
3860
3861         * buffer.[Ch]: Add an Impl class and move Buffer's member
3862         variables into it. As a result move several header files out of
3863         buffer.h.
3864
3865         Add header files to lots of .C files all over the tree as a result.
3866
3867 2003-09-09  Angus Leeming  <leeming@lyx.org>
3868
3869         * buffer.[Ch]: make Buffer's member variables private. Add
3870         accessor functions.
3871
3872         Lots of changes all over the tree as a result.
3873
3874 2003-09-08  Angus Leeming  <leeming@lyx.org>
3875
3876         * graph.C: #include <config.h>.
3877
3878 2003-09-08  Angus Leeming  <leeming@lyx.org>
3879
3880         * BranchList.C:
3881         * BufferView.C:
3882         * BufferView_pimpl.C:
3883         * CutAndPaste.C:
3884         * DepTable.C:
3885         * LaTeX.C:
3886         * LaTeXFeatures.C:
3887         * LyXAction.C:
3888         * MenuBackend.C:
3889         * TextCache.C:
3890         * aspell.C:
3891         * buffer.C:
3892         * bufferlist.C:
3893         * changes.C:
3894         * chset.C:
3895         * converter.C:
3896         * counters.C:
3897         * debug.C:
3898         * graph.C:
3899         * ispell.C:
3900         * lyx_cb.C:
3901         * lyxfind.C:
3902         * lyxfunc.C:
3903         * lyxlex_pimpl.C:
3904         * lyxrc.C:
3905         * lyxrow.C:
3906         * paragraph.C:
3907         * rowpainter.C:
3908         * texrow.C:
3909         * text.C:
3910         * text2.C:
3911         * toc.C: remove redundant using directives.
3912
3913 2003-09-07  Angus Leeming  <leeming@lyx.org>
3914
3915         * LaTeXFeatures.h: remove #include "support/types.h".
3916         * ToolbarBackend.h: remove #include <algorithm>.
3917         * changes.h: remove #include <ctime>.
3918         * debug.h: remove #include <iosfwd>.
3919         * graph.h: remove #include "support/std_string.h".
3920         * lyx_main.h: remove #include <csignal>.
3921         * lyxlex_pimpl.h: remove #include <fstream>.
3922         * sgml.h: remove #include <algorithm>, <utility>.
3923         * toc.h: remove #include "support/std_ostream.h".
3924         Add #include <iosfwd>.
3925
3926 2003-09-07  Angus Leeming  <leeming@lyx.org>
3927
3928         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3929
3930         * converter.h: forward declare LatexRunParams.
3931         * encoding.h: remove #include "lyxrc.h".
3932         * lyxtext.h: remove #include "LColor.h".
3933         * lyxtextclass.h: remove #include "support/types.h".
3934         * trans.h: remove #include "tex-accent.h".
3935         * trans_mgr.h: remove #include "tex-accent.h".
3936         * insets/inset.h: remove #include "support/types.h", <vector>.
3937         * insets/insetcollapsable.h: remove #include "LColor.h".
3938         * insets/insetinclude.h: remove #include "dimension.h".
3939         * insets/insetlatexaccent.h: remove #include "dimension.h".
3940         * insets/insetoptarg.h:: remove #include "insettext.h".
3941         * insets/insettext.h: remove #include "dimension.h",
3942         <boost/shared_ptr.hpp>
3943
3944         * insets/renderers.h: add #include "dimension.h".
3945         * insets/updatableinset.h: add #include "support/types.h".
3946
3947         * many .C files: Associated changes.
3948
3949 2003-09-06  Angus Leeming  <leeming@lyx.org>
3950
3951         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3952         one, inside testInvariant.
3953
3954         * PrinterParams.C: new file.
3955         * PrinterParams.[Ch]: move the function bodies out of line.
3956
3957 2003-09-06  Angus Leeming  <leeming@lyx.org>
3958
3959         * ParagraphParameters.h: forward declare ParameterStruct rather than
3960         including its header file.
3961         (depth): moved out-of-line.
3962
3963 2003-09-06  Angus Leeming  <leeming@lyx.org>
3964
3965         * BufferView_pimpl.h:
3966         * kbmap.h:
3967         * kbsequence.h:
3968         * lyxfunc.h: forward declare LyXKeySym rather than
3969         #include "frontends/LyXKeySym.h".
3970
3971         * BufferView_pimpl.C:
3972         * kbmap.C:
3973         * kbsequence.C:
3974         * lyxfunc.C: associated changes.
3975
3976 2003-09-06  Angus Leeming  <leeming@lyx.org>
3977
3978         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3979         As a result, can remove the #include "insets/inset.h" from BufferView.h
3980
3981 2003-09-06  Angus Leeming  <leeming@lyx.org>
3982
3983         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3984         As a result, can remove the #include "insets/inset.h" from BufferView.h
3985
3986 2003-09-06  Angus Leeming  <leeming@lyx.org>
3987
3988         * buffer_funcs.C:
3989         * buffer.h:
3990         * bufferlist.C:
3991         * BufferView.C:
3992         * bufferview_funcs.C:
3993         * BufferView_pimpl.C:
3994         * CutAndPaste.C:
3995         * lyx_cb.C:
3996         * lyxfunc.C:
3997         * paragraph.h:
3998         * ParagraphParameters.C:
3999         * tabular.C:
4000         * text3.C:
4001         * toc.C:
4002         * undo_funcs.C:
4003         * frontends/controllers/ControlDocument.C:
4004         * insets/insetcaption.C: rearrange the #includes into some sort of
4005         coherent order.
4006
4007         * buffer.h: remove #includes ErrorList.h, undo.h
4008
4009 2003-09-06  Angus Leeming  <leeming@lyx.org>
4010
4011         * support/types.h: add a 'depth_type' typedef, used to store the
4012         nesting depth of a paragraph.
4013
4014         * paragraph.h:
4015         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4016         defining explicitly.
4017
4018         * buffer.h:
4019         * paragraph_funcs.h:
4020         * ParagraphParameters.h:
4021         * sgml.h: use lyx::depth_type rather than Paragraph or
4022         ParameterStruct's depth_type.
4023
4024         * buffer.h
4025         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4026
4027         * BufferView.C:
4028         * BufferView_pimpl.C:
4029         * CutAndPaste.C:
4030         * ParagraphParameters.C:
4031         * buffer_funcs.C:
4032         * bufferlist.C:
4033         * bufferview_funcs.C:
4034         * lyx_cb.C:
4035         * lyxfunc.C:
4036         * tabular.C:
4037         * text3.C:
4038         * toc.C:
4039         * undo_funcs.C:
4040         * frontends/LyXView.C:
4041         * frontends/controllers/ControlDocument.C:
4042         * frontends/controllers/ControlErrorList.C:
4043         * insets/insetbibitem.C:
4044         * insets/insetbranch.C:
4045         * insets/insetcaption.C:
4046         * insets/insetcollapsable.C:
4047         * insets/insetenv.C:
4048         * insets/insetert.C:
4049         * insets/insetfloat.C:
4050         * insets/insetfoot.C:
4051         * insets/insetfootlike.C:
4052         * insets/insetnewline.C:
4053         * insets/insetquotes.C:
4054         * insets/insettabular.C:
4055         * insets/insettext.C:
4056         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4057
4058         * frontends/controllers/ControlChanges.C: #include "changes.h".
4059
4060 2003-09-06  Angus Leeming  <leeming@lyx.org>
4061
4062         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4063         than #including paragraph.h.
4064
4065         * ParagraphList.h:
4066         * RowList.h: deleted. Superfluous.
4067
4068         * CutAndPaste.h:
4069         * iterators.h:
4070         * lyxcursor.h:
4071         * lyxtext.h:
4072         * text_funcs.h:
4073         * undo.h:
4074         * undo_funcs.h:
4075         * insets/inset.h:
4076         * insets/insettext.h: use ParagraphList_fwd.h rather than
4077         ParagraphList.h.
4078
4079         * paragraph.h: don't forward declare ParagraphList.
4080
4081         * buffer.h:
4082         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4083         rather than ParagraphList.h. paragraph.h is still needed for the
4084         Paragraph::depth_type parameters.
4085
4086         * textcursor.h: enable it to compile stand-alone in light of the
4087         above changes.
4088
4089         * bufferview_funcs.C:
4090         * iterators.C:
4091         * lyxfunc.C:
4092         * lyxrow_funcs.C:
4093         * paragraph.C:
4094         * rowpainter.C:
4095         * text.C:
4096         * text2.C:
4097         * text3.C:
4098         * text_funcs.C:
4099         * textcursor.C:
4100         * undo.C:
4101         * frontends/controllers/ControlParagraph.C:
4102         * frontends/controllers/ControlTabular.C:
4103         * insets/insetmarginal.C:
4104         * insets/insetminipage.C:
4105         * insets/insetnote.C:
4106         * insets/insetoptarg.C: add header files needed to compile again.
4107
4108 2003-09-06  Angus Leeming  <leeming@lyx.org>
4109
4110         * RowList_fwd.h: new file, forward-declaring Row rather than
4111         #including lyxrow.h.
4112
4113         * lyxrow_funcs.h:
4114         * lyxtext.h:
4115         * paragraph.h:
4116         * insets/insettext.h: use it instead of RowList.h
4117
4118         * bufferview_funcs.C:
4119         * lyxfunc.C:
4120         * lyxrow_funcs.C:
4121         * paragraph.C:
4122         * rowpainter.C:
4123         * text.C:
4124         * text2.C:
4125         * text3.C: #include "RowList.h".
4126
4127 2003-09-05  Angus Leeming  <leeming@lyx.org>
4128
4129         * factory.C (createInset):
4130         * vspace.C (c-tor): replace sscanf call with an istringstream.
4131         * ispell.C: re-add missing HP/UX headers.
4132         * lyxserver.C: re-add missing  os2 headers.
4133
4134 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4135
4136         * BranchList.C:
4137         * graph.C:
4138         * ispell.C:
4139         * lastfiles.C:
4140         * lyx_cb.C:
4141         * lyxserver.C:
4142         * texrow.C:
4143         * text3.C: re-add missing system headers, needed for 2.95.2.
4144
4145 2003-09-05  Angus Leeming  <leeming@lyx.org>
4146
4147         Changes most place everywhere due to the removal of using directives
4148         from support/std_sstream.h.
4149
4150 2003-09-05  Angus Leeming  <leeming@lyx.org>
4151
4152         Replace LString.h with support/std_string.h,
4153         Lsstream.h with support/std_sstream.h,
4154         support/LIstream.h with support/std_istream.h,
4155         support/LOstream.h with support/std_ostream.h.
4156
4157         Changes resulting throughout the tree.
4158
4159 2003-09-05  Angus Leeming  <leeming@lyx.org>
4160
4161         * sgml.h: ensure that the header file can be compiled stand-alone.
4162         * *.C: strip out redundant #includes. (320 in total.)
4163
4164 2003-09-04  Angus Leeming  <leeming@lyx.org>
4165
4166         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4167         here (from getPackages).
4168
4169         * debug.[Ch]: add a new EXTERNAL tag.
4170
4171 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4172
4173         * text2.C (cursorEnd): simplify
4174         (setCursor): adjust
4175         (getColumnNearX): adjust
4176
4177         * text.C (computeBidiTables): adjust
4178         (fill): adjust
4179
4180         * rowpainter.C (paintChars): adjust
4181         (paintSelection): adjust
4182         (paintChangeBar): adjust
4183         (paintText): adjust
4184
4185         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4186         lastPos instead.
4187         (numberOfSeparators): adjust
4188
4189 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4190
4191         * LyXAction.C:
4192         * box.[Ch]:
4193         * lfuns.h:
4194         * lyxfunc.C:
4195         * text3.C: Restricts the mouse click functionality
4196         of insets like bibtex, include, toc and floatlist to the visible
4197         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4198         up the dialogs. Cursor has to be in front of the inset (i.e.
4199         start of row) for this to function.
4200
4201 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4202
4203         * bufferview_funcs.C (currentState): output row information
4204
4205 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4206
4207         * bufferview_funcs.C (currentState): output paragraph position
4208
4209 2003-09-04  Angus Leeming  <leeming@lyx.org>
4210
4211         * FloatList.h: move out #include "Floating.h".
4212         * LaTeX.h: move out #include "DepTable.h".
4213         * LyXAction.h: move out #include "funcrequest.h".
4214         * buffer.h: move out #include "author.h", "iterators.h".
4215         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4216         * lyx_main.h: move out #include "errorlist.h".
4217         * lyxfunc.h: move out #include "FuncStatus.h".
4218         * lyxtext: move out #include "lyxcursor.h".
4219         * paragraph_pimpl.h: move out #include "counters.h".
4220
4221 2003-09-03  Angus Leeming  <leeming@lyx.org>
4222
4223         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4224         preamble_snippets list, enabling us to add snippets to the preamble
4225         only if the snippet was not there already.
4226
4227 2003-09-04  Angus Leeming  <leeming@lyx.org>
4228
4229         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4230
4231 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4232
4233         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4234         update
4235
4236 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4237
4238         * BranchList.C: point fix, earlier forgotten
4239
4240 2003-09-02  Angus Leeming  <leeming@lyx.org>
4241
4242         * box.C (contains): renamed from 'contained' after a fantastic
4243         amount of hot air.
4244
4245 2003-09-02  John Levon  <levon@movementarian.org>
4246
4247         * BufferView.C:
4248         * lyxcursor.h:
4249         * lyxcursor.C:
4250         * lyxfunc.C:
4251         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4252
4253 2003-09-02  John Levon  <levon@movementarian.org>
4254
4255         * text2.C: simplification of cursorEnd(), including partial
4256         fix for bug 1376
4257
4258 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4259
4260         * buffer.C (readFile): add a space
4261
4262 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4263
4264         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4265
4266 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4267
4268         * buffer.C (readFile): new function, take a filename and a
4269         ParagraphList::iterator
4270         (readFile): adjust
4271         (readFile): adjust, make it private. don't use setStream, make
4272         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4273         always contain the filename.
4274
4275         * BufferView.C (insertLyXFile): simplify and make it work for
4276         gzipped files.
4277
4278 2003-08-30  John Levon  <levon@movementarian.org>
4279
4280         * Makefile.am: fix dist (from Kayvan)
4281
4282 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4283
4284         * most files: change to use const Buffer refs
4285
4286 2003-08-27  André Pönitz  <poenitz@gmx.net>
4287
4288         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4289         on top of ownerPar().
4290
4291 2003-08-27  John Levon  <levon@movementarian.org>
4292
4293         * funcrequest.C: properly initialise POD members
4294
4295 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4296
4297         * lyxtext.h (top_y): move top_y from here
4298         * text.C:
4299         * text2.C:
4300         * text3.C:
4301         * BufferView.[Ch]:
4302         * BufferView_pimpl.[Ch]: to here
4303         * frontends/screen.C:
4304         * insets/insettabular.C:
4305         * insets/insettext.C: adjust
4306         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4307
4308 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4309
4310         * BufferView.[Ch]:
4311         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4312
4313 2003-08-26  André Pönitz  <poenitz@gmx.net>
4314
4315         * paragraph_func.[Ch] (outerPar): new function
4316
4317         * paragraph.C:
4318         * paragraph_funcs.C:
4319         * paragraph_funcs.h:
4320         * paragraph_pimpl.C:
4321         * text2.C: remove Inset::par_owner
4322
4323 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4324
4325         * lyxrow_funcs.C:
4326         * lyxtext.h:
4327         * text.C:
4328         * text2.C: eliminates the needFullRow/display() stuff
4329         altogether, putting the logic in metrics/draw in the insets.
4330
4331 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4332
4333         * text2.C (redoParagraphInternal, redoParagraphs):
4334         * text.C (redoParagraph): add a call to updateRowPositions at the
4335         end of each 'metrics-like' call. Remove all others.
4336         (getRow): remove the 'y-computing' version.
4337         (getRowNearY): do not compute nor return the real y. Solve the
4338         'y < 0' problem and simplify.
4339
4340 2003-08-22  Angus Leeming  <leeming@lyx.org>
4341
4342         * *.[Ch]: clean-up of licence and author blurbs.
4343         Also move config.h out of a few .h files and into a few .C files.
4344
4345 2003-08-22  André Pönitz  <poenitz@gmx.net>
4346
4347         * lyxrow.[Ch]: add x_ and *fill_ members
4348
4349         * lyxtext.h:
4350         * text.C:
4351         * rowpainter.C:
4352         * text2.C: adjust/remove prepareToPrint() calls
4353
4354 2003-08-22  André Pönitz  <poenitz@gmx.net>
4355
4356         * lyxrow.[Ch]: add  end_ member
4357
4358         * lyxrow_funcs.C: use LyXRow::end_
4359
4360         * lyxtext.h (singleWidth): add LyXFont parameter
4361
4362         * rowpainter.C:
4363         * text2.C: adjust LyXText::singleWidth() calls
4364
4365         * text.C (redoParagraph): simplify row breaking logic
4366
4367
4368 2003-08-19  André Pönitz  <poenitz@gmx.net>
4369
4370         * funcrequest.C: initialize button_ member
4371
4372         * text3.C:
4373         * rowpainter.[Ch]: interface consolidation
4374
4375 2003-08-18  André Pönitz  <poenitz@gmx.net>
4376
4377         * BufferView.C:
4378         * BufferView_pimpl.C:
4379         * lyxfind.C:
4380         * paragraph_funcs.C:
4381         * rowpainter.C:
4382         * text3.C: remove LyXScreen::draw() and fitCursor calls
4383
4384         * BranchList.h: remove spurious semicolons
4385
4386         * MenuBackend.C: fix branchlist related crash
4387
4388 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4389
4390         * BranchList.[Ch]:
4391         * InsetList.[Ch]:
4392         * LColor.[Ch]:
4393         * LyXAction.C:
4394         * Makefile.am:
4395         * MenuBackend.[Ch]:
4396         * bufferparams.[Ch]:
4397         * factory.C:
4398         * lfuns.h:
4399         * lyxfunc.C:
4400         * text3.C: implements the 'branch inset'
4401         idea. This allows the output of various versions of a document
4402         from a single source version, selectively outputing or suppressing
4403         output of parts of the text.
4404         This implementation contains a 'branch list editor' in a separate
4405         tab of the document settings dialog. Branches are user definable
4406         and have a "display colour" to distinguish them on-screen.
4407
4408         ColorHandler was somewhat cleaned up.
4409         (1) make possible a dynamically growing LColor list by allowing
4410         the graphic context cache to grow along (vector);
4411         (2) eliminate an IMHO unnecessary step in colour allocation.
4412
4413 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4414
4415         * BufferView_pimpl.C: compile fix
4416
4417 2003-08-15  André Pönitz  <poenitz@gmx.net>
4418
4419         * rowpainter.C: remove extra metrics calls
4420
4421         * lyxtext.h: merge the two constructors into a single one,
4422           pass reference to owner's par list
4423
4424         * BufferView_pimpl.C:
4425         * text.C:
4426         * text2.C: adjust
4427
4428 2003-08-15  André Pönitz  <poenitz@gmx.net>
4429
4430         * lyxrow_funcs.[Ch]:
4431         * lyxtext.h:
4432         * paragraph.h:
4433         * paragraph_funcs.C:
4434         * rowpainter.C:
4435         * text.C:
4436         * text2.C:
4437         * text3.C:
4438         * text_funcs.C: split LyXText::rowlist_ into individual
4439         Paragraph::rows_ chunks
4440
4441         * BufferView.[Ch]:
4442         * BufferView_pimpl.[Ch]:
4443         * lyxfind.C:
4444         * lyxtext.h:
4445         * text3.C: remove toggleSelection()
4446
4447 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4448
4449         * bufferlist.C: beautify two alerts (shorter text of buttons)
4450         * buffer.C: Remove redundant ' ' from message
4451         * tabular.h:
4452         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4453         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4454         rename VALIGN_CENTER to VALIGN_MIDDLE
4455
4456 2003-08-11  André Pönitz  <poenitz@gmx.net>
4457
4458         * lyxtext.h (getPar):
4459         * text.C: new function
4460
4461 2003-08-11  André Pönitz  <poenitz@gmx.net>
4462
4463         * Makefile.am:
4464         * tracer.[Ch]: remove unneeded files
4465
4466         * InsetList.[Ch]: remove resizeInsetsLyXText()
4467
4468         * lyxtext.h:
4469         * text.C:
4470         * text2.C:
4471         * text3.C: merge insertParagraphs() and appendParagraph()
4472         remove breakAgain(), update()
4473
4474         * BufferView_pimpl.[Ch]:
4475         * bufferview_funcs.[Ch]:
4476         * lyxfunc.C:
4477         * paragraph.[Ch]:
4478         * rowpainter.C:
4479         * tabular.C: adjust after text & InsetList changes.
4480
4481 2003-08-08  André Pönitz  <poenitz@gmx.net>
4482
4483         * text.C (insertChar, backspace): replace rowlist fiddling
4484         with rebreak of full par
4485
4486         * lyxtext.h:
4487         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4488         checkParagraph, updateInset): removed
4489
4490 2003-08-07  André Pönitz  <poenitz@gmx.net>
4491
4492         * paragraph.C:
4493         * text3.C: merge some LFUN handlers, remove dead code
4494
4495 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4496
4497         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4498
4499 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4500
4501         * text2.C (DEPM): fix part of bug 1255 and 1256
4502
4503 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4504
4505         * BufferView_pimpl.C (workAreaDispatch): change to use
4506         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4507         that are no mouse related.
4508
4509 2003-08-05  André Pönitz  <poenitz@gmx.net>
4510
4511         * BufferView.[Ch]:
4512         * BufferView_pimpl.[Ch]:
4513         * bufferview_funcs.C:
4514         * text2.C:
4515         * text3.C: rip out "deep update"
4516
4517         * textcursor.[Ch] (last_sel_cursor): remove unused member
4518
4519 2003-08-04  André Pönitz  <poenitz@gmx.net>
4520
4521         * BufferView.[Ch]:
4522         * BufferView_pimpl.[Ch]:
4523         * ParagraphParameters.C:
4524         * bufferview_funcs.C:
4525         * lyx_cb.C:
4526         * lyxfind.C:
4527         * lyxfunc.C:
4528         * text.C:
4529         * text2.C:
4530         * text3.C: replace "complicated" BufferView::update(...) calls with
4531         simpler ones.
4532
4533         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4534
4535 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4536
4537         * Makefile.am (lyx_SOURCES): add paper.h
4538
4539 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4540
4541         * Makefile.am: move things around so that both lyx-qt and
4542         lyx-xforms can be built (according to --with-frontend). Then lyx
4543         is a symbolic link to lyx-[firstfrontend]
4544
4545 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4546
4547         * Always use std::endl with lyxerr
4548
4549 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4550
4551         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4552
4553 2003-08-01  André Pönitz  <poenitz@gmx.net>
4554
4555         * BufferView.[Ch]:
4556         * BufferView_pimpl.[Ch]:
4557         * lyxfunc.C:
4558         * text3.C: merge BufferView::repaint() and BufferView::update()
4559
4560 2003-08-01  José Matos  <jamatos@lyx.org>
4561
4562         * buffer.[Ch]: file_format is no longer a buffer data element.
4563
4564 2003-08-01  André Pönitz  <poenitz@gmx.net>
4565
4566         * BufferView.C:
4567         * lyxtext.h:
4568         * text.C:
4569         * text2.C: make redoParagraph more independent of current cursor
4570
4571         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4572         * text.C:
4573         * text2.C: remove unneeded members
4574
4575 2003-07-30  André Pönitz  <poenitz@gmx.net>
4576
4577         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4578
4579         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4580           create a single function...
4581
4582         * paragraph_funcs.C (moveItem): ... here.
4583
4584         * text.C:
4585           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4586
4587 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4588
4589         * LColor.[Ch]: Add comment and greyedout logical colors.
4590
4591 2003-07-30  André Pönitz  <poenitz@gmx.net>
4592
4593         * tabular.C: don't use Assert too heavily. This crashes where it
4594           shouldn't
4595
4596 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4597
4598         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4599         is disabled (bug 1232)
4600
4601 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4602
4603         * factory.C: limited 'arg' scope
4604
4605 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4606
4607         * factory.C: fixed Note submenu issues
4608
4609 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4610
4611         * factory.C: submenu for Note/Comment/Greyedout
4612
4613 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4614
4615         * lyx_main.C (LyX):
4616         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4617
4618 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4619
4620         * LaTeXFeatures.C:
4621         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4622         greyedout. Patch provided by Jürgen Spitzmüller.
4623
4624 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4625
4626         * kbmap.C (read): fix error message when reading bind files
4627
4628 2003-07-29  Angus Leeming  <leeming@lyx.org>
4629
4630         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4631         certainly does not do what it purports to do. I am doing it, and
4632         us, a favour by killing it.
4633
4634 2003-07-28  José Matos  <jamatos@lyx.org>
4635
4636         * buffer.C (readBody, do_writeFile):
4637         * paragraph.C(readParagraph): \end_document replaces \the_end.
4638
4639 2003-07-29  André Pönitz  <poenitz@gmx.net>
4640
4641         * BufferView.[Ch]:
4642         * BufferView_pimpl.[Ch]:
4643         * lyxfunc.C:
4644         * text2.C:
4645         * text3.C:
4646         * textcursor.[Ch]: remove toggleToggle & Co
4647
4648 2003-07-28  José Matos  <jamatos@fep.up.pt>
4649
4650         * buffer.C (readParagraph):
4651         * params_func (readParToken, readParagraph):
4652         * paragraph.C (write): \layout -> \begin_layout.
4653
4654 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4655
4656         * lyxlex_pimpl.C (setFile): clean up slightly.
4657
4658         * bufferparams.h: add compressed var
4659
4660         * buffer_funcs.C (readFile): adjust for LyXLex change
4661         (newFile): ditto + simplify
4662
4663         * buffer.C (writeFile): handle writing of compressed files
4664
4665         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4666         Check if the file is compressed and set a bufferparm if so.
4667
4668         * Makefile.am (lyx_LDADD): remove explicit -lz
4669
4670 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4671
4672         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4673         makeDocBookFile): put the real LyX version in the first line of
4674         the file
4675
4676         * version.h:
4677         * version.C.in: remove lyx_docversion
4678
4679         * tabular.C (write_attribute): add a template-based version to
4680         write enums properly
4681
4682 2003-07-28  André Pönitz  <poenitz@gmx.net>
4683
4684         * lyxtext.h:
4685         * text.C:
4686         * text2.C:
4687         * text3.C: use doubles again for x-coordinates. They are needed.
4688
4689 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4690
4691         * messages.C (getLocaleDir): use lyx_localedir()
4692
4693         * lyxlex_pimpl.C (setFile): compress stuff
4694
4695         * buffer.C (writeFile): add some compression stuff
4696         (do_writeFile): new func, dont call expliti close... will this
4697         breake anything?
4698
4699         * Makefile.am (lyx_LDADD): add -lz
4700
4701 2003-07-28  José Matos  <jamatos@fep.up.pt>
4702
4703         * buffer.C: increment file format.
4704         * paragraph_funcs (readParagraph, readParToken):
4705         * paragraph.C (readParagraph): add \end_layout.
4706
4707 2003-07-27  Angus Leeming  <leeming@lyx.org>
4708
4709         * Makefile.am: remove special casing for configure-time setting of
4710         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4711
4712         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4713         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4714
4715 2003-07-26  André Pönitz  <poenitz@gmx.net>
4716
4717         * paragraph_func.[Ch]:
4718         * paragraph.C (realizeFont): inline it whereever it is used
4719
4720         * rowpainter.C:
4721         * text.C:
4722         * text2.C:
4723         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4724
4725
4726 2003-07-26  André Pönitz  <poenitz@gmx.net>
4727
4728         *       lyxtext.h:
4729         * text.C:
4730         * text2.C: get rid of LyXText::need_break_row
4731
4732 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4733
4734         * toc.[Ch]: put namespace toc inside namespace lyx
4735
4736         * MenuBackend.C (expandToc2): adjust for lyx::toc
4737         (expandToc): ditto
4738
4739         * lyxfunc.C (dispatch): adjust for lyx::find
4740
4741         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4742         lyx::find instead. Reorganize a bit.
4743         (LyXReplace): rename to replace
4744         (LyXFind): rename to find
4745
4746         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4747         (dispatch): ditto
4748
4749 2003-07-26  André Pönitz  <poenitz@gmx.net>
4750
4751         * text.C (setHeightOfRow): restrict scope of temporary variable
4752
4753         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4754           code (never has been used?)
4755
4756 2003-07-27  Asger Alstrup  <alstrup@local>
4757
4758         * text.C (fill): Optimise algorithm to exploit that we can reuse
4759         the LyXFont for many characters.
4760         (setHeightOfRow): Same thing.
4761         (rowBreakPoint): Same thing.
4762
4763 2003-07-26  Asger Alstrup  <alstrup@local>
4764
4765         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4766
4767         * text.C (singleWidth): Spurious font copying in hot-spot
4768         singleWidth avoided. Reorder tests for arabic for efficiency.
4769
4770         * text.C (fill): handle empty paragraphs better.
4771
4772 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4773
4774         * ispell.C:
4775         * encoding.h: add includes
4776
4777         * lyxrc.C: remove reading of bind files
4778
4779         * lyx_main.C (init): setup bindings and menus only if we have a
4780         gui.
4781
4782         * kbmap.C (read): new method. Do the actual reading of bind
4783         files.
4784
4785         * converter.C (dvipdfm_options):
4786         * bufferparams.C:
4787         * lyxrc.C (read):
4788         (output): adapt PAPER_* enums.
4789
4790         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4791
4792         * bufferparams.h: remove paper-related enums from there
4793
4794         * paper.h: New file. A trivial header file to hold paper-related
4795         enums. It should later expand to contain many paper-related
4796         horrors access.
4797
4798         * lyxrc.C: declare extern displayTranslator
4799
4800 2003-07-27  José Matos  <jamatos@fep.up.pt>
4801
4802         * tabular.[Ch] (linuxdoc): add support for tables and figures
4803         (linuxdoc).
4804
4805 2003-07-27  José Matos  <jamatos@fep.up.pt>
4806
4807         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4808         consistency in both functions.
4809         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4810
4811 2003-07-26  Asger Alstrup  <alstrup@local>
4812
4813         * rowpainter.C (paintRows): Change algorithm to work directly on
4814         the insets rather than asking every character in the document
4815         whether its an inset.
4816
4817 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4818
4819         * buffer.C (openFileWrite): factorize some code
4820
4821 2003-07-26  Angus Leeming  <leeming@lyx.org>
4822
4823         * lyx_cb.C:
4824         * lyx_main.[Ch]: replace occurances of system_tempdir with
4825         os::getTmpDir().
4826
4827 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4828
4829         * rename Inset to InsetOld
4830
4831 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4832
4833         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4834         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4835         which I think is a bit clearer. EDIT is gone, since it was
4836         premature optimisation, and broken for mathed anyway.
4837         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4838         with cursor positioning in insets as well (math insets still do not
4839         work, but that's a different story anyway.) It mysteriously
4840         crashes sometimes with undo in the first paragraph, but I'm fairly
4841         confident that this is a compiler bug.
4842
4843 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4844
4845         * paragraph.C (Paragraph): adjust for new clone return type
4846         (operator==): ditto
4847         (copyIntoMinibuffer): ditto
4848
4849 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4850
4851         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4852         by not having a special case, and always doing a full rebreak of
4853         the document after undo.
4854
4855 2003-07-23  Angus Leeming  <leeming@lyx.org>
4856
4857         * factory.C (createInset): InsetExternal::setParams now takes a
4858         Buffer const * arg.
4859
4860 2003-07-23  Angus Leeming  <leeming@lyx.org>
4861
4862         * factory.C (createInset): changed interface to the external and
4863         graphics mailers' string2params functions.
4864
4865 2003-07-23  Angus Leeming  <leeming@lyx.org>
4866
4867         * factory.C (createInset): pass a
4868         Buffer const * parameter to InsetExternalMailer's string2params.
4869
4870 2003-07-22  John Levon  <levon@movementarian.org>
4871
4872         * Thesaurus.h: include the right aiksaurus header
4873
4874 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4875
4876         * MenuBackend.C (expand): check menu shortcuts unconditionally
4877
4878 2003-07-21  Angus Leeming  <leeming@lyx.org>
4879
4880         * factory.C (createInset): pass a
4881         buffer_path parameter to InsetGraphicsMailer's string2params.
4882
4883 2003-07-21  Angus Leeming  <leeming@lyx.org>
4884
4885         * BufferView_pimpl.C (buffer):
4886         * buffer.C (d-tor):
4887         * lyx_main.C (LyX):
4888         * lyxfunc.C (dispatch):
4889         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4890         rather than the grfx shortcut.
4891
4892 2003-07-21  André Pönitz  <poenitz@gmx.net>
4893
4894         * rowpainter.C: remove unused variables
4895
4896         * tabular_funcs.C:
4897         * tabular_funcs.h: move to tabular.C
4898         * Makefile.am: adjust
4899
4900         * tabular.[Ch]: basic optical cleaning
4901
4902         * author.h: pass references, not values
4903
4904 2003-07-18  André Pönitz  <poenitz@gmx.net>
4905
4906         * lyxtext.h:
4907         * metricsinfo.C:
4908         * metricsinfo.h:
4909         * rowpainter.C:
4910         * text.C:
4911         * text2.C:
4912         * text3.C: two-phase drawing for InsetText and InsetTabular
4913         some float -> int changes.
4914
4915 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4916
4917         * lyx_main.C: fix the fix
4918
4919 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4920
4921         * lyx_main.C: fix a crash in batch mode if no files specified
4922         * converter.C: ws
4923
4924 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4925
4926         * format.[Ch] (papersize): moved to BufferParams
4927         * converter.[Ch] (dvips_options): moved to BufferParams
4928         (dvipdfm_options): moved to anon namespace
4929         * bufferparams.[Ch]: added above functions.
4930
4931 2003-07-17  André Pönitz  <poenitz@gmx.net>
4932
4933         * lyxtext.h:
4934         * rowpainter.C:
4935         * text2.C: don't call inset->update() anymore
4936
4937         * metricsinfo.[Ch]: add convenience constructor
4938
4939 2003-07-16  André Pönitz  <poenitz@gmx.net>
4940
4941         * lyxcursor.[Ch]:
4942         * lyxfunc.[Ch]:
4943         * text.C:
4944         * text2.C: replace the LyXCursor::irow_ member with
4945          on-demand computation of the value
4946
4947 2003-07-16  John Levon  <levon@movementarian.org>
4948
4949         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4950
4951 2003-07-15  André Pönitz  <poenitz@gmx.net>
4952
4953         * text.C:
4954         * text2.C: remove no more needed refresh_row
4955
4956 2003-07-15  André Pönitz  <poenitz@gmx.net>
4957
4958         * lyxtext.h:
4959         * rowpainter.C:
4960         * text2.C:
4961         * text3.C: refresh_status tristate -> need_update bool
4962
4963 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4964
4965         * lyxtext.h (init): remove reinit argument (act as if always true)
4966         * text2.C: adjust to that
4967
4968 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4969
4970         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4971         * text3.C: use it to delete selections in some cases
4972         (bugs 441, 673, 702, 954).
4973
4974 2003-07-14  André Pönitz  <poenitz@gmx.net>
4975
4976         * rowpainter.[Ch]: reduce interface
4977
4978 2003-07-14  André Pönitz  <poenitz@gmx.net>
4979
4980         * BufferView_pimpl.C:
4981         * text2.C: adjust after removing unused BufferView * argument
4982
4983 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4984
4985         * text2.C (init): fix a crash fired on resize
4986
4987 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4988
4989         * buffer.[Ch]: added new closing signal
4990         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4991         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4992         BufferView::Pimpl via the closing the signal
4993
4994 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4995
4996         * buffer.[Ch]: take out all bv-related from buffer
4997         * BufferView.C:
4998         * BufferView_pimpl.[Ch]: connect to new signals
4999         * CutAndPaste.C: removed useless asserts
5000         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5001         * lyxvc.[Ch]:
5002         * vc-backend.[Ch]:
5003         * lyxfunc.C: moved view-related funciontality from vc here
5004         * paragraph.C: removed outdated comments
5005         * text.C: ws
5006
5007 2003-07-10  André Pönitz  <poenitz@gmx.net>
5008
5009         * BufferView_pimpl.C:
5010         * tabular.h:
5011         * tabular_funcs.C:
5012         * text.C:
5013         * text2.C: remove InsetText::InnerCache, clean up consequences
5014
5015 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5016
5017         * ispell.C: fix two typos in error messages
5018
5019 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5020
5021         * Extend Note inset to other forms of annotation like Comment
5022         and Greyedout. Right button click gives dialog.
5023
5024         Files modified or added (+):
5025
5026         * insetnote.[Ch]
5027         * FormNote.[Ch]      +
5028         * ControlNote.[Ch]   +
5029         * form_note.fd       +
5030         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5031         frontends/controllers
5032         * xforms/Dialogs.C
5033         * factory.C
5034
5035 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5036
5037         * aspell.C: add missing namespace lyx::support
5038
5039 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5040
5041         * BufferView.[Ch] (newFile): Add
5042         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5043         * LaTeX.[Ch] (message): added this signal and use it
5044         * buffer.[Ch] (busy, message): added these signals and use them
5045         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5046         * converter.C:
5047         * exporter.C:
5048         * format.C:
5049         * importer.C: use buffer signals instead of direct bv calling
5050         * lyx_cb.[Ch] (ShowMessage): removed
5051         * lyx_main.C:
5052         * lyxfunc.C:
5053         * paragraph_funcs.C:
5054         * text2.C: use buffer signals
5055
5056 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5057
5058         * introduce namespace lyx::graphics
5059
5060 2003-07-02  André Pönitz  <poenitz@gmx.net>
5061
5062         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5063
5064 2003-07-01  André Pönitz  <poenitz@gmx.net>
5065
5066         * text.C:
5067         * text2.C:
5068         * text3.C:
5069         * text_funcs.[Ch]:
5070         * textcursor.h:
5071         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5072           text*.C to text_func.C
5073
5074 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5075
5076         * introduce namespace lyx::support
5077
5078 2003-06-30  André Pönitz  <poenitz@gmx.net>
5079
5080         * Chktex.C:
5081         * funcrequest.C:
5082         * lyxtext.h:
5083         * text.C: re-enable --with-included-string
5084
5085 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5086
5087         * textcursor.C: add <config.h>
5088
5089         * text.C (getWord): remove const from word_location arg
5090
5091         * lyxvc.C (getLogFile): fix const type order
5092
5093         * lyxtext.h: remove const from word_location arg, add arg name
5094
5095         * lyxlayout.h: currect type on labeltype.
5096
5097         * importer.C: correct \file
5098
5099         * converter.C (intToFormat): use std:: on ret val, ws changes
5100
5101         * bufferlist.h: correct \file
5102
5103         * buffer.C (makeLinuxDocFile): fix const type order
5104         (makeDocBookFile): ditto
5105         (fillWithBibKeys): use std:: on stdlib args.
5106
5107         * CutAndPaste.C: fix authors.
5108         (availableSelections): use std:: on return vector
5109
5110 2003-06-27  André Pönitz  <poenitz@gmx.net>
5111
5112         * BufferView_pimpl.C:
5113         * bufferview_funcs.C:
5114         * lyxcursor.C:
5115         * lyxcursor.h:
5116         * lyxfunc.C:
5117         * lyxtext.h:
5118         * rowpainter.C:
5119         * text.C:
5120         * text2.C:
5121         * text3.C: remove LyXCursor::row_ member
5122
5123         * lyxtext.h:
5124         * text.C: rename fullRebreak() to partialRebreak() and implement
5125           a fullRebreak() that really bereks fully
5126
5127         * textcursor.h: new struct for cursor-related data
5128
5129 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5130
5131         * lyx_main.C (LyX): get full path of document loaded on the
5132         command line
5133
5134 2003-06-26  André Pönitz  <poenitz@gmx.net>
5135
5136         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5137           remove unused/broken operator>,<,>=.
5138
5139         *       text.C: remove only use of broken operator<= in an Assert().
5140
5141 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5142
5143         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5144         moved errorlist_.clear to showErrorList
5145
5146 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5147
5148         * converter.C (scanLog, runLaTeX):
5149         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5150         move the bv->showErrorList call to the callers
5151         * lyxfunc.C: i.e. here...
5152         * text2.C: and here
5153         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5154         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5155         namespace, the second to...
5156         * buffer_funcs (BufferFormat, parseErrors): added
5157         * errorlist.C (ErrorList(TeXErrors const &)): removed
5158
5159 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5160
5161         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5162
5163 2003-06-24  "Garst R. Reese" <reese@isn.net>
5164
5165         * debug.C: fix typo
5166
5167 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5168
5169         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5170
5171         * version.C.in: change docversion to 1.4
5172
5173 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5174
5175         * buffer.C: fix a bug just introduced
5176
5177 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5178
5179         * buffer.[Ch]: added the parseError signal and use it, removed
5180         sgmlError
5181         * BufferView.[Ch] (addError): moved to ...
5182         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5183         to the Buffer::parseError signal to catch (guess what) parse errors
5184         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5185
5186 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5187
5188         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5189         ability to create a buffer and to return an existing one from
5190         the list. Moved these functions to...
5191         * buffer_funcs.[Ch]: added
5192         * BufferView.[Ch] (loadLyXFile): added
5193         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5194         job removed from bufferlist::loadLyXFile.
5195         * buffer.C (setReadOnly): make it work without view
5196         (i.e added an if (users))
5197
5198 2003-06-19  Angus Leeming  <leeming@lyx.org>
5199
5200         * lfuns.h:
5201         * LyXAction.C (init):
5202         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5203         with LFUN_DIALOG_SHOW <name> <data>.
5204
5205 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5206
5207         * CutAndPaste.C (availableSelections): small compilation fix for
5208         ancient (gcc 2.9x) compilers
5209
5210 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5211
5212         * text3.C (cursorNext): add tmp var
5213
5214         * text2.C (updateCounters): for function calling out of for clause
5215         (replaceSelectionWithString): ditto
5216         (insertStringAsParagraphs): ditto
5217         (getColumnNearX): add tmp var
5218         (setCursorFromCoordinates): add tmp var
5219         (cursorDownParagraph): add tmp var
5220         (deleteEmptyParagraphMechanism): add tmp var
5221
5222         * text.C (insertChar): add tmp var
5223
5224         * rowpainter.C (paintDepthBar): add tmp var
5225
5226         * CutAndPaste.C (availableSelections): potentially check all
5227         paragraphs in a cut to fill the shown strings.
5228
5229 2003-06-18  André Pönitz  <poenitz@gmx.net>
5230
5231         * kbmap.[Ch]: use vector<> instead of list<>
5232
5233 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5234
5235         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5236         pasteSelection with index
5237
5238         * text2.C (pasteSelection): modify, call pasteSelection with index
5239
5240         * paragraph.C (asString): reimplement version with no interval to
5241         call the one with interval.
5242
5243         * lyxtext.h: add index arg to pasteSelection
5244
5245         * MenuBackend.C (MenuItem): handle PasteRecent
5246         (Menu::read::Menutags): add md_pasterecent
5247         (read): handle it
5248         (expandPasteRecent): new function
5249         (expand): use it
5250
5251         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5252
5253         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5254         the limited stack
5255         (availableSelections): new function
5256
5257 2003-06-17  Angus Leeming  <leeming@lyx.org>
5258
5259         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5260
5261 2003-06-17  Angus Leeming  <leeming@lyx.org>
5262
5263         * lfuns.h:
5264         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5265
5266         * lyxfunc.C (dispatch): invoke it.
5267
5268 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5269
5270         * iterators.C (operator++, ParPosition): reintroduce some
5271         const_cast for the benefit of older compilers.
5272
5273 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5274
5275         * text3.C (dispatch): do not modify clipboard when doing
5276         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5277         LFUN_DELETE_SKIP on a selection selection
5278
5279 2003-06-16  André Pönitz  <poenitz@gmx.net>
5280
5281         * BufferView.C:
5282         * buffer.C:
5283         * buffer.h:
5284         * paragraph.C:
5285         * tabular.[Ch]: IU of clone() and getLabelList();
5286
5287 2003-06-13  André Pönitz  <poenitz@gmx.net>
5288
5289         * tabular.h: compactification
5290
5291 2003-06-12  André Pönitz  <poenitz@gmx.net>
5292
5293         * tabular.C:
5294         * tabular.h:
5295         * tabular_funcs.h: some renaming plus whitespace
5296
5297 2003-06-12  André Pönitz  <poenitz@gmx.net>
5298
5299         * BufferView.C:
5300         * BufferView_pimpl.C:
5301         * CutAndPaste.C:
5302         * buffer.C:
5303         * iterators.[Ch]:
5304         * lyxfunc.C:
5305         * text.C:
5306         * toc.C: Return a Paragraph & for ParIterator::operator*()
5307
5308 2003-06-11  John Levon  <levon@movementarian.org>
5309
5310         * lyx_main.C:
5311         * ToolbarBackend.h:
5312         * ToolbarBackend.C: add "Toolbars" section and
5313         put the flags there
5314
5315 2003-06-10  Angus Leeming  <leeming@lyx.org>
5316
5317         * lfuns.h:
5318         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5319
5320         * lyxfunc.C (dispatch): invoke it.
5321
5322 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5323
5324         * main.C: protect <ios> with HAVE_IOS
5325         (main): protect sync_with_stdio with HAVE_IOS
5326
5327 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5328
5329         * text2.C (cutSelection): adjust
5330         (pasteSelection): adjust
5331
5332         * messages.C: handle get of empty string
5333
5334         * main.C (main): use sync_with_stdio(false)
5335
5336         * lyxfunc.C (dispatch): adjust
5337
5338         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5339         (WriteAs): remove unneeded BufferView arg.
5340
5341         * bufferparams.h: use correct types on papersize, papersize2 and
5342         paperpackage.
5343
5344         * bufferparams.C (readToken): adjust for type
5345         (writeLaTeX): add missing cases to switch.
5346
5347         * bufferlist.C (quitWriteBuffer): adjust
5348         (close): adjust
5349
5350         * buffer.C (asciiParagraph): remove some commented code.
5351
5352         * CutAndPaste.C: remove current_view extern variable.
5353         (cutSelection): add BufferParams arg.
5354         (eraseSelection): add BufferParams arg.
5355         (pasteSelection): add Buffer const & arg
5356
5357 2003-06-07  John Levon  <levon@movementarian.org>
5358
5359         * buffer.C:
5360         * paragraph_funcs.C:
5361         * paragraph_pimpl.C:
5362         * text.C:
5363         * text2.C:
5364         * paragraph.h:
5365         * paragraph.C: allow InsetERT to freely space lines,
5366         and some consolidation of code
5367
5368 2003-06-06  José Matos  <jamatos@fep.up.pt>
5369
5370         * buffer.C (makeDocBookFile): fix bug #821
5371
5372 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5373
5374         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5375
5376 2003-06-04  Angus Leeming  <leeming@lyx.org>
5377
5378         * buffer.C: bump format to 224.
5379
5380 2003-06-05  André Pönitz  <poenitz@gmx.net>
5381
5382         * text2.C (redoParagraphs): remove two const_cast<>
5383
5384 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5385
5386         * ParagraphList.h: remove last remnants of NO_STD_LIST
5387
5388 2003-06-03  Angus Leeming  <leeming@lyx.org>
5389
5390         * factory.C (createInset): small change to the way InsetExternal's params
5391         are set.
5392
5393 2003-06-04  André Pönitz  <poenitz@gmx.net>
5394
5395         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5396
5397         * paragraph_pimpl.h:
5398         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5399
5400         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5401
5402         * undo_funcs.C: make some simple cases of undo work again
5403
5404 2003-06-03  John Levon  <levon@movementarian.org>
5405
5406         * ispell.C: HPUX doesn't have sys/select.h
5407         (from Albert Chin)
5408
5409 2003-06-03  John Levon  <levon@movementarian.org>
5410
5411         * CutAndPaste.C: update tabular and include inset
5412         buffer references
5413
5414         * buffer.h:
5415         * paragraph.h:
5416         * paragraph.C: remove owningBuffer(), don't pass Buffer
5417         to clone()
5418
5419         * factory.C: insetGraphicsParams changed
5420
5421 2003-06-02  John Levon  <levon@movementarian.org>
5422
5423         * LyXAction.C:
5424         * factory.C:
5425         * lfuns.h:
5426         * lyxfunc.C:
5427         * text3.C: remove insetparent
5428
5429 2003-06-02  John Levon  <levon@movementarian.org>
5430
5431         * buffer.h:
5432         * buffer.C: fix inset_iterator.end(), move out of line
5433         (bug 1149)
5434
5435 2003-06-01  John Levon  <levon@movementarian.org>
5436
5437         * text3.C: use a proper cut/paste when doing inset
5438         insert (from Jürgen Spitzmüller)
5439
5440 2003-06-01  John Levon  <levon@movementarian.org>
5441
5442         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5443
5444 2003-05-30  André Pönitz  <poenitz@gmx.net>
5445
5446         * rowpainter.C: unify second drawing phase
5447
5448 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5449
5450         * trans_mgr.C: remove one case of current_view
5451
5452         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5453
5454         * paragraph_funcs.h: remove paragraph.h include
5455
5456         * paragraph.h: delete NO_STD_LIST stuff
5457
5458         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5459
5460         * buffer.h: remove paragraph.h include
5461
5462         * ParagraphList.C: delete file
5463
5464         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5465
5466         * toc.C (getTocList): adjust
5467
5468         * paragraph_pimpl.C (validate): adjust
5469
5470         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5471
5472         * paragraph.C (Paragraph): adjust
5473         (getPositionOfInset): use const_iterator, adjust
5474         (bibitem): use const_iterator, adjust
5475         (setInsetOwner): adjust
5476
5477         * iterators.C (operator++): adjust
5478
5479         * InsetList.[Ch]: Replace selfmade iterator with standard
5480         vector::iterator also introduce const_iterator. Remove getPos,
5481         getInset and setInset from InsetTable. Adjust accordingly.
5482
5483         * BufferView.C (lockInset): adjust
5484         (ChangeInsets): adjust
5485
5486         * tabular.[Ch]: delete commented same_id functions
5487
5488 2003-05-28  John Levon  <levon@movementarian.org>
5489
5490         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5491
5492 2003-05-28  André Pönitz  <poenitz@gmx.net>
5493
5494         * metricsinfo.[Ch]: remove 'fullredraw' member
5495
5496 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5497
5498         * lyxtextclass.C (operator): remove caching.
5499
5500 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5501
5502         * text3.C: adjust
5503
5504         * text2.C (cursorBottom): adjust
5505         (setCounter): use ParagraphList::find, adjust
5506
5507         * text.C (workWidth): use ParagraphList::find, adjust
5508
5509         * lyxcursor.C (LyXCursor): adjust
5510
5511         * buffer.C (inset_iterator): adjust
5512
5513         * ParagraphList.h: make iterator(value_type) private, make
5514         ParagraphList a friend of iterator.
5515
5516         * ParagraphList.C (find): new function
5517
5518         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5519
5520 2003-05-27  André Pönitz  <poenitz@gmx.net>
5521
5522         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5523
5524 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5525
5526         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5527
5528 2003-05-26  John Levon  <levon@movementarian.org>
5529
5530         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5531
5532 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5533
5534         * remove same_id from function signatures, adjust.
5535
5536 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5537
5538         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5539
5540         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5541
5542         * paragraph.C (Paragraph): get rid of same_ids parameter
5543
5544         * ParagraphList.C (insert): adjust
5545         (push_back): adjust
5546
5547 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5548
5549         * paragraph_funcs.C (breakParagraph): adjust
5550         (breakParagraphConservative): adjust
5551
5552         * buffer.C (readParagraph): adjust
5553
5554         * ParagraphList.C (insert): take a reference instead of a pointer
5555         (insert): adjust
5556
5557         * paragraph.[Ch] (id): new function
5558
5559         * bufferlist.C (newFile): adjust
5560
5561         * ParagraphList.C (ParagraphList): adjust
5562         (assign): adjust
5563         (push_back): take a reference instead of a pointer.
5564
5565         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5566
5567         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5568         instead.
5569
5570         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5571         set else use old code.
5572
5573         * ParagraphList.C: remove all NO_NEXT code and only compile this
5574         code of NO_STD_LIST is set.
5575
5576 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5577
5578         * BufferView_pimpl.C:
5579         * TextCache.C:
5580         * TextCache.h:
5581         * bufferlist.C:
5582         * errorlist.h:
5583         * format.C:
5584         * format.h:
5585         * graph.C:
5586         * lyxfunc.C:
5587         * lyxrc.C:
5588         * graphics/GraphicsConverter.C:
5589         * graphics/PreviewLoader.C: header adjustment
5590
5591 2003-05-23  Angus Leeming  <leeming@lyx.org>
5592
5593         * LaTeXFeatures.[Ch] (useBabel): new method.
5594         * bufferparams.C (writeLaTeX): use it.
5595
5596 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5597
5598         * ParagraphList.h (set): remove unused function.
5599
5600 2003-05-23  André Pönitz  <poenitz@gmx.net>
5601
5602         * BufferView.C:
5603         * BufferView_pimpl.C:
5604         * buffer.C:
5605         * buffer.h:
5606         * lyxfunc.C:
5607         * undo_funcs.C: setUndo reworked
5608
5609         * iterators.[Ch]: add access to topmost ParagraphList
5610
5611         * lyxtext.[Ch] (workWidth): add a const
5612
5613 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5614
5615         * texrow.[Ch] (increasePos): remove function
5616         * exporter.C (export): removed unused var and outdated comment
5617
5618 2003-05-23  Angus Leeming  <leeming@lyx.org>
5619
5620         * latexrunparams.h: rename fragile as moving_arg.
5621         * paragraph.C (simpleTeXOnePar): ditto.
5622         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5623
5624 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5625
5626         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5627         (createUndo): ditto
5628         (textUndoOrRedo): comment out a currently unused var.
5629
5630         * paragraph.h (NO_NEXT): enable NO_NEXT
5631
5632         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5633
5634         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5635
5636         * exporter.C (Export): adjust for removeAutoInsets removal.
5637
5638         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5639
5640         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5641
5642         * BufferView.[Ch] (removeAutoInsets): delete function
5643
5644 2003-05-22  Angus Leeming  <leeming@lyx.org>
5645
5646         * latexrunparams.h: add a free_spacing variable.
5647
5648         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5649         to pass moving_arg, as the data is stored in runparams.fragile.
5650
5651         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5652         to Inset::latexOptional or to simpleTeXOnePar.
5653
5654         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5655         free_spacing arg to Inset::latexOptional.
5656
5657         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5658         free_spacing arg.
5659
5660 2003-05-22  Angus Leeming  <leeming@lyx.org>
5661
5662         * latexrunparams.h: add fragile and use_babel variables.
5663
5664         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5665         * buffer.C (makeLaTeXFile): store this returned value in
5666         runparams.use_babel, thus passing it to the inset::latex methods.
5667
5668         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5669         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5670
5671         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5672         longer has a fragile arg, as it is stored in runparams.fragile.
5673
5674         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5675         moving_arg parameter as the data is stored in runparams.fragile.
5676
5677         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5678         a fragile parameter as the data is stored in runparams.fragile.
5679
5680 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5681
5682         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5683
5684 2003-05-22  Angus Leeming  <leeming@lyx.org>
5685
5686         * latexrunparams.h: add a 'bool nice' which defaults to false.
5687
5688         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5689         now encapsulated within runparams.
5690
5691         * bufferlist.C (updateIncludedTeXfiles):
5692         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5693
5694 2003-05-22  Angus Leeming  <leeming@lyx.org>
5695
5696         * latexrunparams.h: new file containing struct LatexRunParams.
5697         * Makefile.am: add new file.
5698
5699         * LaTeX.[Ch] (c-tor, run):
5700         * buffer.[Ch] (makeLaTeXFile):
5701         * bufferlist.[Ch] (updateIncludedTeXfiles):
5702         * converter.C (convert, scanLog):
5703         * converter.[Ch] (runLaTeX):
5704         * exporter.C (Export):
5705         * paragraph.[Ch] (simpleTeXOnePar):
5706         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5707         * paragraph_funcs.[Ch] (latexParagraphs):
5708         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5709         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5710         pass around a LatexRunParams parameter.
5711
5712 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5713
5714         * paragraph.[Ch]: remove unused constructor
5715
5716         * ParagraphList.C (erase): new function, taking two iterators
5717
5718 2003-05-22  André Pönitz  <poenitz@gmx.net>
5719
5720         * undo_funcs.C: remove duplicated code
5721
5722         * iterator.[Ch]: operator=
5723
5724 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5725
5726         * tabular.C (SetMultiColumn): ws changes
5727
5728         * rowpainter.C (paintFirst): get rid of a ->previous
5729
5730         * lyx_cb.C (getPossibleLabel): parlist simplification
5731
5732         * BufferView.C (ChangeInsets): simplify slightly.
5733
5734 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5735
5736         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5737         * lfuns.h: new LFUN_SPACE
5738         * lyxfunc.C: protected space has a new lfun
5739         * paragraph_funcs.C: read new space insets
5740         * text3.C:
5741         * factory.C: handle new space insets
5742
5743 2003-05-22  André Pönitz  <poenitz@gmx.net>
5744
5745         * BufferView.C:
5746         * BufferView_pimpl.C:
5747         * buffer.[Ch]:
5748         * lyxfunc.C:
5749         * undo_funcs.C: return a ParIterator from getParFromID.
5750
5751         * iterators.[Ch]: add two const's
5752
5753 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5754
5755         * toc.C (getTocList): adjust
5756
5757         * iterators.[Ch]: rework for parlist
5758
5759         * buffer.C (par_iterator_begin): adjust
5760         (par_iterator_end): adjust
5761
5762         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5763
5764         * BufferView.C (removeAutoInsets): adjust
5765         (ChangeInsets): adjust
5766
5767 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5768
5769         * text.C (top_y): fix bug 1110
5770
5771 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5772
5773         * errorlist.[Ch]: added
5774         * buffer.C:
5775         * BufferView.[Ch]:
5776         * BufferView_pimpl.C:
5777         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5778         instead
5779
5780 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5781
5782         * Makefile.am: ensure that lyx is relinked upon changes to the
5783         various "convenience" libs.
5784
5785 2003-05-20  Angus Leeming  <leeming@lyx.org>
5786
5787         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5788         files are compiled in alphabetical order again.
5789
5790         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5791
5792 2003-05-19  Angus Leeming  <leeming@lyx.org>
5793
5794         * gettext.[Ch]: remove "char const * _(char const *)".
5795
5796 2003-05-19  André Pönitz  <poenitz@gmx.net>
5797
5798         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5799
5800         * Makefile.am:
5801         * BufferView.C:
5802         * DepTable.h:
5803         * LaTeXFeatures.C:
5804         * buffer.C:
5805         * lyxfont.C:
5806         * lyxlex.h:
5807         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5808
5809 2003-05-19  André Pönitz  <poenitz@gmx.net>
5810
5811         * buffer.C:
5812         * lyxlayout.[Ch]:
5813         * lyxtextclass.[Ch]:
5814         * paragraph.C:
5815         * paragraph_funcs.[Ch]:
5816         * text2.C:
5817         * text3.C: more insetenv work
5818
5819 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5820
5821         * ParagraphParameters.C (params2string): small bug fixed
5822
5823 2003-05-16  André Pönitz  <poenitz@gmx.net>
5824
5825         * debug.C:
5826         * bufferview_funcs.C: patch from Kornel Benko to prevent
5827           crash when _(...) is called twice in a statement
5828
5829 2003-05-16  André Pönitz  <poenitz@gmx.net>
5830
5831         * BufferView.C:
5832         * lyxfunc.C:
5833         * text.C:
5834         * text2.C:
5835         * text3.C:
5836         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5837
5838 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5839
5840         * lyx_main.C (init): remove spurious static_cast
5841
5842 2003-05-14  André Pönitz  <poenitz@gmx.net>
5843
5844         * BufferView.C: fix format string
5845
5846 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5847
5848         * BufferView.[Ch] (insertErrors): removed
5849         * BufferView.[Ch] (showErrorList): added
5850         * buffer.C (runChkTeX):
5851         * converter.C (scanLog): call showErrorList instead of inserterrors
5852
5853 2003-05-13  André Pönitz  <poenitz@gmx.net>
5854
5855         * BufferView_pimpl.C:
5856         * buffer.C:
5857         * bufferview_func.C:
5858         * MenuBackend.C:
5859         * lyxfunc.C:
5860         * lyxrc.C:
5861         * tex-accent.C:
5862         * text3.C:
5863         * toc.C:
5864         * tabular_funcs.h: tostr() from its own header
5865
5866         * ParagraphParameters.C:
5867         * ToolbarBackend.C:
5868         * bufferparams.C:
5869         * format.C:
5870         * lyxlex_pimpl.C:
5871         * text3.C: STRCONV()
5872
5873 2003-05-12  André Pönitz  <poenitz@gmx.net>
5874
5875         * BufferView.C:
5876         * BufferView_pimpl.C:
5877         * CutAndPaste.C:
5878         * LaTeX.C:
5879         * LaTeXFeatures.C:
5880         * ParagraphParameters.C:
5881         * buffer.C:
5882         * bufferlist.C:
5883         * bufferparams.C:
5884         * bufferview_funcs.C:
5885         * converter.C:
5886         * counters.C:
5887         * debug.C:
5888         * exporter.C:
5889         * format.C:
5890         * importer.C:
5891         * lyx_cb.C:
5892         * lyx_main.C:
5893         * lyxfont.C:
5894         * lyxfunc.C:
5895         * lyxvc.C:
5896         * paragraph.C:
5897         * paragraph_funcs.C:
5898         * tabular.C:
5899         * tabular_funcs.C:
5900         * text2.C:
5901         * text3.C:  boost::format -> bformat  all over the place
5902
5903
5904 2003-05-09  André Pönitz  <poenitz@gmx.net>
5905
5906         * LColor.[Ch]: Pimpl the #include <map> away
5907
5908 2003-05-09  John Levon  <levon@movementarian.org>
5909
5910         * bufferlist.C: never remove emergency saves
5911
5912 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5913
5914         * Makefile.am: better lib building
5915
5916 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5917
5918         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5919         instead.
5920         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5921         (simpleTeXSpecialChars): adjust
5922         (simpleTeXSpecialChars): adjust
5923         * paragraph.C (simpleTeXOnePar): adjust
5924         * buffer.C (makeLaTeXFile): adjust
5925
5926         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5927
5928         * text2.C (changeDepth): parlist cleanup
5929         (getColumnNearX): ditto
5930
5931         * rowpainter.C (getLabelFont): parlist cleanup
5932
5933         * bufferlist.C (newFile): parlist cleanup
5934
5935         * CutAndPaste.C (eraseSelection): parlist cleanup
5936
5937         * BufferView_pimpl.C (trackChanges): parlist cleanup
5938         (dispatch): ditto
5939
5940         * BufferView.C (lockInset): parlist cleanup.
5941         (ChangeInsets): ditto
5942
5943 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5944
5945         * CutAndPaste.h: Update file header.
5946
5947         * CutAndPaste.C: Update file header.
5948         Store the parts cut out of the Document in a limited_stack.
5949         (copySelection): adjust
5950         (pasteSelection): new function, takes the index in the limited stack.
5951         (nrOfParagraphs): adjust
5952         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5953         simplify error inset insertion.
5954         (checkPastePossible): adjust
5955
5956 2003-05-06  John Levon  <levon@movementarian.org>
5957
5958         * text2.C: don't cast wrap inset to float
5959
5960 2003-05-05  André Pönitz  <poenitz@gmx.net>
5961
5962         * iterator.C:
5963         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5964
5965         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5966           few naked Paragraph *.
5967
5968 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5969
5970         * bufferparams.C: Output warning if a document with missing
5971         TeX document class is loaded
5972         * exporter.C: Disable TeX exports if the document class is missing
5973         * lyxtextclass.C:
5974         * lyxtextclass.h:
5975         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5976         isTeXClassAvailable()
5977
5978 2003-05-03  John Levon  <levon@movementarian.org>
5979
5980         * BufferView.h:
5981         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5982         explicit cursor show/hide
5983
5984         * BufferView_pimpl.h:
5985         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5986         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5987
5988         * lyxfunc.C: hide cursor before dispatching.
5989
5990         * lyx_cb.C:
5991         * lyxfind.C:
5992         * text.C:
5993         * text3.C: remove explicit cursor hides
5994
5995 2003-05-02  André Pönitz  <poenitz@gmx.net>
5996
5997         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5998
5999         * undo_funcs.C:
6000         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6001           linked lists
6002
6003         * text2.C: tiny whitespace
6004
6005 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6006
6007         * undo_funcs.C: almost only ws changes.
6008
6009         * ParagraphList.C (splice): just return if pl is empty.
6010
6011 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6012
6013         * ParagraphList.C (splice): new function.
6014
6015         * CutAndPaste.C (pasteSelection): use it
6016
6017 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6018
6019         * CutAndPaste.C (pasteSelection): remove the last next and
6020         previous from this file.
6021
6022 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6023
6024         * CutAndPaste.C (pasteSelection): more clean up, user proper
6025         ParagraphList functions for pasteing.
6026
6027         * ParagraphList.C (insert): new function, three arg insert
6028
6029 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6030
6031         * ParagraphList.C (insert): new function, three arg insert
6032
6033         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6034         not on paragraphs.
6035
6036 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6037
6038         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6039
6040 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6041
6042         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6043
6044 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6045
6046         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6047         (copySelection): clean up a bit.
6048         (pasteSelection): use make_pair
6049
6050         * ParagraphList.C (ParagraphList): implement copy constructor
6051         (operator=): implement, base on copy constructor.
6052         (assign): new func
6053
6054         * paragraph.C (erase): return a bool
6055
6056         * paragraph_pimpl.C (erasePos): remove function, move contents...
6057         (erase): ... here. Return a bool.
6058         (erase): call erase instead of erasePos.
6059
6060 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6061
6062         * ParagraphList.h: define PitPosPair
6063         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6064         ParagraphList, fix a bug on pasting multiple pars
6065         * text2.C: change interface to C&P
6066
6067 2003-04-30  André Pönitz  <poenitz@gmx.net>
6068
6069         * undo_func.C: revert part of yesterday's patch 2
6070
6071 2003-04-30  John Levon  <levon@movementarian.org>
6072
6073         * LColor.C: s/tabular/table/
6074
6075 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6076
6077         * text3.C (dispatch): do not convert iterator -> pointer
6078         * undo_funcs.C (setCursorParUndo): ditto
6079         * text_funcs.C (transposeChars): ditto
6080
6081         * text2.C (setLayout): ws changes only
6082
6083         * text.C (breakParagraph): do not convert iterator -> pointer
6084         (insertChar): ditto
6085         (acceptChange): ditto
6086         (rejectChange): ditto
6087         (changeCase): ditto
6088         (Delete): ditto
6089         (backspace): ditto
6090
6091         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6092         pointer
6093
6094 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6095
6096         * text3.C (gotoInset): YABG (yet another bad getChar)
6097
6098 2003-04-29  André Pönitz  <poenitz@gmx.net>
6099
6100         * paragraph.h: make operator= private unimplemented as long as
6101           it is unusable
6102
6103         * ParagraphList.C: whitespace
6104
6105         * paragraph.[Ch]:
6106         * paragraph_pimpl.[Ch]:
6107         * paragraph_funcs.C:
6108         * CutAndPaste.C:
6109         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6110
6111         * text2.C:
6112           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6113
6114 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6115
6116         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6117         * paragraph.[Ch] (erase):
6118         * paragraph_pimpl.[Ch] (erase): change return type and value
6119         * text2.C (cutSelection): some rework
6120
6121 2003-04-28  John Levon  <levon@movementarian.org>
6122
6123         * bufferlist.C: changes for unsaved changes dialog
6124
6125 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6126
6127         * bufferlist.C (newFile): set language (messages_) for new
6128         documents also.
6129
6130         * buffer.C (readFile): ws changes only.
6131
6132 2003-04-28  André Pönitz  <poenitz@gmx.net>
6133
6134         * undo_funcs.C:
6135         * lyxfunc.C:
6136         * buffer.[Ch]:
6137         * BufferView_pimpl.C:
6138         * BufferView.C: getParFromID related ParagraphList::iterator changes
6139
6140 2003-04-28  André Pönitz  <poenitz@gmx.net>
6141
6142         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6143           Changes
6144
6145 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6146
6147         * messages.C: remove one more localedir class variable.
6148
6149 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6150
6151         * messages.C (getLocaleDir): singleton generation function
6152         (Pimpl): use it.
6153         (Messages): add a default constructor.
6154
6155         * main.C (main): do not setup localedir here, do not call
6156         gettext_init.
6157
6158         * gettext.C (_): use it.
6159         (gettext_init): delete funciton
6160
6161 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6162
6163         * gettext.C (getLyXMessages): new singleton generating function.
6164
6165         * buffer.C (updateDocLang): adjust
6166
6167         * Makefile.am (messages.o): add target
6168         (main.o): remove target
6169
6170 2003-04-27  John Levon  <levon@movementarian.org>
6171
6172         * bufferlist.C:
6173         * lyx_cb.C:
6174         * lyxfunc.C:
6175         * lyxvc.C: specify cancel button in Alert::prompt
6176
6177 2003-04-26  John Levon  <levon@movementarian.org>
6178
6179         * text3.C:
6180         * lyxfunc.C:
6181         * lfuns.h:
6182         * LyXAction.C: add LFUN_INSET_SETTINGS
6183
6184         * lyxfunc.C: don't enable tabular-feature when there's
6185         just any locking inset
6186
6187 2003-04-26  John Levon  <levon@movementarian.org>
6188
6189         * bufferlist.C: re-add Cancel to buffer close question
6190
6191         * lyxfunc.C: fix import UI a bit
6192
6193 2003-04-25  John Levon  <levon@movementarian.org>
6194
6195         * gettext.C: remove the broken asserts for now
6196
6197 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6198
6199         * messages.C: make case where setlocale cannot comply work better.
6200
6201         * buffer.C (updateDocLang): new function
6202         (changeLanguage): use it
6203         (readFile): use it
6204
6205         * text2.C (setCounter): use B_ a bit.
6206
6207         * lyxlayout.C (Read): be sure to trim the label strings.
6208
6209         * messages.C (Messages): fix typo in comment
6210
6211         * buffer.C (readFile): set message_ after file is loaded.
6212         (makeDocBookFile): remove double return
6213         (changeLanguage): reset message_ upon language change.
6214         (B_): new func, use this to get translated buffer strings.
6215
6216         * main.C: add myself and Jean Marc as authors.
6217
6218 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6219
6220         * messages.[hC]: pimplify Messages, and three different pimpls to be
6221         used in different circumstances.
6222
6223         * gettext.[Ch]: change for use with new message code.
6224
6225 2003-04-24 André Pönitz <poenitz@gmx.net>
6226
6227         * factory.C: support for eqref
6228
6229 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6230
6231         * messages.[Ch]: add missing char
6232
6233         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6234
6235         * messages.[Ch]: New files
6236
6237 2003-04-18  John Levon  <levon@movementarian.org>
6238
6239         * BufferView.h:
6240         * BufferView.C:
6241         * BufferView_pimpl.C:
6242         * lfuns.h:
6243         * LyXAction.C:
6244         * lyxtext.h:
6245         * text2.C: remove layout-copy/paste (bug 778)
6246
6247 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6248
6249         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6250
6251 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6252
6253         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6254         if they succeed. Act accordingly.
6255
6256 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6257
6258         * text2.C (setCharFont): adjust
6259         (setCounter): adjust
6260         (insertStringAsLines): adjust
6261
6262         * text.C (leftMargin): adjust
6263         (setHeightOfRow): adjust
6264
6265         * rowpainter.C (paintFirst): adjust
6266         (paintLast): adjust
6267
6268         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6269         (outerHook): ditto
6270         (isFirstInSequence): ditto
6271         (getEndLabel): ditto
6272         (outerFont): adjust
6273
6274         * paragraph.C (getParLanguage): comment out some hard stuff.
6275
6276         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6277         (sgmlError): ditto
6278         (simpleDocBookOnePar): ditto
6279         (makeDocBookFile): use ParagraphList::iterator
6280
6281         * CutAndPaste.C (pasteSelection): adjust
6282
6283 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6284
6285         * text2.C (getFont): adjust
6286         (getLayoutFont): adjust
6287         (getLabelFont): adjust
6288
6289         * paragraph_funcs.C (TeXOnePar): adjust
6290
6291         * buffer.C (simpleLinuxDocOnePar): adjust
6292         (simpleDocBookOnePar): adjust
6293
6294         * CutAndPaste.C (pasteSelection): adjust
6295
6296         * BufferView.C (getEncoding): adjust
6297
6298         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6299
6300 2003-04-16  John Levon  <levon@movementarian.org>
6301
6302         * lyxfind.C: use parlist stuff for search/changes
6303
6304 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6305
6306         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6307
6308         * text2.C (deleteEmptyParagraphMechanism): adjust
6309
6310         * text2.[Ch] (ownerParagraph): delete func (both of them
6311
6312 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6313
6314         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6315
6316 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6317
6318         * ParagraphList.C: prepare for NO_NEXT
6319
6320 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6321
6322         * text2.C (getFont): adjust
6323         (getLayoutFont): adjust
6324         (getLabelFont): adjust
6325
6326         * paragraph.C (getFont): adjust
6327         (getLabelFont): adjust
6328         (getLayoutFont): adjust
6329
6330         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6331
6332 2003-04-15  John Levon  <levon@movementarian.org>
6333
6334         From Angus Leeming
6335
6336         * lyx_main.C: handle Include in .ui files
6337
6338 2003-04-15  John Levon  <levon@movementarian.org>
6339
6340         * MenuBackend.C: make the doc files length shorter
6341
6342         * ToolbarBackend.h:
6343         * ToolbarBackend.C: handle toolbar placement flags,
6344         Minibuffer
6345
6346 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6347
6348         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6349         adjust
6350
6351         * paragraph_funcs.C (TeXOnePar): adjust
6352
6353         * paragraph.C (getLabelFont): add outerfont arg, adjust
6354         (getLayoutFont): ditto
6355         (simpleTeXOnePar): adjust
6356
6357         * paragraph_pimpl.C (realizeFont): delete func
6358
6359 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6360
6361         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6362         row argument, constify cur argument.
6363
6364 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6365
6366         * text2.C (getFont): adjust
6367         (getLayoutFont): adjust
6368         (getLabelFont): adjust
6369
6370         * paragraph_funcs.C (TeXOnePar): adjust
6371         (outerFont): new func...
6372         (realizeFont): ...moved out from here, changed this to facilitate
6373         transition
6374
6375         * paragraph.C (getFont): take outerfont as arg, adjust
6376         (simpleTeXOnePar): add outerfont arg, adjust
6377
6378         * buffer.C (simpleLinuxDocOnePar): adjust
6379         (simpleDocBookOnePar): adjust
6380
6381         * CutAndPaste.C (pasteSelection): adjust
6382
6383         * BufferView.C (getEncoding): adjust
6384
6385 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6386
6387         * text2.C (setCharFont): adjust
6388         (setCounter): adjust
6389
6390         * text.C (leftMargin): adjust
6391         (setHeightOfRow): adjust
6392
6393         * rowpainter.C (paintFirst): adjust
6394         (paintLast): adjust
6395
6396         * paragraph_pimpl.C (realizeFont): adjust
6397
6398         * paragraph.C (isFirstInSequence): move from here...
6399         * paragraph_funcs.C (isFirstInSequence): ...to here
6400
6401         * paragraph.C (outerHook): move from here...
6402         * paragraph_funcs.C (outerHook): ...to here
6403
6404         * paragraph.C (depthHook): move from here...
6405         * paragraph_funcs.C (depthHook): ...to here
6406
6407         * paragraph.C (getEndLabel): move from here...
6408         * paragraph_funcs.C (getEndLabel): ...to here
6409
6410         * text2.C (realizeFont): move from here...
6411         * paragraph_funcs.C (realizeFont): ...to here
6412
6413 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6414
6415         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6416
6417 2003-04-14  Angus Leeming  <leeming@lyx.org>
6418
6419         * LColor.[Ch]: scrap LColor mathcursor.
6420
6421 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6422
6423         * lyxlex.[Ch] (text): delete function
6424         * trans.C (Load): adjust
6425         * paragraph_funcs.C (readParToken): adjust
6426
6427 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6428
6429         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6430         vector<char> instead of a char[].
6431
6432         * lyxlex_pimpl.C (getString): adjust
6433         (next): adjust
6434         (lex): use getString
6435         (eatLine): adjust
6436         (nextToken): adjust
6437
6438         * lyxlex.C (text): use pimpl_->getString()
6439         (getBool): ditto
6440         (findToken): ditto
6441
6442 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6443
6444         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6445         (makeFontEntriesLayoutSpecific): temp var for par.size()
6446         (setLayout): temp var for ownerParagraphs().end()
6447         (fullRebreak): temp var for rows().end()
6448         (selectionAsString): temp var for boost::next(startpit), realize
6449         that the while really is a regular for loop.
6450         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6451         setCursor in one place.
6452         (setParagraph): temp vr for ownerParagraphs().end()
6453         (updateCounters): make the while loop a for loop
6454         (cutSelection): temp var for ownerParagraphs().end()
6455         (updateInset): make the do {} while() a regular for loop
6456         (getCursorX): use temp vars
6457         (setCurrentFont): use temp vars
6458         (getColumnNearX): use temp vars
6459
6460 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6461
6462         * text.C (transformChar): use temp var for getChar
6463         (computeBidiTables): use temp var for row->par()
6464         (fill): move temp vars for row->par() and pit->layout() earlier in
6465         the function.
6466         (labelFill): use temp var for row->par()
6467         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6468         asc and desc, realize that pit never changes and that firstpit is
6469         just a duplicate and not needed. Exchange rit->par() with pit in a
6470         lot of places.
6471         (breakAgain): use a temp var for boost::next(rit)
6472         (breakAgainOneRow): ditto
6473         (breakParagraph): use a temp var for rows().begin()
6474         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6475         (cursorRightOneWord): use temp var for cursor.par() and
6476         cursor.pos(), remove usage of tmpcursor.
6477         (cursorLeftOneWord): use temp var for cursor.par() and
6478         cursor.pos() only set cur at end of function.
6479
6480 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6481
6482         * text.C, text2.C: exchange all usage of Paragraph::next with
6483         boost::next(ParagraphList::iterator)
6484
6485         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6486
6487         * text2.C (cursorTop): simplify implementation
6488         (cursorBottom): ditto
6489         (setParagraph): use ParagraphList::iterator
6490         (setCurrentFont): adjust
6491         (getColumnNearX): adjust
6492         (cursorRight): adjust
6493         (cursorLeft): remove usage of Paragraph::previous
6494         (cursorUpParagraph): ditto
6495         (deleteEmptyParagraphMechanism): slight cleanup
6496
6497         * text.C (isBoundary): take a Paragraph const & instead of a
6498         pointer as arg.
6499         (addressBreakPoint): ditto
6500         (leftMargin): remove usage of Paragraph::previous.
6501         (setHeightOfRow): ditto
6502         (cursorLeftOneWord): ditto
6503         (selectNextWordToSpellcheck): ditto
6504         (Delete): ditto
6505         (backspace): ditto
6506         (breakParagraph): remove one usage of Paragraph::next
6507         (redoParagraph): ditto
6508         (acceptChange): ditto
6509         (insertChar): adjust
6510         (rowBreakPoint): adjust
6511
6512         * bufferview_funcs.C (toggleAndShow): adjust
6513
6514 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6515
6516         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6517         methods to access it.
6518         * lyxtext.h:
6519         * text.C: Added updateRowPositions to compute all row positions.
6520         Make top_y and getRowNearY() to use the cached y position
6521
6522 2003-04-11  John Levon  <levon@movementarian.org>
6523
6524         * text.C (rowBreakPoint): reintroduce the labelEnd
6525         checks, code copied from the row fill stuff. Deep voodoo.
6526
6527         * text.C (fill): add a comment and debugging for the
6528         next poor soul.
6529
6530 2003-04-11  John Levon  <levon@movementarian.org>
6531
6532         * text.C: make sure fullrow insets get wrapped to the next line,
6533         even when they're in a manual label
6534
6535 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6536
6537         * text2.C (insertParagraph): make it take ParagraphList::iterator
6538         as arg.
6539         (setLayout): make it return ParagraphList::iterator
6540         (redoParagraphs): ditto
6541         (setCounter): ditto
6542         (checkParagraph): ditto
6543
6544         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6545
6546         * text2.C: adjust several funcs.
6547         (realizeFont): take a ParagraphList::iterator as arg.
6548         (getLayoutFont): ditto
6549         (getLabelFont): ditto
6550         (setCharFont): ditto
6551
6552         * text.C: adjust several funcs.
6553
6554 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6555
6556         * text.C (selectNextWordToSpellcheck): don't accidentally
6557         skip insets
6558
6559 2003-04-10  John Levon  <levon@movementarian.org>
6560
6561         * ToolbarBackend.C (getIcon): special handling for
6562         LFUN_MATH_DELIM
6563
6564 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6565
6566         * text2.C (cursorRight): a getChar assert fixed
6567
6568 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6569
6570         * text2.C (getFont): change to take a ParagraphList::iterator
6571         instead of Paragraph*
6572         Adjust several functions.
6573
6574         * text.C (transformChar): change to take a ParagraphList::iterator
6575         instead of Paragraph*
6576         (singleWidth): ditto
6577         Adjust several functions.
6578
6579         * rowpainter.C: adjust several functions
6580         * rowpainter.h:store a ParagraphList::iterator and not a
6581         Paragraph&.
6582
6583
6584 2003-04-09  John Levon  <levon@movementarian.org>
6585
6586         * lyxfunc.C:
6587         * lfuns.h:
6588         * LyXAction.h:
6589         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6590         and the "help" bits as well
6591
6592 2003-04-09  John Levon  <levon@movementarian.org>
6593
6594         * ToolbarBackend.h:
6595         * ToolbarBackend.C: allow multiple toolbars
6596
6597 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6598
6599         * undo_funcs.C (setCursorParUndo): adjust
6600
6601         * text_funcs.C (transposeChars): adjust
6602
6603         * text3.C (gotoNextInset): adjust
6604         (dispatch): adjust
6605
6606         * text2.C (setLayout): adjust
6607         (changeDepth): adjust
6608         (setFont): adjust
6609         (redoParagraphs): adjust
6610         (selectionAsString): adjust
6611         (setParagraph): adjust
6612         (insertInset): adjust
6613         (cutSelection): adjust
6614         (copySelection): adjust
6615         (pasteSelection): adjust
6616         (insertStringAsLines): adjust
6617         (updateInset): adjust
6618         (setCursor): change to take a ParagraphList::iterator parameter
6619         (setCursorIntern): change to take a ParagraphList::iterator parameter
6620         (setCurrentFont): adjust
6621         (cursorLeft): adjust
6622         (cursorRight): adjust
6623         (deleteEmptyParagraphMechanism): adjust
6624
6625         * text.C (breakParagraph): adjust
6626         (insertChar): adjust
6627         (acceptChange): adjust
6628         (rejectChange): adjust
6629         (selectNextWordToSpellcheck): adjust
6630         (changeCase): adjust
6631         (Delete): adjust
6632         (backspace): adjust
6633
6634         * lyxfind.C (SearchForward): adjust
6635         (SearchBackward): adjust
6636         (nextChange): adjust
6637
6638         * lyxcursor.C (par): adjust
6639
6640         * lyxcursor.h: store a ParagraphList::iterator instead of a
6641         Paragraph*
6642
6643         * lyx_cb.C (getPossibleLabel): adjust
6644
6645         * bufferview_funcs.C (toggleAndShow): adjust
6646
6647         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6648         (dispatch): adjust
6649
6650         * BufferView.C (removeAutoInsets): adjust
6651         (lockedInsetStoreUndo): adjust
6652
6653 2003-04-09  John Levon  <levon@movementarian.org>
6654
6655         * ToolbarBackend.C: try icon without argument
6656         if with argument fails
6657
6658 2003-04-08  John Levon  <levon@movementarian.org>
6659
6660         * ToolbarBackend.h:
6661         * ToolbarBackend.C: add getIcon(), handle tooltip,
6662         and change from "Icon" to "Item".
6663
6664 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6665
6666         * BufferView.C (lockInset): another bad getchar crunched
6667
6668 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6669
6670         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6671         again)
6672
6673 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6674
6675         * lyxfind.C (searchForward, searchBackwards): bug 782
6676
6677 2003-04-07  John Levon  <levon@movementarian.org>
6678
6679         * paragraph.C: remove dead comment
6680
6681         * text.C: remove troublesome depth-fiddling code
6682         in leftMargin() and rightMargin() (bug 1017)
6683
6684         * text.C: fix breaking of rows in nested lists
6685         (bug 1004)
6686
6687         * text2.C (updateCounters): fix up depth values
6688         (bug 1013)
6689
6690 2003-04-07  John Levon  <levon@movementarian.org>
6691
6692         * BufferView_pimpl.C: clear message when doc finishes resizing,
6693         and after a mouse event
6694
6695         * lyxfunc.C: clear message after exiting inset
6696
6697 2003-04-07  John Levon  <levon@movementarian.org>
6698
6699         * bufferview_funcs.C: show math status not outside
6700         status in the statusbar
6701
6702 2003-04-07  John Levon  <levon@movementarian.org>
6703
6704         * lyxfunc.C: note status changed after a depth change
6705
6706 2003-04-04  Angus Leeming  <leeming@lyx.org>
6707
6708         * LaTeX.h: move AuxInfo operator==, != out of line.
6709         Remove LaTeX virtual destructor; nothing derives from it.
6710         Move operator()() out of public area and rename it startscript().
6711         Change protected for private.
6712
6713 2003-04-04  Angus Leeming  <leeming@lyx.org>
6714
6715         * lyxfunc.C:
6716         * text2.C: remove unneeded #includes.
6717
6718 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6719
6720         * text2.C (dEPM): fix the heigth of the next row
6721
6722 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6723
6724         * text.C: squashed an invalid getChar requester + some ws changes
6725
6726 2003-04-03  John Levon  <levon@movementarian.org>
6727
6728         * bufferview_funcs.h:
6729         * bufferview_funcs.C:
6730         * lyxfunc.C:
6731         * lyxtext.h:
6732         * text2.C: make getStatus work for the env depth lfuns
6733
6734 2003-04-03  John Levon  <levon@movementarian.org>
6735
6736         * bufferview_funcs.h:
6737         * bufferview_funcs.C:
6738         * lyxfunc.C:
6739         * lyxtext.h:
6740         * text2.C: parlistize decDepth(), by merging it with incDepth()
6741
6742 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6743
6744         * lyxrow.h: store a ParagraphList::iterator instead of a
6745         Paragraph* and adjust other class functions to suit.
6746
6747         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6748         above.
6749
6750 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6751
6752         * text2.C (setCursor): do not anchor to cursor row for the time being
6753
6754 2003-04-02  John Levon  <levon@movementarian.org>
6755
6756         * LyXAction.C:
6757         * lfuns.h:
6758         * lyx_main.C:
6759         * lyxtext.h:
6760         * text.C:
6761         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6762
6763 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6764
6765         * paragraph.h: make ParagraphList and ParagraphList::iterator
6766         friends of Paragraph.
6767
6768         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6769
6770         * ParagraphList.C: Use the private next_ and previous_ from
6771         Paragraph.
6772
6773 2003-04-01  John Levon  <levon@movementarian.org>
6774
6775         * ToolbarBackend.h:
6776         * ToolbarBackend.C:
6777         * Makefile.am: rename, remove defaults gunk
6778
6779         * MenuBackend.h:
6780         * MenuBackend.C: remove defaults gunk
6781
6782         * Languages.h:
6783         * Languages.C: remove defaults gunk
6784
6785         * lyx_main.h:
6786         * lyx_main.C: error out if files couldn't be found.
6787
6788 2003-04-02  John Levon  <levon@movementarian.org>
6789
6790         * text2.C: make incDepth() use parlist
6791
6792 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6793
6794         * undo_funcs.C (firstUndoParagraph): adjust
6795
6796         * text3.C (gotoInset): adjust
6797         (dispatch): adjust, and rewrite loop.
6798
6799         * text2.C (init): adjust, and rewrite loop.
6800         (redoParagraphs): adjust
6801         (updateInset): adjust, and rewrite loop.
6802         (deleteEmptyParagraphMechanism): adjust
6803
6804         * tabular.C (LyXTabular): adjust
6805         (SetMultiColumn): adjust
6806         (TeXRow): adjust
6807
6808         * lyxtext.[Ch] (ownerParagraph): delete function
6809         (ownerParagraphs): new function returns a ParagraphList.
6810
6811         * BufferView.C (removeAutoInsets): adjust
6812         (insertErrors): adjust
6813         (setCursorFromRow): adjust
6814
6815 2003-04-01  Angus Leeming  <leeming@lyx.org>
6816
6817         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6818         in the frontends.
6819
6820 2003-04-02  John Levon  <levon@movementarian.org>
6821
6822         * lyxtext.h:
6823         * text.C:
6824         * Makefile.am:
6825         * text_funcs.h:
6826         * text_funcs.C: make transposeChars a free function
6827
6828         * lyxrow_funcs.C: remove wrong comment
6829
6830 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6831
6832         * lyxtext.h: adjust
6833         * rowpainter.C: adjust
6834         * text.C: adjust
6835         * text2.C: adjust
6836         * text3.C: adjust
6837
6838         * lyxrow_funcs. [Ch]: new files
6839
6840         * lyxrow.[Ch]: remove next and previous pointers
6841         (next,previous): remove accessor functions
6842         (isParEnd): move to lyxrow_funcs
6843         (lastPos): move to lyxrow_funcs
6844         (nextRowIsAllInset): move to lyxrow_funcs
6845         (lastPrintablePos): move to lyxrow_funcs
6846         (numberOfSeparators): move to lyxrow_funcs
6847         (numberOfHfills): move to lyxrow_funcs
6848         (numberOfLabelHfills): move to lyxrow_funcs
6849         (hfillExpansion): move to lyxrow_funcs
6850
6851         * lyxfunc.C: adjust
6852
6853         * bufferview_funcs.C (toggleAndShow): adjust
6854
6855         * RowList.h: Remove class RowList from file leave just a
6856         std::list<Row>.
6857
6858         * RowList.C: delete file
6859
6860         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6861         and lyxrow_funcs.h
6862
6863 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6864
6865         * text3.C (cursorPrevious): adjust
6866         (cursorNext): adjust
6867         (dispatch): adjust
6868
6869         * text2.C (redoHeightOfParagraph): adjust
6870         (redoDrawingOfParagraph): adjust
6871         (setCursor): adjust
6872
6873         * text.C (breakParagraph): adjust
6874         (insertChar): adjust
6875         (backspace): adjust
6876
6877         * rowpainter.C (RowPainter): adjust
6878         (leftMargin): simplify and adjust
6879         (most rowpainter functions): adjust.
6880
6881         * rowpainter.h: store the row as RowList::iterator not as Row*
6882
6883         * lyxcursor.C (row): taka RowList::iterator as arg
6884         (irow): ditto
6885
6886         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6887         of Row*.
6888
6889 2003-04-01  Angus Leeming  <leeming@lyx.org>
6890
6891         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6892         stuff like bool Bool.
6893
6894 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6895
6896         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6897         rewrite a loop
6898
6899 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6900
6901         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6902         RowList::iterator.
6903
6904         * lyxtext.h (rows): drop one version and leve a const variant that
6905         returns a RowList::iterator.
6906
6907 2003-03-31  Angus Leeming  <leeming@lyx.org>
6908
6909         * text.C (fill): ensure that the signature is the same as that in the
6910         header file.
6911
6912 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6913
6914         * text2.C (redoParagraphs): adjust
6915         (updateCounters): adjust
6916         (checkParagraph): adjust
6917         (getColumnNearX): adjust and reformat a bit.
6918
6919         * text.C (top_y): adjust
6920         (workWidth): adjust
6921         (leftMargin): adjust
6922         (prepareToPrint): adjust
6923         (getRow): adjust
6924         (getRowNearY): adjust
6925
6926         * lyxtext.h: make rowlist_ mutable.
6927
6928         * RowList.h: add const_iterator
6929         * RowList.C: adjust for RowList::const_iterator.
6930
6931         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6932         adjust.
6933
6934 2003-03-31  John Levon  <levon@movementarian.org>
6935
6936         * lyxrc.h:
6937         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6938
6939         * lyx_main.C: set default fonts from using lyx_gui funcs
6940
6941         * exporter.C: pdf_mode moved from lyxrc
6942
6943         * lyx_cb.C:
6944         * lyxfunc.C: changes from above
6945
6946 2003-03-31  John Levon  <levon@movementarian.org>
6947
6948         * lyx_main.C: fix to the last fix
6949
6950 2003-03-31  John Levon  <levon@movementarian.org>
6951
6952         * bufferlist.C: "Load original" -> "Load Original"
6953
6954         * converter.C:
6955         * exporter.C:
6956         * importer.C:
6957         * lyx_main.C:
6958         * format.C: more Alert cleanups
6959
6960 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6961
6962         * text2.C (removeParagraph): make it take a RowList::iterator as
6963         arg, adjust.
6964         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6965         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6966
6967         * text.C (anchor_row): make it take a RowList::iterator as arg,
6968         adjust.
6969         (computeBidiTables): make it take a const reference to Row instead
6970         of Row pointer, adjust.
6971         (leftMargin): make it take a RowList::iterator as arg, adjust.
6972         (rowBreakPoint): adjust
6973         (breakAgainOneRow): make it take a RowList::iterator as arg,
6974         adjust.
6975         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6976
6977         * bufferview_funcs.C (toggleAndShow): adjust
6978
6979 2003-03-30  John Levon  <levon@movementarian.org>
6980
6981         * Makefile.am:
6982         * BoostFormat.h:
6983         * boost-inst.C: moved to support
6984
6985         * several files: changes as a result
6986
6987 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6988
6989         * text2.C (LyXText): adjust.
6990         (init): adjust
6991         (removeRow): make it take a RowList::iterator as arg, adjust.
6992         (fullRebreak): adjust
6993         (deleteEmptyParagraphMechanism): adjust
6994         (clearPaint): adjust
6995         (postPaint): adjust
6996
6997         * text.C (top_y): adjust
6998         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6999         (breakAgain): make it take a RowList::iterator as arg, adjust.
7000         (breakParagraph): adjust
7001         (insertChar): adjust
7002         (backspace): adjust
7003
7004         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7005         need_break_row, and refresh_row.
7006
7007         * text3.C (dispatch): adjust
7008
7009         * text2.C (checkParagraph): adjust
7010         (setCursor): adjust
7011         (setCursorFromCoordinates): adjust
7012
7013         * text.C (top_y): adjust
7014         (workWidth): adjust
7015         (getRow): make it return a RowList::iterator, adjust
7016         (getRowNearY): make it return a RowList::iterator, adjust
7017
7018         * text2.C (init): adjust
7019         (insertRow): remove function
7020         (insertParagraph): adjust
7021         (redoParagraphs): adjust
7022         (fullRebreak): adjust
7023         (updateCounters): adjust
7024
7025         * text.C (top_y): rewrite to use RowList iterators.
7026         (top_y): adjust
7027         (setHeightOfRow): rewrite to sue RowList iterators.
7028         (appendParagraph): adjust
7029         (breakAgain): adjust
7030         (breakAgainOneRow): adjust
7031         (breakParagraph): adjust
7032         (getRow): adjust
7033         (getRowNearY): adjust, and remove commented code.
7034
7035         * lyxtext.h (firstRow): delete function
7036         (lastRow): delete function
7037         (rows): new function (const and non-const versions.)
7038         (insertRow): delete function
7039
7040         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7041
7042 2003-03-29  John Levon  <levon@movementarian.org>
7043
7044         * BufferView_pimpl.C: always update scrollbar top
7045         because pasting text when we're anchored could mean we
7046         miss an update altogether
7047
7048 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7049
7050         * text2.C (init): use rowlist_.end() and not 0.
7051         (insertRow): change to take a RowList::iterator as arg, adjust
7052         for this.
7053         (insertParagraph): change to take a RowList::iterator as arg,
7054         adjust for this.
7055         (redoParagraphs): remove some debug msgs.
7056
7057         * text.C (appendParagraph): change to take a RowList::iterator
7058         arg, adjust for this.
7059         (breakAgain): add an assert
7060         (breakAgainOneRow): ditto
7061
7062 2003-03-29  John Levon  <levon@movementarian.org>
7063
7064         * text2.C: do not clear selection after inc/decDepth
7065         (bug 550)
7066
7067 2003-03-29  John Levon  <levon@movementarian.org>
7068
7069         * BufferView.C:
7070         * buffer.C: fix broken strerrors according to Lars
7071
7072 2003-03-29  John Levon  <levon@movementarian.org>
7073
7074         * converters.C: more Alert cleanups
7075
7076 2003-03-29  John Levon  <levon@movementarian.org>
7077
7078         * bufferview_funcs.C: remove pointless Alert
7079
7080         * buffer.C: fix confusing error message when
7081         a template is chmoded 000
7082
7083 2003-03-29  John Levon  <levon@movementarian.org>
7084
7085         * BufferView.C:
7086         * BufferView.h:
7087         * BufferView_pimpl.C: Alert fixes
7088
7089         * Makefile.am:
7090         * tabular.C:
7091         * tabular-old.C: remove unused table compat reading
7092
7093 2003-03-29  John Levon  <levon@movementarian.org>
7094
7095         * BufferView.C:
7096         * buffer.C:
7097         * lyx_cb.h:
7098         * lyx_cb.C: more Alert cleanups
7099
7100         * lyxfunc.C: don't allow chktex if not latex document
7101
7102 2003-03-29  John Levon  <levon@movementarian.org>
7103
7104         * lyx_cb.C:
7105         * BufferView.C:
7106         * buffer.C: warnings pushed down from support/,
7107         kill err_alert
7108
7109 2003-03-29  John Levon  <levon@movementarian.org>
7110
7111         * lyxfunc.C: safety check for C-r (revert)
7112
7113 2003-03-29  John Levon  <levon@movementarian.org>
7114
7115         * bufferlist.h:
7116         * bufferlist.C: several UI fixes using Alert::prompt.
7117         Fix the pointless looping quit code. Fix stupid revert
7118         behaviour (bug 938)
7119
7120         * lyxvc.h:
7121         * lyxvc.C:
7122         * lyx_cb.C: use Alert::prompt
7123
7124         * lyx_main.C: remove a silly question
7125
7126         * lyxfunc.C: remove a couple of silly questions,
7127         use Alert::prompt
7128
7129 2003-03-28  John Levon  <levon@movementarian.org>
7130
7131         * text2.C: fix bug 974 (End on empty par)
7132
7133 2003-03-28  John Levon  <levon@movementarian.org>
7134
7135         * BufferView_pimpl.C:
7136         * LyXAction.C:
7137         * lfuns.h: remove do-nothing math greek lfuns
7138
7139 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7140
7141         * lyxgluelength.h (isValidGlueLength): add default arg on
7142         parameter 2. Remove default arg from friend in class.
7143
7144         * lyxlength.h (isValidLength): add default arg on parameter 2.
7145         Remove default arg from friend in class.
7146
7147         * text2.C (LyXText): adjust, initialize refresh_row.
7148         (init): adjust
7149         (removeRow): adjust
7150         (insertRow): adjust
7151         (insertParagraph): adjst
7152         (redoParagraphs): adjust
7153         (fullRebreak): adjust
7154         (updateCounters): adjust
7155         (deleteEmptyParagraphMechanism): first attempt at fixing a
7156         crashing bug.
7157
7158         * text.C (top_y): adjust
7159         (setHeightOfRow): adjust
7160         (getRow): adjust
7161         (getRowNearY): adjust
7162
7163         * lyxtext.h: include RowList.h
7164         (~LyXText): not needed anymore, deleted.
7165         (firstRow): modify for RowList
7166         (lastRow): new function
7167         Delete firstrow and lastrow class variables, add a Rowlist
7168         rowlist_ class variable.
7169
7170         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7171         paragraph is empty.
7172
7173         * RowList.C (insert): fix case where it == begin().
7174
7175 2003-03-26  Angus Leeming  <leeming@lyx.org>
7176
7177         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7178         the thesaurus dialog.
7179
7180 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7181
7182         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7183
7184         * RowList.[Ch]: new files
7185
7186         * ParagraphList.C (erase): handle the case where it == begin
7187         correctly.
7188
7189 2003-03-25  John Levon  <levon@movementarian.org>
7190
7191         * Makefile.am:
7192         * aspell_local.h:
7193         * aspell.C: add new aspell support
7194
7195         * lyxrc.h:
7196         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7197         have it accessible.
7198
7199 2003-03-25  Angus Leeming  <leeming@lyx.org>
7200
7201         * lfuns.h:
7202         * LyXAction.C (init): new LFUN_INSET_INSERT.
7203
7204         * BufferView_pimpl.C (dispatch): split out part of the
7205         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7206
7207         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7208         LFUN_INSET_APPLY.
7209
7210 2003-03-25  Angus Leeming  <leeming@lyx.org>
7211
7212         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7213
7214 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7215
7216         * text2.C:
7217         * text3.C: remove useless row->height(0)
7218
7219 2003-03-25  John Levon  <levon@movementarian.org>
7220
7221         * lyxtext.h:
7222         * text2.C:
7223         * text3.C: rename the refreshing stuff to better names
7224
7225 2003-03-24  John Levon  <levon@movementarian.org>
7226
7227         * BufferView_pimpl.h:
7228         * BufferView_pimpl.C: update layout choice on a mouse
7229         press/release
7230
7231 2003-03-23  John Levon  <levon@movementarian.org>
7232
7233         * Makefile.am: fix commandtags.h reference
7234
7235 2003-03-22  John Levon  <levon@movementarian.org>
7236
7237         * BufferView_pimpl.C:
7238         * lyxtext.h:
7239         * rowpainter.C:
7240         * rowpainter.h:
7241         * text.C:
7242         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7243
7244 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7245
7246         * lyxtext.h:
7247         * text.C: take the rtl methods out of line
7248
7249 2003-03-21 André Pönitz <poenitz@gmx.net>
7250
7251         * metricsinfo.[Ch]: new files containing structures to be passed around
7252         during the two-phase-drawing...
7253
7254 2003-03-21 André Pönitz <poenitz@gmx.net>
7255
7256         * lyxtextclass.C: read 'environment' tag.
7257
7258 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7259
7260         * text2.C (removeRow): fix bug 964
7261
7262 2003-03-20  John Levon  <levon@movementarian.org>
7263
7264         * rowpainter.C:
7265         * text.C:
7266         * text2.C: paint cleanups. Inset::update() dropped font
7267         parameter
7268
7269 2003-03-19  John Levon  <levon@movementarian.org>
7270
7271         * lyxfunc.C: only fitcursor/markDirty if available()
7272
7273 2003-03-19  John Levon  <levon@movementarian.org>
7274
7275         * commandtags.h: rename to ...
7276
7277         * lfuns.h: ... this, and renumber / cleanup
7278
7279 2003-03-19  John Levon  <levon@movementarian.org>
7280
7281         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7282         fit the cursor after an lfun
7283
7284         * BufferView.h:
7285         * BufferView.C:
7286         * BufferView_pimpl.h:
7287         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7288
7289         * LyXAction.C: layout-character should have ReadOnly
7290
7291         * ParagraphParameters.C:
7292         * buffer.C:
7293         * bufferview_funcs.C:
7294         * lyx_cb.C:
7295         * lyxfind.C:
7296         * lyxtext.h:
7297         * text.C:
7298         * text2.C:
7299         * text3.C:
7300         * undo_funcs.C: changes from above
7301
7302 2003-03-18  John Levon  <levon@movementarian.org>
7303
7304         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7305         remove it from update()
7306
7307         * lyxfunc.C: update layout choice after an lfun
7308
7309         * text3.C: remove extra updateLayoutChoice()s
7310
7311 2003-03-18  John Levon  <levon@movementarian.org>
7312
7313         * text.C: top_y change means full repaint, fix
7314         a drawing bug with cursor movement
7315
7316 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7317
7318         * lyxtext.h:
7319         * text.C:
7320         * text2.C: anchor row on setCursor
7321
7322 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7323
7324         * lyxtext.h: remove almost all mutable keywords
7325         * text.C:
7326         * text2.C:
7327         * text3.C: remove const keywords accordingly
7328
7329 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7330
7331         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7332         anon namespace
7333         (TeXEnvironment): ditto
7334         (TeXOnePar): ditto
7335
7336 2003-03-17  John Levon  <levon@movementarian.org>
7337
7338         * text.C (rowBreakPoint): remove attempt to fix displayed
7339         math insets inside a manual label
7340
7341 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7342
7343         * lyxtext.h: remove BufferView* as first arg from almost all class
7344         functions.
7345         * other files: adjust.
7346
7347 2003-03-17  John Levon  <levon@movementarian.org>
7348
7349         * lyxtext.h:
7350         * undo_funcs.C:
7351         * text2.C: more paint cleanups
7352
7353         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7354
7355         * rowpainter.h:
7356         * rowpainter.C: remove "smart" background painting code
7357
7358 2003-03-16  John Levon  <levon@movementarian.org>
7359
7360         * lyxtext.h:
7361         * text.C:
7362         * text2.C:
7363         * text3.C: add helper functions for setting refresh_row/y
7364
7365 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7366
7367         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7368         newline inset which *can* get inserted in the pass_thru layouts.
7369         This is primarily for literate documents.
7370
7371 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7372
7373         * buffer.C: increment LYX_FORMAT to 223
7374
7375 2003-03-14 André Pönitz <poenitz@gmx.net>
7376
7377         * textclass.h: prepare for environment handling, ws changes
7378         * lyxlayout.C: read latexheader and latexfooter tags
7379
7380 2003-03-14  John Levon  <levon@movementarian.org>
7381
7382         * text2.C: rewrite ::status() a bit
7383
7384 2003-03-13  John Levon  <levon@movementarian.org>
7385
7386         * lyxtext.h: add some docs
7387
7388 2003-03-13  John Levon  <levon@movementarian.org>
7389
7390         * lyxtext.h:
7391         * text.C:
7392         * text2.C:
7393         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7394
7395 2003-03-13  John Levon  <levon@movementarian.org>
7396
7397         * text3.C: fix appendix redrawing
7398
7399 2003-03-13  John Levon  <levon@movementarian.org>
7400
7401         * text.C (setHeightOfRow):
7402         * rowpainter.h:
7403         * rowpainter.C: make appendix mark have the text
7404           "Appendix" so the user knows what it is
7405
7406         * LColor.h:
7407         * LColor.C: s/appendixline/appendix/ from above
7408
7409 2003-03-13  John Levon  <levon@movementarian.org>
7410
7411         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7412
7413         * text.C: fix a getChar(pos) bug properly
7414
7415 2003-03-13  Angus Leeming  <leeming@lyx.org>
7416
7417         * commandtags.h:
7418         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7419         Probably only temporary. Let's see how things pan out.
7420
7421         * BufferView.C (unlockInset):
7422         * BufferView_pimpl.C (fitCursor):
7423         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7424
7425         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7426         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7427
7428         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7429         new functions that convert ParagraphParameters to and from a string.
7430
7431         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7432         BufferView::Pimpl's dispatch.
7433         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7434
7435 2003-03-13 André Pönitz <poenitz@gmx.net>
7436
7437         * lyxfunc.C:
7438         * text3.C:
7439         * factory.C: make it aware of InsetEnv
7440
7441 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7442
7443         * text2.C (setCursor): never ask for one past last
7444         (setCursor): add some debugging messages.
7445
7446         * text.C (singleWidth): never ask for one past last
7447         (singleWidth): ditto
7448         (leftMargin): ditto
7449         (rightMargin): ditto
7450         (rowBreakPoint): ditto
7451         (setHeightOfRow): ditto
7452         (prepareToPrint): ditto
7453
7454         * rowpainter.C (paintBackground): never ask for one past last
7455         (paintText): never ask for one past last
7456
7457         * paragraph_pimpl.C (getChar): make the assert stricter, never
7458         allow the one past last pos to be taken
7459
7460         * paragraph.C (getChar): ws changes only
7461
7462         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7463         (numberOfSeparators): ditto
7464         (numberOfHfills): ditto
7465
7466 2003-03-12  John Levon  <levon@movementarian.org>
7467
7468         * author.h:
7469         * author.C:
7470         * bufferparams.h:
7471         * bufferparams.C:
7472         * paragraph_funcs.C: fix per-buffer authorlists
7473
7474 2003-03-12  John Levon  <levon@movementarian.org>
7475
7476         * text.C: fix newline in right address
7477
7478 2003-03-12  Angus Leeming  <leeming@lyx.org>
7479
7480         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7481         duplicate those in LyXFunc::dispatch.
7482
7483         * commandtags.h:
7484         * LyXAction.C:
7485         * ToolbarDefaults.C:
7486         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7487         Add LFUN_FONTFREE_UPDATE.
7488
7489         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7490         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7491
7492         * bufferview_func.[Ch]: several new functions to facilliate
7493         transfer of data to and from the character dialog.
7494
7495 2003-03-12  John Levon  <levon@movementarian.org>
7496
7497         * buffer.C:
7498         * paragraph.h:
7499         * paragraph.C:
7500         * paragraph_funcs.C:
7501         * paragraph_pimpl.C:
7502         * sgml.C:
7503         * tabular.C:
7504         * text.C:
7505         * text3.C: remove META_NEWLINE in favour of an inset
7506
7507         * rowpainter.h:
7508         * rowpainter.C: remove paintNewline (done by inset)
7509
7510 2003-03-12  John Levon  <levon@movementarian.org>
7511
7512         * paragraph_pimpl.C: complain about bad getChar()s
7513         for a while at least
7514
7515 2003-03-12  John Levon  <levon@movementarian.org>
7516
7517         * buffer.h:
7518         * buffer.C: move paragraph read into a separate function,
7519         a little renaming to reflect that.
7520
7521         * bufferparams.h:
7522         * bufferparams.C: remove the author_ids map, not necessary now
7523
7524         * factory.h:
7525         * factory.C: moved Buffer::readInset to here
7526
7527         * paragraph_funcs.h:
7528         * paragraph_funcs.C: readParagraph free function moved from
7529         buffer.C
7530
7531         * tabular.C: name change
7532
7533 2003-03-12  John Levon  <levon@movementarian.org>
7534
7535         * buffer.C:
7536         * ParagraphParameters.C: move par params input to
7537         a read() method
7538
7539         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7540         behave like a normal read from the stream wrt reading
7541         a line vs. a \\token
7542
7543 2003-03-12  John Levon  <levon@movementarian.org>
7544
7545         * paragraph.C:
7546         * ParagraphParameters.h:
7547         * ParagraphParameters.C: move output code to a
7548         ::write() method
7549
7550 2003-03-12  John Levon  <levon@movementarian.org>
7551
7552         * BufferView.C (insertLyXFile):
7553         * buffer.h:
7554         * buffer.C:
7555         * tabular.C: use a parlist iterator for creating the
7556           document.
7557
7558 2003-03-12  John Levon  <levon@movementarian.org>
7559
7560         * buffer.C: make current_change static local not
7561           static file-scope
7562
7563 2003-03-12  John Levon  <levon@movementarian.org>
7564
7565         * buffer.C: fix insertStringAsLines for change tracking
7566
7567 2003-03-12  John Levon  <levon@movementarian.org>
7568
7569         * BufferView.C:
7570         * tabular.C:
7571         * buffer.h:
7572         * buffer.C:
7573         * bufferparams.h:
7574         * bufferparams.C: move author list into params. Rename some
7575           functions. Move the header reading into a separate token
7576           loop. Move the header token reading into BufferParams.
7577
7578 2003-03-12  John Levon  <levon@movementarian.org>
7579
7580         * changes.C: put debug inside lyxerr.debugging() checks
7581
7582 2003-03-11 André Pönitz <poenitz@gmx.net>
7583
7584         * factory.C: make it aware of InsetHFill
7585
7586 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7587
7588         * buffer.C (latexParagraphs): move function from here...
7589         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7590         args.
7591
7592 2003-03-10  Angus Leeming  <leeming@lyx.org>
7593
7594         * LyXAction.C (init): fix bug in poplating array with multiple entries
7595         with the same LFUN (spotted by JMarc).
7596
7597 2003-03-10  John Levon  <levon@movementarian.org>
7598
7599         * text.C:
7600         * text2.C: move getColumnNearX() near its
7601         only call site
7602
7603 2003-03-10  John Levon  <levon@movementarian.org>
7604
7605         * text.C: fix break before a minipage
7606
7607 2003-03-10  John Levon  <levon@movementarian.org>
7608
7609         * text.C: fix the last commit
7610
7611 2003-03-09  John Levon  <levon@movementarian.org>
7612
7613         * lyxtext.h:
7614         * text.C:
7615         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7616         bug 365 (don't break before insets unless needed). Don't
7617         return a value > last under any circumstances.
7618
7619 2003-03-09  Angus Leeming  <leeming@lyx.org>
7620
7621         * BufferView_pimpl.C (trackChanges, dispatch): call
7622         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7623
7624 2003-03-09  Angus Leeming  <leeming@lyx.org>
7625
7626         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7627         than Dialogs::showAboutlyx().
7628
7629 2003-03-09  Angus Leeming  <leeming@lyx.org>
7630
7631         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7632         than Dialogs::showTabularCreate().
7633
7634 2003-03-09  John Levon  <levon@movementarian.org>
7635
7636         * lyxtext.h:
7637         * text.C:
7638         * text2.C: 3rd arg to nextBreakPoint was always the same.
7639           Use references.
7640
7641 2003-03-08  John Levon  <levon@movementarian.org>
7642
7643         * lyxrow.C:
7644         * paragraph.C:
7645         * paragraph.h:
7646         * rowpainter.C:
7647         * text.C:
7648         * text2.C: Remove the "main" bit from the "main body"
7649           notion.
7650
7651 2003-03-08  John Levon  <levon@movementarian.org>
7652
7653         * text.C (leftMargin): The left margin of an empty
7654         manual label paragraph should not include the label width
7655         string length.
7656
7657         * text.C (prepareToPrint): don't attempt to measure hfills
7658         for empty manual label paragraphs - the answer should be 0
7659
7660 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7661
7662         * CutAndPaste.C: remove commented code and reindent.
7663
7664 2003-03-08  John Levon  <levon@movementarian.org>
7665
7666         * lyxfunc.h:
7667         * lyxfunc.C: move reloadBuffer()
7668
7669         * BufferView.h:
7670         * BufferView.C: to here
7671
7672         * lyxvc.C: add comment
7673
7674         * vc-backend.h:
7675         * vc-backend.C: call bv->reload() to avoid
7676           getStatus() check on MENURELOAD
7677
7678 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7679
7680         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7681         to an old format .dep file.
7682
7683 2003-03-07  Angus Leeming  <leeming@lyx.org>
7684
7685         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7686         when the LFUN_MOUSE_RELEASE should have been handled by
7687         inset->localDispatch.
7688
7689 2003-03-07  Angus Leeming  <leeming@lyx.org>
7690
7691         * BufferView_pimpl.C (dispatch):
7692         * LyXAction.C (init):
7693         * ToolbarDefaults.C (init):
7694         * commandtags.h:
7695         * lyxfunc.C (getStatus):
7696         remove LFUN_INSET_GRAPHICS.
7697
7698         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7699
7700 2003-03-07  Angus Leeming  <leeming@lyx.org>
7701
7702         * commandtags.h:
7703         * LyXAction.C (init):
7704         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7705
7706         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7707
7708         * commandtags.h:
7709         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7710
7711         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7712         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7713
7714 2003-03-07  Angus Leeming  <leeming@lyx.org>
7715
7716         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7717         remove "ert".
7718
7719 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7720
7721         * ParagraphList.C (front): new function
7722         (back): implement
7723
7724 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7725
7726         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7727         and top_row_offset_. removed var first_y.
7728         * text.C (top_y):
7729         * text2.C (LyXText, removeRow):
7730         * text3.C:
7731         * BufferView_pimpl.C:
7732         use these methods instead of using first_y
7733
7734 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7735
7736         * text2.C (pasteSelection): adjust for checkPastePossible
7737
7738         * CutAndPaste.C: remove Paragraph * buf and replace with
7739         ParagraphList paragraphs.
7740         (DeleteBuffer): delete
7741         (cutSelection): change the tc type to textclass_type
7742         (copySelection): change the tc type to textclass_type
7743         (copySelection): adjust for ParagraphList
7744         (pasteSelection): change the tc type to textclass_type
7745         (pasteSelection): adjust for Paragraphlist
7746         (nrOfParagraphs): simplify for ParagraphList
7747         (checkPastePossible): simplify for ParagraphList
7748         (checkPastePossible): remove unused arg
7749
7750         * ParagraphList.C (insert): handle the case where there are no
7751         paragraphs yet.
7752
7753         * CutAndPaste.h: make CutAndPaste a namespace.
7754
7755         * text3.C (dispatch): adjust
7756
7757         * text.C (breakParagraph): add a ParagraphList as arg
7758
7759         * paragraph_funcs.C (breakParagraph): change to take a
7760         BufferParams and a ParagraphList as args.
7761         (breakParagraphConservative): ditto
7762         (mergeParagraph): ditto
7763         (TeXDeeper): add a ParagraphList arg
7764         (TeXEnvironment): ditto
7765         (TeXOnePar): ditto
7766
7767         * buffer.C (readLyXformat2): adjust
7768         (insertStringAsLines): adjust
7769         (latexParagraphs): adjust
7770
7771         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7772         (cutSelection): adjust
7773         (pasteSelection): adjust
7774
7775         * BufferView_pimpl.C (insertInset): adjust
7776
7777 2003-03-05  Angus Leeming  <leeming@lyx.org>
7778
7779         * commandtags.h:
7780         * LyXAction.C (init):
7781         * BufferView_pimpl.C (dispatch):
7782         * lyxfunc.C (getStatus):
7783         remove LFUN_CHILD_INSERT.
7784
7785         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7786
7787 2003-03-05  Angus Leeming  <leeming@lyx.org>
7788
7789         * commandtags.h:
7790         * LyXAction.C (init):
7791         * src/factory.C (createInset):
7792         * lyxfunc.C (getStatus):
7793         * text3.C (dispatch):
7794         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7795
7796         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7797
7798 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7799
7800         * ParagraphList.C (insert): handle insert right before end()
7801         (erase): fix cases where it can be first or last paragraph.
7802
7803 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7804
7805         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7806         Paragraph::next and Paragraph::previous
7807         (TeXOnePar): ditto
7808
7809         * text.C (breakParagraph): adjust
7810
7811         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7812         BufferParams& as arg.
7813         (breakParagraph): use ParagraphList::insert
7814         (breakParagraphConservative): take a Buffer* instead of a
7815         BufferParams& as arg.
7816         (breakParagraphConservative): use ParagraphList::insert.
7817
7818         * buffer.C (insertStringAsLines): un-const it
7819         (insertStringAsLines): adjust
7820
7821         * ParagraphList.C (insert): new function
7822
7823         * CutAndPaste.C (pasteSelection): adjust
7824
7825         * text.C (backspace): adjust
7826
7827         * tabular.C (SetMultiColumn): adjust
7828
7829         * CutAndPaste.C (cutSelection): adjust
7830         (pasteSelection): adjust
7831
7832         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7833         Buffer const * as arg
7834
7835         * ParagraphList.C (erase): new function
7836         * paragraph_funcs.C (mergeParagraph): use it
7837         (mergeParagraph): make it take a Buffer* instead of a
7838         BufferParams* as arg
7839
7840         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7841         as arg
7842         (breakParagraphConservative): ditto
7843
7844         * paragraph.h: remove the breakParagraph friend
7845
7846         * paragraph.C (eraseIntern): new function
7847         (setChange): new function
7848
7849         * paragraph_funcs.C (mergeParagraph): make it take a
7850         ParagraphList::iterator instead of a Paragraph *, adjust
7851         accordingly.
7852
7853         * paragraph.h: move an #endif so that the change tracking stuff
7854         also works in the NO_NEXT case.
7855
7856 2003-03-04  Angus Leeming  <leeming@lyx.org>
7857
7858         * commandtags.h:
7859         * LyXAction.C: new LFUN_INSET_MODIFY.
7860
7861         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7862         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7863
7864 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7865
7866         * several files: ws changes only
7867
7868         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7869         (TeXEnvironment): ditto
7870         (TeXDeeper): ditto
7871
7872         * buffer.C (makeLaTeXFile): adjust
7873         (latexParagraphs): make it take ParagraphList::iterator as args
7874
7875 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7876
7877         * buffer.C (latexParagraphs): adjust
7878
7879         * paragraph.C (TeXOnePar): move function...
7880         (optArgInset): move function...
7881         (TeXEnvironment): move function...
7882         * paragraph_pimpl.C (TeXDeeper): move function...
7883         * paragraph_funcs.C: ...here
7884
7885         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7886
7887 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7888
7889         * buffer.C (readInset): remove compability code for old Figure and
7890         InsetInfo insets
7891
7892 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7893
7894         * buffer.C: ws changes
7895         (readInset):
7896
7897         * BufferView_pimpl.C: ditto
7898         * author.C: ditto
7899         * buffer.h: ditto
7900         * bufferlist.h: ditto
7901         * changes.h: ditto
7902         * lyxfunc.C: ditto
7903
7904 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7905
7906         * converter.[Ch]: split into itself +
7907         * graph.[Ch]
7908         * format.[Ch]
7909         * Makefile.am: += graph.[Ch] + format.[Ch]
7910         * MenuBackend.C
7911         * buffer.C
7912         * exporter.C
7913         * importer.C
7914         * lyx_main.C
7915         * lyxfunc.C
7916         * lyxrc.C: added #include "format.h"
7917
7918 2003-02-27  Angus Leeming  <leeming@lyx.org>
7919
7920         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7921           a label.
7922
7923         * factory.C (createInset): add "label" to the factory.
7924
7925         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7926           string and do no more.
7927
7928 2003-02-27  Angus Leeming  <leeming@lyx.org>
7929
7930         * commandtags.h:
7931         * LyXAction.C (init):
7932         * factory.C (createInset):
7933         * BufferView_pimpl.C (dispatch):
7934           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7935
7936         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7937
7938         * lyxfunc.C (dispatch):
7939         * text3.C (dispatch): pass name to params2string.
7940
7941 2003-02-26  Angus Leeming  <leeming@lyx.org>
7942
7943         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7944           blocks together.
7945           Rearrange the ~includes. Strip out the unnecessary ones.
7946
7947         * factory.C (createInset): reformat.
7948           create new insets for the various LFUN_XYZ_APPLY lfuns.
7949
7950 2003-02-26  John Levon  <levon@movementarian.org>
7951
7952         * lyxrow.h:
7953         * lyxrow.C: add isParStart,isParEnd helpers
7954
7955         * paragraph.h: make isInserted/DeletedText take refs
7956
7957         * paragraph_funcs.h:
7958         * paragraph_funcs.C: remove #if 0'd code
7959
7960         * lyxtext.h:
7961         * text3.C:
7962         * text2.C:
7963         * text.C: use lyxrow helpers above.
7964           Move draw and paint routines to RowPainter.
7965           Make several methods use refs not pointers.
7966           Make backgroundColor() const.
7967           Add markChangeInDraw(), isInInset().
7968           Merge changeRegionCase into changeCase.
7969           Make workWidth() shouldn't-happen code into an Assert.
7970
7971         * rowpainter.h:
7972         * rowpainter.C: new class for painting a row.
7973
7974         * vspace.h:
7975         * vspace.C: make inPixels take a ref
7976
7977 2003-02-26  Angus Leeming  <leeming@lyx.org>
7978
7979         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7980         LFUN_REF_APPLY.
7981
7982 2003-02-25  John Levon  <levon@movementarian.org>
7983
7984         * ispell.C: give the forked command a more accurate name
7985
7986 2003-02-22  John Levon  <levon@movementarian.org>
7987
7988         * toc.h:
7989         * toc.C: make TocItem store an id not a Paragraph *
7990           (bug #913)
7991
7992 2003-02-21  Angus Leeming  <leeming@lyx.org>
7993
7994         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7995           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7996           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7997           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7998           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7999           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8000
8001         * BufferView_pimpl.C (dispatch):
8002         * LyXAction.C (init):
8003         * factory.C (createInset):
8004         * lyxfunc.C (getStatus, dispatch):
8005         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8006
8007 2003-02-21  Angus Leeming  <leeming@lyx.org>
8008
8009         * BufferView_pimpl.C (MenuInsertLyXFile):
8010         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8011         * lyxfunc.C (menuNew, open, doImport):
8012           no longer pass a LyXView & to fileDlg.
8013
8014 2003-02-21  Angus Leeming  <leeming@lyx.org>
8015
8016         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8017         * LyXAction.C: change, BIBKEY to BIBITEM.
8018         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8019         Change InsetBibKey to InsetBibitem.
8020         Change BIBKEY_CODE to BIBITEM_CODE.
8021         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8022         * factory.C: replace insetbib.h with insetbibitem.h.
8023         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8024         * paragraph.C: replace insetbib.h with insetbibitem.h.
8025         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8026         Change bibkey() to bibitem().
8027         * text.C: remove insetbib.h.
8028         * text2.C: replace insetbib.h with insetbibitem.h.
8029         change bibkey() to bibitem().
8030         * text3.C: remove insetbib.h.
8031         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8032
8033 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8034
8035         * lyxrc.C (output): enclose user email in quotes (in case there are
8036         several words)
8037
8038 2003-02-18  John Levon  <levon@movementarian.org>
8039
8040         * buffer.h: add std::
8041
8042 2003-02-17  John Levon  <levon@movementarian.org>
8043
8044         * SpellBase.h:
8045         * ispell.h:
8046         * ispell.C:
8047         * pspell.h:
8048         * pspell.C: reworking. Especially in ispell, a large
8049           number of clean ups and bug fixes.
8050
8051         * lyxfunc.C: fix revert to behave sensibly
8052
8053 2003-02-17 André Pönitz <poenitz@gmx.net>
8054
8055         * LyXAction.C:
8056         * commandtags.h: new LFUN_INSERT_BIBKEY
8057
8058         * layout.h:
8059         * lyxlayout.C:
8060         * buffer.C:
8061         * factory.C:
8062         * text.C:
8063         * text2.C:
8064         * text3.C:
8065         * paragraph.[Ch]:
8066         * paragraph_func.C: remove special bibkey handling
8067
8068 2003-02-17  John Levon  <levon@movementarian.org>
8069
8070         * text.C (Delete): fix case where delete at the end of
8071           the very first paragraph would not merge the pars
8072
8073 2003-02-17  John Levon  <levon@movementarian.org>
8074
8075         * lyxrow.C: fix lastPrintablePos()
8076
8077 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8078
8079         * bufferparams.C (writeLaTeX): add a std:here
8080
8081         * buffer.C: and remove a using directive there
8082
8083 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8084
8085         * buffer.C (makeLaTeXFile): move the code that generates the
8086           preamble...
8087
8088         * bufferparams.C (writeLaTeX): ... in this new method
8089
8090         * LaTeXFeatures.C (getEncodingSet): make const
8091           (getLanguages): make const
8092
8093         * MenuBackend.C (binding): returns the binding associated to this
8094           action
8095           (add): sets the status of each item by calling getStatus. Adds
8096           some intelligence.
8097           (read): add support for OptSubMenu
8098           (expand): remove extra separator at the end of expanded menu
8099
8100 2003-02-15  John Levon  <levon@movementarian.org>
8101
8102         * BufferView.C:
8103         * BufferView_pimpl.C:
8104         * bufferlist.h:
8105         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8106           inset code that had no actual effect. Remove unneeded status
8107           code.
8108
8109 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8110
8111         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8112           in preamble
8113
8114 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8115
8116         * text.C (drawLengthMarker): also draw an arrow marker for
8117           symbolic lengths (medskip...)
8118
8119 2003-02-14  John Levon  <levon@movementarian.org>
8120
8121         * tabular.h:
8122         * tabular.C: better method names
8123
8124 2003-02-14  John Levon  <levon@movementarian.org>
8125
8126         * BufferView_pimpl.C:
8127         * bufferlist.C:
8128         * buffer.C:
8129         * converter.C:
8130         * lyx_cb.C:
8131         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8132           it's a more accurate name. Remove some pointless uses.
8133
8134 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8135
8136         * text2.C (LyXText): change order of initilizers to shut off
8137           warnings
8138
8139 2003-02-14  John Levon  <levon@movementarian.org>
8140
8141         * buffer.C: use ParIterator for getParFromID()
8142
8143         * paragraph.h:
8144         * paragraph.C:
8145         * paragraph_pimpl.h:
8146         * paragraph_pimpl.C: remove unused getParFromID()
8147
8148 2003-02-14  John Levon  <levon@movementarian.org>
8149
8150         * buffer.C: remove some very old #if 0'd parse code
8151
8152 2003-02-13  John Levon  <levon@movementarian.org>
8153
8154         * text.h:
8155         * text.C:
8156         * text2.C: move hfillExpansion(), numberOfSeparators(),
8157           rowLast(), rowLastPrintable(), numberofHfills(),
8158           numberOfLabelHfills() ...
8159
8160         * lyxrow.h:
8161         * lyxrow.C: ... to member functions here.
8162
8163         * paragraph.h:
8164         * paragraph.C:
8165         * lyxtext.h:
8166         * text.C: remove LyXText::beginningOfMainBody(), and call
8167           p->beginningOfMainBody() directly. Move the check for
8168           LABEL_MANUAL into the latter.
8169
8170         * text.h:
8171         * text.C:
8172         * text2.C:
8173         * vspace.C:
8174         * BufferView.h:
8175         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8176
8177         * text.h:
8178         * text.C:
8179         * text2.C:
8180         * text3.C:
8181         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8182           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8183
8184 2003-02-13  John Levon  <levon@movementarian.org>
8185
8186         * CutAndPaste.C: remove debug
8187
8188 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8189
8190         * paragraph.C (asString): remove two unused variables
8191
8192         * lyxtextclass.C (readTitleType):
8193           (Read):
8194           (LyXTextClass): handle new members titletype_ and titlename_
8195
8196         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8197
8198 2003-02-09  John Levon  <levon@movementarian.org>
8199
8200         * buffer.h:
8201         * buffer.C: replace hand-coded list with a map for the dep clean
8202
8203 2003-02-08  John Levon  <levon@movementarian.org>
8204
8205         * LaTeX.C: consolidate code into showRunMessage() helper
8206
8207 2003-02-08  John Levon  <levon@movementarian.org>
8208
8209         * lyxfind.C:
8210         * lyxtext.h:
8211         * text2.C:
8212         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8213           and pass the size in explicitly
8214
8215         * BufferView_pimpl.h:
8216         * BufferView_pimpl.C:
8217         * BufferView.h:
8218         * BufferView.C: add getCurrentChange()
8219
8220         * BufferView_pimpl.h:
8221         * BufferView_pimpl.C: handle change lfuns
8222
8223         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8224           for changes. Mark pasted paragraphs as new.
8225
8226         * support/lyxtime.h:
8227         * support/lyxtime.C:
8228         * DepTable.C: abstract time_t as lyx::time_type
8229
8230         * LColor.h:
8231         * LColor.C: add colours for new text, deleted text, changebars
8232
8233         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8234           package use "usenames" option.
8235
8236         * commandtags.h:
8237         * lyxfunc.C:
8238         * LyXAction.C: add change lfuns
8239
8240         * Makefile.am:
8241         * author.h:
8242         * author.C: author handling
8243
8244         * buffer.h:
8245         * buffer.C: add a per-buffer author list, with first entry as
8246           current author. Handle new .lyx tokens for change tracking. Output
8247           author list to .lyx file. Output dvipost stuff to .tex preamble.
8248           Bump lyx format to 222.
8249
8250         * bufferlist.h:
8251         * bufferlist.C: add setCurrentAuthor() to reset current author details
8252           in all buffers.
8253
8254         * bufferparams.h:
8255         * bufferparams.C: add param for tracking
8256
8257         * bufferview_funcs.C: output change info in minibuffer
8258
8259         * Makefile.am:
8260         * changes.h:
8261         * changes.C: add change-tracking structure
8262
8263         * debug.h:
8264         * debug.C: add CHANGES debug flag
8265
8266         * lyxfind.h:
8267         * lyxfind.C: add code for finding the next change piece
8268
8269         * lyxrc.h:
8270         * lyxrc.C: add user_name and user_email
8271
8272         * lyxrow.h:
8273         * lyxrow.C: add a metric for the top of the text line
8274
8275         * lyxtext.h:
8276         * text.C: implement accept/rejectChange()
8277
8278         * lyxtext.h:
8279         * text.C: paint changebars. Paint new/deleted text in the chosen
8280         colours. Strike through deleted text.
8281
8282         * paragraph.h:
8283         * paragraph.C:
8284         * paragraph_pimpl.h:
8285         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8286           in the current change to the insert functions. Rework erase to
8287           mark text as deleted, adding an eraseIntern() and a range-based
8288           erase(). Implement per-paragraph change lookup and
8289           accept/reject.
8290
8291         * paragraph_funcs.C: Fixup paste for change tracking.
8292
8293         * tabular.C: mark added row/columns as new.
8294
8295         * text.C: fix rowLast() to never return -1. Don't allow
8296           spellchecking of deleted text. Track transpose changes. Don't
8297           allow paragraph break or merge where appropriate.
8298
8299         * text2.C: leave cursor at end of selection after a cut.
8300
8301 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8302
8303         * text.C (getLengthMarkerHeight):
8304         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8305         visible on screen too.
8306
8307 2003-02-07  John Levon  <levon@movementarian.org>
8308
8309         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8310
8311 2003-02-05  Angus Leeming  <leeming@lyx.org>
8312
8313         * lyxserver.C (read_ready): revert my patch of 11 September last year
8314         as it sends PC cpu through the roof. Presumably this means that
8315         the lyxserver will no longer run on an Alpha...
8316
8317 2003-01-30  Angus Leeming  <leeming@lyx.org>
8318
8319         * factory.C (createInset): create an InsetCommandParam of type "index"
8320         and use it to 'do the right thing'.
8321
8322         * text2.C (getStringToIndex): ensure that cursor position is always
8323         reset to the reset_cursor position.
8324
8325 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8326
8327         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8328         disabled.
8329
8330 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8331
8332         * bufferview.C:
8333         * lyxcb.C:
8334         * lyxfunc.C: Output messages with identical spelling, punctuation,
8335         and spaces
8336
8337 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8338
8339         * MenuBackend.C (expandFormats): List only viewable export formats
8340         in "View" menu
8341
8342         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8343         message
8344
8345         * lyxfunc.C (getStatus): Make sure that formats other than
8346         "fax" can also be disabled
8347
8348 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8349
8350         * text3.C (dispatch): put the lfuns that insert insets in 3
8351         groups, and call doInsertInset with appropriate arguments.
8352         (doInsertInset): new function, that creates an inset and inserts
8353         it according to some boolean parameters.
8354
8355 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8356
8357         * buffer.C (readFile): remember to pass on 'par' when calling
8358         readFile recursively.
8359
8360 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8361
8362         * MenuBackend.C (expandFormats): add "..." to import formats.
8363
8364 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8365
8366         * paragraph.C (asString): Remove XForms RTL hacks.
8367
8368 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8369         * buffer.C: fix typo
8370
8371 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8372
8373         * Makefile.am (LIBS): delete var
8374         (lyx_LDADD): add @LIBS@ here instead.
8375
8376 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8377
8378         * Clarify the meaning of "wheel mouse jump"
8379
8380 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8381
8382         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8383         tabular in a float
8384
8385 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8386
8387         * importer.C (Loaders): do not preallocate 3 elements in the
8388         vector, since one ends up with 6 elements otherwise
8389
8390 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8391
8392         * DepTable.C (write): write the file name as last element of the
8393         .dep file (because it may contain spaces)
8394         (read): read info in the right order
8395
8396 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8397
8398         * paragraph_pimpl.C (simpleTeXBlanks):
8399         (simpleTeXSpecialChars):
8400         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8401
8402         * tabular.C (latex): add some missing case statements. Reindent.
8403
8404         * MenuBackend.C (expandToc): remove unused variable.
8405
8406 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8407
8408         * LColor.C:
8409         * LaTeX.C:
8410         * LyXAction.C:
8411         * MenuBackend.C:
8412         * buffer.C:
8413         * exporter.C:
8414         * lyxfunc.C:
8415         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8416         and the like.
8417
8418 2003-01-05  John Levon  <levon@movementarian.org>
8419
8420         * BufferView.h:
8421         * BufferView.C: add getEncoding()
8422
8423         * kbsequence.h:
8424         * kbsequence.C: do not store last keypress
8425
8426         * lyxfunc.h:
8427         * lyxfunc.C: store last keypress here instead. Pass encoding
8428           to getISOEncoded()
8429
8430 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8431
8432         * lyx_main.C (init): remove annoying error message when following
8433         symbolic links (bug #780)
8434
8435 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8436
8437         * text.C (insertChar):
8438         * lyxrc.C (getDescription): remove extra spaces
8439
8440 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8441
8442         * lyxrc.C (getDescription): remove extra spaces
8443
8444 2002-12-20  John Levon  <levon@movementarian.org>
8445
8446         * text3.C: hack fix for page up/down across tall rows
8447
8448 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8449
8450         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8451         not been invoked
8452
8453 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8454
8455         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8456         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8457         thesaurus is not compiled in
8458
8459 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8460
8461         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8462
8463 2002-12-16  Angus Leeming  <leeming@lyx.org>
8464
8465         * lyxrc.[Ch]:
8466         * lyx_main.C (init): remove override_x_deadkeys stuff.
8467
8468 2002-12-12  John Levon  <levon@movementarian.org>
8469
8470         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8471           insert. Only remove shift modifier under strict
8472           circumstances.
8473
8474 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8475
8476         * MenuBackend.C (expandToc): fix crash.
8477
8478 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8479
8480         * MenuBackend.C (expandToc): gettext on float names.
8481
8482 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8483
8484         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8485         implement bool empty() [bug 490]
8486
8487 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8488
8489         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8490
8491 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8492
8493         * several files: ws changes
8494
8495 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8496
8497         * text2.C (setCounter): clean up a bit, use boost.format.
8498         (updateCounters): initialize par upon declaration.
8499
8500         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8501         if the layout exists. We do not just store the layout any more.
8502         (SwitchLayoutsBetweenClasses): use boost.format
8503
8504 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8505
8506         * converter.C (convert): if from and to files are the same, use a
8507         temporary files as intermediary
8508
8509 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8510
8511         * commandtags.h:
8512         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8513
8514 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8515
8516         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8517
8518 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8519
8520         * tabular.C (asciiPrintCell): use string(size, char) instead of
8521         explicit loop.
8522
8523         * sgml.C (openTag): fix order of arguments to string constructor
8524         (closeTag): ditto
8525
8526         * lyxfunc.C (dispatch): use boost.format
8527
8528         * lots of files: change "c" -> 'c'
8529
8530 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8531
8532         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8533
8534 2002-11-25  Angus Leeming  <leeming@lyx.org>
8535
8536         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8537
8538         * lyx_main.C (init): compile fix.
8539
8540 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8541
8542         * lyx_cb.C (start): boost.formatify
8543         do not include <iostream>
8544
8545         * lengthcommon.C: ws only
8546
8547         * boost-inst.C,BoostFormat.h: add more explict instantations
8548
8549 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8550
8551         * lots of files: handle USE_BOOST_FORMAT
8552
8553 2002-11-21  John Levon  <levon@movementarian.org>
8554
8555         * pspell.C: fix compile
8556
8557 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8558
8559         * lyxfunc.C (dispatch): use boost::format
8560         (open): ditto
8561         (doImport): ditto
8562
8563         * lyxfont.C (stateText): use boost::format
8564
8565         * lyx_main.C (LyX): use boost::format
8566         (init): ditto
8567         (queryUserLyXDir): ditto
8568         (readRcFile): ditto
8569         (parse_dbg): ditto
8570         (typedef boost::function): use the recommened syntax.
8571
8572         * importer.C (Import): use boost::format
8573
8574         * debug.C (showLevel): use boost::format
8575
8576         * converter.C (view): use boost::format
8577         (convert): ditto
8578         (move): ditto
8579         (scanLog): ditto
8580
8581         * bufferview_funcs.C (currentState): use boost::format
8582
8583         * bufferlist.C (emergencyWrite): use boost::format
8584
8585         * buffer.C (readLyXformat2): use boost::format
8586         (parseSingleLyXformat2Token): ditto
8587
8588         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8589
8590         * LaTeX.C (run): use boost::format
8591
8592         * Chktex.C (scanLogFile): use boost::format
8593
8594         * BufferView_pimpl.C (savePosition): use boost::format
8595         (restorePosition): ditto
8596         (MenuInsertLyXFile): ditto
8597
8598         * BoostFormat.h: help file for explicit instation.
8599
8600 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8601
8602         * tabular.C (latex): Support for block alignment in fixed width
8603         columns.
8604
8605 2002-11-17  John Levon  <levon@movementarian.org>
8606
8607         * BufferView_pimpl.C:
8608         * lyx_cb.C:
8609         * lyxfunc.C: split filedialog into open/save
8610
8611 2002-11-08  Juergen Vigna  <jug@sad.it>
8612
8613         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8614         by my last patch (hopefully).
8615
8616 2002-11-08  John Levon  <levon@movementarian.org>
8617
8618         * iterators.h:
8619         * iterators.C:
8620         * buffer.h:
8621         * buffer.C:
8622         * paragraph.h:
8623         * paragraph.C:
8624         * toc.h:
8625         * toc.C: ParConstIterator, and use it (from Lars)
8626
8627 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8628
8629         * lyxtextclass.[Ch]: revise and add doxygen comments
8630
8631 2002-11-07  John Levon  <levon@movementarian.org>
8632
8633         * text.C: fix progress value for spellchecker
8634
8635         * toc.C: fix navigate menu for insetwrap inside minipage
8636
8637         * paragraph_funcs.C: added FIXME for suspect code
8638
8639 2002-11-07  John Levon  <levon@movementarian.org>
8640
8641         * BufferView_pimpl.C: fix redrawing of insets
8642           on buffer switch
8643
8644 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8645
8646         * text2.C (updateCounters): fix bug 668
8647
8648 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8649
8650         * text3.C (dispatch): Do not make the buffer dirty when moving the
8651         cursor.
8652
8653 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8654
8655         * vc-backend.C: STRCONV
8656         (scanMaster): ditto
8657
8658         * text2.C (setCounter): STRCONV
8659
8660         * paragraph.C (asString): STRCONV
8661
8662         * lyxlength.C (asString): STRCONV
8663         (asLatexString): ditto
8664
8665         * lyxgluelength.C (asString): STRCONV
8666         (asLatexString): ditto
8667
8668         * lyxfunc.C (dispatch): STRCONV
8669         (open): ditto
8670
8671         * lyxfont.C (stateText): STRCONV
8672
8673         * importer.C (Import): STRCONV
8674
8675         * counters.C (labelItem): STRCONV
8676         (numberLabel): ditto
8677         (numberLabel): remove unused ostringstream o
8678
8679         * chset.C: STRCONV
8680         (loadFile): ditto
8681
8682         * bufferview_funcs.C (currentState): STRCONV
8683
8684         * buffer.C (readFile): STRCONV
8685         (asciiParagraph): ditto
8686         (makeLaTeXFile): ditto
8687
8688         * Spacing.C (writeEnvirBegin): STRCONV
8689
8690         * LaTeXFeatures.C (getLanguages): STRCONV
8691         (getPackages): ditto
8692         (getMacros): ditto
8693         (getBabelOptions): ditto
8694         (getTClassPreamble): ditto
8695         (getLyXSGMLEntities): ditto
8696         (getIncludedFiles): ditto
8697
8698         * LaTeX.C: STRCONV
8699         (run): ditto
8700         (scanAuxFile): ditto
8701         (deplog): ditto
8702
8703         * LString.h: add the STRCONV macros
8704
8705         * BufferView_pimpl.C (savePosition): STRCONV
8706         (restorePosition): ditto
8707         (MenuInsertLyXFile): ditto
8708
8709         * vc-backend.C (scanMaster): change from submatch[...] to
8710         submatch.str(...)
8711
8712         * funcrequest.C: include config.h
8713
8714         * factory.C: include config.h
8715
8716         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8717
8718         * box.C: include config.h
8719
8720         * LaTeX.C (scanAuxFile): change from submatch[...] to
8721         submatch.str(...)
8722         (deplog): ditto
8723
8724 2002-10-25  Angus Leeming  <leeming@lyx.org>
8725
8726         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8727
8728         * ispell.[Ch] (setError): new method.
8729         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8730         Use setError() insetead of goto END.
8731
8732         * lyx_cb.C (AutoSave): move out child process into new class
8733         AutoSaveBuffer.
8734
8735 2002-10-30  John Levon  <levon@movementarian.org>
8736
8737         * text3.C: make start appendix undoable
8738
8739 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8740
8741         * lyxlength.C (inPixels): Fix returned value.
8742
8743         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8744         environment.
8745
8746 2002-10-24  Angus Leeming  <leeming@lyx.org>
8747
8748         * lyxgluelength.h: no need to forward declare BufferParams
8749         or BufferView, so don't.
8750
8751 2002-10-21  John Levon  <levon@movementarian.org>
8752
8753         * BufferView.C: menuUndo ->undo, redo
8754
8755         * BufferView.h: document, remove dead, make some methods private
8756
8757         * paragraph_funcs.h:
8758         * paragraph_funcs.C:
8759         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8760
8761         * buffer.h:
8762         * buffer.C:
8763         * sgml.h:
8764         * sgml.C: move sgml open/close tag into sgml.C
8765
8766         * bufferview_funcs.h: unused prototype
8767
8768         * lyxfunc.h:
8769         * lyxfunc.C: remove unused
8770
8771         * lyxtext.h:
8772         * text.C: remove unused
8773
8774 2002-10-21  John Levon  <levon@movementarian.org>
8775
8776         * BufferView.h:
8777         * BufferView.C:
8778         * BufferView_pimpl.h:
8779         * BufferView_pimpl.C: fix mouse wheel handling based on
8780           patch from Darren Freeman
8781
8782 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8783
8784         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8785
8786 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8787
8788         * lyxlength.C (inPixels): Fix hanfling of negative length.
8789         Fix LyXLength::MU case.
8790
8791 2002-10-16  John Levon  <levon@movementarian.org>
8792
8793         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8794
8795 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8796
8797         * converter.C (view): add support for $$i (file name) and $$p
8798         (file path) for the viewer command. If $$i is not specified, then
8799         it is appended to the command (for compatibility with old syntax)
8800
8801 2002-10-14  Juergen Vigna  <jug@sad.it>
8802
8803         * undo_funcs.C (textHandleUndo): alter the order in which the
8804         new undopar is added to the LyXText, as we have to set first
8805         the right prev/next and then add it as otherwise the rebuild of
8806         LyXText is not correct. Also reset the cursor to the right paragraph,
8807         with this IMO we could remove the hack in "redoParagraphs()".
8808
8809 2002-10-09  Angus Leeming  <leeming@lyx.org>
8810
8811         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8812         to turn off an optimisation if a new inset is to be inserted.
8813
8814 2002-10-11 André Pönitz <poenitz@gmx.net>
8815
8816         * lyxtext.h: make some functions public to allow access
8817         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8818
8819 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8820
8821         * text3.C (dispatch): when changing layout, avoid an infinite loop
8822         [bug #652]
8823
8824 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8825
8826         * lyxrc.C (read): treat a viewer or converter command of "none" as
8827         if it were empty.
8828
8829         * MenuBackend.C (expandFormats): for an update, also allow the
8830         formats that are not viewable
8831
8832         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8833         script if it is newer than the lyxrc.defaults in user directory
8834
8835 2002-10-07 André Pönitz <poenitz@gmx.net>
8836
8837         * text.C: Vitaly Lipatov's small i18n fix
8838
8839 2002-09-25  Angus Leeming  <leeming@lyx.org>
8840
8841         * ispell.h: doxygen fix.
8842
8843 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8844
8845         * buffer.h (readFile): Add a new argument to the method, to allow
8846         reading of old-format templates.
8847
8848 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8849
8850         * toc.C (getTocList): Get TOC from InsetWrap.
8851
8852 2002-09-16  John Levon  <levon@movementarian.org>
8853
8854         * lyxfunc.C: check tabular for cut/copy too
8855
8856 2002-09-12  John Levon  <levon@movementarian.org>
8857
8858         * LyXAction.C: tidy
8859
8860         * factory.h:
8861         * factory.C: add header
8862
8863         * paragraph_funcs.h:
8864         * paragraph_funcs.C: cleanup
8865
8866 2002-09-11  John Levon  <levon@movementarian.org>
8867
8868         * PrinterParams.h: odd/even default to true
8869
8870 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8871
8872         * PrinterParams.h: update printer parameters for new xforms dialog
8873
8874 2002-09-11  Angus Leeming  <leeming@lyx.org>
8875
8876         * lyxserver.C (read_ready): re-write to make it more transparent
8877         and to make it work in coherent fashion under Tru64 Unix.
8878
8879 2002-09-11  André Pönitz <poenitz@gmx.net>
8880
8881         * commandtags.h:
8882         * LyXAction.C:
8883         * text3.C: implement LFUN_WORDSEL
8884
8885 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8886
8887         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8888         make floatlist_ a boost::shared_ptr<FloatList>
8889
8890         * lyxtextclass.C: include FloatList.h
8891         (LyXTextClass): initialize floatlist_
8892         (TextClassTags): add TC_NOFLOAT
8893         (Read): match "nofloat" to TC_NOFLOAT and use it.
8894         (readFloat): modify call to floatlist_
8895         (floats): ditto
8896         (floats): ditto
8897
8898         * FloatList.[Ch] (FloatList): remove commented out float
8899         initialization.
8900         (erase): new function
8901
8902 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8903
8904         * MenuBackend.C (expandToc): fix crash when there is no document
8905         open
8906
8907 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8908
8909         * many files: Add insetwrap.
8910
8911 2002-09-09  John Levon  <levon@movementarian.org>
8912
8913         * text2.C: remove confusing and awkward depth wraparound
8914
8915 2002-09-09  John Levon  <levon@movementarian.org>
8916
8917         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8918
8919         * buffer.h:
8920         * buffer.C: remove getIncludeonlyList()
8921
8922         * paragraph.C:
8923         * lyxfunc.C: remove headers
8924
8925 2002-09-09  Juergen Vigna  <jug@sad.it>
8926
8927         * text.C (getColumnNearX): fix form Michael this is most
8928         probably a cut&paste bug.
8929
8930 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8931
8932         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8933
8934         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8935         references, ws changes.
8936
8937         * text2.C (init): update counters after init
8938         (insertParagraph): no need to set counter on idividual paragraphs.
8939         (setCounter): access the counters object in the textclass object
8940         on in the buffer object.
8941         (updateCounters): ditto
8942
8943         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8944         shared_ptr<Counters> to avoid loading counters.h in all
8945         compilation units.
8946         (LyXTextClass): initialize ctrs_
8947         (TextClassTags): add TC_COUNTER, and ...
8948         (Read): use it here.
8949         (CounterTags): new tags
8950         (readCounter): new function
8951         (counters): new funtion
8952         (defaultLayoutName): return a const reference
8953
8954         * counters.C (Counters): remove contructor
8955         (newCounter): remove a couple of unneeded statements.
8956         (newCounter): simplify a bit.
8957         (numberLabel): some small formatting changes.
8958
8959         * buffer.[Ch]: remove all traces of counters, move the Counters
8960         object to the LyXTextClass.
8961
8962 2002-09-06  Alain Castera  <castera@in2p3.fr>
8963
8964         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8965         package to set the horizontal alignment on fixed width columns.
8966
8967         * lyx_sty.C:
8968         * lyx_sty.h: added tabularnewline macro def.
8969
8970         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8971
8972 2002-09-06  John Levon  <levon@movementarian.org>
8973
8974         * LyXAction.C: tooltips for sub/superscript
8975
8976         * MenuBackend.C: a bit more verbose
8977
8978         * lyxfunc.C: tiny clean
8979
8980         * undo_funcs.C: document undo_frozen
8981
8982 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8983
8984         * counters.C (Counters): add missing algorithm counter.
8985
8986         * text2.C (setCounter): lookup the counter with layouts latexname
8987         instead of by section number.
8988         (setCounter): use a hackish way to lookup the correct enum
8989         counter.
8990         a float name->type change
8991         reset enum couners with counter name directly instead of depth value.
8992
8993         * counters.C (Counters): remove the push_backs, change to use the
8994         float type not the float name.
8995         (labelItem): remove unused string, float name->type change
8996
8997         * counters.h: don't include vector, loose the enums and sects vectors
8998
8999 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9000
9001         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9002         (Read): add float->TC_FLOAT to textclassTags
9003         (Read): and handle it in the switch
9004         (readFloat): new function
9005
9006         * FloatList.C (FloatList): comment out the hardcoded float
9007         definitions.
9008
9009         * lyxlayout.h: ws change.
9010
9011 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9012
9013         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9014
9015 2002-09-03  Angus Leeming  <leeming@lyx.org>
9016
9017         * BufferView_pimpl.h: qualified name is not allowed in member
9018         declaration: WorkArea & Pimpl::workarea() const;
9019
9020         * factory.C: added using std::endl directive.
9021
9022         * text3.C: added using std::find and std::vector directives.
9023
9024 2002-08-29  André Pönitz <poenitz@gmx.net>
9025
9026         * lyxtext.h:
9027         * text2.C: remove unused member number_of_rows
9028
9029         * Makefile.am:
9030         * BufferView2.C: remove file, move contents to...
9031         * BufferView.C: ... here
9032
9033         * BufferView_pimpl.C:
9034         * factory.C: move more inset creation to factory
9035
9036         * vspace.C: avoid direct usage of LyXText, ws changes
9037
9038         * BufferView.[Ch]:
9039                 don't provide direct access to WorkArea, use two simple
9040                 acessors haveSelction() and workHeight() instead
9041
9042
9043 2002-08-29  John Levon  <levon@movementarian.org>
9044
9045         * BufferView_pimpl.C (dispatch): do not continue when
9046           no buffer
9047
9048 2002-08-28  André Pönitz <poenitz@gmx.net>
9049
9050         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9051
9052         * BufferView.h:
9053         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9054
9055 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9056
9057         * buffer.C: increment LYX_FORMAT to 221
9058
9059         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9060         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9061
9062         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9063
9064         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9065
9066 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9067
9068         * factory.C (createInset): use LyXTextClass::floats
9069
9070         * MenuBackend.C (expandFloatListInsert):
9071         (expandFloatInsert):
9072         (expandToc):
9073
9074         * text2.C (setCounter):
9075
9076         * LaTeXFeatures.C (useFloat):
9077         (getFloatDefinitions):
9078
9079         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9080
9081         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9082         floatlist_, with accessor floats().
9083
9084         * FloatList.h: remove global FloatList
9085
9086 2002-08-26  André Pönitz <poenitz@gmx.net>
9087
9088         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9089
9090         * BufferView.h:
9091         * BufferView2.C:
9092         * BufferView_pimpl.C:
9093         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9094
9095 2002-08-25  John Levon  <levon@movementarian.org>
9096
9097         * LyXAction.C: fix margin note description
9098
9099 2002-08-24  John Levon  <levon@movementarian.org>
9100
9101         * buffer.C:
9102         * bufferlist.C:
9103         * bufferview_funcs.C:
9104         * lyxfont.C:
9105         * undo_funcs.C: cleanups
9106
9107         * lyxfunc.C: disable CUT/COPY when no selection
9108
9109 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9110
9111         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9112         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9113
9114         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9115         Add backward compatibility to "mono", "gray" and "no".
9116
9117 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9118
9119         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9120         (and file_format >= 200).
9121
9122 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9123
9124         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9125
9126 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9127
9128         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9129
9130 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9131
9132         * BufferView_pimpl.C:
9133         * LyXAction.C:
9134         * buffer.C:
9135         * commandtags.h:
9136         * lyxfunc.C:
9137         * paragraph.[Ch]:
9138         * text2.C:
9139         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9140         inset and code to make it  work with the paragraph code. The inset
9141         can be anywhere in the paragraph, but will only do the expected
9142         thing in LaTeX if the layout file contains the parameter line
9143                         OptionalArgs    1
9144         (or more generally, a nonzero value) for that layout.
9145
9146 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9147
9148         * paragraph.h: remove the declaration of undefined counters class
9149         function.
9150
9151 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9152
9153         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9154         Dr. Richard Hawkins.
9155
9156 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9157
9158         * paragraph_funcs.h: remove some unneeded includes
9159
9160         * text.C (backspace): pasteParagraph now in global scipe
9161
9162         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9163         (pasteSelection): ditto
9164
9165         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9166         * paragraph_funcs.C (pasteParagraph): ... here
9167
9168 2002-08-20  André Pönitz <poenitz@gmx.net>
9169
9170         * commandtags.h: new LFUNs for swapping/copying table row/colums
9171
9172         * LyXAction.C:
9173         * lyxfunc.C: support for new lfuns
9174
9175 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9176
9177         * tabular.C:
9178         * buffer.[Ch]: remove NO_COMPABILITY stuff
9179
9180 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9181
9182         * boost.C (throw_exception): new file, with helper function for
9183         boost compiled without exceptions.
9184
9185         * paragraph.h:
9186         * lyxlength.C:
9187         * buffer.C:
9188         * ParameterStruct.h:
9189         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9190
9191         * bufferlist.C (emergencyWriteAll): use boost bind
9192
9193         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9194
9195         * text.C: include paragraph_funcs.h
9196         (breakParagraph): breakParagraph is now in global scope
9197
9198         * paragraph_funcs.[Ch]: new files
9199
9200         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9201         global scope
9202
9203         * buffer.C: include paragraph_funcs.h
9204         (insertStringAsLines): breakParagraph is now in global scope
9205
9206         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9207         paragraph_funcs.C
9208
9209         * CutAndPaste.C: include paragraph_funcs.h
9210         (cutSelection): breakParagraphConservative is now in global scope
9211         (pasteSelection): ditto
9212
9213         * buffer.h: declare oprator== and operator!= for
9214         Buffer::inset_iterator
9215
9216         * bufferlist.C (emergencyWrite): don't use fmt(...)
9217
9218         * text3.C: add using std::endl
9219
9220         * BufferView.C (moveCursorUpdate): remove default arg
9221
9222 2002-08-20  André Pönitz <poenitz@gmx.net>
9223
9224         * buffer.[Ch]: move inline functions to .C
9225
9226         * BufferView2.C:
9227         * BufferView_pimpl.C:
9228         * text.C:
9229         * buffer.[Ch]: use improved inset_iterator
9230
9231         * buffer.C:
9232         * paragraph.[Ch]: write one paragraph at a time
9233
9234 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9235
9236         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9237         style if style is not specified.
9238
9239 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9240
9241         * text2.C (setCounter): when searching for right label for a
9242         caption, make sure to recurse to parent insets (so that a caption
9243         in a minipage in a figure float works) (bug #568)
9244
9245 2002-08-20  André Pönitz <poenitz@gmx.net>
9246
9247         * text3.C: new file for LyXText::dispatch() and helpers
9248
9249         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9250
9251         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9252
9253 2002-08-19  André Pönitz <poenitz@gmx.net>
9254
9255         * lyxtext.h:
9256         * text.C: new LyXText::dispatch()
9257
9258         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9259
9260 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9261
9262         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9263
9264         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9265         Hebrew text.
9266
9267 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9268
9269         * Makefile.am: use $(variables) instead of @substitutions@
9270
9271 2002-08-15  André Pönitz <poenitz@gmx.net>
9272
9273         * lyxfunc.C:
9274         * BufferView_pimpl.C: streamlining mathed <-> outer world
9275         interaction
9276
9277         * commandtags.h:
9278         * LyXAction.C: remove unused LFUN_MATH
9279
9280 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9281
9282         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9283
9284 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9285
9286         * paragraph.C (Paragraph): reformat a bit
9287         (cutIntoMinibuffer): use builtin InsetList function instad of
9288         doing it manually.
9289         (getInset): ditto
9290
9291         * buffer.C: include boost/bind.hpp, add using std::for_each
9292         (writeFileAscii): use ParagraphList iterators
9293         (validate): use for_each for validate traversal of paragraphs
9294         (getBibkeyList): use ParagraphList iterators
9295         (resizeInsets): use for_each to resizeInsetsLyXText for all
9296         paragraphs.
9297         (getParFromID): use ParagraphList iterators
9298
9299         * BufferView2.C (lockInset): use paragraph list and iterators
9300
9301 2002-08-14  John Levon  <levon@movementarian.org>
9302
9303         * lyxserver.C: remove spurious xforms include
9304
9305 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9306
9307         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9308
9309 2002-08-13  André Pönitz <poenitz@gmx.net>
9310
9311         * LyXAction.[Ch]:
9312         * lyxfunc.C: further cleaning
9313
9314 2002-08-13  André Pönitz <poenitz@gmx.net>
9315
9316         * funcrequest.h: new constructor
9317
9318         * funcrequest.C: move stuff here from .h
9319
9320         * Makefile.am:
9321         * BufferView_pimpl.C:
9322         * LyXAction.C:
9323         * toc.C:
9324         * lyxfunc.C: subsequent changes
9325
9326         * lyxfunc.h: new view() member function
9327
9328         * lyxfunc.C: subsequent changes
9329
9330 2002-08-13  Angus Leeming  <leeming@lyx.org>
9331
9332         * BufferView2.C:
9333         * BufferView_pimpl.C:
9334         * buffer.C:
9335         * converter.C:
9336         * importer.C:
9337         * lyxfunc.C:
9338         * lyxvc.C:
9339         * toc.C:
9340         * vc-backend.C:
9341         changes due to the changed LyXView interface that now returns references
9342         to member variables not pointers.
9343
9344 2002-08-13  Angus Leeming  <leeming@lyx.org>
9345
9346         * WordLangTuple (word, lang_code): return references to strings,
9347         not strings.
9348
9349         * BufferView.h:
9350         * SpellBase.h:
9351         * lyxtext.h: forward-declare WordLangTuple.
9352
9353         * BufferView2.C:
9354         * ispell.C:
9355         * pspell.C:
9356         * text.C: #include "WordLangTuple.h".
9357
9358         * lyxtext.h:
9359         * text.C: (selectNextWordToSpellcheck): constify return type.
9360
9361 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9362
9363         * buffer.C:
9364         * buffer.h:
9365         * lyxtext.h:
9366         * paragraph.C:
9367         * paragraph_pimpl.h:
9368         * text.C:
9369         * text2.C:
9370         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9371         suggested by Angus.
9372         Made updateCounter always count from start of buffer, and removed
9373         second argument (par).
9374         Reverted floats number display to '#'. Perhaps I'll try again when the
9375         code base is sanitized a bit.
9376
9377 2002-08-12  Angus Leeming  <leeming@lyx.org>
9378
9379         * buffer.[Ch] (getLabelList): constify.
9380
9381 2002-08-07  André Pönitz <poenitz@gmx.net>
9382
9383         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9384
9385         * funcrequest.h: extension to keep mouse (x,y) position
9386
9387 2002-08-12  Juergen Vigna  <jug@sad.it>
9388
9389         * BufferView2.C (insertErrors): forbid undo when inserting error
9390         insets.
9391
9392         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9393
9394 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9395
9396         * ParagraphList.[Ch]: new files
9397
9398         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9399
9400         * BufferView2.C (lockInset): ParagraphList changes
9401         * toc.C: ditto
9402         * text2.C: ditto
9403         * bufferlist.C: ditto
9404         * buffer.h: ditto
9405         * buffer.C: ditto
9406
9407 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9408
9409         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9410         unused class variable counter_,
9411
9412         * paragraph.[Ch] (getFirstCounter): delete unused function
9413
9414         * counters.C: include LAssert.h
9415         (reset): add a new function with no arg, change other version to
9416         not have def. arg and to not allow empty arg.
9417
9418         * text2.C (setCounter): remove empty arg from call to Counters::reset
9419
9420 2002-08-11  John Levon  <levon@movementarian.org>
9421
9422         * Makefile.am: add WordLangTuple.h
9423
9424 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9425
9426         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9427         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9428
9429         * insets/insettext.C: InsetList changes
9430
9431         * graphics/GraphicsSupport.C (operator()): InsetList changes
9432
9433         * toc.C (getTocList): InsetList changes
9434
9435         * paragraph_pimpl.[Ch]: InsetList changes
9436
9437         * paragraph.[Ch]: InsetList changes
9438
9439         * buffer.C (inset_iterator): InsetList changes
9440         (setParagraph): ditto
9441         * buffer.h (inset_iterator): ditto
9442         * iterators.C (operator++): ditto
9443         * iterators.h: ditto
9444
9445         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9446
9447         * InsetList.[Ch]: new files, most InsetList handling moved out of
9448         paragraph.C.
9449
9450         * BufferView2.C (removeAutoInsets): InsetList changes
9451         (lockInset): ditto
9452         (ChangeInsets): ditto
9453
9454 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9455
9456         * paragraph_pimpl.h (empty): new function
9457
9458         * paragraph.[Ch] (empty): new function
9459
9460         * other files: use the new Paragraph::empty function
9461
9462 2002-08-09  John Levon  <levon@movementarian.org>
9463
9464         * lyxtext.h: remove unused refresh_height
9465
9466 2002-08-09  John Levon  <levon@movementarian.org>
9467
9468         * Makefile.am:
9469         * sgml.h:
9470         * sgml.C:
9471         * buffer.C:
9472         * paragraph.h:
9473         * paragraph.C: move sgml char escaping out of paragraph
9474
9475         * paragraph.h:
9476         * paragraph.C: remove id setter
9477
9478         * buffer.C:
9479         * paragraph.C:
9480         * paragraph_pimpl.C: remove dead tex_code_break_column
9481
9482         * bufferview_funcs.C: small cleanup
9483
9484         * lyxfunc.C: remove dead proto
9485
9486         * lyxtext.h: make some stuff private. Remove some dead stuff.
9487
9488         * lyxgluelength.C: make as[LyX]String() readable
9489
9490 2002-08-08  John Levon  <levon@movementarian.org>
9491
9492         * LyXAction.h:
9493         * LyXAction.C:
9494         * MenuBackend.C:
9495         * ToolbarDefaults.C:
9496         * lyxfunc.C:
9497         * lyxrc.C:
9498         * toc.C: lyxaction cleanup
9499
9500 2002-08-08  John Levon  <levon@movementarian.org>
9501
9502         * BufferView2.C: small cleanup
9503
9504         * lyxfind.h:
9505         * lyxfind.C: move unnecessary header into the .C
9506
9507 2002-08-08  John Levon  <levon@movementarian.org>
9508
9509         * funcrequest.h: just tedious nonsense
9510
9511         * lyx_main.h:
9512         * lyx_main.C: cleanups
9513
9514         * buffer.C:
9515         * vspace.C: remove dead header lyx_main.h
9516
9517 2002-08-07  Angus Leeming  <leeming@lyx.org>
9518
9519         * Paragraph.[Ch]:
9520         * paragraph_pimpl.h:
9521         Forward declare class Counters in paragraph.h by moving the ctrs member
9522         variable into Paragraph::Pimpl.
9523         (counters): new method, returning a reference to pimpl_->ctrs.
9524
9525         * text2.C: ensuing changes.
9526
9527 2002-08-07  John Levon  <levon@movementarian.org>
9528
9529         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9530
9531         * BufferView_pimpl.C: announce X selection on double/triple
9532           click
9533
9534         * lyx_main.C: use correct bool in batch dispatch
9535
9536         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9537
9538 2002-08-07  André Pönitz <poenitz@gmx.net>
9539
9540         * funcrequest.h: new class to wrap a kb_action and its argument
9541
9542         * BufferView.[Ch]:
9543         * BufferView_pimpl[Ch]:
9544         * LaTeX.C:
9545         * LyXAction.[Ch]:
9546         * lyxfunc.[Ch]:
9547         * lyxrc.C: subsequent changes
9548
9549
9550 2002-08-07  John Levon  <levon@movementarian.org>
9551
9552         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9553           document options change.
9554
9555 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9556
9557         * counters.[Ch]
9558         * text2.C
9559         * paragraph.[Ch]
9560         * makefile.am: move counters functionality over from
9561         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9562
9563 2002-08-06  John Levon  <levon@movementarian.org>
9564
9565         * WordLangTuple.h: new file for word + language code tuple
9566
9567         * SpellBase.h:
9568         * pspell.h:
9569         * pspell.C:
9570         * ispell.h:
9571         * ispell.C:
9572         * lyxtext.h:
9573         * text.C:
9574         * text2.C:
9575         * BufferView.h:
9576         * BufferView2.C: use WordLangTuple
9577
9578         * layout.h:
9579         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9580
9581 2002-08-06  John Levon  <levon@movementarian.org>
9582
9583         * lyx_main.C: fix cmdline batch handling
9584
9585 2002-08-06  André Pönitz <poenitz@gmx.net>
9586
9587         * lyxrc.C: set default for show_banner to true
9588
9589 2002-08-06  John Levon  <levon@movementarian.org>
9590
9591         * pspell.C: fix a crash, and allow new aspell to work
9592
9593 2002-08-06  John Levon  <levon@movementarian.org>
9594
9595         * lyxfunc.C:
9596         * kbmap.C: small cleanup
9597
9598         * vspace.h:
9599         * vspace.C: add const
9600
9601 2002-08-05  John Levon  <levon@movementarian.org>
9602
9603         * LyXAction.C: back to tabular-insert
9604
9605 2002-08-04  John Levon  <levon@movementarian.org>
9606
9607         * BufferView.h:
9608         * BufferView.C: cosmetic change
9609
9610         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9611
9612         * bufferlist.C:
9613         * buffer.h:
9614         * buffer.C:
9615         * lyxcb.h:
9616         * lyxcb.C:
9617         * lyxserver.C:
9618         * lyxvc.C:
9619         * vc-backend.C:
9620         * BufferView2.C: purge all "Lyx" not "LyX" strings
9621
9622         * lyxcursor.h:
9623         * lyxcursor.C: attempt to add some documentation
9624
9625         * lyxfunc.C:
9626         * commandtags.h:
9627         * LyXAction.C:
9628         * ToolbarDefaults.C:
9629         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9630           merge with LFUN_TABULAR_INSERT
9631
9632         * Makefile.am:
9633         * SpellBase.h:
9634         * ispell.h:
9635         * ispell.C:
9636         * pspell.h:
9637         * pspell.C: split up i/pspell implementations into separate
9638           files, many cleanups
9639
9640         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9641
9642         * text2.C: some cleanup
9643
9644         * lyxfunc.C: don't check for isp_command == "none" any more, it
9645           didn't make any sense
9646
9647 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9648
9649         * counters.[Ch]
9650         * text2.C
9651         * paragraph.[Ch]
9652         * makefile.am: move counters functionality over
9653         from text2.C/paragraph.[Ch] to counters.[Ch], and
9654         make proper C++.
9655 2002-08-02  John Levon  <levon@movementarian.org>
9656
9657         * buffer.C: s/lyxconvert/lyx2lyx/
9658
9659 2002-08-02  Angus Leeming  <leeming@lyx.org>
9660
9661         * lyxlex.C: revert John's change as it breaks reading of the user
9662         preamble.
9663
9664 2002-08-02  Angus Leeming  <leeming@lyx.org>
9665
9666         * importer.C (Import):
9667         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9668         changes due to LyXView::view() now returning a boost::shared_ptr.
9669
9670 2002-08-02  John Levon  <levon@movementarian.org>
9671
9672         * lyxlex.C: small cleanup
9673
9674 2002-08-02  John Levon  <levon@movementarian.org>
9675
9676         * text2.C (status): small cleanup, no logic change
9677
9678 2002-08-01  John Levon  <levon@movementarian.org>
9679
9680         * buffer.h:
9681         * buffer.C (writeFile): don't output alerts, caller
9682           handles this
9683
9684         * bufferlist.C:
9685         * lyx_cb.C: from above
9686
9687         * lyxfunc.C: allow to open non-existent files
9688
9689 2002-07-31  John Levon  <levon@movementarian.org>
9690
9691         * lyxserver.C: don't let incidental errors get
9692           in the way (errno)
9693
9694 2002-07-30  John Levon  <levon@movementarian.org>
9695
9696         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9697
9698 2002-07-30  John Levon  <levon@movementarian.org>
9699
9700         * lyxserver.h:
9701         * lyxserver.C: remove I/O callback too
9702
9703 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9704
9705         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9706         log.
9707
9708 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9709
9710         * many files: strip,frontStrip -> trim,ltrim,rtrim
9711
9712 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9713
9714         * PrinterParams.h: remove extern containsOnly, and include
9715         support/lstrings.h instead.
9716
9717         * LaTeX.C (scanAuxFile): modify because of strip changes
9718         (deplog): ditto
9719         * buffer.C (makeLaTeXFile): ditto
9720         * bufferparams.C (writeFile): ditt
9721         * lyxfont.C (stateText): ditto
9722         * lyxserver.C (read_ready): ditto
9723         * vc-backend.C (scanMaster): ditto
9724
9725         * BufferView_pimpl.h: ws changes
9726
9727         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9728
9729 2002-07-26  André Pönitz <poenitz@gmx.net>
9730
9731         * kb_sequence.C: remove unnedred usings
9732
9733 2002-07-26  Juergen Vigna  <jug@sad.it>
9734
9735         * lyxfind.C (LyXReplace): we have to check better if the returned
9736         text is not of theLockingInset()->getLockingInset().
9737
9738 2002-07-25  Juergen Vigna  <jug@sad.it>
9739
9740         * lyxfind.C (LyXReplace): don't replace if we don't get the
9741         right LyXText.
9742
9743         * undo_funcs.C (createUndo): remove debugging code.
9744
9745 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9746
9747         * buffer.C (parseSingleLyXformat2Token): Use default placement
9748         when reading old floats.
9749
9750         * FloatList.C (FloatList): Change the default placement of figure
9751         and tables to "tbp".
9752
9753 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9754
9755         * MenuBackend.C: using std::max
9756
9757 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9758
9759         * MenuBackend.C (expandToc):
9760         (expandToc2): code moved from xforms menu frontend. It is now
9761         generic and TOCs are transparent to menu frontends.
9762
9763 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9764
9765         * toc.C (getTocList): protect against buf=0
9766
9767         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9768         Menu as first parameter. Now, this calls itself recursively to
9769         expand a whole tree (this will be useful for TOC handling)
9770         (expandFloatInsert): remove 'wide' version of floats
9771
9772         * MenuBackend.h (submenuname): returns the name of the submenu.
9773         (submenu): returns the submenu itself, provided it has been
9774         created by MenuBackend::expand
9775
9776 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9777
9778         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9779         insets which have noFontChange == true. (bug #172)
9780
9781 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9782
9783         * BufferView_pimpl.C: add connection objects and use them...
9784         (Pimpl): here.
9785
9786 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9787
9788         * MenuBackend.C (expandLastfiles):
9789         (expandDocuments):
9790         (expandFormats):
9791         (expandFloatListInsert):
9792         (expandFloatInsert):
9793         (expand): split expand in parts
9794
9795 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9796
9797         * lyx_gui.C: use lyx_gui::exit()
9798
9799 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9800
9801         * LyXAction.C: show the failing pseudo action
9802
9803 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9804
9805         * buffer.C (readFile): Run the lyxconvert script in order to read
9806         old files.
9807
9808 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9809
9810         * LyXAction.C:
9811         * commandtags.h:
9812         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9813
9814 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9815
9816         * LyXAction.C:
9817         * commandtags.h:
9818         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9819
9820 2002-07-22  Herbert Voss  <voss@lyx.org>
9821
9822         * lengthcommon.C:
9823         * lyxlength.[Ch]: add support for the vertical lengths
9824
9825 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9826
9827         * toc.[Ch]: std:: fixes
9828
9829 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9830
9831         * lyxrc.C: do not include lyx_main.h
9832
9833         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9834         for layouts
9835
9836         * lyxrc.C:
9837         * encoding.C:
9838         * bufferlist.C:
9839         * BufferView2.C: include "lyxlex.h"
9840
9841         * tabular.h:
9842         * bufferparams.h: do not #include "lyxlex.h"
9843
9844         * lyxtextclasslist.C (Add): remove method
9845         (classlist): renamed to classlist_
9846
9847         * paragraph_pimpl.C:
9848         * paragraph.C:
9849         * text2.C:
9850         * CutAndPaste.C:
9851         * bufferview_funcs.C:
9852         * bufferlist.C:
9853         * text.C:
9854         * LaTeXFeatures.C:
9855         * buffer.C:
9856         * toc.C (getTocList): use BufferParams::getLyXTextClass
9857
9858         * toc.C (getTocList): use InsetFloat::addToToc
9859
9860         * toc.[Ch]: new files, containing helper functions to handle table
9861         of contents
9862
9863         * lyxfunc.C (dispatch): no need to remove spaces around command
9864         given as a string
9865         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9866         first command of the sequence; it is not very clever, but I do not
9867         have a better idea, actually
9868
9869         * LyXAction.C (LookupFunc): make sure to remove space at the
9870         beginning and end of the command
9871
9872 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9873
9874         * MenuBackend.C (getMenubar): new method: return the menubar of
9875         this menu set
9876         (read): treat differently reading of menu and menubar (in
9877         particular, the menubar has no name now)
9878         (Menu::menubar): remove
9879
9880         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9881         saving is finished
9882
9883 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9884
9885         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9886         a bibitem inset in a RTL paragraph.
9887
9888 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9889
9890         * paragraph_pimpl.C: constify
9891
9892         * BufferView_pimpl.C:
9893         * LaTeX.C:
9894         * lyxfunc.C: fix dispatch in a nicer way
9895
9896 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9897
9898         * lyxfunc.C (dispatch):
9899         * BufferView_pimpl.C:
9900         * BufferView_pimpl.h:
9901         * BufferView.C:
9902         * BufferView.h: rename Dispatch() to dispatch()
9903
9904         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9905
9906         * lyxlayout.C (Read): honor DependsOn tag
9907
9908         * lyxlayout.[Ch] (depends_on): new method
9909
9910         * version.C.in: update lyx_docversion
9911
9912         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9913
9914         * paragraph.C (validate): remove from here...
9915         * paragraph_pimpl.C (validate): ... and move here
9916         (isTextAt): make it const
9917
9918         * buffer.C (getLists): ws cleanup
9919
9920 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9921
9922         * language.C (read): Use iso8859-1 encoding in latex_lang
9923         (this prevents LyX from crashing when using iso10646-1 encoding).
9924
9925 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9926
9927         * text2.C (toggleInset): if cursor is inside an inset, close the
9928         inset and leave cursor _after_ it
9929
9930 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9931
9932         * lyxfunc.C: move minibuffer completion handling out of here
9933
9934 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9935
9936         * BufferView_pimpl.C:
9937         * LaTeX.C: fix dispatch calls
9938
9939 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9940
9941         * text.C (drawChars): Fix Arabic text rendering.
9942
9943 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9944
9945         * LyXAction.C:
9946         * commandtags.h:
9947         * lyxfunc.C: remove message-push/pop
9948
9949         * lyxserver.C:
9950         * lyxfunc.h:
9951         * lyxfunc.C: rationalise some code by removing verboseDispatch
9952           in favour of a bool argument to dispatch()
9953
9954 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9955
9956         * lyx_main.C (init): make sure to read symlinks as absolute paths
9957
9958 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9959
9960         * lyxfunc.h:
9961         * lyxfunc.C: no need for commandshortcut to be a member
9962
9963 2002-07-15  André Pönitz <poenitz@gmx.net>
9964
9965         * converter.C: add support for $$s (scripts from lib/scripts dir)
9966         * lyx_main.C: white space
9967
9968 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9969
9970         * bufferlist.C:
9971         * lyxrc.h:
9972         * lyxrc.C: remove second exit confirmation
9973
9974 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9975
9976         * BufferView.h:
9977         * BufferView.C:
9978         * BufferView2.C:
9979         * BufferView_pimpl.h:
9980         * BufferView_pimpl.C:
9981         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9982
9983 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9984
9985         * MenuBackend.C (expand): add numeric shortcuts to document menu
9986
9987         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9988
9989 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9990
9991         * lyxfont.C (setLyXFamily):
9992         (setLyXSeries):
9993         (setLyXShape):
9994         (setLyXSize):
9995         (setLyXMisc):
9996         (lyxRead):
9997         * debug.C (value):
9998         * buffer.C (asciiParagraph): use ascii_lowercase
9999
10000 2002-07-15  Mike Fabian  <mfabian@suse.de>
10001
10002         * lyxlex_pimpl.C (search_kw):
10003         * lyxlex.C (getLongString):
10004         * converter.h (operator<):
10005         * converter.C (operator<):
10006         * buffer.C (parseSingleLyXformat2Token):
10007         (asciiParagraph):
10008         * ToolbarDefaults.C (read):
10009         * MenuBackend.C (checkShortcuts):
10010         (read):
10011         * LColor.C (getFromGUIName):
10012         (getFromLyXName): use the compare_ascii_no_case instead of
10013         compare_no_case, because in turkish, 'i' is not the lowercase
10014         version of 'I', and thus turkish locale breaks parsing of tags.
10015
10016 2002-07-16  Angus Leeming  <leeming@lyx.org>
10017
10018         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10019         now takes a Buffer const & argument.
10020
10021 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10022
10023         * BufferView.C (resize): check there's a buffer to resize
10024
10025 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10026
10027         * lyxfunc.C: remove dead code
10028
10029         * lyxserver.h:
10030         * lyxserver.C: use lyx_guii::set_read_callback
10031
10032 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10033
10034         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10035         an inset in a RTL paragraph.
10036
10037 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10038
10039         * lyxfunc.C: repaint after a font size update
10040
10041 2002-07-15  André Pönitz <poenitz@gmx.net>
10042
10043         * lyxlength.C: inBP should be able to return negative values
10044
10045 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10046
10047         * lyxfunc.C: use lyx_gui::update_fonts()
10048
10049 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10050
10051         * lyxfunc.C: use lyx_gui::update_color()
10052
10053 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10054
10055         * bufferlist.C:
10056         * lyxfunc.h:
10057         * lyxfunc.C:
10058         * lyxrc.h:
10059         * lyxrc.C: remove file->new asks for name option, and let
10060           buffer-new take an argument
10061
10062 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10063
10064         * BufferView_pimpl.C: remove unneeded extra repaint()
10065
10066 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10067
10068         * LyXAction.C: allow command-sequence with NoBuffer
10069
10070         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10071
10072 2002-07-10  Angus Leeming  <leeming@lyx.org>
10073
10074         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10075
10076 2002-07-09  Angus Leeming  <leeming@lyx.org>
10077
10078         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10079
10080 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10081
10082         * lengthcommon.h: whitespace
10083
10084         * lyxfunc.C: update scrollbar after goto paragraph
10085
10086         * lyxtext.h: factor out page break drawing, and fix it so
10087           page break/added space paints as selected nicely
10088
10089 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10090
10091         * BufferView_pimpl.C: add FIXMEs, clean up a little
10092
10093 2002-07-09  André Pönitz <poenitz@gmx.net>
10094
10095         * lyxfont.[Ch]: support for wasy symbols
10096
10097 2002-07-08  André Pönitz <poenitz@gmx.net>
10098
10099         * BufferView_pimpl.C: apply John's patch for #93.
10100
10101 2002-07-05  Angus Leeming  <leeming@lyx.org>
10102
10103         * BufferView_pimpl.C (buffer): generate previews if desired.
10104
10105         * LColor.h: add "preview" to the color enum.
10106
10107         * LColor.C (LColor): add a corresponding entry to the items array.
10108
10109         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10110         with this buffer.
10111
10112 2002-07-05  Angus Leeming  <leeming@lyx.org>
10113
10114         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10115         The body of the code is now in the method that is passed an ostream &
10116         rather than a file name.
10117         Pass an additional only_preamble parameter, useful for the forthcoming
10118         preview stuff.
10119
10120 2002-07-03  André Pönitz <poenitz@gmx.net>
10121
10122         * lyxfunc.C: simplify getStatus() a bit for math stuff
10123
10124 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10125
10126         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10127
10128 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10129
10130         * text.C (changeRegionCase): do not change case of all the
10131         document when region ends at paragraph end (bug #461)
10132
10133 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10134
10135         * paragraph.C (startTeXParParams):
10136         (endTeXParParams): add \protect when necessary
10137
10138 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10139
10140         * BufferView_pimpl.C (workAreaExpose): remove warning
10141
10142 2002-06-27  Angus Leeming  <leeming@lyx.org>
10143
10144         * Makefile.am: add lyxlayout_ptr_fwd.h.
10145
10146 2002-06-26  André Pönitz <poenitz@gmx.net>
10147
10148         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10149
10150 2002-06-25  Angus Leeming  <leeming@lyx.org>
10151
10152         * lyxfunc.C (dispatch): Comment out the call to
10153         grfx::GCache::changeDisplay. The method no longer exists now that the
10154         pixmap generation part of the graphics loader has been moved into
10155         InsetGraphics.
10156
10157 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10158
10159         * text2.C: layout as layout
10160
10161         * text.C: layout as layout
10162
10163         * tabular.C (OldFormatRead): layout as layout
10164
10165         * paragraph_pimpl.C (TeXDeeper): layout as layout
10166         (realizeFont): layout as layout
10167
10168         * paragraph.C (writeFile): layout as layout
10169         (validate): layout as layout
10170         (getFont): layout as layout
10171         (getLabelFont): layout as layout
10172         (getLayoutFont): layout as layout
10173         (breakParagraph): layout as layout
10174         (stripLeadingSpaces): layout as layout
10175         (getEndLabel): layout as layout
10176         (getMaxDepthAfter): layout as layout
10177         (applyLayout): layout as layout
10178         (TeXOnePar): layout as layout
10179         (simpleTeXOnePar): layout as layout
10180         (TeXEnvironment): layout as layout
10181         (layout): layout as layout
10182         (layout): layout as layout
10183
10184         * lyxtextclass.C (compare_name): new functor to work with
10185         shared_ptr, layout as layout
10186         (Read): layout as layout
10187         (hasLayout): layout as layout
10188         (operator): layout as layout
10189         (delete_layout): layout as layout
10190         (defaultLayout): layout as layout
10191
10192         * lyxlayout_ptr_fwd.h: new file
10193
10194         * lyxlayout.C (Read): layout as layout
10195
10196         * lyx_cb.C (MenuInsertLabel): layout as layout
10197
10198         * bufferlist.C (newFile): layout as layout
10199
10200         * buffer.C (readLyXformat2): layout as layout
10201         (parseSingleLyXformat2Token): layout as layout
10202         (insertStringAsLines): layout as layout
10203         (asciiParagraph): layout as layout
10204         (latexParagraphs): layout as layout
10205         (makeLinuxDocFile): layout as layout
10206         (simpleLinuxDocOnePar): layout as layout
10207         (makeDocBookFile): layout as layout
10208         (simpleDocBookOnePar): layout as layout
10209         (getLists): layout as layout
10210
10211         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10212
10213         * CutAndPaste.C (cutSelection): layout as layout
10214         (pasteSelection): layout as layout
10215         (SwitchLayoutsBetweenClasses): layout as layout
10216
10217         * BufferView_pimpl.C (Dispatch): layout as layout
10218         (smartQuote): layout as layout
10219
10220         * BufferView2.C (unlockInset): layout as layout
10221
10222 2002-06-24  André Pönitz <poenitz@gmx.net>
10223
10224         * lyxfunc.C: fix #487
10225
10226 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10227
10228         * lyxrc.h:
10229         * lyxrc.C:
10230         * lyxfunc.C: remove display_shortcuts, show_banner
10231
10232 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10233
10234         * Buffer_pimpl.C: oops, update on resize
10235
10236 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10237
10238         * buffer.C:
10239         * converter.C:
10240         * exporter.C:
10241         * lyxfunc.C:
10242         * BufferView.h:
10243         * BufferView.C: use repaint()
10244
10245         * BufferView_pimpl.h:
10246         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10247           as it's a clearer description. Remove superfluous
10248           redraws.
10249
10250 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10251
10252         * text.C: fix bug 488. Not ideal, but getting
10253           getWord() to work properly for the insets that
10254           matter is more difficult ...
10255
10256 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10257
10258         * BufferView_pimpl.C:
10259         * LyXAction.C:
10260         * commandtags.h:
10261         * lyxfunc.C: remove the six million index lyxfuncs to just
10262           one, and DTRT (bug 458)
10263
10264 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10265
10266         * BufferView.h:
10267         * BufferView.C:
10268         * BufferView_pimpl.h:
10269         * BufferView_pimpl.C: clean up resize() stuff,
10270           and unnecessary updateScreen()s
10271
10272 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * BufferView.h:
10275         * BufferView.C:
10276         * BufferView_pimpl.h:
10277         * BufferView_pimpl.C:
10278         * lyxfind.h:
10279         * lyxfind.C:
10280         * minibuffer.C: remove focus management of workarea,
10281           not needed. Use screen's greyOut()
10282
10283 2002-06-17  Herbert Voss  <voss@lyx.org>
10284
10285         * converter.C: (convert) do not post a message, when converting
10286         fails, let the calling function decide what to do in this case
10287
10288 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10289
10290         * lyxfunc.C: tidy up a little
10291
10292 2002-06-16    <alstrup@diku.dk>
10293
10294         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10295         Got rid of FORMS_H_LOCATION include. Now we are
10296         GUII.
10297
10298 2002-06-15  LyX Development team  <lyx@rilke>
10299
10300         * buffer.[Ch] (sgmlOpenTag):
10301         (sgmlCloseTag): Added support for avoiding pernicious mixed
10302         content. Return number of lines written.
10303
10304         (makeLinuxDocFile):
10305         (makeDocBookFile): Fixed calls to sgml*Tag.
10306         Simple white space clean.
10307
10308         (simpleDocBookOnePar): Simple white space clean.
10309
10310         * tabular.[Ch] (docBook): Renamed to docbook and got another
10311         argument to related with the pernicious mixed content.
10312
10313         (docbookRow): Fixed calls for docbook inset method.
10314
10315 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10316
10317         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10318         so it's X11 independent.
10319
10320         * kb*.[Ch]: ditto.
10321
10322         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10323
10324 2002-06-15  Lyx Development team  <lyx@electronia>
10325
10326         * intl.h: Renamed getTrans to getTransManager.
10327
10328 2002-06-14  Angus Leeming  <leeming@lyx.org>
10329
10330         * Makefile.am: nuke forgotten stl_string_fwd.h.
10331
10332 2002-06-12  Angus Leeming  <leeming@lyx.org>
10333
10334         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10335
10336 2002-06-13  Angus Leeming  <leeming@lyx.org>
10337
10338         * LaTeX.C:
10339         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10340
10341 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10342
10343         * kbmap.C (getiso): add support for cyrillic and greek
10344
10345 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10346
10347         * BufferView.h:
10348         * BufferView.C:
10349         * BufferView_pimpl.h:
10350         * BufferView_pimpl.C: move bogus scrolling logic
10351           to xforms
10352
10353 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10354
10355         * lyxfunc.C:
10356         * BufferView_pimpl.C: view->resize() change
10357
10358 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10359
10360         * BufferView_pimpl.C: topCursorVisible
10361           prototype change
10362
10363 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10364
10365         * Makefile.am:
10366         * lyx_gui.h:
10367         * lyx_gui.C: move to frontends/
10368
10369         * main.C:
10370         * lyx_main.h:
10371         * lyx_main.C: changes from above
10372
10373 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10374
10375         * intl.C:
10376         * intl.h:
10377         * kbmap.C:
10378         * kbsequence.C:
10379         * lyx_cb.C:
10380         * lyx_main.C: minor tidy
10381
10382 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10383
10384         * BufferView_pimpl.h:
10385         * BufferView_pimpl.C:
10386         * BufferView.h:
10387         * BufferView.C: make painter() const,
10388           remove dead code
10389
10390         * BufferView2.C: use screen() accessor
10391
10392         * lyx_main.h:
10393         * lyx_main.C: some minor cleanup
10394
10395 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10396
10397         * BufferView_pimpl.h:
10398         * BufferView_pimpl.C: remove enter/leaveView,
10399           use workHeight()
10400
10401 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10402
10403         * BufferView.h:
10404         * BufferView.C:
10405         * BufferView2.C:
10406         * BufferView_pimpl.h:
10407         * BufferView_pimpl.C: only construct screen once,
10408           rename
10409
10410         * lyxrc.C: remove pointless comment
10411
10412 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10413
10414         * BufferView.h:
10415         * BufferView.C: remove active() and belowMouse()
10416
10417         * BufferView_pimpl.h:
10418         * BufferView_pimpl.C: use workarea() not workarea_,
10419           and make it use a scoped_ptr instead
10420
10421 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10422
10423         * lyx_gui.C: add debug message on BadWindow
10424
10425 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10426
10427         * sp_spell.C: fdopen is not part of the C++ standard.
10428
10429         * paragraph.C (InsetIterator): use >= instead of ==
10430
10431 2002-06-07  Angus Leeming  <leeming@lyx.org>
10432
10433         Fixes needed to compile with Compaq cxx 6.5.
10434         * BufferView_pimpl.C:
10435         * DepTable.C:
10436         * buffer.C:
10437         * converter.C:
10438         * encoding.C:
10439         * lyx_gui.C:
10440         * lyx_main.C:
10441         * lyxtextclasslist.C:
10442         * minibuffer.C:
10443         * sp_spell.C:
10444         * tabular_funcs.C:
10445         * vc-backend.C:
10446         all c-library variables have been moved into namespace std. Wrap
10447         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10448
10449         * lyxlength.C:
10450         * tabular-old.C:
10451         * tabular.C:
10452         Add a using std::abs declaration.
10453
10454         * kbmap.h (modifier_pair):
10455         * paragraph.h (InsetTable, InsetList):
10456         * lyxfont.h (FontBits):
10457         type definition made public.
10458
10459         * bufferlist.C (emergencyWriteAll): the compiler complains that
10460         there is more than one possible lyx::class_fun template to choose from.
10461         I re-named the void specialisation as lyx::void_class_fun.
10462
10463         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10464
10465         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10466         the compiler is is unable to find tostr in write_attribute.
10467
10468 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10469
10470         * buffer.C (sgmlError): hide #warning
10471
10472 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10473
10474         * xtl/*: get rid of xtl, which is not in use anyway
10475
10476         * LyXAction.C (init):
10477         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10478         were unimplemented xtl experimentation
10479
10480 2002-06-04  André Pönitz <poenitz@gmx.net>
10481
10482         * lyxfunc.C: disable array operation on simple formulae
10483
10484 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10485
10486         * converter.C: constify a bit
10487
10488 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10489
10490         * lyx_gui.C: check xforms version correctly
10491
10492 2002-04-30  Herbert Voss  <voss@lyx.org>
10493
10494         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10495         "keep" option
10496
10497 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10498
10499         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10500           attempt to register it with a VCS)
10501
10502 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10503
10504         * lyx_main.C (init): honor variables LYX_DIR_13x and
10505         LYX_USERDIR_13x
10506
10507 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10508
10509         * buffer.h:
10510         * buffer.C:
10511         * lyx_main.C: fix a crash on bad command line,
10512           and give a useful exit status on error
10513
10514         * lyxfunc.C (doImport): allow -i lyx to work
10515
10516 2002-03-30  André Pönitz <poenitz@gmx.net>
10517
10518         * lyxfunc.C: mathed font changes
10519
10520 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10521
10522         * LaTeX.C:
10523         * importer.h:
10524         * importer.C:
10525         * lyx_sty.h:
10526         * lyx_sty.C:
10527         * lyxlex.C:
10528         * lyxrow.h:
10529         * lyxtext.h:
10530         * paragraph.h:
10531         * paragraph.C:
10532         * texrow.h:
10533         * texrow.C:
10534         * text.C:
10535         * trans_mgr.h: srcdocs, and some minor cleanups
10536
10537 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10538
10539         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10540         call getFont all the time)
10541
10542 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10543
10544         * switch from SigC signals to boost::signals
10545
10546 2002-05-29  André Pönitz <poenitz@gmx.net>
10547
10548         * paragraph_pimpl.C (getChar): don't call size() too often...
10549
10550 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10551
10552         * paragraph_pimpl.C (insertChar): do not try to update tables when
10553         appending (pos == size())
10554
10555         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10556         in order to reduce drastically the number of comparisons needed to
10557         parse a large document
10558
10559 2002-05-29  André Pönitz <poenitz@gmx.net>
10560
10561         * text.C:
10562         * text2.C:
10563         * lyxtextclass.C:
10564         * sp_pspell.h:
10565         * textclasslist.[Ch]:
10566         * sp_ispell.h: whitespace change
10567
10568 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10569
10570         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10571         lyxaction directly now.
10572
10573 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10574
10575         * trans.C:
10576         * lyxfont.C:
10577         * lyxvc.C: remove unused headers
10578
10579 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10580
10581         * Makefile.am:
10582         * buffer.h:
10583         * undostack.h:
10584         * undostack.C:
10585         * undo_funcs.h:
10586         * undo_funcs.C: some cleanups. Use shared_ptr
10587           and a template for the undo stacks.
10588
10589 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10590
10591         * BufferView_pimpl.h:
10592         * BufferView_pimpl.C:
10593         * kbmap.h:
10594         * kbmap.C:
10595         * kbsequence.h:
10596         * kbsequence.C:
10597         * lyxfunc.h:
10598         * lyxfunc.C:
10599         * text2.C: use key_state/mouse_state
10600
10601 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10602
10603         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10604         and LSubstring
10605
10606         * chset.C: change include order
10607         (loadFile): use boost regex and get rid of LRegex and LSubstring
10608
10609         * Makefile.am (BOOST_LIBS): new variable
10610         (lyx_LDADD): use it
10611
10612         * LaTeX.C: change include order.
10613         (scanAuxFile): use boost regex and get rid of LRegex and
10614         LSubstring
10615         (deplog): ditto
10616
10617 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10618
10619         * ColorHandler.h:
10620         * ColorHandler.C:
10621         * FontInfo.h:
10622         * FontInfo.C: moved to frontends/xforms/
10623
10624         * FontLoader.h:
10625         * FontLoader.C: moved into frontends for GUIIzation
10626
10627         * Makefile.am:
10628         * lyx_gui.C:
10629         * lyxfont.C:
10630         * lyxfunc.C: changes from above
10631
10632 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10633
10634         * LColor.C: remove spurious X include
10635
10636         * BufferView_pimpl.C:
10637         * Makefile.am:
10638         * font.h:
10639         * font.C:
10640         * text.C:
10641         * text2.C: move font metrics to frontends/
10642
10643 2002-05-24  Juergen Vigna  <jug@sad.it>
10644
10645         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10646         setting the undo_cursor.
10647
10648         * ParagraphParameters.h: include local includes first.
10649
10650 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10651
10652         * BufferView_pimpl.C:
10653         * BufferView_pimpl.h:
10654         * Makefile.am:
10655         * WorkArea.h:
10656         * WorkArea.C:
10657         * screen.C: move WorkArea into frontends/
10658
10659         * lyxscreen.h:
10660         * screen.C:
10661         * text.C:
10662         * BufferView.C:
10663         * BufferView2.C: move LyXScreen into frontends/
10664
10665         * lyxlookup.h:
10666         * lyxlookup.C:
10667         * lyx_gui.C: move lyxlookup into frontends/xforms/
10668
10669 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10670
10671         * BufferView2.C:
10672         * BufferView_pimpl.C:
10673         * FontLoader.C:
10674         * LyXView.h:
10675         * LyXView.C:
10676         * Makefile.am:
10677         * WorkArea.C:
10678         * XFormsView.h:
10679         * XFormsView.C:
10680         * buffer.C:
10681         * bufferlist.C:
10682         * bufferview_funcs.C:
10683         * converter.C:
10684         * importer.C:
10685         * lyx_cb.C:
10686         * lyx_gui.C:
10687         * lyx_main.C:
10688         * lyx_find.C:
10689         * lyxfunc.C:
10690         * lyxvc.C:
10691         * minibuffer.C:
10692         * text.C:
10693         * text2.C:
10694         * trans.C:
10695         * vc-backend.C: move LyX/XFormsView into frontends/
10696
10697 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10698
10699         * Makefile.am:
10700         * PainterBase.C:
10701         * PainterBase.h:
10702         * Painter.C:
10703         * Painter.h:
10704         * WorkArea.C:
10705         * WorkArea.h:
10706         * screen.C:
10707         * tabular.C:
10708         * text.C:
10709         * text2.C: move Painter to frontends/
10710
10711 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10712
10713         * buffer.C: comment out some some code that depend upon lyx_format
10714         < 220
10715
10716         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10717         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10718
10719         * buffer.h (NO_COMPABILITY): turn off compability
10720
10721         * ColorHandler.C: include scoped_array.hpp
10722
10723         * font.C: Use more specific smart_ptr header.
10724         * Painter.C: ditto
10725         * gettext.C: ditto
10726         * ShareContainer.h: ditto
10727         * lyx_main.h: ditto
10728         * kbmap.h: ditto
10729         * FontInfo.h: ditto
10730         * BufferView_pimpl.h: ditto
10731         * ColorHandler.h: ditto
10732
10733         * kbmap.C (defkey): change call to shared_ptr::reset
10734
10735 2002-05-21  Juergen Vigna  <jug@sad.it>
10736
10737         * buffer.C (insertErtContents): fix to insert ert asis if it is
10738         non empty. Skip it completely if it contains only whitespaces.
10739
10740 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10741
10742         * BufferView_pimpl.C:
10743         * BufferView2.C: clear selection on paste (bug 393)
10744
10745 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10746
10747         * DepTable.C: include ctime
10748
10749 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10750
10751         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10752
10753 2002-05-14  Juergen Vigna  <jug@sad.it>
10754
10755         * text.C (breakParagraph): fixed function to honor the keepempty
10756         layout in the right maner and also to permit the right breaking
10757         algorithm on empty or non empyt keepempty paragraphs.
10758
10759         * paragraph.C (breakParagraph): we have to check also if the par
10760         is really empty (!size()) for isempty otherwise we do the wrong
10761         paragraph break.
10762
10763 2002-05-10  Juergen Vigna  <jug@sad.it>
10764
10765         * buffer.[Ch] : The following are only changes to the ert
10766         compatibility read reading old LaTeX layout and font stuff and
10767         convert it to ERTInsets.
10768
10769         * buffer.h: added isErtInset().
10770
10771         * buffer.C (struct ErtComp): add a fromlayout bool to check
10772         if we're inside a LaTeX layout.
10773         (isErtInset): new helper function.
10774         (insertErtContents): look for other ert insets before this one
10775         and insert the contents there, so that we don't have subsequent
10776         ERT insets with nothing between them. This way we create only one
10777         inset with multiple paragraphs. Also check if we don't insert only
10778         spaces ' ' as they are ignored anyway afterwards in the .tex file
10779         so if we have only spaces we will ignore this latex part in the
10780         new file.
10781         (parseSingleLyXformat2Token \\layout): better compatibility when
10782         reading layout-latex stuff.
10783         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10784         language tag.
10785         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10786         stuff after reading the inset only get the information back from
10787         the stack.
10788
10789 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10790
10791         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10792
10793         * LaTeXFeatures.C (getBabelOptions): New method.
10794
10795 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10796
10797         * BufferView_pimpl.C (Dispatch): work around missing argument for
10798         'layout'
10799
10800 2002-05-08  Juergen Vigna  <jug@sad.it>
10801
10802         * text.C (leftMargin): handle paragraph leftindent.
10803
10804         * paragraph.C (writeFile): write the new \\leftindent tag.
10805         (validate): handle leftindent code.
10806         (TeXEnvironment): handle paragraphleftindent code again.
10807
10808         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10809
10810         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10811         for paragrap_extra indent code and new token \\leftindent.
10812         (latexParagraphs): handle the leftindent as environment.
10813
10814         * ParameterStruct.h: added leftindent support.
10815
10816         * ParagraphParameters.C (leftIndent): added support functions for
10817         the paragraph left indent.
10818
10819         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10820         more appropriate.
10821
10822 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10823
10824         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10825         inside insetERT.
10826
10827         * text.C (computeBidiTables): No bidi in insetERT.
10828
10829         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10830         in RTL documents.
10831
10832 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10833
10834         * version.C.in: pre 5
10835
10836 2002-05-02  José Matos  <jamatos@fep.up.pt>
10837         * buffer.C (makeDocBookFile): white space changes, add newline to
10838         command styles.
10839         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10840
10841         * tabular.C (docBook): fix typo.
10842
10843 2002-05-03  Juergen Vigna  <jug@sad.it>
10844
10845         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10846         change in LyXText as we can not be sure it was not freed.
10847         (drawOneRow): remove unused code.
10848
10849         * text.C (drawInset): redo the calculation of the need_break_row as
10850         it could have a row which was already freed.
10851         (draw): look at the return value of drawInset and return false if
10852         it also returned false.
10853         (paintRowText): look at the return value of draw and return false if
10854         it also returned false.
10855
10856         * lyxtext.h: added bool return type to drawInset() and draw() so that
10857         if we have a change in the row so that the rowbreak has to be redone
10858         we abort drawing as it will be called again.
10859
10860 2002-05-02  Juergen Vigna  <jug@sad.it>
10861
10862         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10863         a change in the maintext also if we're inside an inset.
10864         (Dispatch): set the cursor again after a break line and after the
10865         screen has been updated as it could be we're in a different row.
10866
10867         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10868         to set the cursor behind the pargraph with > size().
10869         (setCursor): check also for the same paragraph when checking where
10870         to put the cursor if we have a NFR inset.
10871
10872         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10873         parts of layout read further up as it still was in the wrong
10874         position.
10875
10876 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10877
10878         * screen.C (drawFromTo): change sine fullRebreak always return
10879         true.
10880
10881         * buffer.C (parseSingleLyXformat2Token): reindent some
10882
10883         * BufferView_pimpl.C (update): change since fullRebreak always
10884         return true.
10885         (Dispatch): git rid of the last hardcoded "Standard"s.
10886
10887 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10888
10889         * text2.[Ch] (fullRebreak): make it return void now that we always
10890         returned true.
10891
10892 2002-04-30  Juergen Vigna  <jug@sad.it>
10893
10894         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10895         ert compatibility check for "latex" layout.
10896
10897 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10898
10899         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10900         minipages: use col% instead of p%, and also use the current font.
10901         (makeLaTeXFile): Fix use babel condition.
10902         (parseSingleLyXformat2Token): Correct font when reading old floats.
10903
10904 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10905
10906         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10907         inserting list of floats.
10908
10909 2002-04-25  Herbert Voss  <voss@lyx.org>
10910
10911         * MenuBackend.C (expand): don't add the graphics extensions to the
10912         export menu
10913
10914 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10915
10916         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10917         non-existing layout, do not complain if it was the default layout
10918         of the original class (bug #342)
10919
10920 2002-04-24  Juergen Vigna  <jug@sad.it>
10921
10922         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10923         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10924
10925 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10926
10927         * buffer.C (getBibkeyList): If using \bibliography, return the
10928         option field with the reference itself. Enables us to provide natbib
10929         support when using \bibliography.
10930
10931 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10932
10933         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10934
10935         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10936         natbib is provided by the LaTeX class.
10937
10938 2002-04-23  Juergen Vigna  <jug@sad.it>
10939
10940         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10941         Wakeup functions.
10942
10943         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10944
10945 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10946
10947         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10948
10949         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10950         ensuremath around textordmasculine, textordfeminine and
10951         textdegree.
10952
10953 2002-04-19  Juergen Vigna  <jug@sad.it>
10954
10955         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10956         reinitializing the buffer otherwise row-dimensions may be wrong.
10957         (update): reset also the selection cursors if they do exits otherwise
10958         their x/y positions may be wrong.
10959
10960         * text2.C (cursorDown): don't enter the inset if we came from a row
10961         above and are one row over the inset.
10962
10963         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10964         really leaving an inset.
10965
10966 2002-04-18  Juergen Vigna  <jug@sad.it>
10967
10968         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10969         of the selected paragraph does not have the selected layout also if
10970         the last one had!
10971
10972         * text2.C (setLayout): fixed bug which did not change last selected
10973         paragraph.
10974
10975         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10976         changed the read and substituted \\end_float with \\end_inset!
10977
10978         * BufferView_pimpl.C (cursorPrevious):
10979         (cursorNext): fixed to make it work with rows heigher than the work
10980         area without moving the cursor only the draw of the row.
10981         (workAreaMotionNotify): fix jumping over high rows.
10982
10983 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10984
10985         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10986         Ressler.
10987
10988 2002-04-16  Juergen Vigna  <jug@sad.it>
10989
10990         * text2.C (setCursor): set also the irow().
10991         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10992         (cursorUp):
10993         (cursorDown): support for locking an inset if the x_fix value goes
10994         inside it. That way I can transverse insets too with cursor up/down.
10995
10996         * lyxrow.h: added irow helper function same as other (i) functions.
10997
10998         * BufferView_pimpl.C (cursorPrevious):
10999         (cursorNext): fixed for insets!
11000
11001 2002-04-15  Juergen Vigna  <jug@sad.it>
11002
11003         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11004         position otherwise it is wrong in some cases.
11005
11006         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11007         inside the inset before the call.
11008
11009 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11010
11011         * buffer.[Ch] (getBibkeyList): make it const.
11012
11013 2002-04-12  Juergen Vigna  <jug@sad.it>
11014
11015         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11016
11017         * text2.C (getCursorX): new helper function
11018         (setCursor): compute also ix_
11019         (setCursorFromCoordinates): set also ix.
11020
11021         * lyxcursor.h: added ix_ and helper functions.
11022
11023         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11024
11025         * buffer.C (insertStringAsLines): dont break paragraph if the this
11026         paragraph is inside an inset which does not permit it!
11027
11028         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11029         also with no chars on this paragraph.
11030         (paintRowText): only paint stuff if it's inside the workarea!
11031
11032         * paragraph.C (breakParagraph): honor keepempty flag and break the
11033         paragraph always below not above.
11034
11035         * BufferView2.C (unlockInset): update the paragraph layout on inset
11036         unlock as we changed paragraph in such a case.
11037
11038         * lyxfind.C (LyXFind): clear the former selection if not found!
11039
11040         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11041         again called in insertChar().
11042
11043         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11044         an inset which uses the whole row!
11045         (rightMargin): ditto.
11046         (insertChar): force a rebreak if we inserted an inset!
11047
11048 2002-03-28  Herbert Voss  <voss@lyx.org>
11049
11050         * lyxlength.[Ch]: add inBP() to get the right PS-point
11051         units (BigPoint). With inPixels we have rounding errors
11052
11053 2002-04-11  Juergen Vigna  <jug@sad.it>
11054
11055         * text2.C (setCursorFromCoordinates): set iy to the right value.
11056         (setCursor): add check if row->previous exists!
11057
11058         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11059         an old float_type as this was the case in the old code!
11060
11061         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11062
11063         * BufferView2.C (showLockedInsetCursor): use iy
11064         (fitLockedInsetCursor): ditto
11065
11066         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11067         locked insets as there we have the right value now.
11068
11069         * lyxcursor.C: added iy_ variable and iy functions to set to the
11070         baseline of cursor-y of the locked inset.
11071
11072         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11073         (setCursor): fixed for insets which need a full row.
11074
11075         * text.C (rowLastPrintable): don't ignore the last space when before
11076         an inset which needs a full row.
11077         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11078         as last character of a row when before a inset which needs a full row.
11079
11080 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11081
11082         * version.C.in: update date
11083
11084         * text2.C (fullRebreak): try to always return true and see what
11085         happens...
11086
11087 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11088
11089         * MenuBackend.C (expand): use Floating::listName
11090
11091         * FloatList.C (FloatList): add listName argument to the built-in
11092         floats
11093
11094         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11095         text associated with the float.
11096
11097 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11098
11099         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11100
11101 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11102
11103         * ShareContainer.h: add a couple of missing typenames.
11104
11105 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11106
11107         * lyxrc.C (getDescription): use _() correctly rather than N_().
11108
11109 2002-03-28  Herbert Voss  <voss@lyx.org>
11110
11111         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11112         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11113
11114 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11115
11116         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11117         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11118
11119 2002-03-29  Juergen Vigna  <jug@sad.it>
11120
11121         * lyxfunc.C (dispatch): add a missing fitCursor call.
11122
11123         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11124         it was scrolled by a cursor move, so return the bool status.
11125
11126         * BufferView.C (fitCursor): return the bool flag also to the outside
11127         world as this is needed.
11128
11129         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11130
11131         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11132         call the edit() as it is not needed (and wrong) IMO.
11133         (workAreaButtonPress): set the screen_first variable before evt.
11134         unlock the inset as this may change screen_first and then we have
11135         a wrong y position for the click!
11136
11137 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11138
11139         * MenuBackend.C (expand): another translation that I missed
11140
11141 2002-03-28  Juergen Vigna  <jug@sad.it>
11142
11143         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11144
11145         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11146
11147 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11148
11149         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11150
11151         * MenuBackend.C (expand): fix export/view/update when there is no
11152         document open.
11153
11154 2002-03-27  Herbert Voss  <voss@lyx.org>
11155
11156         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11157         and text%
11158
11159 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11160
11161         * bufferview_funcs.C (currentState): only show paragraph number
11162         for is DEVEL_VERSION is set.
11163
11164         * lyxfunc.C (dispatch): put warning in INFO channel
11165
11166         * MenuBackend.C (expand): translate the name of floats
11167
11168         * FloatList.C (FloatList): mark the float names for translation
11169
11170         * converter.C (convert): use LibScriptSearch
11171
11172 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11173
11174         * MenuBackend.C (defaults): fix default menu (we might as well get
11175         rid of it...)
11176
11177 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11178
11179         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11180         directory.
11181
11182 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11183
11184         * lyxvc.C: reorder includes.
11185
11186 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11187
11188         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11189           properly
11190
11191 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11192
11193         * CutAndPaste.C: change layouts earlier on paste
11194           to avoid crashing when calling getFont()
11195
11196 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11197
11198         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11199         irritating #error.
11200
11201 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11202
11203         * WorkArea.C: remove 'Pending' debug message.
11204
11205         * most files: ws cleanup
11206
11207         * buffer.[Ch]: ws changes
11208
11209         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11210
11211 2002-03-21  Juergen Vigna  <jug@sad.it>
11212
11213         * tabular.C (SetMultiColumn): collapse also the contents of the
11214         cells and set the last border right. Added a Buffer const * param.
11215
11216 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11217
11218         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11219         linking or not.
11220
11221 2002-03-19  Juergen Vigna  <jug@sad.it>
11222
11223         * text2.C (clearSelection): reset also xsel_cache.
11224
11225         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11226         where it needs to be called (John tells us to do so too :)
11227         (selectionLost): reset sel_cache.
11228
11229         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11230
11231 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11232
11233         * text2.C (setCursorIntern): put debuging code in INSETS channel
11234
11235 2002-03-19  André Pönitz <poenitz@gmx.net>
11236
11237         * lyxfunc.C: tiny whitespace change
11238
11239 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11240
11241         * ToolbarDefaults.C (init):
11242         * LyXAction.C (init):
11243         * commandtags.h:
11244         * BufferView_pimpl.C (Dispatch):
11245         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11246
11247 2002-03-19  Allan Rae  <rae@lyx.org>
11248
11249         * exporter.C (Export): removeAutoInsets before doing anything else.
11250         While I've just introduced a dependency on BufferView this really is
11251         the best place to clean the buffer otherwise you need to cleanup in
11252         a dozen places before calling export or cleanup in a dozen functions
11253         that export calls.
11254
11255         * converter.C (runLaTeX):
11256         (scanLog): Better handling of removeAutoInsets and screen updates.
11257
11258         * lyxfunc.C (dispatch): small whitespace changes
11259
11260 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11261
11262         * WorkArea.C (C_WorkAreaEvent): return a value.
11263         (event_cb): return 1 if we handled the event, 0 otherwise.
11264
11265         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11266
11267 2002-03-18  Juergen Vigna  <jug@sad.it>
11268
11269         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11270         (GetAdditionalWidth): ditto.
11271         (RightLine): ditto.
11272         (LeftLine): ditto.
11273
11274         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11275         inset if we're there actually (probably not used right now but this
11276         is the direction to go for unifying code).
11277         (paste): disable code to clear the selection.
11278
11279         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11280         inside an InsetText and move the check further up as it is in the
11281         wrong place.
11282
11283         * text2.C (pasteSelection): set a selection over the pasted text.
11284
11285 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11286
11287         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11288         and libgraphics to build on Cygwin.
11289
11290 2002-03-15  Juergen Vigna  <jug@sad.it>
11291
11292         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11293         inserting an Inset into the paragraph. I know this is not the best
11294         fix but we already use current_view in CutAndPaste so we will remove
11295         all of it's using at the same time.
11296
11297         * buffer.C (sgmlError): deactivated function till it is rewritten in
11298         the right mode, now it can create problems.
11299
11300         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11301         before accessing it.
11302
11303 2002-03-14  Juergen Vigna  <jug@sad.it>
11304
11305         * undo_funcs.C (textHandleUndo): do the right thing when updating
11306         the inset after the undo/redo.
11307
11308         * text2.C (setCursor): just some testcode for #44 not ready yet.
11309
11310         * undo_funcs.C (textHandleUndo): set the next() and previous()
11311         pointers of the paragraph to 0 before deleting otherwise we have
11312         problems with the Paragraph::[destructor].
11313
11314         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11315         on a paragraph insertion.
11316
11317 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11318
11319         * buffer.C (asciiParagraph): use += operator for char append to
11320         string.
11321
11322         * paragraph.C (getFontSettings): compare >= not just >
11323         (highestFontInRange): ditto
11324         (setFont): ditto
11325
11326 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11327
11328         * paragraph.C: change several algorithm to be more appripriate for
11329         the problem domain. This is lookip in FontList and in the InsetList.
11330
11331 2002-03-13  André Pönitz <poenitz@gmx.net>
11332
11333         * commandtags.h:
11334         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11335
11336 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11337
11338         * commandtags.h:
11339         * LyXAction.C:
11340         * lyxfunc.C:
11341         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11342
11343 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11344
11345         * Painter.C (display): anon helper function, adjust code for this
11346         change.
11347         (pixmap): remove function.
11348
11349         * Painter.h: remove private display variable.
11350
11351         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11352
11353 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11354
11355         * WorkArea.[Ch]: remove figinset_canvas cruft.
11356
11357 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11358
11359         * lyxtextclass.C (operator): add one item cache optimization.
11360
11361         * bufferlist.h: doxy changes
11362
11363         * bufferlist.C: ws changes
11364
11365         * DepTable.[Ch] (ext_exist): place const in the right spot.
11366
11367         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11368         call resizeInsets.
11369         (workAreaExpose): call resizeInsets when the with BufferView changes.
11370         (Dispatch): adjust for protectedBlank removal
11371         (specialChar): call updateInset if the insert went ok.
11372
11373         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11374         specialChar instead.
11375
11376         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11377
11378         * BufferView.h: doxy change
11379
11380         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11381
11382         * lyxtextclass.C (operator[]): remove non-const version
11383         (defaultLayout): remove non-const version
11384
11385 2002-03-12  Juergen Vigna  <jug@sad.it>
11386
11387         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11388         did resize the LyXText too.
11389
11390         * buffer.C (readLyXformat2): set layout information on newly allocated
11391         paragraphs.
11392
11393         * tabular.C (OldFormatRead): set layout information on the paragraph.
11394
11395 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11396
11397         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11398
11399 2002-03-11  Juergen Vigna  <jug@sad.it>
11400
11401         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11402         plainly wrong.
11403         (resizeCurrentBuffer): force also the insets to resize themselfes.
11404         (moveCursorUpdate): fixed up for InsetText.
11405
11406 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11407
11408         * commandtags.h:
11409         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11410         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11411         value of Dialogs::tooltipsEnabled().
11412         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11413
11414 2002-03-08  Juergen Vigna  <jug@sad.it>
11415
11416         * BufferView_pimpl.C (updateInset): update inset inside inset also
11417         if it isn't inside theLockingInset().
11418
11419 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11420
11421         * buffer.C (asciiParagraph): redo some of the word and line length
11422         handling.
11423         (getLists): look for Caption instead of caption.
11424
11425 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11426
11427         * buffer.C (Buffer): initialize niceFile to true
11428         (makeLaTeXFile):
11429         (makeLinuxDocFile):
11430         (makeDocBookFile): make sure niceFile is true on exit
11431
11432 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11433
11434         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11435
11436 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11437
11438         * LyXSendto.C: remove.
11439         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11440         * lyx_gui.C: remove now-redundant comment.
11441         * ColorHandler.h: remove forward declaration of class WorkArea.
11442         * lyxfunc.C: remove #include "WorkArea.h".
11443
11444 2002-03-07  Juergen Vigna  <jug@sad.it>
11445
11446         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11447         got moved away with the DEPM and also set the inset_owner always
11448         right which before could have been omitted.
11449
11450 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11451
11452         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11453         wanted layout is not found.
11454
11455 2002-03-07  Juergen Vigna  <jug@sad.it>
11456
11457         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11458
11459 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11460
11461         * paragraph.C (breakParagraph): use default layout not layout of
11462         prev paragraph.
11463         (Paragraph): clear ParagraphParameters.
11464
11465 2002-03-06  Juergen Vigna  <jug@sad.it>
11466
11467         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11468         otherwise it would not be a valid lenght. Fixed a special case in
11469         the minipage compatibility read where we end the document with a
11470         minipage.
11471
11472         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11473         was set as it could be 0 for InsetTexts first entry.
11474
11475 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11476
11477         * paragraph.C (writeFile): if layout is empty write out
11478         defaultLayoutName().
11479
11480         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11481         file without named layout we set layout to defaultLayoutName().
11482
11483 2002-03-06  Juergen Vigna  <jug@sad.it>
11484
11485         * CutAndPaste.C (copySelection): set layout for new paragraph.
11486
11487         * text.C (prepareToPrint): leave ERT inset left aligned
11488         (leftMargin): don't indent paragraphs inside ERT insets
11489
11490 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11491
11492         * paragraph.C (breakParagraph): dont call clear do the work manually
11493
11494         * paragraph.[Ch] (clear): remove function
11495
11496 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11497
11498         * paragraph.C (Paragraph): dont call clear, the work has already
11499         been done.
11500
11501         * lyxtextclass.C (operator): assert if n is empty
11502
11503         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11504         work manually instead.
11505
11506 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11507
11508         * BufferView_pimpl.C: protect selectionLost against text == 0
11509
11510 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11511
11512         * text.C (breakParagraph): fix a setting layout to '0' problem.
11513
11514 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11515
11516         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11517         final location of file, for the included files, and graphics.
11518
11519 2002-03-05  Juergen Vigna  <jug@sad.it>
11520
11521         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11522
11523 2002-03-04  Juergen Vigna  <jug@sad.it>
11524
11525         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11526
11527         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11528         last column of multicolumn cells.
11529         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11530
11531 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11532
11533         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11534         file if it doesn't go to a temporary file.
11535
11536         * buffer.C (sgmlOpenTag):
11537         (sgmlCloseTag):  remove extra newline insertion.
11538
11539 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11540
11541         * text.C (getRowNearY): comment out debug msg
11542
11543 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11544
11545         * text2.C: first -> first_y
11546
11547         * text.C (getRowNearY): add some attemts at a possible
11548         optimization, not working.
11549
11550         * tabular.[Ch]: add BufferParams to several function so that newly
11551         created paragraph can be initialized to he default layotu for the
11552         buffers textclass.
11553
11554         * tabular-old.C (ReadOld): add buf->params to call of Init
11555
11556         * screen.C: rename text->first to text->first_y
11557
11558         * paragraph.C (breakParagraph): always set layout in the broken
11559         paragraph
11560
11561         * lyxtextclass.C (Read): remove lowercase
11562         (hasLayout): ditto
11563         (operator): ditto
11564         (delete_layout): ditto
11565
11566         * lyxtext.h: rename first -> first_y
11567
11568         * lyxlayout.C (Read): remove lowercase
11569         (name): ditto
11570         (setName): ditto
11571         (obsoleted_by): ditto
11572
11573         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11574
11575         * buffer.C (insertErtContents): add params are to InsetERT
11576         (parseSingleLyXformat2Token): add code to check if a paragraphs
11577         layout really exist.
11578         (parseSingleLyXformat2Token): add params to several inset
11579         constructors
11580         (asciiParagraph): remove lowercase, do the layout comparisons with
11581         no_case
11582
11583         * BufferView_pimpl.C (cursorNext): first -> first_y
11584         (resizeCurrentBuffer): first -> first_y
11585         (updateScrollbar): first -> first_y
11586         (scrollCB): first -> first_y
11587         (workAreaMotionNotify): first -> first_y
11588         (workAreaButtonPress): first -> first_y
11589         (checkInsetHit): first -> first_y
11590         (cursorPrevious): first -> first_y
11591         (cursorNext): first -> first_y
11592         (Dispatch): add buffer_->params to severl inset contructors
11593
11594 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11595
11596         * lyxlayout.C (Read): remove some debug info that I forgot.
11597
11598         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11599         clean up the code slightly.
11600         (makeLinuxDocFile): ditto
11601         (makeDocBookFile): ditto
11602
11603         * text2.C: layout as string
11604
11605         * text.C: layout as string
11606
11607         * paragraph_pimpl.C: layout as string
11608
11609         * paragraph.[Ch]: layout as string
11610
11611         * lyxtextclasslist.[Ch]: layout as string
11612
11613         * lyxtextclass.[Ch]: layout as string
11614
11615         * lyxtext.h: layout as string
11616
11617         * lyxlayout.[Ch]: layout as string
11618
11619         * lyx_cb.C: layout as string
11620
11621         * bufferview_funcs.C: layout as string
11622
11623         * bufferparams.C: layout as string
11624
11625         * buffer.C: layout as string
11626
11627         * LyXView.[Ch]: layout as string
11628
11629         * LaTeXFeatures.[Ch]: layout as string
11630
11631         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11632
11633         * BufferView_pimpl.C: change current_layout to string, remove
11634         lyx::layout_type.
11635         (Dispatch):
11636         (smartQuote):
11637         (insertInset):
11638         (workAreaButtonRelease): layout as string
11639
11640         * BufferView2.C (unlockInset): adjust
11641
11642         * vspace.C (asLatexCommand): use an explict temp variable.
11643
11644 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11645
11646         * Makefile.am: use FRONTEND_*
11647
11648 2002-03-01  Juergen Vigna  <jug@sad.it>
11649
11650         * tabular.C (SetWidthOfMulticolCell): changed to something better
11651         I hope but still work in progress.
11652         (recalculateMulticolumnsOfColumn): renamed function from
11653         recalculateMulticolCells as it is more appropriate now.
11654         (SetWidthOfCell): calculate multicols better.
11655
11656 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11657
11658         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11659
11660         * lyxfunc.C (processKeySym): print sequence also if it is
11661         `deleted' (complete)
11662
11663         * kbsequence.C (print): print sequence even if it is deleted
11664         (complete would be a better word, actually).
11665
11666         * lyxfunc.C (dispatch): print complete options after a prefix key
11667
11668         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11669
11670 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11671
11672         * text2.C (setCharFont): eliminate setCharFont code duplication.
11673
11674 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11675
11676         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11677         LFUN_TABULAR_FEATURE (bug #177)
11678
11679 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11680
11681         * Makefile.am: remove figure.h
11682
11683 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11684
11685         * Bufferview_pimpl.C:
11686         * CutAndPasteC:
11687         * LaTeX.C:
11688         * LyXSendto.C:
11689         * buffer.C:
11690         * bufferlist.C:
11691         * converter.C:
11692         * language.C:
11693         * lyxfunc.C:
11694         * lyxvc.C:
11695         * paragraph.C:
11696         * text.C:
11697         * text2.C: remove #include "lyx_gui_misc.h".
11698
11699         * LaTeX.C: added #include <cstdio>
11700
11701 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11702
11703         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11704         that the paragraph following this one can have.
11705
11706         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11707
11708         * vspace.C (asLatexCommand): fix bogus gcc warning
11709
11710         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11711
11712 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11713
11714         * text2.C (setLayout): get rid of redundant code
11715
11716 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11717
11718         * text2.C (incDepth): make sure depth cannot be increased beyond
11719         reasonable values.
11720
11721 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11722
11723         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11724         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11725
11726         * PainterBase.h (image):
11727         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11728         a LyXImage const *.
11729
11730 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11731
11732         * BufferView.C:
11733         * BufferView.h:
11734         * BufferView_pimpl.C:
11735         * BufferView_pimpl.h:
11736         * LaTeXFeatures.C:
11737         * LyXAction.C:
11738         * LyXView.C:
11739         * Makefile.am:
11740         * UpdateList.h:
11741         * UpdateList.C:
11742         * buffer.C:
11743         * figure.h:
11744         * figureForm.C:
11745         * figureForm.h:
11746         * figure_form.C:
11747         * figure_form.h:
11748         * lyx_cb.C:
11749         * lyx_gui.C:
11750         * lyx_gui_misc.C:
11751         * lyxfunc.C:
11752         * sp_base.h:
11753         * sp_ispell.h:
11754         * sp_pspell.h:
11755         * sp_spell.C: remove fig inset, and the crap house of
11756           cards that follows it
11757
11758 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11759
11760         * Makefile.am:
11761         * lyxserver.C:
11762         * os2_defines.h:
11763         * os2_errortable.h:
11764         * nt_defines.h: move .h into support/
11765
11766         * vms_defines.h: remove
11767
11768         * WorkArea.C: add space in debug output
11769
11770         * text2.C:
11771         * paragraph.C:
11772         * buffer.C: add WITH_WARNINGS
11773
11774         * vc-backend.h:
11775         * vc-backend.C:
11776         * bufferlist.C: s/retrive/retrieve/, add docs
11777
11778         * vspace.h:
11779         * vspace.C:
11780         * kbmap.h:
11781         * lyxlength.h:
11782         * lyxgluelength.h:
11783         * length_common.h:
11784         * chset.h:
11785         * chset.C: add docs
11786
11787         * lyxgui.C: add ID to X error handler
11788
11789         * lyxtestclass.c: fix typo
11790
11791 2002-02-26  Juergen Vigna  <jug@sad.it>
11792
11793         * tabular_funcs.C (write_attribute): changed so that some default
11794         attributes are not written at all.
11795         (getTokenValue): set default values before trying to read the
11796         value so we have the return value always set as default if we don't
11797         find the token we search for.
11798
11799         * tabular.C (Write): write bools as bools not as strings!
11800
11801 2002-02-22  Juergen Vigna  <jug@sad.it>
11802
11803         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11804         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11805
11806         * text.C (leftMargin): don't add an indent for paragraphs inside
11807         tabular cells (fix #208).
11808
11809 2002-02-21  José Matos  <jamatos@fep.up.pt>
11810
11811         * tabular.C (docBook): fixed support for long tables.
11812
11813 2002-02-20  Juergen Vigna  <jug@sad.it>
11814
11815         * text2.C (getFont): get the drawing font of the Inset if this
11816         paragraph is inside an inset (only important for InsetERT for now).
11817
11818         * buffer.C (insertErtContents): use new lanugage params in ERT
11819         constructor.
11820
11821         * CutAndPaste.C: commenting out seemingly uneeded code.
11822
11823 2002-02-19  Allan Rae  <rae@lyx.org>
11824
11825         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11826         Iterators might be simple to use but they also get invalidated.
11827         (removeAutoInsets): renamed saved cursor tracking variables and added
11828         some comments to clarify what everything does.
11829
11830 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11831
11832         * Chktex.C:
11833         * LaTeX.C:
11834         * LyXSendto.C:
11835         * converter.C:
11836         * lyx_cb.C:
11837         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11838         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11839
11840         * lyxfunc.C:
11841         * vc-backend.h: remove #include "support/syscall.h"
11842
11843         * LaTeX.C:
11844         * LyXSendto.C:
11845         * converter.C: rearrange #includes in Lars' approved fashion.
11846
11847         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11848         forward declare class Timeout in the header file.
11849
11850         * XFormsView.C: changes due to the above.
11851
11852         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11853         similar to LyXView.
11854
11855         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11856         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11857
11858 2002-02-18  José Matos  <jamatos@fep.up.pt>
11859
11860         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11861         insets contents.
11862
11863 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11864
11865         * a lot of small ws changes
11866         * add a lot of using std::XXX
11867         * use std construcs some places where approp.
11868         * use some exisint stuff from lyxfunctional where approp.
11869         * Make file changes to use partial linking (lets test this now...)
11870
11871 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11872
11873         * Chktex.C:
11874         * buffer.C:
11875         remove #include "support/syscontr.h" as it's redundant. Always has been.
11876
11877         * Chktex.C:
11878         * LaTeX.C:
11879         * LyXSendto.C:
11880         * converter.C:
11881         * lyx_cb.C:
11882         * vc-backend.C:
11883         change Systemcalls::System to Systemcalls::Wait and
11884         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11885         No change of functionality, just reflects the stripped down Systemcalls
11886         class.
11887
11888 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11889
11890         * debug.[Ch]: add a GRAPHICS type to the enum.
11891
11892 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11893
11894         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11895
11896         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11897         there is an inset.
11898
11899 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11900
11901         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11902         match the changes below.
11903
11904         * text2.C (toggleInset): if there is not editable inset at cursor
11905         position, try to see if cursor is _inside_ a collapsable inset
11906         and close it.
11907
11908 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11909
11910         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11911         document menu has a nice checkbox
11912
11913 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11914
11915         * lyxlength.C (asLatexString): change PW to output as percent of
11916         \textwidth.
11917
11918         * lengthcommon.C: change '%' to 't%'
11919
11920         * lyxfunc.C (dispatch): a few comments from Martin
11921
11922 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11923
11924         * WorkArea.h:
11925         * WorkArea.C:
11926         * BufferView_pimpl.h:
11927         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11928           the X selection.
11929
11930 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11931
11932         * vspace.C (inPixels): fix compiler warning
11933
11934 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11935
11936         * lyxfunc.C (getStatus): fix status message for disabled commands.
11937
11938 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11939
11940         * BufferView_pimpl.C: fix crash on close buffer
11941         during selection (#227)
11942
11943 2002-01-27  Herbert Voss  <voss@lyx.org>
11944
11945         * buffer.C: link old Figure to new graphic inset
11946
11947 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11948
11949         * FontLoader.C (getFontinfo): Change the latex font names in order
11950         to match the names of type1inst.
11951
11952 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11953
11954         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11955
11956         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11957         (extchanged): ditto
11958         (ext_exist): ditto
11959         (remove_files_with_extension): ditto
11960         (remove_file): ditto
11961         (write): ditto
11962
11963         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11964         document is smaller than the work area height. Do not initialize
11965         static variables to 0.
11966
11967 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11968
11969         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11970
11971         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11972         LFUN_LAYOUT_PARAGRAPHS.
11973
11974         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11975         tabular. It is possible to provide a possible cell, which will
11976         typically be the actcell from the corresponding insettabular
11977
11978         * lyxfunc.C (getStatus): small cleanup; disable
11979         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11980         true
11981
11982 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11983
11984         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11985
11986         * paragraph.C (startTeXParParams):
11987         (endTeXParParams): new methods. The LaTeX code to
11988         start/end paragraph formatting
11989         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11990         empty (fixes bug #200)
11991
11992         * vspace.C (inPixels): adapt to the change below
11993         (inPixels): [later] more cleanups (remove unused variables)
11994
11995         * lyxlength.C (inPixels): change to use a width and a height as
11996         parameter.
11997
11998 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11999
12000         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12001         Replaced with \paperwidth
12002
12003         * DepTable.C (insert): add std:: qualifier
12004
12005 2002-01-18  Allan Rae  <rae@lyx.org>
12006
12007         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12008         updated also?
12009
12010         * text.C (drawInset): Turned out I didn't know enough about how
12011         rebreaking worked.  This fixes most of the redraw problems.  I see
12012         an occasional cursor trail when a line is broken now and the cursor
12013         placement can seem out by a few pixels also after a rebreak.
12014
12015 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12016
12017         * buffer.C (parseSingleLyXformat2Token): update because minipage
12018         width is now a LyXLength
12019
12020         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12021
12022         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12023         math insets
12024
12025 2002-01-17  Juergen Vigna  <jug@sad.it>
12026
12027         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12028
12029         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12030         is set correctly and the inset is updated correctly.
12031
12032 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12033
12034         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12035         the beginning of the loop.
12036
12037 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12038
12039         * lyxrc.C: improve help for use_scalable_fonts
12040
12041 2002-01-17  Allan Rae  <rae@lyx.org>
12042
12043         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12044
12045 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12046
12047         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12048         make sure to set their inset_owner to the right value (bug #171)
12049
12050 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12051
12052         * DepTable.h
12053         * DepTable.C: Implement mtime checking to reduce time spent doing
12054         CRCs.
12055
12056 2002-01-16  Juergen Vigna  <jug@sad.it>
12057
12058         * tabular.C (GetAdditionalHeight): one of error fixed.
12059
12060         * lyxrc.C (output): small fix in writing use_pspell.
12061
12062 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12063
12064         * sp_base.h: #include LString.h
12065
12066 2002-01-16  Allan Rae  <rae@lyx.org>
12067
12068         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12069         Can someone check this please?
12070
12071         * text.C (drawInset): It was possible that p.row would be removed by
12072         breakAgainOneRow upsetting a few other settings.  There may be another
12073         small tweak possible by setting need_break_row = 0 when p.row has been
12074         removed but I don't know enough about the logic here.
12075
12076 2002-01-15  Allan Rae  <rae@lyx.org>
12077
12078         * text.C (insertChar): removed conditional truism.
12079
12080         * BufferView2.C (removeAutoInsets): More tweaks.
12081         cur_par_prev could be a stray pointer.  Check for trailing empty line
12082         in case last line was cur_par and only had an error inset on it.
12083
12084 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12085
12086         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12087         absolute
12088
12089         * vc-backend.C (most methods):
12090         * exporter.C (Export):
12091         * converter.C (convert):
12092         (runLaTeX):
12093         * LyXSendto.C (SendtoApplyCB):
12094         * lyxfunc.C (dispatch):
12095         (menuNew):
12096         (open):
12097         (doImport):
12098         * lyx_cb.C (AutoSave):
12099         (InsertAsciiFile):
12100         * BufferView_pimpl.C (MenuInsertLyXFile):
12101         * buffer.C (runChktex): use Buffer::filePath().
12102
12103         * buffer.h: rename filename to filename_; rename filepath to
12104         filepath_ and make it private
12105         (filePath): new method
12106
12107         * buffer.C (writeFile): use fileName()
12108         (getLatexName):
12109
12110         * lyx_main.C (init): fix starting  of LyX when the binary is a
12111         link from so,ewhere else.
12112
12113         * minibuffer.C: include <cctype> for isprint
12114
12115 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12116
12117         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12118         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12119         name clash with InsetCollapsable's width function.
12120
12121 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12122
12123         * lastfiles.C: include <iterator>
12124
12125 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12126
12127         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12128         std::count.
12129
12130         * buffer.C (makeLaTeXFile): ditto.
12131         Also make loop operation more transparent.
12132
12133 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12134
12135         * ToolbarDefaults.C: remove trailing comma closing namespace.
12136
12137         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12138
12139         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12140         as in WorkArea.
12141
12142         * trans.C (Load): comment out unused variable, allowed.
12143
12144 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12145
12146         * minibuffer.[Ch] (append_char): new method to recieve input from the
12147         drop-down completion browser. If a key was pressed, then recieve this
12148         char and append it to the existing string.
12149         (peek_event): modify the positioning data passed to the completion
12150         browser so that it can be placed above the minibuffer rather than below.
12151 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12152
12153         * LyXAction.C (init): alloe error-next for readonly documents.
12154
12155         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12156         count.
12157
12158 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12159
12160         * bufferlist.C (readFile): create the buffer _after_ checking that
12161         the file exists.
12162
12163         * lyxfunc.C (verboseDispatch): fix handling of arguments
12164
12165         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12166
12167         * lyxrc.C: use string::erase() instead of initializing to "".
12168
12169
12170 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12171
12172         * BufferView_pimpl.h:
12173         * BufferView_pimpl.C:
12174         * WorkArea.h:
12175         * WorkArea.C:
12176         * text2.C: tell X when we have made a selection for copying
12177
12178 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12179
12180         * BufferView_pimpl.C (MenuInsertLyXFile):
12181         * lyxfunc.C (menuNew):
12182         (open):
12183         (doImport): add shortcuts to directory buttons
12184
12185         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12186         open a float)
12187
12188         * lyxfunc.C (setStatusMessage):
12189         (getStatusMessage): new methods
12190         (getStatus):use setStatusMessage instead of setErrorMessage
12191         (dispatch): when function is disabled, set error message here
12192         [instead of in getStatus previously]
12193
12194         * BufferView_pimpl.C (workAreaButtonRelease): update
12195         toolbar/menubar here too.
12196
12197 2002-01-13  Allan Rae  <rae@lyx.org>
12198
12199         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12200         Now seems indestructible.  Remaining task is to audit all other
12201         code affected by deleteEmptyParagraphMechanism.  One small quirk
12202         left is that an empty document with an error in the preamble can
12203         be made to report an error but no error box appears.  I don't know
12204         where it goes.
12205         (removeAutoInsets): Improved comments.
12206
12207 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12208
12209         * Thesaurus.h:
12210         * Thesaurus.C: update for Aiksaurus 0.14
12211
12212 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12213
12214         * text2.C (firstParagraph): removed member function, all uses
12215         replaces with ownerParagraph
12216         (redoParagraphs): here
12217         (updateInset): here
12218         (toggleAppendix): here
12219         * BufferView2.C (insertErrors): here
12220         (setCursorFromRow): here
12221
12222 2002-01-13  Allan Rae  <rae@lyx.org>
12223
12224         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12225         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12226         There is still a way to segfault this although you may have to do this
12227         multiple times: Have an InsetERT with an unknown command in it.
12228         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12229         <down-arrow>, <Enter> again, View->DVI, BANG!
12230
12231         * text2.C (setCursor):
12232         (deleteEmptyParagraphMechanism):
12233         * lyxtext.h (setCursor):
12234         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12235         Making use of the return value may help fix other bugs.
12236
12237 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12238
12239         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12240
12241         * LyXView.C (updateMenubar): call MenuBar::update here
12242         (updateToolbar): but not here
12243         (showState): do not update toolbar/menubar
12244
12245         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12246         should need to care about that.
12247
12248         * lyxfunc.C (verboseDispatch): simplify a bit
12249         (getStatus): have a version which takes a pseudoaction, and
12250         another which requires a (kb_action,string).
12251
12252         * LyXAction.C (retrieveActionArg): make it work also when action
12253         is not a pseudo-action.
12254         (getActionName): simplify a bit
12255         (helpText):
12256
12257 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12258
12259         * lyxfunc.C (verboseDispatch): new families of methods with
12260         several ways to specify a command and a bool to indicate whether
12261         the command name and shortcut should be displayed in minibuffer
12262         (eventually, we could extend that to a finer bitmask like
12263         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12264         (dispatch): the pristine dispatch command which just, well,
12265         dispatchs! Note it still sets its result to minibuffer; I'm not
12266         sure we want that.
12267
12268         * lyxfunc.h: remove setHintMessage
12269
12270         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12271
12272 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12273
12274         * BufferView_pimpl.C (specialChar): delete new inset if we have
12275         not been able to insert it.
12276
12277         * kbmap.C: revert to using int instead of kb_action, since all we
12278         are dealing with is pseudo-actions.
12279
12280         * LyXAction.C (searchActionArg): change to return int instead of
12281         kb_action, since the result is a pseudoaction.
12282
12283 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12284
12285         * buffer.C (insertErtContents): Fix (partially) the font bug.
12286
12287 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12288
12289         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12290         as the other one is broken on my machine!
12291
12292 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12293
12294         * commandtags.h:
12295         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12296
12297 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12298
12299         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12300         reflect their actual use. Provide compatibility code for older lyxrc
12301         files.
12302
12303         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12304         FL_NORMAL_STYLE.
12305         change names of popup font variables in line with the changes to lyxrc.C
12306
12307 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12308
12309         * buffer.C (asciiParagraph): avoid outputing a word twice after
12310         an inset.
12311
12312         * lyxrc.C (getDescription): document that document_path and
12313         template_path can be empty.
12314
12315 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12316
12317         * LaTeXFeatures.C (getMacros):
12318         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12319
12320         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12321
12322         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12323         getPackages.
12324         (getPackages): rename feature "floats" to "float". Use an array to
12325         iterate over 'simple' features (i.e. just a \usepackage). Add
12326         handling of "amsmath" (renamed from "amsstyle").
12327
12328 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12329
12330         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12331         features list.
12332
12333 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12334
12335         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12336         FuncStaus::FuncStatus & FuncStaus::some_method().
12337
12338 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12339
12340         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12341         of the func_satus stuff. Edited and massaged in various ways by
12342         JMarc.
12343
12344         * lyxfunc.C (getStatus): use FuncStatus
12345
12346 2002-01-08  Juergen Vigna  <jug@sad.it>
12347
12348         * text.C (nextBreakPoint): use function Inset::isChar().
12349
12350         * paragraph.C (TeXOnePar): use function
12351         Inset::forceDefaultParagraphs.
12352
12353         * buffer.C (latexParagraphs): use function
12354         Inset::forceDefaultParagraphs.
12355
12356 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12357
12358         * lyx_gui.C (init): set the style of the menu popups to
12359         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12360
12361 2002-01-07  Juergen Vigna  <jug@sad.it>
12362
12363         * text.C (setHeightOfRow): small fix
12364         (prepareToPrint): don't look at alignment if we don't have the place
12365         for doing it.
12366
12367 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12368
12369         * box.C: New file. Move the Box methods and functions out of box.h,
12370         following Lars' suggestion.
12371
12372 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12373
12374         * box.h: #include "support/LOstream.h", needed for inlined function.
12375
12376         * lyxtextclass.C:
12377         * lyxtextclasslist.C: added some using std declarations.
12378
12379 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12380
12381         * box.h: make signed dimensions to allow insets wider than
12382           the screen (bug #162)
12383
12384         * BufferView_pimpl.C: add some insetHit debug
12385
12386 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12387
12388         * vc-backend.C: add FIXME
12389
12390 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12391
12392         * lyxfunc.C (getStatus): enable code for showing math font status
12393         in toolbar/menu.
12394
12395 2002-01-07  Juergen Vigna  <jug@sad.it>
12396
12397         * text.C (nextBreakPoint): removed debug output not needed anymore.
12398
12399 2002-01-06  Juergen Vigna  <jug@sad.it>
12400
12401         * text.C (nextBreakPoint): fixed up this function we had this bug
12402         since ever but now hopefully we break row better.
12403         (insertChar): we have to check if an inset is the next char as it
12404         could now happen that a large inset is causing a break.
12405
12406 2002-01-05  Juergen Vigna  <jug@sad.it>
12407
12408         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12409         if it doesn't like to be drawed.
12410
12411 2002-01-04  Juergen Vigna  <jug@sad.it>
12412
12413         * BufferView2.C (lockInset): forgot to set a cursor.
12414
12415         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12416
12417 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12418
12419         * FormMathsPanel.C:
12420         * FormMathsPanel.h
12421         * MathsSymbols.C:
12422         * form_maths_panel.C:
12423         * form_maths_panel.h:
12424         * form_maths_panel.fd: implemented sub- and super- buttons in math
12425         panel.
12426
12427         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12428         (or ^ space) to be used as in TeX (req'd by André).
12429
12430         * lyxfunc.C: Allow ^ and _ again to be used both as
12431         super/subscript (mathed) and as themselves (in text).
12432
12433 2002-01-03  Allan Rae  <rae@lyx.org>
12434
12435         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12436         "LyX" or the filename of the current buffer if it has one.  This is a
12437         modified form of John Levon's patch.
12438
12439         * XFormsView.C (setWindowTitle): also set icon title.
12440
12441         * LyXView.h (setWindowTitle): signature changed.
12442         * XFormsView.h (setWindowTitle): ditto.
12443
12444 2002-01-02  Juergen Vigna  <jug@sad.it>
12445
12446         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12447
12448 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12449
12450         * screen.C (topCursorVisible): introduce a temp var for
12451         text->cursor.row(), handle the case where this row is null. (kindo
12452         hachish)
12453
12454         * text2.C (setCursor): add a couple of asserts.
12455
12456         * paragraph.h (inset_iterator): add -> operator
12457
12458         * paragraph.[Ch] (autoDeleteInsets): remove member function
12459
12460         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12461         cursor pos correctly and handle inset deletion by itself.
12462         (insertErrors): move iterator declaration out of for expression
12463
12464         * lyxtextclass.C: add <algorithm>
12465
12466         * Makefile.am: added the new files to sources, removed layout.C
12467
12468         * layout.C: removed file
12469
12470         * layout.h: remove LYX_DUMMY_LAYOUT
12471
12472         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12473         layout.
12474
12475         * lyxlayout.[Ch]:
12476         * lyxtextclass.[Ch]:
12477         * lyxtextclasslist.[Ch]: new files
12478
12479         * include order changes to a lot of files, also changes because of
12480         the six new files.
12481
12482 2001-12-27  Juergen Vigna  <jug@sad.it>
12483
12484         * buffer.C (asciiParagraph): more fixes.
12485
12486         * tabular.C (ascii): make ascii export support export of only the
12487         data separated by a column-delimiter.
12488         (ascii): better support for ascii export.
12489
12490         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12491
12492 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12493
12494         * tabular_funcs.C: use a "using std::getline" instead of the
12495         previous fix from Angus (necessary for cxx + lyxstring)
12496
12497 2001-12-24  Juergen Vigna  <jug@sad.it>
12498
12499         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12500
12501         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12502         problems. First check a minipage also if we have some ert-contents
12503         (not only on par->size(), second set the right depth of the paragraph
12504         on the relink to the root-paragraph-list!
12505
12506         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12507         which then did not anymore update the main paragraphs on undo/redo!
12508
12509 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12510
12511         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12512         code. Support all font-changing funcs (even those which are not in
12513         menu currently). Support for reporting font settings in
12514         mathed (disabled until Andre provides a function on mathed's side).
12515
12516         * func_status.h (toggle): small helper function to set toggle
12517         state on a flag.
12518
12519 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12520
12521         * tabular_funcs.C: getline -> std::getline
12522
12523 2001-12-21  Juergen Vigna  <jug@sad.it>
12524
12525         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12526         accessed and could be 0 (I couldn't generate this but it seems
12527         Michael could!).
12528
12529 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12530
12531         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12532         * tabular_funcs.h: here and include iosfwd
12533
12534 2001-12-20  Juergen Vigna  <jug@sad.it>
12535
12536         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12537         inside inset but undo_par was.
12538
12539 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12540
12541         * Thesaurus.C: always include <config.h> in sources.
12542
12543         * Painter.h:
12544         * lyxlookup.h:
12545         * box.h: do not include <config.h> in header files
12546
12547         * text.C (paintLastRow): remove unused variable
12548
12549         * text.C (transformChar):
12550         (insertChar):
12551         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12552
12553         * Painter.C (text):
12554         * font.C (width): rewrite to use uppercase() instead of
12555         islower/toupper.
12556
12557         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12558
12559 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12560
12561         * lyxfind.C: clean up of find failure position change
12562
12563 2001-12-20  Juergen Vigna  <jug@sad.it>
12564
12565         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12566
12567         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12568         (TeXRow): added to LaTeX a single tabular row.
12569         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12570         (Latex): simplified and finally good LT-h/f support.
12571         (various_functions): just small adaptions for LT-h/f support.
12572
12573         * tabular_funcs.[hC]: added and moved here all not classfunctions
12574         of LyXTabular.
12575
12576 2001-12-19  Juergen Vigna  <jug@sad.it>
12577
12578         * tabular.[Ch]: better support for longtabular options (not finished
12579         yet!)
12580
12581 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12582
12583         * text.C (paintLastRow): use the label font instead of the font of
12584         the last character to compute the size of *_BOX. This makes more
12585         sense and avoids a crash with empty paragraphs.
12586         Use Painter::rectangle to draw EMPTY_BOX.
12587
12588 2001-12-19  Juergen Vigna  <jug@sad.it>
12589
12590         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12591         the paragraphs if the replaced paragraph is not the first one!
12592         Tried to delete not used paragraphs but does not work yet so for
12593         now it's inside #ifdef's and by default off!
12594
12595 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12596
12597         * MenuBackend.C: include "lyx_main.h" instead of declaring
12598         lastfiles (actually was declared as LastFiles* instead of a
12599         scoped_ptr).
12600
12601 2001-12-17  Juergen Vigna  <jug@sad.it>
12602
12603         * tabular.C (AppendColumn): applied John's fix
12604
12605 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12606
12607         * BufferView.h:
12608         * BufferView.C:
12609         * BufferView_pimpl.h:
12610         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12611
12612         * Makefile.am:
12613         * box.h: new start of class for above
12614
12615         * lyxfunc.C: ignore space-only minibuffer dispatches.
12616           Show the command name when it doesn't exist
12617
12618         * minibuffer.C: don't add empty lines to the history
12619
12620         * minibuffer.C: add a space on dropdown completion
12621
12622 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12623
12624         * text.C: fix line above/below drawing in insets
12625
12626 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12627
12628         * lyxlength.C (LyXLength): Initialize private variables.
12629
12630 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12631
12632         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12633         when inserting error insets.
12634
12635 2001-12-13  Juergen Vigna  <jug@sad.it>
12636
12637         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12638         actually sometimes the before-paragraph.
12639         (setUndo): don't clear the redostack if we're not actually undoing!
12640
12641 2001-12-06  Juergen Vigna  <jug@sad.it>
12642
12643         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12644         and fixed redoing of main paragraph, so we can use it now ;)
12645
12646         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12647
12648 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12649
12650         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12651         Juergen's request
12652
12653 2001-12-13  André Pönitz <poenitz@gmx.net>
12654
12655         * undostack.[Ch]:
12656         * undo_func.C: minor cleanup
12657
12658 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12659
12660         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12661         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12662         font in urw-fonts package which is marked as -urw-fontspecific and
12663         does not work (incidentally, changing the encoding in the
12664         fonts.dir of this package to -adobe-fontspecific fixes the
12665         problem).
12666
12667         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12668         is a crash when undoing first paragraph (Juergen, please take a
12669         look). THis does not mean the undo fix is wrong, just that it
12670         uncovers problems.
12671
12672         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12673         the (Paragraph*) version when needed instead of duplicating the
12674         code.
12675
12676         * text.C (workWidth): use Inset::parOwner to find out where the
12677         inset has been inserted. This is a huge performance gain for large
12678         documents with lots of insets. If Inset::parOwner is not set, fall
12679         back on the brute force method
12680
12681         * paragraph_pimpl.C (insertInset):
12682         * paragraph.C (Paragraph):
12683         (cutIntoMinibuffer): set parOwner of insets when
12684         inserting/removing them
12685
12686         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12687
12688 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12689
12690         * commandtags.h:
12691         * LyXAction.C:
12692         * lyx_main.C:
12693         * lyxfunc.C:
12694         * mathed/formulabase.C:
12695         * mathed/math_cursor.[Ch]:
12696         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12697
12698
12699 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12700
12701         * lyxlength.[Ch] (operator!=): new function
12702
12703 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12704
12705         * text.C (workWidth): use Inset::parOwner to find out where the
12706         inset has been inserted. This is a huge performance gain for large
12707         documents with lots of insets. If Inset::parOwner is not set, fall
12708         back on the brute force method
12709
12710         * paragraph_pimpl.C (insertInset):
12711         * paragraph.C (Paragraph):
12712         (cutIntoMinibuffer): set parOwner of insets when
12713         inserting/removing them
12714
12715         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12716
12717 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12718
12719         * tabular-old.C (getTokenValue):
12720         * tabular.C (getTokenValue):
12721         (write_attribute): new versions for LyXLength
12722         (everywhere): adjust the use of widths
12723
12724         * tabular.h: change the type of widths from string to LyXLength
12725
12726 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12727
12728         * paragraph.C: fixed missing line number count when exporting
12729         Environments to LaTeX file
12730
12731         * buffer.C: added informational message for checking line numbers.
12732
12733 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12734
12735         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12736         paragraph, do the 'double space' part, but not the 'empty
12737         paragraph' one.
12738
12739         * text.C (workWidth): small optimization
12740         (getLengthMarkerHeight): use minimal size for negative lengths.
12741
12742 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12743
12744         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12745
12746         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12747
12748 2001-12-11  André Pönitz <poenitz@gmx.net>
12749
12750         * FontLoader.C:
12751         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12752
12753 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12754
12755         * text2.C: keep selection on a setFont()
12756
12757 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12758
12759         * lyx_cb.C: another bv->text misuse, from insert label
12760
12761 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12762
12763         * kbsequence.h:
12764         * kbsequence.C: re-instate nmodifier mask
12765
12766 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12767
12768         * lyx_main.h: make lyxGUI private.
12769
12770 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12771
12772         * lyxfind.C: place the cursor correctly on failed search
12773
12774 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12775
12776         * text.C (getLengthMarkerHeight): for small heights, the arrows
12777         are not always on top/bottom of the text
12778         (drawLengthMarker): smaller arrows; take the left margin in
12779         account; draw also vfills.
12780         (paintFirstRow):
12781         (paintLastRow): remove special code for vfill and standard spaces,
12782         since everything is handled in drawLengthMarker now.
12783
12784 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12785
12786         * buffer.C (insertErtContents): try to handle font and language
12787         interaction a bit better.g
12788
12789         * ColorHandler.C (updateColor): change the hash to cover the whole
12790         LColor enum, ws cleanup
12791         (getGCLinepars): ditto
12792         (getGCLinepars): only lookup in the linecache once.
12793
12794 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12795
12796         * iterators.C (operator++): Make the iterator more robust
12797
12798         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12799         (John's patch)
12800         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12801
12802 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12803
12804         * lyxtext.h:
12805         * text.C: better added space drawing
12806
12807 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12808
12809         * LyXView.C:
12810         * BufferView2.C: fix layout combo update on inset unlock
12811
12812 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12813
12814         * Makefile.am: don't compile unused files
12815
12816 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12817
12818         * lyxfunc.C:
12819         * commandtags.h:
12820         * LyXAction.C: remove old LFUN_LAYOUTNO
12821
12822 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12823
12824         * paragraph_pimpl.h:
12825         * paragraph_pimpl.C: isTextAt() doesn't need font param
12826
12827 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12828
12829         * lyxlex.h:
12830         * lyxlex.C: little cleanup
12831
12832 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12833
12834         * BufferView_pimpl.C: fix insertAscii for insets
12835
12836 2001-12-05  Juergen Vigna  <jug@sad.it>
12837
12838         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12839         set the right font on the "multi" paragraph paste!
12840
12841 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12842
12843         * trans_decl.h:
12844         * trans_mgr.[Ch]:
12845         * trans.[Ch]:
12846         * lyxgluelength.C:
12847         * lyxlength.C: remove out-commented code.
12848
12849         * BufferView_pimpl:
12850         * CutAndPaste.C:
12851         * DepTable.C:
12852         * buffer.C:
12853         * chset.C:
12854         * lastfiles.C:
12855         * lyxlex.C:
12856         * lyxlex_pimpl.C:
12857         * lyxserver.C:
12858         * screen.C:
12859         * tabular-old.C:
12860         * tabular.C:
12861         * text.C:
12862         * trans_mgr.C:
12863         * vc-backend.C: change "while(" to "while ("
12864
12865         * lyxlength.[Ch]: add zero function to check if length is zero or
12866         not
12867         * lyxgluelength.C: use it
12868
12869 2001-12-05  Allan Rae  <rae@lyx.org>
12870
12871         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12872         Works for 2.95.3, from what I understand of Garst's reports this should
12873         work for other g++ versions.  We're screwed if the abs(int) definition
12874         changed between bugfix releases of gcc.
12875
12876 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12877
12878         * text.C: fix chapter label offset !
12879
12880 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12881
12882         * lyxtext.h:
12883         * text.C: fix hfill at end of line, clean up
12884
12885 2001-12-04  Juergen Vigna  <jug@sad.it>
12886
12887         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12888         that we force an update of the inset and it's owners if neccessary.
12889
12890 2001-12-03  Juergen Vigna  <jug@sad.it>
12891
12892         * text.C (rowLast): simplified code
12893
12894 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12895
12896         * lyxfunc.C: fix show options on timeout
12897
12898 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12899
12900         * screen.C (topCursorVisible): scroll half a page when the cursor
12901         reached top of bottom of screen
12902
12903 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12904
12905         * minibuffer.C: deactivate on loss of focus
12906
12907 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12908
12909         * vspace.[Ch] (operator!=): add operator.
12910
12911 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12912
12913         * BufferView_pimpl.C: refuse to open an inset when
12914         there's a selection.
12915
12916 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12917
12918         * BufferView_pimpl.C: allow to click on RHS of full row insets
12919
12920 2001-11-30  Juergen Vigna  <jug@sad.it>
12921
12922         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12923         insets for undo reasons.
12924
12925 2001-11-28  André Pönitz <poenitz@gmx.net>
12926
12927         * vspace.[Ch]: cosmetical changes
12928
12929 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12930
12931         * LyXAction.h:
12932         * LyXAction.C:
12933         * lyxfunc.h:
12934         * lyxfunc.C:
12935         * kbmap.h:
12936         * kbmap.C:
12937         * lyxrc.C:
12938         * kbsequence.h:
12939         * kbsequence.C: part re-write of old kb code
12940
12941         * Painter.C:
12942         * WorkArea.C: remove Lgb_bug_find_hack
12943
12944 2001-11-30  José Matos <jamatos@fep.up.pt>
12945
12946         * buffer.C (makeDocBookFile): add a comment to point a hack.
12947         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12948         Fixed a double write of labels.
12949
12950 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12951
12952         * LaTeX.C:
12953         * LaTeX.h Fixed bug in LaTeX class where it would not
12954         re-run latex if no depfiles were changed, but the .dvi was removed.
12955
12956 2001-11-28  André Pönitz <poenitz@gmx.net>
12957
12958         * all the files from the change on 2001/11/26:
12959         use lyx::layout_type instead of LyXTextClass::size_type
12960         use lyx::textclass_type instead of LyXTextClassList::size_type
12961
12962 2001-11-29  Juergen Vigna  <jug@sad.it>
12963
12964         * text.C: added support for paragraph::isFreeSpacing()
12965
12966         * buffer.C: same as above
12967
12968         * paragraph.h: inserted isFreeSpacing() function to enable
12969         FreeSpacing inside InsetERT.
12970
12971         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12972         of the paragraph's in the cut/copy buffer to 0!
12973
12974         * text2.C (removeRow): remove the assert as it can!
12975
12976         * lyxtext.h: added helper function firstRow returning firstrow and
12977         made firstrow private again.
12978
12979         * BufferView2.C (lockInset): don't relock if we're already locked!
12980
12981         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12982         the only paragraph.
12983         (removeRow): added Assert::(firstrow)
12984
12985         * debug.C: forgot to add INSETTEXT here.
12986
12987 2001-11-28  Juergen Vigna  <jug@sad.it>
12988
12989         * sp_spell.C (initialize): changed error text to more general
12990         spellchecker command use (not only ispell!)
12991
12992         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12993
12994         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12995
12996 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12997
12998         * vspace.C: initialise lyxgluelength on failure
12999
13000 2001-11-28  Allan Rae  <rae@lyx.org>
13001
13002         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13003         declaration & definition that looks like a function declaration.
13004
13005 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13006
13007         * BufferView2.C (copy):
13008         (copyEnvironment): do not clear the selection when doing a copy.
13009
13010         * text.C (paintFirstRow): compilation fix
13011
13012 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13013
13014         * tabular.C (Latex): correct line count when writing latex.
13015
13016 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13017
13018         * paragraph_pimpl.h:
13019         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13020           bug a bit
13021
13022 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13023
13024         * text.C:
13025         * LColor.h:
13026         * LColor.C: change vfillline->added_space
13027
13028         * text.C: add markers and text for added space
13029
13030         * vspace.C: fix comment
13031
13032 2001-11-28  André Pönitz <poenitz@gmx.net>
13033
13034         * paragraph.C: whitespace changes
13035         * all the other files from the change on 2001/11/26:
13036         change *::pos_type into lyx::pos_type
13037
13038 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13039
13040         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13041         language of the document when inserting error insets.
13042
13043 2001-11-26  André Pönitz <poenitz@gmx.net>
13044
13045         * BufferView_pimpl.[Ch]:
13046         *       CutAndPaste.C:
13047         * buffer.[Ch]:
13048         * lyxcursor.[Ch]:
13049         * lyxfind.C:
13050         * lyxfunc.C:
13051         * lyxrow.[Ch]:
13052         * paragraph.[Ch]:
13053         * paragraph_pimpl.[Ch]:
13054         * sp_spell.C:
13055         * text.C:
13056         * text2.C: reduce header dependencies, introduce type for positions
13057
13058 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13059
13060         * <various>: change to use Alert.h
13061
13062 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13063
13064         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13065         when encountering an unknown token.
13066         (readLyXformat2): Show an error message if there were unknown tokens.
13067
13068 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13069
13070         * BufferView2.C:
13071         * BufferView_pimpl.C:
13072         * buffer.C:
13073         * paragraph.h:
13074         * text.C:
13075         * text2.C: use par->isInset()
13076
13077 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13078
13079         * paragraph_pimpl.h:
13080         * paragraph_pimpl.C: cleanup
13081
13082 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13083
13084         * text2.C (removeRow):
13085         * text.C (setHeightOfRow): remove useless (and costly) call to
13086         getRow.
13087
13088 2001-11-20  Allan Rae  <rae@lyx.org>
13089
13090         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13091         Now need Inset*::checkInsertChar() to return true for appropriate
13092         cases so that the characters in the minibuffer will actually be
13093         inserted.
13094
13095 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13096
13097         * text.C: change the order of the includes.
13098         (workWidth): initialize it at once.
13099         (workWidth): make maxw unsigned
13100         (setHeightOfRow): remove unused variable (inset)
13101         (selectSelectedWord): remove unused variable (inset)
13102         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13103
13104 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13105
13106         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13107         server is not running.
13108         (openConnection):
13109         (closeConnection): add debug info when server is disabled.
13110
13111         * ColorHandler.C (getGCForeground): send debug message to GUI
13112         channel.
13113
13114         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13115
13116         * kbmap.C (bind): modify because return conventions of
13117         kb_sequence::parse have changed.
13118
13119         * kbsequence.C (parse): only ignore spaces and not any stupid
13120         control character. This avoids tests like s[i] <= ' ', which are
13121         guaranteed to fail with 8bit characters and signed chars.
13122         Change return code to string::npos when there have been no error
13123         (0 was a bad idea when error is at first character)
13124
13125 2001-11-14  José Matos  <jamatos@fep.up.pt>
13126
13127         * buffer.h:
13128         * buffer.C (simpleDocBookOnePar): removed unused argument.
13129
13130 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13131
13132         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13133         insets which are part of a word. Paragraph::isLetter takes care of
13134         that now. Use Paragraph::isInset to identify insets.
13135         (selectSelectedWord): do not test for hyphenation break.
13136
13137         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13138         that protected spaces are considered as spaces.
13139
13140         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13141         Inset::isLetter.
13142
13143 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13144
13145         * lyxserver.h:
13146         * lyxserver.C: fix it. and small cleanup.
13147
13148 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13149
13150         * BufferView_pimpl.C: use inline helpers
13151
13152         * LaTeXFeatures.h:
13153         * LaTeXFeatures.C: fix typos
13154
13155         * Spacing.h:
13156         * Spacing.C: move spacing_string into class
13157
13158         * ToolbarDefaults.C: move stuff into namespace anon
13159
13160         * layout.h: update enum
13161
13162         * lyxfunc.C: use better debug
13163
13164         * minibuffer.h: fix typo
13165
13166         * debug.h:
13167         * debug.C:
13168         * WorkArea.C: add and use Debug::WORKAREA
13169
13170         * lyxtext.h:
13171         * text.C:
13172         * text2.C: code re-organisation, inline helpers
13173
13174 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13175
13176         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13177         std::vector.empty().
13178
13179 2001-11-09  Allan Rae  <rae@lyx.org>
13180
13181         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13182         '\n's after tables.  Tabular and ERT inset work now makes this no
13183         longer necessary.
13184
13185 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13186
13187         * minibuffer.h:
13188         * minibuffer.C: fix crash, improve drop-down completion
13189
13190 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13191
13192         * lyxserver.h:
13193         * lyxserver.C: invalidate fd's when doing endPipe()
13194
13195 2001-11-08  José Matos  <jamatos@fep.up.pt>
13196
13197         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13198         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13199
13200         * paragraph.h:
13201         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13202
13203 2001-11-07  José Matos  <jamatos@fep.up.pt>
13204
13205         * buffer.h:
13206         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13207         const qualifier.
13208
13209         * buffer.C (sgmlOpenTag):
13210         * buffer.C (sgmlCloseTag): removed debug info.
13211
13212         * buffer.h (sgmlOpenTag):
13213         * buffer.h (sgmlCloseTag): made public.
13214
13215 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13216
13217         * buffer.C (saveParamsAsDefaults):
13218         * lyx_cb.C (MenuLayoutSave): remove
13219
13220         * LyXAction.C (init):
13221         * commandtags.h:
13222         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13223
13224 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13225
13226         * buffer.C (setPaperStuff): removed from here...
13227
13228         * bufferparams.C (setPaperStuff): ... and moved there.
13229
13230 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13231
13232         * minibuffer.h:
13233         * minibuffer.C:
13234         * XFormsView.C: add support for drop-down completion
13235
13236 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13237
13238         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13239         commands.
13240
13241 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13242
13243         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13244         disabled.
13245
13246 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13247
13248         * lyx_main.C: change ref to known bugs
13249
13250 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13251
13252         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13253         to work around older babel problems.
13254
13255 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13256
13257         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13258
13259 2001-10-24  Juergen Vigna  <jug@sad.it>
13260
13261         * tabular-old.C (ReadOld): below variable changes reflected.
13262
13263         * tabular.[Ch]: added ltType struct for longtable header/footer
13264         defines and changed all instances where they are used. Added
13265         future support for double top/bottom rows.
13266
13267 2001-10-24  José Matos  <jamatos@fep.up.pt>
13268
13269         * buffer.h (docbookHandleCaption):
13270         * buffer.C (docbookHandleCaption): removed unused function.
13271         (makeDocBookFile): moved docbook supported version to v4.1.
13272
13273 2001-10-24  José Matos  <jamatos@fep.up.pt>
13274
13275         * tabular.h:
13276         * tabular.C (docbookRow): new function to export docbook code of a row.
13277         (DocBook): now honors the longtable flags.
13278
13279 2001-10-23  José Matos  <jamatos@fep.up.pt>
13280
13281         * LaTeXFeatures.h:
13282         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13283         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13284
13285         * buffer.C (makeLinuxDocFile):
13286         (makeDocBookFile): reworked the preamble, more clean, and with
13287         support for lyx defined entities. Changed the document declaration
13288         to be more XML friendly.
13289
13290         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13291         if we need to output XML that should be done with a filter.
13292
13293 2001-10-22  Juergen Vigna  <jug@sad.it>
13294
13295         * sp_pspell.h (class PSpell): add alive function needed in the
13296         controller to see if the spellchecker could be started.
13297
13298 2001-10-22  Juergen Vigna  <jug@sad.it>
13299
13300         * buffer.C (insertStringAsLines): modify the font for inserting
13301         chars in certain conditions by calling checkInsertChar(font).
13302
13303 2001-10-19  Juergen Vigna  <jug@sad.it>
13304
13305         * text.C (workWidth): use getRow instead of wrong algorithm.
13306         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13307
13308 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13309
13310         * lyxserver.h:
13311         * lyxserver.C:
13312         * lyx_main.h:
13313         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13314
13315 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13316
13317         * text.C (workWidth): do not search for the exact row when
13318         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13319         optimization for big documents.
13320
13321 2001-10-18  Juergen Vigna  <jug@sad.it>
13322
13323         * text.C (workWidth): new function with added Inset * parameter.
13324
13325 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13326
13327         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13328
13329         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13330         change return type of getColumnNearX.
13331
13332
13333         * text.C (changeRegionCase): use uppercase/lowercase instead of
13334         toupper/tolower.
13335         (leftMargin):
13336         (rightMargin): simplify code by factoring out the uses of
13337         textclasslist.
13338         (labelFill):
13339         (numberOfHfills):
13340         (setHeightOfRow):
13341         (appendParagraph): use Paragraph::size_type
13342
13343 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13344
13345         * vspace.C (asLatexString): add a missing break
13346
13347 2001-10-15  Herbert Voss  <voss@perce.de>
13348
13349         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13350
13351 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13352
13353         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13354         is not available.
13355
13356 2001-10-10  André Pönitz <poenitz@gmx.net>
13357
13358         * lyxfunc.C: removed greek_kb_flag.
13359
13360 2001-10-10  Herbert Voss  <voss@perce.de>
13361
13362         * lyx_main.C: delete global string help_lyxdir.
13363
13364 2001-10-09  Herbert Voss  <voss@perce.de>
13365
13366         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13367
13368         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13369
13370         * lyx_main.C: added global string help_lyxdir.
13371
13372         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13373
13374 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13375
13376         * lyxrc.C (set_font_norm_type): support iso8859-4
13377
13378 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13379
13380         * LaTeX.C (deplog): add another regex for MikTeX
13381
13382 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13383
13384         * lyxrc.C (set_font_norm_type): support iso8859-3
13385
13386 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13387
13388         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13389
13390         * LaTeXFeatures.C: remove special case of french and index
13391
13392         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13393         before \begin{document}). This solves several incompatibilities.
13394
13395 2001-10-03  Garst Reese  <reese@isn.net>
13396
13397         * lyx_cb.C: change CheckTex error msg.
13398
13399 2001-10-03  José Matos  <jamatos@fep.up.pt>
13400
13401         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13402
13403 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13404
13405         * .cvsignore: update
13406
13407         * lyx_main.C (commandLineVersionInfo): use new style version info.
13408
13409         * buffer.C (writeFile):
13410         (makeLaTeXFile):
13411         (makeLinuxDocFile):
13412         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13413
13414         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13415
13416         * version.h: update to use stuff in version.C
13417
13418         * version.C.in: new file. Contains version information determined
13419         at compile time. This is a merging of version.h and
13420         version_info.h.in.
13421
13422 2001-10-03  Juergen Vigna  <jug@sad.it>
13423
13424         * BufferView_pimpl.C (update): don't change "dirty" status in
13425         updateInset call.
13426
13427 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13428
13429         * WorkArea.C (c-tor): re-position version string slightly.
13430
13431 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13432
13433         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13434         revert to previous code.
13435
13436         WorkArea.[Ch]: (show, destroySplash): methods removed.
13437
13438         WorkArea.C: rework code so that it's an amalgam of the codes before and
13439         after the splash screen was moved to WorkArea.
13440
13441 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13442
13443         * lyxrc.C (read):
13444         * vspace.C (inPixels):
13445         (lyx_advance):
13446         * kbmap.C (bind):
13447         * buffer.C (insertStringAsLines):
13448         (asciiParagraph): fix types to be large enough
13449
13450         * lyxlex_pimpl.h: change member status from short to int
13451
13452         * layout.h: fix type of endlabeltype
13453
13454         * kbmap.C (bind):
13455         * kbsequence.C (parse): change return type to string::size_type
13456
13457         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13458         variable
13459
13460         * Bullet.C (bulletSize):
13461         (bulletEntry): do not use short ints as parameters
13462
13463         * BufferView2.C (insertLyXFile): change a char to an int.
13464
13465         * WorkArea.C (WorkArea): remove unneeded floats in computation
13466
13467 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13468
13469         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13470
13471         * paragraph.C (asString): Do not ignore newline/hfill chars when
13472         copying to the clipboard.
13473
13474 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13475
13476         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13477         after a multi-line inset.
13478
13479 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13480
13481         * paragraph.C (validate): Set NeedLyXFootnoteCode
13482
13483 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13484
13485         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13486         and decrease-error to decrease.
13487
13488 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13489
13490         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13491         it more readable (should be equivalent)
13492
13493 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13494
13495         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13496
13497 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13498
13499         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13500         of a cursor (row, etc.) after a character has been deleted
13501         (deleteEmptyParagraphMechanism): call the method above on _all_
13502         cursors held by the LyXText when a double space has been
13503         detected/deleted.
13504
13505 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13506
13507         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13508         pixmap.
13509         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13510
13511         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13512         background. Use greyOut() and the new show() methods to toggle between
13513         the foreground and background. Add code to remove the splash after
13514         its initial showing.
13515
13516         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13517         (create_forms): no longer call Dialogs::showSplash.
13518
13519 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13520
13521         * .cvsignore: add version_info.h
13522
13523 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13524
13525         * version_info.h.in: new file
13526
13527         * Makefile.am: add version_info.h.in
13528
13529         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13530         version_info.h instead of VERSION_INFO
13531
13532 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13533
13534         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13535         The ERT inset now returns string().
13536
13537 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13538
13539         * lyxtext.h, text.C (selectNextWord): renamed as
13540         selectNextWordToSpellcheck.
13541
13542         * text.C (selectNextWordToSpellcheck): Modified to not select
13543         words inside an ERT inset.
13544
13545 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13546
13547         * lyx_cb.C (MenuLayoutSave): change a bit the question
13548
13549         * sp_base.h: include <sys/types.h>
13550
13551 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13552
13553         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13554
13555 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13556
13557         * several files: fix typos in user-visible strings
13558
13559 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13560
13561         * text2.C (pasteSelection): do not set the selection, since it
13562         will be cleared later. Actually, the intent was to fix the way the
13563         selection was set, but I figured rmoving the code was just as good.
13564
13565 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13566
13567         * FontLoader.C (available): Check if font is available without
13568         loading the font.
13569
13570 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13571
13572         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13573
13574 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13575
13576         * lyxrc.[Ch]: added display_graphics variable and associated code.
13577
13578 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13579
13580         * bufferparams.C (hasClassDefaults): new method. Returns true if
13581         the buffer parameters correspond to known class defaults
13582
13583 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13584
13585         * XFormsView.C (show): set minimum size to the main window.
13586
13587 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13588
13589         * text2.C (copySelection):
13590         (cutSelection):
13591         * lyxfind.C (LyXReplace):
13592         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13593         LyXText::selectionAsString.
13594
13595         * paragraph.C (asString): add "label" argument to the second form
13596
13597         * text2.C (selectionAsString): add "label" argument and pass it to
13598         Paragraph::asString.
13599
13600 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13601
13602         * lyx_main.C (commandLineHelp): remove version information
13603
13604 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13605
13606         * lyx_main.C: add -version commandline option
13607
13608 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13609
13610         * paragraph.h: make the optional constructor arg required instead.
13611         some modifications to other files because of this.
13612
13613         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13614
13615         * lyxserver.C (C_LyXComm_callback): make it static
13616
13617         * lyx_main.C (error_handler): make it static
13618
13619         * lyx_gui.C (LyX_XErrHandler): make it static
13620
13621         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13622
13623         * WorkArea.C: make the extern "C" methods static.
13624
13625         * Makefile.am (lyx_LDADD): simplify
13626
13627 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13628
13629         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13630         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13631
13632         * LyXAction.C (init):
13633         * lyxfunc.C (dispatch): associated code removal.
13634
13635 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13636
13637         * lyxfont.h (isSymbolFont): shut off warning
13638
13639         * text.C (setHeightOfRow):
13640         (getVisibleRow): fix crash with empty paragraphs which have a
13641         bottom line
13642
13643 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13644
13645         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13646         code.
13647
13648 2001-09-04  José Matos  <jamatos@fep.up.pt>
13649         * buffer.C
13650         * buffer.h
13651         * tabular.C (docbook): rename docBook method to docbook.
13652
13653 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13654
13655         * Makefile.am: add dependencies to main.o.
13656
13657 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13658
13659         * FontLoader.C (available): Return false if !lyxrc.use_gui
13660
13661 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13662
13663         * FontInfo.C (query):
13664         * converter.C (view):
13665         * importer.C (Import):
13666         * exporter.C (Export): Can not -> cannot.
13667
13668 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13669
13670         * BufferView_pimpl.C: allow to create index inset even if
13671           string is empty
13672
13673 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13674
13675         * buffer.C (getLists): replace boost::tie code with an explicit pair
13676         as boost::tie can break some compilers.
13677
13678         * iterators.h: Added a std:: declaration to the return type of
13679         ParIterator::size.
13680
13681 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13682
13683         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13684           case.
13685
13686 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13687
13688         * iterators.[Ch]: New files. Provide paragraph iterators.
13689
13690         * buffer.C (changeLanguage): Use paragraph iterators.
13691         (isMultiLingual): ditto
13692
13693         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13694
13695 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13696
13697         * FontLoader.C: Support for cmr font.
13698
13699 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13700
13701         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13702         (available): New method.
13703
13704         * FontInfo.C (getFontname): Use scalable fonts even when
13705         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13706         found.
13707
13708 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13709
13710         * converter.C (Formats::view): reverted! Incorrect fix.
13711
13712 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13713
13714         * converter.C (Formats::view): only output the -paper option
13715         if the dvi viewer is xdvi, thereby fixing bug #233429.
13716
13717 2001-08-23  Herbert Voss  <voss@perce>
13718
13719         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13720
13721 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13722
13723         * Spacing.h (Spacing): Set space to Default on in the default
13724         constructor.
13725
13726 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13727
13728         * vc-backend.h (RCS::versionString): add RCS to version
13729         (CVS::versionString): add CVS to version
13730
13731         * vc-backend.C (scanMaster): do not add CVS to version.
13732         (scanMaster): do not add RCS to version
13733
13734         * lyxvc.C (versionString): new method
13735
13736         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13737
13738 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13739
13740         * Spacing.C (set): initialize fval
13741
13742 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13743
13744         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13745         " or \.
13746
13747 2001-08-16  Juergen Vigna  <jug@sad.it>
13748
13749         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13750
13751 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13752
13753         * BufferView_pimpl.C:
13754         * figureForm.C:
13755         * lyxtext.h:
13756         * text2.C: setParagraph takes linespacing now
13757
13758 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13759
13760         * LyxAction.C: add internal LFUN_CITATION_INSERT
13761
13762         * LyXView.C: actually apply fix
13763
13764         * bufferlist.C: fix open non-existent file
13765
13766         * lyxfind.C: fix indentation
13767
13768         * lyxfunc.C: remove unneeded assert, fix typo
13769
13770 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13771
13772         * MenuBackend.C: use "Floatname List"
13773
13774 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13775
13776         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13777         when converting LaTeX layout to insetERT.
13778         Generate a non-collapsed float when reading old float
13779
13780 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13781
13782         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13783         ERT insets.
13784
13785 2001-08-13  Juergen Vigna  <jug@sad.it>
13786
13787         * text.C (fill): return 0 instead of 20 as this seems to be the more
13788         correct value.
13789
13790 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13791
13792         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13793         lyxrc.font_norm.
13794
13795 2001-08-13  Juergen Vigna  <jug@sad.it>
13796
13797         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13798         casesensitive off.
13799         (SearchBackward): comment out the unlocking of the inset_owner this
13800         should not be needed!
13801
13802 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13803
13804         * Many files: Remove inherit_language, and add latex_language
13805
13806         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13807         collapsible insets.
13808
13809 2001-08-10  Juergen Vigna  <jug@sad.it>
13810
13811         * text.C (prepareToPrint): fixed hfill-width in draw!
13812
13813         * BufferView2.C (selectLastWord): save the selection cursor as this
13814         now is cleared in the function LyXText::clearSelection!
13815
13816 2001-08-08  Juergen Vigna  <jug@sad.it>
13817
13818         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13819         BACKSPACE type functions.
13820
13821         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13822         is only cutted from the document but not put in the cut-buffer, where
13823         still the old stuff should be.
13824
13825         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13826
13827         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13828
13829         * tabular.C (SetWidthOfCell): fixed special case where the width
13830         was not updated!
13831         (LeftLine): handle '|' in align_special.
13832         (RightLine): ditto
13833         (LeftAlreadyDrawed): ditto
13834         (SetWidthOfCell): ditto
13835
13836 2001-08-07  Juergen Vigna  <jug@sad.it>
13837
13838         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13839
13840 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13841
13842         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13843         * lyxlex.[hC]: ditto
13844
13845 2001-08-06  Juergen Vigna  <jug@sad.it>
13846
13847         * text.C (getVisibleRow): fix up row clearing a bit.
13848
13849 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13850
13851         * minibuffer.C: make sure the X server sees the changes in the input.
13852
13853 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13854
13855         * paragraph.C (getFont): split into...
13856         (getLabelFont): this
13857         (getLayoutFont): and this
13858         * paragraph_pimpl.C (realizeFont): calling this
13859
13860         * text2.C (getFont): split into...
13861         (getLayoutFont): this
13862         (getLabelFont): and this
13863         (realizeFont): all three calling this
13864
13865         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13866         files where used.
13867
13868 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13869
13870         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13871
13872 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13873
13874         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13875         layouts from the Quote inset insertion.
13876
13877 2001-08-03  Juergen Vigna  <jug@sad.it>
13878
13879         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13880
13881         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13882         only if status not is already CHANGED_IN_DRAW (second level).
13883
13884         * text.C (draw): don't set the need_break_row when inside an
13885         InsetText LyXText.
13886
13887 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13888
13889         * buffer.C (parseSingleLyXformat2Token): handle more latex
13890         conversion cases.
13891
13892         * bufferview_funcs.[hC]: change function names to
13893         begin with small char, adjust other files.
13894
13895 2001-08-02  André Pönitz <poenitz@gmx.net>
13896
13897         * lyxfunc.C:
13898         BufferView_pimpl.C: remove broken special code for math-greek
13899
13900 2001-08-02  Juergen Vigna  <jug@sad.it>
13901
13902         * BufferView_pimpl.C (update): redone this function so that we
13903         update the text again if there was a CHANGE_IN_DRAW.
13904
13905         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13906         (drawFromTo): added a new internal bool which is used by draw() and
13907         redraw() function.
13908         (general): some cursor drawing problems fixed.
13909
13910 2001-08-01  Juergen Vigna  <jug@sad.it>
13911
13912         * lyxfind.C (LyXFind): fixed
13913         (SearchForward): ditto
13914         (SearchBackward): ditto
13915
13916         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13917         spurius drawing of the cursor in the main area.
13918
13919         * text2.C (status): small fix which could lead to a segfault!
13920         (clearSelection): remove unneeded BufferView param.
13921
13922 2001-08-01  André Pönitz <poenitz@gmx.net>
13923
13924         * lyxfunc.C: small change due to changed mathed interface
13925
13926 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13927
13928         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13929
13930 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13931
13932         * lyxfunc.c: fail gracefully if file doesn't exist
13933
13934         * LyXSendto.C:
13935         * buffer.C:
13936         * lyxfunc.C:
13937         * BufferView_pimpl.C: IsDirWriteable() proto changed
13938
13939         * LyXView.C: fix updateWindowTitle() to store the last title
13940
13941 2001-07-31  Juergen Vigna  <jug@sad.it>
13942
13943         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13944         the font (wrong since using of Paragraph::highestFontInRange).
13945
13946         * paragraph.C (highestFontInRange): added a default_size parameter.
13947
13948         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13949         (setHeightOfRow): reformat
13950
13951 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13952
13953         * converter.[hC] + affected files: move to (inital-char)lowercase
13954         function names.
13955
13956         * ParagraphParameters.C (ParagraphParameters): remove commented code
13957
13958         * PainterBase.[Ch]: remove commented code
13959
13960         * LaTeXFeatures.h: add "bool floats" for float.sty
13961
13962         * LaTeXFeatures.C (LaTeXFeatures): init floats
13963         (require): handle float
13964         (getPackages): do it with floats
13965
13966 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13967
13968         * BufferView_pimpl.C (Dispatch): improve handling of
13969         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13970
13971         * commandtags.h: #include lyxfont.h here temporarily to avoid
13972         keybinding bug.
13973
13974         * bufferlist.h: include LString.h here.
13975
13976 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13977
13978         * text2.C (getStringToIndex): new method.
13979
13980 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13981
13982         * *: Reduced header file dependencies all over.
13983
13984 2001-07-30  Baruch Even  <baruch@lyx.org>
13985
13986         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13987
13988 2001-07-29  Baruch Even  <baruch@lyx.org>
13989
13990         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13991
13992 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13993
13994         * ParameterStruct.h (endif): add a default constructor to make
13995         sure that all variables is initialized.
13996
13997         * ParagraphParameters.C (ParagraphParameters): adjust
13998
13999 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14000
14001         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14002         index; also, check that there is something to index, and that it
14003         does not span over several paragraphs.
14004         (doubleClick): use WHOLE_WORD_STRICT for double click.
14005
14006         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14007
14008         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14009         scheme.
14010
14011 2001-07-26  Baruch Even  <baruch@lyx.org>
14012
14013         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14014         an InsetFig figure, backwards compatible reading of old figure code.
14015
14016 2001-07-27  Juergen Vigna  <jug@sad.it>
14017
14018         * text2.C: font.realize function adaption.
14019
14020         * text.C (draw): add a warnings lyxerr text if needed.
14021
14022         * layout.C: font.realize function adaption.
14023
14024         * language.C: add inherit_language and implement it's handlings
14025
14026         * bufferview_funcs.C (StyleReset): remove language parameter from
14027         font creation (should be language_inherit now).
14028
14029         * bufferparams.C (writeFile): handle ignore_language.
14030
14031         * paragraph.C (getFontSettings): the language has to be resolved
14032         otherwise we have problems in LyXFont!
14033
14034         * lyxfont.C (lyxWriteChanges): added document_language parameter
14035         (update): removed unneeded language parameter
14036
14037         * paragraph.C (validate): fixed wrong output of color-package when
14038         using interface colors for certain fonts in certain environments,
14039         which should not seen as that on the final output.
14040
14041 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14042
14043         * BufferView_pimpl.C:
14044         * Thesaurus.h:
14045         * Thesaurus.C:
14046         * Makefile.am:
14047         * commandtags.h:
14048         * LyXAction.C: add thesaurus support
14049
14050         * lyxfind.h:
14051         * lyxfind.C: add "once" parameter, for thesaurus, to not
14052           move to the next match
14053
14054 2001-07-26  Juergen Vigna  <jug@sad.it>
14055
14056         * lyxfont.C (realize): honor ignore_language too!
14057         (resolved): ditto.
14058
14059         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14060
14061         * text.C (draw): one place more for ignore_language to not draw
14062         itself!
14063
14064 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14065
14066         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14067
14068 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14069
14070         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14071         the minipage conversion problem.
14072
14073 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14074
14075         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14076         insert an inset.
14077
14078 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14079
14080         * BufferView.h: don't forward declare WorkArea
14081
14082         * BufferView.C: don't include WorkArea.h
14083
14084 2001-07-25  André Pönitz <poenitz@gmx.net>
14085
14086         * commandtags.h:
14087         * LyXAction.C:
14088         * lyxfunc.C:  new LFUN 'math-space'
14089
14090         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14091
14092 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14093
14094         * text2.C (toggleInset): call open/close
14095
14096 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14097
14098         * lyxfunc.C (dispatch): add debug for the disabled case
14099
14100         * font.C (buttonText): make similar to rectText
14101
14102         * buffer.C (readInset): comment out parsing of insetlist and
14103         insttheorem
14104
14105         * PainterBase.C (rectText): small correction
14106
14107         * BufferView_pimpl.C: comment out insettheorem and insetlist
14108         * LyXAction.C: ditto
14109         * commandtags.h: ditto
14110
14111 2001-07-24  Juergen Vigna  <jug@sad.it>
14112
14113         * text.C (draw): honor the ignore_language.
14114
14115         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14116
14117 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14118
14119         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14120         char inset.
14121
14122 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14123
14124         * lyxtext.h: remove unused (and unimplemented) methods
14125
14126 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14127
14128         * text.C (getVisibleRow): honor background color
14129
14130         * PainterBase.h:
14131         * Painter.h: remove default color argument for fillRectangle
14132
14133         * text.C (backgroundColor): new method
14134
14135 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14136
14137         * text.C (getVisibleRow): adjust
14138
14139         * font.[Ch] (rectText): new method, metrics
14140         (buttonText): new method, metrics
14141
14142         * PainterBase.[hC]: make rectText and buttonText always draw and take
14143         fewer paramteres.
14144
14145 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14146
14147         * ToolbarDefaults.C (read):
14148         * MenuBackend.C (read): allow escaping in all strings
14149
14150         * BufferView_pimpl.C (insertAndEditInset): new method.
14151         (Dispatch): use insertAndEditInset whenever appropriate.
14152
14153         * BufferView_pimpl.C (insertNote): removed
14154
14155         * BufferView_pimpl.C (smartQuote): new method, moved from
14156         BufferView; if an insetquote cannot be inserted, insert a '"'
14157         character instead.
14158
14159         * BufferView2.C: remove insertCorrectQuote();
14160
14161         * lyxfunc.C (getStatus): Add support for all remaingin
14162         inset-insert lfuns.
14163
14164         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14165
14166         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14167         command (necessary to pass " as parameter of self-insert.
14168
14169         * text.C (selectWordWhenUnderCursor):
14170         (selectWord): add word_location parameter
14171         (selectWordWhenUnderCursor): same + remove special code for word
14172         boundary.
14173         (selectNextWord): use kind() to guess type of insetspecialchar,
14174         not latex().
14175
14176         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14177         (insertErtContents): create ert insets as collapsed.
14178         (readInset): better compatibility code for Info inset.
14179
14180 2001-07-20  Juergen Vigna  <jug@sad.it>
14181
14182         * lyxfunc.C (dispatch): use always LyXFind now!
14183
14184         * text2.C (init): add a reinit flag so that the LyXText can be
14185         reinited instead of deleted and reallocated (used in InsetText).
14186
14187         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14188
14189         * text.C: ditto
14190
14191         * text2.C: ditto
14192
14193 2001-07-18  Juergen Vigna  <jug@sad.it>
14194
14195         * text.C (selectNextWord): handle insets inside inset by calling
14196         always the bv->text functions so that we can go up the_locking_inset!
14197
14198         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14199         in strange locations when inside an inset!
14200
14201         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14202         handling to include insets.
14203
14204         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14205
14206 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14207
14208         * LyXAction.C (init):
14209         * commandtags.h:
14210         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14211         LIGATURE_BREAK, since the name is so stupid.
14212
14213 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14214
14215         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14216         InsetInfos.
14217
14218         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14219
14220         * sp_form.[Ch]: remove.
14221
14222         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14223
14224         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14225         InsetInfo.
14226
14227         * src/buffer.C (readInset): ditto.
14228
14229 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14230
14231         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14232         menuSeparator(), endOfSentenceDot(), ldots() and
14233         hyphenationPoint(), which are therefore removed.
14234         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14235
14236         * LyXAction.C (init):
14237         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14238
14239         * paragraph.C (getWord): removed.
14240
14241         * BufferView_pimpl.C (Dispatch): use last word or selection for
14242         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14243
14244         * lyx_main.C (queryUserLyXDir): do not ask before creating
14245         user_dir, except if it has been named explicitely.
14246
14247 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14248
14249         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14250         a document of zero size.
14251
14252 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14253
14254         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14255         approriately in the c-tor and in require().
14256         (getPackages): output the appropriate LaTeX for natbib support.
14257
14258         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14259         variables "use_natbib" and "use_numerical_citations" when reading the
14260         LyX file.
14261         (readInset): read the various natbib cite commands.
14262         (validate): white-space change.
14263
14264         * bufferparams.[Ch]: new variables "bool use_natbib" and
14265         "bool use_numerical_citations".
14266         (writeFile): output them in the LyX file.
14267
14268 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14269
14270         * lyxfunc.C (getStatus): add support for all the inset insertion
14271         commands.
14272
14273         * text2.C (insertInset):
14274         * paragraph.C (insetAllowed):
14275         * BufferView_pimpl.C (insertInset): update to take in account the
14276         renaming of insertInsetAllowed
14277
14278         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14279
14280         * text2.C (getInset): new method. returns inset at cursor position.
14281
14282         * BufferView_pimpl.C (Dispatch): changes because of this.
14283
14284         * LyXAction.C (init): rename open-stuff to inset-toggle.
14285
14286         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14287
14288         * text2.C (toggleInset): renamed from openStuff; use
14289         Inset::open().
14290
14291 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14292
14293         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14294
14295         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14296
14297 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14298
14299         * buffer.C (readLyXformat2): Add filename to the error dialog
14300
14301 2001-07-18  Juergen Vigna  <jug@sad.it>
14302
14303         * tabular.C (GetCellNumber): put an assert here instead of the check!
14304
14305 2001-07-17  Juergen Vigna  <jug@sad.it>
14306
14307         * BufferView_pimpl.C (toggleSelection): adapted too.
14308
14309         * text.C (selectNextWord): adapted for use with insets.
14310         (selectSelectedWord): ditto
14311
14312 2001-07-17  Juergen Vigna  <jug@sad.it>
14313
14314         * sp_spell.C (PSpell): fix initialitation order.
14315
14316 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14317
14318         * paragraph.C: spacing
14319
14320 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14321
14322         * sp_spell.C: repair language selection for pspell
14323
14324 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14325
14326         * lyxfunc.h: change more methods to begin with lower char.
14327
14328 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14329
14330         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14331         for unknown layouts.
14332
14333 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14334
14335         * buffer.C (readLyXformat2): Generate an error dialog if there are
14336         unknown layouts.
14337
14338 2001-07-16  Juergen Vigna  <jug@sad.it>
14339
14340         * sp_spell.C: always compile ISpell part.
14341
14342         * lyxrc.C: added use_pspell entry and it's handling.
14343
14344 2001-07-13  Juergen Vigna  <jug@sad.it>
14345
14346         * sp_spell.C: removed double includes.
14347
14348 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14349
14350         Consistent use of Lsstream.h:
14351         * Lsstream.h: added using std::stringstream for consistencies sake.
14352
14353         * buffer.C: removed using std::stringstream
14354
14355         * lyxfont.C (stateText):
14356         * paragraph.C (asString):
14357         * text.C (selectNextWord, selectSelectedWord):
14358         * text2.C (setCounter):
14359         * vspace.C (asString, asLatexString):
14360         std::ostringstream -> ostringstream.
14361
14362 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14363
14364         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14365         * commandtags.h: add LFUN_HELP_ABOUTLYX
14366         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14367
14368 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14369
14370         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14371         cursorToggle()
14372         * lyx_gui_misc.C: remove spellchecker
14373         * lyxfunc.C: showSpellchecker
14374         * sp_base.h: added
14375         * sp_ispell.h: added
14376         * sp_pspell.h: added
14377         * sp_spell.C: added
14378         * sp_form.[Ch]: removed
14379         * spellchecker.[Ch]: removed
14380
14381 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14382
14383         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14384         is set.
14385         (simpleTeXSpecialChars): Simply print the input character without
14386         any special translation if pass_thru is set.
14387
14388         * layout.h: Added bool pass_thru to layout class for being able to
14389         implement pass through of a paragraph for Literate Programming.
14390
14391         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14392         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14393         * layout.C (Read): add "passthru" to list of layout tags and add
14394         code to set the pass_thru boolean when it is read.
14395
14396 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14397
14398         * trans_decl.h: remove allowed from KmodInfo
14399
14400         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14401         remove allowed code
14402         (Load): adjust
14403
14404         * paragraph_pimpl.C (erase): use boost::prior
14405
14406         * Painter.C (text): use data() instead of c_str() when length is
14407         also provided.
14408         * WorkArea.C (putClipboard): ditto
14409         * font.h (width): ditto
14410
14411         * BufferView2.C: use it-> instead of (*it). for iterators
14412         * texrow.C: ditto
14413         * paragraph_pimpl.C: ditto
14414         * paragraph.C: ditto
14415         * minibuffer.C: ditto
14416         * language.C: ditto
14417         * kbmap.C: ditto
14418         * encoding.C: ditto
14419         * counters.C: ditto
14420         * converter.C: ditto
14421         * chset.C: ditto
14422         * Variables.C: ditto
14423         * TextCache.C: ditto
14424         * MenuBackend.C: ditto
14425         * LyXAction.C: ditto
14426         * LColor.C: ditto
14427         * FloatList.C: ditto
14428         * DepTable.C: ditto
14429         * ColorHandler.C (LyXColorHandler): ditto
14430
14431 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14432
14433         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14434
14435         * text2.C (openStuff): reintroduce this method (which had been
14436         nuked in NEW_INSETS frenzy).
14437
14438         * lyxfunc.C (Dispatch): when an action has not been handled, use
14439         its name in the error message, not its number.
14440
14441         * paragraph.C (inInset): change method name to begin with lowercase.
14442
14443         * undo_funcs.C:
14444         * text2.C: updates because of this.
14445
14446 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14447
14448         * ToolbarDefaults.C (add): add spaces in error message
14449
14450 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14451
14452         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14453         (readLyXformat2): rename return_par to first_par, use lyxlex's
14454         pushToken and remove the manual push handling.
14455         (parseSingleLyXformat2Token): add another ert comp. variable:
14456         in_tabular, rename return_par to first_par. handle newlines better
14457
14458 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14459
14460         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14461
14462 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14463
14464         * text2.C (getParFromID): removed
14465
14466         * buffer.C (getParFromID): new method moved form lyxtext.
14467         * BufferView2.C (insertErrors): adjust
14468         (setCursorFromRow): adjust
14469         * BufferView_pimpl.C (restorePosition): adjust
14470         * lyxfunc.C (Dispatch): adjust
14471         * undo_funcs.C (textUndo): adjust
14472         (textRedo): adjust
14473         (textHandleUndo): adjust
14474         (textHandleUndo): adjust
14475
14476 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14477
14478         * buffer.C: up' the LYX_FORMAT
14479
14480         * lyxfont.h: turn NO_LATEX on as default
14481
14482         * buffer.C (insertErtContents): new methods of tex style compability.
14483         (parseSingleLyXformat2Token): use it several places.
14484         * tabular.C (OldFormatRead): and here
14485
14486 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14487
14488         * text2.C: remove some commented code.
14489         reindent file.
14490
14491         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14492         * trans.C: changes because of the above.
14493
14494 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14495
14496         * text2.C (setCounter): Fix counters bug with bibliography layout.
14497
14498 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14499
14500         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14501         own member functions
14502         (simpleTeXSpecialChars): ditto
14503
14504 2001-07-06  Juergen Vigna  <jug@sad.it>
14505
14506         * a lot of files: changed the access to LyXText::status and the
14507         call of undo-functions.
14508
14509         * undo.[Ch]: added a inset_id to the undo informations.
14510
14511         * undo_funcs.[Ch]: added and moved here all undo functions.
14512
14513         * lyxtext.h: give the status enum a weight, made status_ a private
14514         variable and made accessor functions for it, removed the whole bunch
14515         of undo-functions as they are now in their own file, make some
14516         functions publically available. Added function ownerParagraph with
14517         int parameter.
14518
14519         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14520         made InInset() a const function, added getParFromID() function.
14521
14522         * buffer.[Ch]: added const version for inset_iterator functions,
14523         added getInsetFromID() function.
14524
14525         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14526         changed undo functions for new version.
14527
14528 2001-07-05  Juergen Vigna  <jug@sad.it>
14529
14530         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14531         unknow mechanism does not call the proper constructor but only this
14532         one also if I request the other!?
14533
14534 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14535
14536         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14537
14538         * text2.C (LyXText): use initialization lists.
14539
14540         * lyxtext.h (Selection): initialize set_ and mark_
14541         (init): remove method
14542
14543 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14544
14545         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14546
14547 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14548
14549         * screen.[Ch]: change method names to begin with lowercase
14550
14551         * BufferView_pimpl.C (updateScrollbar): simplify further and
14552         hopefully make it a bit faster.
14553
14554 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14555
14556         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14557         calling directly xforms functions.
14558
14559         * Painter.C (Painter):
14560         * lyx_cb.C (MenuWrite):
14561         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14562         fl_display.
14563
14564         * lyx_gui.C: remove bogus guiruntime extern declaration.
14565
14566 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14567
14568         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14569         in NEW_INSETS
14570         (redoDrawingOfParagraph): ditto
14571         (redoParagraphs): ditto
14572         (cutSelection): don't create a object for CutAndPaste use the
14573         static method directly
14574         (pasteSelection): ditto
14575
14576         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14577         LyXview (+ rename)
14578
14579 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14580
14581         * modifications to some other files because of this.
14582
14583         * Makefile.am (lyx_SOURCES): add XFormsView
14584
14585         * XFormsView.[Ch]: new files
14586
14587         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14588         the main window. Move the gui dependent stuff to XFormsView
14589
14590 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14591
14592         * tabular.C (GetCellInset): update cur_cell also in the row/col
14593         version of this function.
14594
14595         * lyxfunc.C: no need to include figure_form.h here.
14596
14597         * FontLoader.h:
14598         * lyxfunc.h:
14599         * lyxscreen.h:
14600         * text2.C:
14601         * lyxvc.C: no need to include forms.h here.
14602
14603 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14604
14605         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14606
14607         * lyxfunc.C (Dispatch):
14608         * Spacing.C (set):
14609         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14610         constructor argument.
14611
14612 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14613
14614         * paragraph.C (Paragraph): dont't clear, and just set layout.
14615         (makeSameLayout): use params's copy contructor.
14616
14617         * ParagraphParameters.[Ch] (makeSame): delete method
14618
14619 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14620
14621         * Variables.[Ch]: fix indentation, rename set to isSet
14622
14623 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14624
14625         * lyxfunc.C (Dispatch): fix typo
14626
14627 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14628
14629         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14630         upper_bound.
14631
14632         * bufferlist.C: include assert.h for emergencyWrite().
14633
14634 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14635
14636         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14637           give up at last (bug #425202) !
14638
14639 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14640
14641         * lyx_gui_misc.C:
14642         * sp_form.h:
14643         * sp_form.C:
14644         * spellchecker.h:
14645         * spellchecker.C: strip spellchecker options and bring up
14646           preferences tab instead
14647
14648 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14649
14650         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14651         the istringstream constructor
14652
14653 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14654
14655         * paragraph.C (getLayout): fix return value
14656
14657         * paragraph.h: do not declare getLayout as inline.
14658
14659         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14660
14661 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14662
14663         * lyxcursor.h (operator<): new func
14664         (operator>): new func
14665         (operator>=): new func
14666         (operator<=): new func
14667
14668         * text.C (changeCase): use selection.start and selection.end
14669         (changeRegionCase): require from to be <= to. Require par to be a
14670         valid paragraph.
14671
14672         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14673
14674 2001-06-27  Juergen Vigna  <jug@sad.it>
14675
14676         * text.C (cursorLeftOneWord): changed to return the cursor and added
14677         overlay with BufferView * parameter which calls this one.
14678         (getWord): added
14679         (selectWord): use new getWord function.
14680         (changeCase): renamed from changeWordCase as and extended to work
14681         also on selections.
14682
14683         * lyxtext.h: added enum word_location
14684
14685         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14686         changeCase as this operates now also on selections.
14687
14688 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14689
14690         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14691
14692         * many files: send debug output to Debug::INFO instead of
14693         Debug::ANY.
14694
14695         * converter.C (View):
14696         (Convert):
14697         (Move): send debug output to Debug::FILES instead of console.
14698
14699 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14700
14701         * lyxfunc.C (getStatus): use func_status
14702
14703         * func_status.h: new header, describing the results of
14704         LyXFunc::getStatus;
14705
14706         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14707         LFUN_MATH_HALIGN.
14708
14709 2001-06-25  The LyX Project  <jug@sad.it>
14710
14711         * buffer.C (sgmlOpenTag):
14712         (sgmlCloseTag):
14713         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14714
14715 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14716
14717         * text2.C: remove some dead code
14718
14719         * tabular.C (GetCellInset): store the last cell checked (gotten)
14720
14721         * tabular.h: add the helper for the speedup
14722
14723         * lyxtext.h: remove some dead code
14724
14725 2001-06-26  The LyX Project  <Asger>
14726
14727         * paragraph.C: Change export to LaTeX of alignment to
14728         \begin{center} and family for better roundtrip work with reLyX.
14729
14730         * Tune the math drawing a bit.
14731
14732 2001-06-25  The LyX Project  <Asger>
14733
14734         * LColor.C (LColor): New color for math background. New color
14735         for buttons.
14736
14737 2001-06-25  The LyX Project  <jug@sad.it>
14738
14739         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14740
14741         * lyxfunc.C (Open):
14742         * bufferlist.C (newFile): do not restrict to files ending with
14743         .lyx
14744
14745         * BufferView_pimpl.C (MenuInsertLyXFile):
14746
14747 2001-06-24  The LyX Project  <jug@sad.it>
14748
14749         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14750         of compare_no_case
14751
14752 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14753
14754         * lyxtext.h: rename most methods to begin with a small char.
14755         Lots of changes because of this.
14756
14757         * paragraph.C (Paragraph): do not call fitToSize
14758         (erase): call Pimpl::erase
14759         (insertChar): call Pimpl::insertChar
14760         (insertInset): call Pipl::insertInset
14761         (breakParagraph): do not call fitToSize
14762         (breakParagraphConservative): do not call fitToSize
14763         (fitToSize): remove method
14764
14765         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14766
14767 2001-06-24  The LyX Project  <Asger>
14768
14769         * Fix Qt compilation^2
14770
14771 2001-06-24  The LyX Project  <jug@sad.it>
14772
14773         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14774         depthHook(getDepth()-1).
14775
14776         * paragraph.h:
14777         * ParagraphParameters.h:
14778         * ParameterStruct.h: change type of depth to unsigned int ==
14779         depth_type. Many adaptations to other files before of that.
14780
14781 2001-06-24  The LyX Project  <Asger>
14782
14783         * Fix Qt compilation.
14784
14785 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14786
14787         * paragraph.h: renamed several methods to begin with small letter.
14788         several changes to many parts of the code because of this.
14789
14790 2001-06-23  The LyX Project  <jug@sad.it>
14791
14792         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14793         rewritten to discard all double spaces when KeepEmpty is off
14794         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14795         to only handle newlines but not fiddle with spaces and friends.
14796
14797         * lyxfunc.C (MenuNew): when doing 'new from template', use
14798         template_path as default directory
14799
14800 2001-06-23  The LyX Project  <Asger>
14801
14802         * Clean-up of header file includes all over
14803         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14804
14805 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14806
14807         * paragraph.h: renamed from lyxparagraph.h
14808
14809 2001-06-23  Asger  <lyx@violet.home.sad.it>
14810
14811         * Buffer.h: Removed Buffer::resize
14812         * BufferList.h: Removed BufferList::resize
14813         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14814         the document lazily when we change the width, or the font settings.
14815
14816 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14817
14818         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14819
14820 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14821
14822         * buffer.h: remove out of date comment
14823
14824 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14825
14826         * lyxscreen.h:
14827         * screen.C: fix "theoretical" GC leak
14828
14829 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14830
14831         * LaTeX.C (scanAuxFile):
14832         (deplog): remove trailing \r when reading stream (useful under
14833         win32)
14834
14835 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14836
14837         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14838         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14839         and BufferView::theLockingInset(Inset*), so should use them and not
14840         access bv_->text->the_locking_inset directly.
14841
14842         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14843
14844 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14845
14846         * Makefile.am:
14847         * tex-defs.h: remove old unused file
14848
14849 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14850
14851         * BufferView_pimpl.C: fix typo, remove minibuffer message
14852           when buffer has loaded
14853
14854 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14855
14856         * lyxfunc.C (Dispatch): use stringstream
14857         (MenuNew): use stringstream
14858         (Open): use stringstream
14859
14860         * importer.C (Import): use stringstream
14861
14862         * bufferview_funcs.C (CurrentState): use stringstream
14863
14864         * LaTeX.C (run): use stringstream
14865
14866         * BufferView_pimpl.C (savePosition): use stringstream
14867         (restorePosition): use stringstream
14868         (MenuInsertLyXFile): use stringstream
14869
14870 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14871
14872         * BufferView.C:
14873         * Bullet.C:
14874         * ColorHandler.C:
14875         * FontInfo.C:
14876         * FontLoader.C:
14877         * LColor.C:
14878         * LaTeXFeatures.C:
14879         * Painter.C:
14880         * gettext.C:
14881         * lyx_gui_misc.C:
14882         * lyxserver.C:
14883         * vspace.C: removed // -*- C++ -*- as first line.
14884
14885         * lyxfind.h:
14886         * version.h: added // -*- C++ -*- as first line.
14887
14888 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14889
14890         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14891
14892         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14893         of string
14894
14895 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14896
14897         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14898         of floats.
14899
14900 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14901
14902         * gettext.C: include LString.h even when --disable-nls is on.
14903
14904 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14905
14906         * converter.h (Get): changed argument type from int to
14907         FormatList::size_type to avoid unnecessary conversion.
14908
14909         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14910         before using it.
14911
14912 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14913
14914         * gettext.h: include LString.h even when --disable-nls is on.
14915
14916 2001-06-07  Juergen Vigna  <jug@sad.it>
14917
14918         * text.C (BreakAgain): subst spaces with tabs.
14919
14920         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14921         (resizeInsetsLyXText): set force on resizeLyXText.
14922
14923 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14924
14925         * gettext.h (gettext_init):
14926         (locale_init): use a real definition instead of a macro
14927
14928 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14929
14930         * Bufferview_pimpl.C:
14931         * LColor.h:
14932         * LColor.C: further lcolor tidies
14933
14934 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14935
14936         * BufferView_pimpl.C (updateScrollbar): simplify.
14937
14938         * BufferView2.C: don't include insets/insetinfo.h, change
14939         prototype for insertInset and call the Pimpl version. let
14940         updateInset call Pimpl version.
14941
14942         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14943         gotoInset to BufferView::Pimpl
14944
14945 2001-06-01  Juergen Vigna  <jug@sad.it>
14946
14947         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14948         inside a LockingInset (is the update needed at all?).
14949
14950 2001-05-31  Juergen Vigna  <jug@sad.it>
14951
14952         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14953         here not the old one otherwise how should we compare it afterwards
14954         if it's the same!
14955
14956 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14957
14958         * lyxfont.C:
14959         * tabular.C:
14960         * tabular-old.C:
14961         * FontInfo.C: bring C functions into global namespace when
14962         necessary
14963
14964 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14965
14966         * LString.h: make sure config.h has been loaded before LString.h.
14967
14968         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14969         (one for each char read by EatLine!).
14970
14971         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14972         variables.
14973
14974 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14975
14976         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14977         to the same as the par we break from
14978
14979 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14980
14981         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14982
14983         * MenuBackend.C (expand): also create menu entries for wide
14984         versions of the floats.
14985
14986         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14987
14988         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14989
14990         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14991         frontends/Makefile.am
14992
14993         * text2.C: adjust
14994         * text.C: adjust
14995
14996
14997         * tabular.C (getTokenValue): add std::
14998
14999         * tabular-old.C (getTokenValue): add std::
15000         (getTokenValue): ditto
15001         (getTokenValue): ditto
15002
15003         * screen.C (ToggleSelection): adjust
15004
15005         * lyxtext.h: put selection cursors inside a Selection struct.
15006
15007         * lyxfunc.C (moveCursorUpdate): adjust
15008
15009         * lyxfont.C (latexWriteStartChanges): add std::
15010
15011         * lyxfind.C: adjust
15012
15013         * font.h: delete with(char const *, LyXFont const &)
15014
15015         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15016
15017         * FontInfo.C (getFontname): add std::
15018
15019         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15020         (workAreaButtonPress): adjust
15021         (tripleClick): adjust
15022         (update): adjust
15023         (moveCursorUpdate): adjust
15024         (Dispatch): adjust
15025
15026         * BufferView2.C (gotoInset): adjust
15027
15028 2001-05-30  Juergen Vigna  <jug@sad.it>
15029
15030         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15031         to check pspell I add this as default as I now have new pspell
15032         libraries and they seem to use this.
15033
15034 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15035
15036         * text2.C (CutSelection): make the cursor valid before the call to
15037         ClearSelection.
15038
15039 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15040
15041         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15042         relied on 0 terminated strings and other horrors. Bug found due to
15043         the new assert in lyxstring!
15044
15045         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15046         KP_ keys.
15047
15048 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15049
15050         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15051         to latinkeys.bind.
15052
15053         * lyxfunc.C (processKeySym): change method of getting to the
15054         self-insert char.
15055
15056         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15057         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15058         * BufferView_pimpl.[Ch]: here as private methods.
15059
15060 2001-05-28  Juergen Vigna  <jug@sad.it>
15061
15062         * text.C (SetHeightOfRow): added the update() call again as it is
15063         needed to initialize inset dimensions!
15064
15065 2001-05-16  Juergen Vigna  <jug@sad.it>
15066
15067         * text2.C (SetCharFont): Add new function with BufferView * and
15068         bool toggleall parameters for setting insets internal fonts.
15069         (SetFont): Freeze the undo as we may change fonts in Insets and
15070         all this change should be inside only one Undo!
15071
15072         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15073         setting font's in insets as for them we have the SetFont function!
15074
15075 2001-05-15  Juergen Vigna  <jug@sad.it>
15076
15077         * text2.C (ClearSelection): to be sure we REALLY don't have any
15078         selection anymore!
15079
15080         * tabular.C (TeXCellPreamble): fixed the left border problem for
15081         multicolumn cells.
15082
15083 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15084
15085         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15086         dependancy file
15087
15088 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15089
15090         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15091         LFUN_BREAKPARAGRAPH.
15092
15093         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15094         help test to "internal only", similar for LFUN_INSERT_URL
15095
15096         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15097         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15098         auto_region_delete and deadkeys.
15099
15100 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15101
15102         * LColor.h:
15103         * LColor.C: remove some dead entries, tidy a little
15104
15105 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15106
15107         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15108         commented code.
15109         (Dispatch): implement LFUN_ESCAPE
15110
15111         * commandtags.h: add LFUN_ESCAPE
15112
15113         * LyXAction.C (init): add entry for LFUN_ESCAPE
15114
15115         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15116         Remove commented code.
15117         (insertNote): moved here
15118         (open_new_inset): moved here
15119
15120         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15121         BufferView_pimpl
15122
15123 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15124
15125         * kbmap.C (findbinding): clean it up and make it work correctly.
15126
15127         * lyx_main.C (init): do not pass argc and argv as parameters
15128
15129 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15130
15131         * buffer.C: fix path for OS/2 & Win32
15132
15133         * lyx_gui.C:
15134         * lyx_main:
15135         * lyx_main.C: Added os:: class.
15136
15137         * os2_defines.h: update
15138
15139 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15140
15141         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15142         better by trying again with reduced state.
15143
15144 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15145
15146         * lyxrc.C (read): print error about invalid key sequence only when
15147         debugging (because not all latinX keysyms are known to some X
15148         servers)
15149
15150         * kbsequence.C (getiso): add a few std:: qualifiers
15151         (getiso): comment out extra return statement.
15152
15153 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15154
15155         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15156         handling.
15157         (Dispatch): enhance the accent inset a bit. (not perfect)
15158
15159 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15160
15161         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15162
15163 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15164
15165         * bufferlist.C (emergencyWrite): fix assert() call
15166
15167 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15168
15169         * text.C (InsertChar): Added trivial patch to only send the "you
15170         can not do multiple spaces this way" message once during a
15171         session.
15172
15173 2001-05-08  Baruch Even  <baruch@lyx.org>
15174
15175         * Makefile.am: Changed order of libraries to get LyX to link properly
15176         with the gnome frontend.
15177
15178 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15179
15180         * LaTeXFeatures.h: add a std:: qualifier
15181
15182 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15183
15184         * paragraph.C (String): use stringstream
15185
15186 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15187
15188         * paragraph.C (writeFile): remove footflag arg
15189
15190         * buffer.C (makeLaTeXFile): use stringstream
15191         (latexParagraphs): remove footnot gurba
15192
15193         * LaTeXFeatures.C (getPackages): use stringstream
15194         (getMacros): likewise
15195         (getTClassPreamble): likewise
15196         (getFloatDefinitions): new method
15197
15198         * paragraph.C (writeFile): reindent
15199         (Erase): reindent
15200
15201         * WorkArea.h: revert the xpos + etc changes.
15202
15203         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15204
15205         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15206
15207         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15208         (pasteSelection): likewise
15209         * text2.C (CreateUndo): likewise
15210
15211 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15212
15213         * minibuffer.C (peek_event): temporarily reduce the functionality
15214         of the minibuffer (to allow args on lfuns)
15215
15216         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15217         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15218
15219         * buffer.C (readInset): add compability reading of old float
15220         lists, add reading of new style float list.
15221         (readInset): avoid reevaluation of inscmd.getCmdName()
15222         (getLists): reindent
15223
15224         * MenuBackend.C (MenuItem): implement parsing of
15225         md_floatlistinsert and md_floatinsert.
15226         (expand::LastFiles): move initalizaton of iterators out of loop,
15227         avoid reevaluation.
15228         (expand::Documents): introduce typdedef vector<string> Strings,
15229         and use it.
15230         (expand::ExportFormats): introduce typedef vector<Format const *>
15231         Formats, and use it.
15232         (expand): implement FloatListInsert and FloatInsert.
15233
15234         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15235         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15236         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15237
15238         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15239         handling.
15240         (Dispatch::LFUN_FLOAT_LIST): implement
15241
15242 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15243
15244         * LaTeX.C (run): Fix problem with --export code.
15245
15246 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15247
15248         * BufferView.[Ch] (workarea): removed.
15249         (getClipboard) new method; wrapper for workarea()->getClipboard()
15250
15251         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15252         bug.
15253
15254         * WorkArea.h (width, height, xpos, ypos): These methods all
15255         returned the dimensions of the work_area sub-area of WorkArea,
15256         resulting in a position error if the WorkArea were resized. Now
15257         return the dimensions of the entire WorkArea.
15258
15259         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15260
15261 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15262
15263         * LaTeX.C (deplog): correct the syntax of regex reg1
15264
15265 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15266
15267         * undo.C: remove !NEW_INSETS cruft
15268
15269 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15270
15271         * text2.C: remove !NEW_INSETS cruft
15272
15273         * text.C: remove !NEW_INSETS cruft
15274
15275         * tabular.C: remove !NEW_INSETS cruft
15276
15277         * spellchecker.C: remove !NEW_INSETS cruft
15278
15279         * lyxtext.h: remove !NEW_INSETS cruft
15280
15281         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15282
15283         * lyxfunc.C: remove !NEW_INSETS cruft
15284
15285         * lyxfind.C: remove !NEW_INSETS cruft
15286
15287         * lyx_cb.C: remove !NEW_INSETS cruft
15288
15289         * figureForm.C: remove  !NEW_INSETS cruft
15290
15291         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15292
15293         * buffer.[Ch]: remove !NEW_INSETS cruft
15294
15295         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15296
15297         * CutAndPaste.C: remove !NEW_INSETS cruft
15298
15299         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15300
15301         * BufferView2.C: remove !NEW_INSETS cruft
15302
15303         * BufferView.h: remove !NEW_INSETS cruft
15304
15305 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15306
15307         * Lsstream.h: include LString.h before the sstream headers to
15308         fix problem with gcc 2.95.3 and lyxstring
15309
15310 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15311
15312         * lyx_main.C: add using directives when needed for C functions
15313         declared in std:: namespace.
15314
15315 2001-04-27  Juergen Vigna  <jug@sad.it>
15316
15317         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15318         (SetHeightOfRow): comment out the update call should not be needed!
15319
15320 2001-04-13  Juergen Vigna  <jug@sad.it>
15321
15322         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15323         (LyXTabular): tried to minimize operator= operations (and realized
15324         hopfully Lars wish).
15325
15326 2001-04-27  Juergen Vigna  <jug@sad.it>
15327
15328         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15329
15330 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15331
15332         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15333
15334         * buffer.C (readInset): hack to make listof algorithm work
15335
15336         * BufferView_pimpl.C: hack to make listof algorithm work
15337
15338 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15339
15340         * LyXAction.C: removed all !NEW_INSETS cruft
15341         (init): moved lfun_item in method
15342
15343         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15344
15345 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15346
15347         * BufferView2.C (theLockingInset): white space.
15348
15349 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15350
15351         * minibuffer.C: include <iostream>
15352
15353         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15354
15355         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15356
15357         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15358
15359         * text.[Ch] (TransposeChars): new method
15360
15361 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15362
15363         * call message directly through LyXView instead of through LyXFunc
15364         * BufferView2.C: adjust
15365         * BufferView_pimpl.C: adjust
15366         * FontLoader.C: adjust
15367         * buffer.C: adjust
15368         * bufferview_funcs.C: adjust
15369         * converter.C: adjust
15370         * figureForm.C: adjust
15371         * importer.C: adjust
15372         * lyx_cb.C: adjust
15373         * lyx_gui_misc.C: adjust
15374         * lyxfunc.C: adjust
15375         * lyxvc.C: adjust
15376         * text2.C: adjust
15377         + more files in subdirs
15378
15379         * lyxparagraph.h (size): move up int file
15380         (GetLayout): ditto
15381
15382         * adjust all uses of Assert to lyx::Assert.
15383
15384         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15385         lyxfunctional in namespace lyx
15386         * layout.C (hasLayout): ditto
15387         (GetLayout): ditto
15388         (GetLayout): ditto
15389         (delete_layout): ditto
15390         (NumberOfClass): ditto
15391         * converter.C (GetFormat): ditto
15392         (GetNumber): ditto
15393         (Add): ditto
15394         (Delete): ditto
15395         (SetViewer): ditto
15396         * bufferlist.C (getFileNames): ditto
15397         (emergencyWriteAll): ditto
15398         (exists): ditto
15399         (getBuffer): ditto
15400         * MenuBackend.C (hasSubmenu): ditto
15401         (hasMenu): ditto
15402         (getMenu): ditto
15403         * BufferView_pimpl.C (getInsetByCode): ditto
15404
15405 2001-04-18  Juergen Vigna  <jug@sad.it>
15406
15407         * vspace.C (asLatexString): fixed the 100% problem.
15408
15409 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15410
15411         * lyxfunc.C (Dispatch):
15412         * minibuffer.C:
15413         * minibuffer.h: add a few std:: qualifiers
15414
15415 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15416
15417         * minibuffer.[Ch]: reimplement so that commands is initiated and
15418         run from lyxfunc, simplified som handling, and made the completion
15419         and history code for complete. wip.
15420
15421         * lyxfunc.C (processKeySym): call message
15422         (miniDispatch): new temporary method
15423         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15424         (LFUN_MESSAGE): implement
15425         (LFUN_MESSAGE_PUSH): implement
15426         (LFUN_MESSAGE_POP): implement
15427         (initMiniBuffer): the initial/defualt minibuffer message.
15428
15429         * lyxfont.[Ch]: inline some more getters
15430
15431         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15432
15433         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15434
15435         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15436         (AutoSave): use LFUN_MESSAGE
15437         (Reconfigure): ditto
15438
15439         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15440
15441         * figureForm.C: use LFUN_MESSAGE
15442
15443         * converter.C (runLaTeX): use LFUN_MESSAGE
15444
15445         * bufferview_funcs.C: use LFUN_MESSAGE
15446         (Melt): ditto
15447         (changeDepth): ditto
15448
15449         * bufferparams.h: use boost::
15450
15451         * bufferlist.h: inherit privately from noncopyable
15452
15453         * bufferlist.C (loadLyXFile): remove some commented code.
15454
15455         * buffer.C (runChktex): use LFUN_MESSAGE
15456
15457         * ShareContainer.h: inherit privately from noncopyable
15458
15459         * ParagraphParameters.[hC] (depth): inline it.
15460
15461         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15462         methods.
15463         (message): new method
15464         (messagePush): ditto
15465         (messagePop): ditto
15466         (show): init minibuffer
15467         (showState): direct call
15468
15469         * LaTeX.[Ch]: inherit privately from noncopyable
15470         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15471         instead of WriteStatus.
15472
15473         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15474
15475         * BufferView_pimpl.C (buffer): don't init minibuffer
15476         (workAreaButtonPress): use LFUN_MESSAGE
15477         (workAreaButtonRelease): ditto
15478         (savePosition): ditto
15479         (restorePosition): ditto
15480         (MenuInsertLyXFile): ditto
15481         (workAreaExpose): don't init minibuffer
15482         (update): remove commented code, simplify
15483
15484         * BufferView2.C (openStuff): use LFUN_MESSAGE
15485         (toggleFloat): ditto
15486         (menuUndo): ditto
15487         (menuRedo): ditto
15488         (copyEnvironment): ditto
15489         (pasteEnvironment): ditto
15490         (copy): ditto
15491         (cut): ditto
15492         (paste): ditto
15493         (gotoInset): ditto
15494         (updateInset): remove some commented code
15495
15496         * lastfiles.h: inherit privately from noncopyable
15497         * layout.h: ditto
15498         * lyx_gui.h: ditto
15499         * lyx_main.h: ditto
15500         * lyxlex.h: ditto
15501         * lyxlex_pimpl.h: ditto
15502
15503         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15504         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15505         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15506
15507         * LyXAction.h: inherit privately from noncopyable, add methods
15508         func_begin, func_end, returning iterators to the func map.
15509
15510         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15511         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15512         (func_begin): new method
15513         (func_end): new method
15514
15515         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15516         and not)
15517         (copySelection): ditto
15518         (pasteSelection): ditto
15519
15520         * BufferView.C: whitespace change
15521         * BufferView.h: inherit privately from noncopyable
15522
15523 2001-04-16  Allan Rae  <rae@lyx.org>
15524
15525         * tabular-old.C (l_getline):
15526         * spellchecker.C (sc_check_word):
15527         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15528         an unrecognised preprocessor directive.  So ensure they're wrapped.
15529
15530 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15531
15532         * src/exporter.C (Export): Give an error message when path to file
15533         contains spaces.
15534
15535 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15536
15537         * LaTeX.C (deplog): Always check that foundfile exists.
15538
15539 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15540
15541         * lyx_main.h:
15542         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15543
15544 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15545
15546         * tabular.[Ch] (getLabelList): implement new method
15547
15548         * minibuffer.h: comment ouf setTiimer
15549
15550         * minibuffer.C (ExecutingCB): constify res
15551         (peek_event): constify s
15552         (Set): constify ntext
15553         (Init): constify nicename
15554
15555         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15556
15557         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15558         (savePosition): use two params to Minibuffer::Set
15559         (restorePosition): ditto
15560
15561 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15562
15563         * lyx_main.C: include language.h
15564
15565         * Makefile.am (lyx_main.o): add language.h
15566
15567 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15568
15569         * exporter.C:
15570         * paragraph.C:
15571         * screen.C:
15572         * tabular.C:
15573         * CutAndPaste.C: include gettext.h
15574
15575         * lyxfont.h: remove old hack with ON and OFF.
15576
15577         * lyxparagraph.h:
15578         * lyxfont.h: do not include language.h...
15579
15580         * BufferView2.C:
15581         * LaTeXFeatures.C:
15582         * Painter.C:
15583         * bufferview_funcs.C:
15584         * font.C:
15585         * lyxfont.C:
15586         * text.C:
15587         * text2.C:
15588         * trans_mgr.C:
15589         * paragraph.C: ... but do it here instead
15590
15591 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15592
15593         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15594
15595         * tabular.C: small reformat
15596
15597         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15598         NEW_INSETS version
15599         (GetChar): ditto
15600         (BreakParagraph): ditto
15601         (SetOnlyLayout): ditto
15602         (SetLayout): ditto
15603
15604         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15605         with one arg less.
15606
15607         * lastfiles.C: removed most using decl, add std:: where needed
15608
15609         * buffer.C: ws changes
15610
15611         * MenuBackend.C (class compare_format): put into anon namespace
15612         (expand): constify label, names, action, action2
15613         (expand):
15614
15615         * text.C (SingleWidth): constify font
15616         (IsBoundary): constify rtl2
15617         (GetVisibleRow): constify ww
15618
15619         * LaTeX.C (deplog): constify logfile
15620
15621         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15622         start_x, end_x
15623         (workAreaExpose): constify widthChange, heightChange
15624
15625         * lyxrow.C (par): moved
15626         (height): moved
15627         (next): moved
15628         * lyxrow.h: as inlines here
15629
15630         * lyxfont.h (shape): moved from lyxfont.C
15631         (emph): moved from lyxfont.C
15632
15633         * lyxfont.C (LyXFont): use initialization list for all
15634         constructors
15635         (shape): move to lyxfont.h as inline
15636         (emph): move to lyxfont.h as inline
15637
15638
15639 2001-04-04  Juergen Vigna  <jug@sad.it>
15640
15641         * vspace.C: had to include stdio.h for use of sscanf
15642
15643 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15644
15645         * BufferView.h:
15646         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15647         independent of xforms.
15648
15649 2001-04-02  Juergen Vigna  <jug@sad.it>
15650
15651         * spellchecker.C: fixed namespace placing!
15652
15653 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15654
15655         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15656         the LyXParagraph * is 0.
15657
15658 2001-03-29  Juergen Vigna  <jug@sad.it>
15659
15660         * vspace.C: added support for %, c%, p%, l%.
15661         (stringFromUnit): added helper function.
15662         (asLatexString): changed to give right results for the %-values.
15663
15664         * buffer.C: convert the widthp in a width%.
15665
15666 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15667
15668         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15669         figureForm.[Ch].
15670
15671         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15672         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15673
15674         * lyx_cb.[Ch]: see above.
15675
15676         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15677         form1.[Ch].
15678
15679         * form1.[Ch]:
15680         * lyx.[Ch]: replaced by figure_form.[Ch].
15681
15682         * lyx_gui.C:
15683         * lyx_gui_misc.C:
15684         * lyxfunc.C: changed headers associated with above changes.
15685
15686 2001-03-27  Juergen Vigna  <jug@sad.it>
15687
15688         * BufferView_pimpl.C: set the temporary cursor right!
15689
15690 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15691
15692         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15693
15694 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15695
15696         * LString.h: removed "using std::getline"!
15697
15698         * BufferView_pimpl.C (Dispatch): changes due to changes in
15699         InsetInclude::Params.
15700
15701         * buffer.C (tag_name): removed redundant break statements as they were
15702         producing lots of warnings with my compiler.
15703
15704 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15705
15706         * LString.h: add "using std::getline" when using the real <string>.
15707
15708 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15709
15710         * buffer.C: removed bitset usage.
15711         PAR_TAG moved to an anonymous name space.
15712         (tag_name): new funtion, also in the anonymous namespace.
15713         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15714         (makeDocBookFile): clean code. Completed transition from string arrays
15715         to string vectors.
15716         (SimpleDocBookOnePar): code clean.
15717
15718 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15719
15720         * tabular.C: add some comments.
15721
15722 2001-03-22  Juergen Vigna  <jug@sad.it>
15723
15724         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15725         compatibility read a bit and fixed bug with minipage in different
15726         depth.
15727
15728 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15729
15730         * buffer.C (pop_tag): removed.
15731         (push_tag): removed.
15732         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15733         array replaced with vector. Added support for CDATA sections.
15734         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15735         at any nest level.
15736         (makeDocBookFile): XML conformant declaration of CDATA section,
15737         fixed bug related to <emphasis> in the first paragraph char.
15738         (sgmlOpenTag): exclude empty tags.
15739         (sgmlCloseTag): ditto.
15740
15741         * buffer.h (pop_tag): removed.
15742         (push_tag): removed.
15743
15744 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15745
15746         * language.h (Languages): added size_type and size().
15747
15748 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15749
15750         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15751         response on compability reading of minipages. One probliem is that
15752         the old usage of minipages was «flertydig»
15753
15754         * several files here and in subdirs: don't use static at file
15755         scope use anon namespaces instead.
15756
15757 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15758
15759         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15760         LaTeX output. This is necessary for Literate document
15761         processing.
15762
15763 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15764
15765         * buffer.C: insert hfill when needed.
15766
15767         * tabular.C (l_getline): use string::erase, small whitespace change.
15768
15769         * BufferView_pimpl.C: try the anon namespace.
15770         * WorkArea.C: ditto
15771
15772 2001-03-16  Juergen Vigna  <jug@sad.it>
15773
15774         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15775         otherwise it won't open options-dialogs.
15776
15777         * buffer.C: honor pextraWidth(p) on converting minipages.
15778
15779         * tabular.C (l_getline): changed the functions to strip trailing \r.
15780
15781 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15782
15783         * BufferView_pimpl.C:
15784         * minibuffer..C: added "using SigC::slot" declaration.
15785
15786 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15787
15788         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15789
15790         * text2.C: ditto
15791
15792         * text.C: ditto
15793
15794         * paragraph.C: ditto
15795
15796         * lyxtext.h: NO_PEXTRA
15797
15798         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15799
15800         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15801         * ParameterStruct.h: ditto
15802         * ParagraphParameters.h: ditto
15803         * lyxparagraph.h: ditto
15804
15805 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15806
15807         * buffer.C: add compability for minipage alignment.
15808         (latexParagraphs): remove unwanted pextra check.
15809
15810         * several files: remove CXX_WORKING_NAMESPACES
15811
15812         * buffer.C (pop_tag): tie is in namespace boost
15813
15814         * BufferView.h: noncopyable is in namespace boost
15815         * lyxlex.h: ditto
15816         * lyx_main.h: ditto
15817         * lyx_gui.h: ditto
15818         * layout.h: ditto
15819         * lastfiles.h: ditto
15820         * bufferlist.h: ditto
15821         * ShareContainer.h: ditto
15822         * LyXView.h: ditto
15823         * LyXAction.h: ditto
15824         * LaTeX.h: ditto
15825
15826 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15827
15828         * Merging changes from BRANCH_MVC back into HEAD.
15829
15830         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15831
15832 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15833
15834         * BufferView_pimpl.C: change from intl.C
15835
15836         * combox.h:
15837         * combox.C:
15838         * Makefile.am: move combox.*
15839
15840         * form1.h:
15841         * form1.C:
15842         * lyx_gui.C:
15843         * intl.h:
15844         * intl.C: remove dialog (covered by prefs)
15845
15846 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15847
15848         * lyxfunc.C (Dispatch): removed redundant break statement.
15849
15850 2001-03-14  Juergen Vigna  <jug@sad.it>
15851
15852         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15853
15854 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15855
15856         * buffer.C: add hack to fix compability reading of minipages.
15857
15858 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15859
15860         * buffer.C (getLists): Cleanup.
15861
15862 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15863
15864         * lyxfont.C (update): don't honor toggleall on font size.
15865
15866 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15867
15868         * bmtable.c:
15869         * bmtable.h:
15870         * Makefile.am: moved to frontends/xforms/
15871
15872         * lyx_gui_misc.C:
15873         * lyxfunc.C:
15874         * BufferView_pimpl.C: changes for moved mathpanel
15875
15876 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15877
15878         * gettext.h: fix gettext_init() in --disable-nls
15879
15880 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15881
15882         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15883
15884 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15885
15886         * lyx.C:
15887         * lyx.h: strip external form
15888
15889 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15890
15891         * BufferView_pimpl.C: add comment, destroySplash()
15892
15893 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15894
15895         * BufferView_pimpl.C:
15896         * LyXAction.C:
15897         * buffer.C:
15898         * commandtags.h:
15899         * lyxfunc.C: use re-worked insetinclude
15900
15901 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15902
15903         * buffer.C: add using std::stringstream.
15904
15905         * lyx_cb.C: readd using std::ios.
15906
15907         * buffer.C: add using std::map.
15908
15909         * BufferView_pimpl.C: add using std::vector.
15910
15911         * ShareContainer.h: add std:: to swap.
15912
15913         * buffer.h: add some typedefs
15914         * buffer.C (getLists): use them
15915         (getLists): renamed from getTocList.
15916         add a counter for the different float types and use it in the
15917         generated string.
15918         (getLists): use the same counter for the NEW_INSETS and the "non"
15919         NEW_INSETS
15920
15921         * lyx_cb.h: remove unused items, includes, using etc.
15922
15923         * ShareContainer.h: remove some commented code, add more comments
15924         and "documentation".
15925
15926 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15927
15928         * buffer.C (getTocList): make the list also when NEW_INSETS is
15929         defined.
15930
15931         * buffer.h: remove TocType
15932
15933         * buffer.C (getTocList): change to return a map<string,
15934         vector<TocItem> >, implement for dynamic number of list.
15935
15936         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15937         * text2.C (PasteSelection): adjust
15938         * CutAndPaste.C (pasteSelection): adjust
15939
15940         * FloatList.C (FloatList): update from the new_insets branch.
15941         * Floating.[Ch]: ditto
15942         * LaTeXFeatures.C: ditto
15943         * buffer.C: ditto
15944         * lyxlex_pimpl.C: ditto
15945
15946         * paragraph.C (Last): remove when NEW_INSETS is defined.
15947
15948         * other file: changes because of the above.
15949
15950 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15951
15952         * lyxparagraph.h: rename next to next_, previous to previous_,
15953         make them private for NEW_INSETS. Rename Next() to next(),
15954         Previous() to previous().
15955
15956         * other files: changes because of the above.
15957
15958 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15959
15960         * BufferView.h:
15961         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15962         problem.
15963
15964 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15965
15966         * main.C (main): pass lyx_localedir to gettext_init().
15967
15968         * gettext.h: remove locale_init and gettext_init macros
15969
15970         * gettext.C (locale_init): new function
15971         (gettext_init): new function
15972
15973         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15974         setlocale().
15975
15976 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15977
15978         * Moved credits to frontends:
15979         * credits.[Ch]: removed
15980         * credits_form.[Ch]: removed
15981         * lyx_gui_misc.C: remove credits stuff
15982         * Makefile.am:
15983
15984 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15985
15986         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15987
15988         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15989         unneeded destructor.
15990
15991         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15992         a standalone pointer again.
15993
15994         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15995
15996 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15997
15998         * Makefile.am:
15999         * filedlg.h:
16000         * filedlg.C:
16001         * LyXAction.C:
16002         * ToolbarDefaults.C:
16003         * bufferlist.C:
16004         * commandtags.h:
16005         * form1.C:
16006         * form1.h:
16007         * lyx_cb.C:
16008         * lyx_cb.h:
16009         * lyxfunc.h:
16010         * lyxfunc.C:
16011         * BufferView_pimpl.C: use new file dialog in GUII
16012
16013         * lyx_cb.h:
16014         * lyx_cb.C: remove LayoutsCB to Toolbar
16015
16016 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16017
16018         * ShareContainer.h (get): add std:: qualifier
16019
16020 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16021
16022         * ShareContainer.h: define a proper ShareContainer::value_type
16023         type (and use typename to please compaq cxx)
16024
16025 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16026
16027         * lyxparagraph.h: move serveral local vars to
16028         ParameterStruct/ParagraphParameters., use ShareContainer in
16029         FontTable., make vars in FontTable private and add getter and
16030         setter.
16031
16032         * paragraph.C: changes because of the above.
16033
16034         * lyxfont.h: remove copy constructor and copy assignment. (the
16035         default ones is ok), move number inside FontBits. move inlines to
16036         lyxfont.C
16037
16038         * lyxfont.C: add number to initializaton of statics, move several
16039         inlines here. constify several local vars. some whitespace
16040         cleanup. Dont hide outerscope variables.
16041
16042         * Spacing.h: add two new constructors to match the set methods.
16043
16044         * ShareContainer.h: new file, will perhaps be moved to support
16045
16046         * ParameterStruct.h: new file
16047
16048         * ParagraphParameters.h: new file
16049
16050         * ParagraphParameters.C: new file
16051
16052         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16053         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16054
16055         * BufferView_pimpl.C: ParagraphParameter changes.
16056         * buffer.C: Likewise.
16057         * bufferview_funcs.C: Likewise.
16058         * text.C: Likewise.
16059         * text2.C: Likewise.
16060
16061 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16062
16063         * lyxfind.C (LyXReplace): do not redefine default argument in
16064         implementation.
16065         (IsStringInText): ditto
16066         (SearchForward): ditto
16067         (SearchBackward): ditto
16068
16069 2001-03-06  Juergen Vigna  <jug@sad.it>
16070
16071         * lyxfind.C (IsStringInText): put parentes around expressions.
16072
16073 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16074
16075         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16076
16077 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16078
16079         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16080
16081         * stl_string_fwd.h: add comment
16082
16083         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16084
16085         * tabular.h:
16086         * tabular.C: remove unused DocBook methods
16087
16088         * intl.C:
16089         * language.C:
16090         * paragraph.C:
16091         * buffer.C:
16092         killed DO_USE_DEFAULT_LANGUAGE
16093
16094 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16095
16096         * lyx_gui.C: do not include language.h.
16097
16098         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16099         arguments in function implementation.
16100
16101 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16102
16103         * BufferView_pimpl.C: add <ctime>
16104
16105 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16106
16107         * BufferView_pimpl.C: add using std::find_if
16108
16109 2001-02-27  José Matos  <jamatos@fep.up.pt>
16110
16111         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16112         by OnlyPath.
16113
16114 2001-02-11  José Matos  <jamatos@fep.up.pt>
16115
16116         * buffer.C (makeDocBookFile): command styles now have a parameter as
16117         "title" by default.
16118
16119 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16120
16121         * layout_forms.[Ch]: removed
16122         * lyx_cb.[Ch]: out character
16123         * lyx_gui.C: out character
16124         * lyx_gui_misc.C: out character
16125         * bufferview_funcs.C: : out character,
16126         added toggleall as parameter in ToggleAndShow
16127
16128 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16129
16130         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16131
16132         * text2.C (SetCurrentFont): Disable number property at boundary.
16133
16134 2001-02-26  Juergen Vigna  <jug@sad.it>
16135
16136         * lyxfunc.C (getStatus): added a string argument override function so
16137         that this is correctly called from LyXFunc::Dispatch if it contains a
16138         do_not_use_argument which is used!
16139         (Dispatch): added check for "custom" export and call appropriate func.
16140
16141 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16142
16143         * lyxrc.C: Add language_command_local, language_use_babel and
16144         language_global_options.
16145
16146         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16147
16148         * buffer.C (makeLaTeXFile): Use language_use_babel and
16149         language_global_options.
16150
16151 2001-02-23  Juergen Vigna  <jug@sad.it>
16152
16153         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16154         which works with LyXText and putted it inside BufferView. Here now we
16155         only call for that part the BufferView::Dispatch() function.
16156
16157         * BufferView.C (Dispatch): added.
16158
16159         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16160         functions which needs to use a LyXText over from LyXFunc.
16161         (MenuInsertLyXFile): added
16162         (getInsetByCode): added
16163         (moveCursorUpdate): added
16164         (static TEXT): added
16165
16166 2001-02-22  Juergen Vigna  <jug@sad.it>
16167
16168         * BufferView_pimpl.C (update): call a status update to see if LyXText
16169         needs it.
16170
16171 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16172
16173         * vc-backend.C (revert): implement for CVS
16174         (getLog): implement for CVS
16175
16176 2001-02-20  Juergen Vigna  <jug@sad.it>
16177
16178         * text2.C (ClearSelection): added BufferView param for inset_owner call
16179
16180         * lyxfunc.C (TEXT): added this function and use it instead of
16181         directly owner->view()-text of getLyXText().
16182
16183 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16184
16185         * src/layout_forms.C: out preamble
16186         * src/layout_forms.h: out preamble
16187         * src/lyx_cb.C: out preamble
16188         * src/lyx_cb.h: out preamble
16189         * src/lyx_gui.C: out preamble
16190         * src/lyx_gui_misc.C: out preamble
16191         * src/lyxfunc.C: connect with guii preamble
16192
16193 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16194
16195         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16196
16197 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16198
16199         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16200         whether to run bibtex.
16201
16202 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16203
16204         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16205
16206 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16207
16208         * Makefile.am (lyx_SOURCES): removed bibforms.h
16209
16210         * vspace.h: doxygen
16211
16212         * text.C (GetVisibleRow): make several local vars const
16213
16214         * tabular.C: small cleanup.
16215
16216         * lyxserver.C (callback): use compare instead of strncmp
16217
16218         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16219         inlines to after class or to paragraph.C
16220
16221         * lyxfont.h: remove friend operator!=
16222
16223         * converter.h: move friend bool operator< to non friend and after
16224         class def.
16225
16226         * combox.h: small cleanup
16227
16228         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16229         to inlines after class def.
16230
16231         * buffer.C (pop_tag): use string operations instead of strcmp
16232
16233         * bmtable.c: doxygen, small cleanup
16234
16235         * LaTeX.h: remove friend operator==
16236
16237 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16238
16239         * screen.C:
16240         * lyxrc.[Ch]:
16241         * lyxfunc.C:
16242         * lyxfont.[Ch]:
16243         * lyx_cb.C:
16244         * intl.[Ch]:
16245         * commandtags.h:
16246         * buffer.C:
16247         * WorkArea.[Ch]:
16248         * LyXAction.C:
16249         * BufferView_pimpl.C:
16250         * BufferView.[Ch]: remove cruft
16251
16252 2001-02-14  Juergen Vigna  <jug@sad.it>
16253
16254         * lyxfunc.C: removed #if 0 unused code
16255
16256         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16257
16258         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16259
16260         * text2.C (SetSelection): added a BufferView * parameter
16261
16262 2001-02-13  Juergen Vigna  <jug@sad.it>
16263
16264         * lyxfunc.C (Dispatch): fixed protected blank problem.
16265         * BufferView2.C (protectedBlank): added LyxText * parameter.
16266
16267         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16268         (AppendColumn): same as above for column_info.
16269
16270         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16271         (moveCursorUpdate): use a LyXText param for support of InsetText.
16272
16273         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16274         (tripleClick): ditto
16275
16276         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16277
16278         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16279
16280         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16281
16282         * text2.C (SetSelection): set correct update status if inset_owner
16283         (ToggleFree): ditto
16284
16285 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16286
16287         * tabular.C: remove some commented code.
16288
16289 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16290
16291         * BufferView_pimpl.C: call hideSplash()
16292
16293         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16294
16295         * include_form.h:
16296         * bibforms.h: remove
16297
16298         * lyxfunc.C:
16299         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16300           add LFUN_CHILD_CREATE
16301
16302         * counters.h: fix tiny typo
16303
16304         * lyx_cb.C:
16305         * lyx.h:
16306         * lyx_gui.C:
16307         * lyx.C: move splash to frontends/xforms/
16308
16309         * lyx_gui_misc.C: move Include and Bibform to frontends
16310
16311         * lyxvc.h: clarify comment
16312
16313         * vspace.C: tiny housekeeping
16314
16315 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16316
16317         * text.C (PrepareToPrint): RTL Fix.
16318
16319         * paragraph.C (GetUChar): New method.
16320         (String):  Use GetUChar.
16321
16322         * buffer.C (asciiParagraph): Use GetUChar.
16323
16324 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16325
16326         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16327
16328 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16329
16330         * buffer.h:
16331         * buffer.C: rename to getLogName(), handle
16332           build log / latex log nicely
16333
16334 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16335
16336         * MenuBackend.C:
16337         * MenuBackend.h: remove support for reference menuitem type.
16338
16339 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16340
16341         * BufferView_pimpl.C: housekeeping
16342         * BufferView_pimpl.h:
16343         * LyXView.h:
16344         * Makefile.am:
16345         * Timeout.C:
16346         * Timeout.h:
16347         * minibuffer.h: move Timeout GUI-I
16348
16349 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16350
16351         * lyxrc.C (read): Update converters data-structures.
16352
16353 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16354
16355         * LaTeX.h (operator!=): add operator != for Aux_Info
16356
16357 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16358
16359         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16360
16361         * LaTeXLog.C: deleted, useful code moved to Buffer
16362
16363         * buffer.h:
16364         * buffer.C: new function getLatexLogName()
16365
16366         * lyx_gui_misc.C:
16367         * lyx_gui.C:
16368         * lyxvc.C:
16369         * lyxvc.h:
16370         * lyxfunc.C: use frontends for LaTeX and VC logs
16371
16372 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16373
16374         * LaTeX.h: yet another std:: that Allan forgot.
16375
16376         * Variables.C (set): renamed from isset(), because this clashes
16377         with some HP-UX macros (grr).
16378
16379 2001-02-06  Allan Rae  <rae@lyx.org>
16380
16381         * LaTeX.h: Another bug fix.  Missing std:: this time.
16382
16383 2001-02-04  Allan Rae  <rae@lyx.org>
16384
16385         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16386         floats problem. I've left it commented out because it's not quite
16387         correct.  It should also test that the current object is a table or
16388         figure inset.  But I haven't gotten around to figuring out how to do
16389         that.  I *think* it'll be something like: "table" == inset.type()
16390
16391         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16392         bool.
16393
16394 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16395
16396         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16397         all the citation/databases/styles in the auxilary file.
16398         (run): Rerun latex if there was a babel language error.
16399
16400 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16401
16402         * text.C (Backspace): Preserve the font when changing newline char
16403         with a space.
16404         (BreakParagraph): If the cursor is before a space, delete the space.
16405
16406         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16407
16408 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16409
16410         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16411         new argument (code).
16412         (ChangeCitationsIfUnique): New method.
16413
16414         * paragraph.C (GetPositionOfInset): Handle bibkey.
16415
16416 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16417
16418         * BufferView_pimpl.h: change type of Position::par_pos to
16419         LyXParagraph::size_type.
16420
16421 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16422
16423         * BufferView_pimpl.C (savePosition, restorePosition): Write
16424         messages to minibuffer.
16425
16426 2001-01-28  José Matos  <jamatos@fep.up.pt>
16427
16428         * buffer.C (makeDocBookFile): adds support for document language.
16429         A silly restriction on the name of LatexCommand types where removed.
16430         Added support for CDATA sections, allows to chars unescaped, used
16431         among others in code, to avoid escape < and >.
16432
16433 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16434
16435         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16436         saved positions instrad of a stack. Furthermore, a position is
16437         stored using paragraph id/paragraph position.
16438
16439         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16440         Remove LFUN_REF_BACK.
16441
16442 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16443
16444         * converter.C (dvipdfm_options): New method.
16445
16446 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16447
16448         * vspace.C (isValidLength): Fix for empty input string.
16449
16450 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16451
16452         * LyXAction.C (init): change description of LFUN_FIGURE to
16453         "Insert Graphics"
16454
16455 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16456
16457         * LaTeX.C: add using directive
16458
16459 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16460
16461         * MenuBackend.C (expand): Fix the sorting of the formats.
16462
16463 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16464
16465         * lyx_main.C: tiny error message fix
16466
16467 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16468
16469         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16470         calling fl_initialize(). This fixes the problem with ',' as
16471         decimal separator in text files.
16472
16473 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16474
16475         * trans.C (process): Fix the keymap bug.
16476
16477 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16478
16479         * LaTeX.C (scanAuxFiles): New method. Provides support for
16480         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16481         (scanLogFile) Scan for "run BibTeX" messages.
16482
16483         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16484         OT1 font encoding. Also, load the aecompl package if the ae
16485         package is loaded.
16486
16487         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16488
16489 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16490
16491         * texrow.C (increasePos): turn two error messages into debug
16492         messages.
16493
16494 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16495
16496         * LaTeX.C (scanAux): Handle the \@input macro.
16497         (runBibTeX): Use scanAux().
16498
16499         * language.C (latex_options_): New field.
16500
16501         * LaTeXFeatures.C (getMacros): Add language macros.
16502
16503         * buffer.C (makeLaTeXFile): Small fix.
16504
16505 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16506
16507         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16508
16509         * text2.C: add a using directive.
16510
16511 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16512
16513         * BufferView2.C:
16514         * lyx_gui_misc.h:
16515         * lyxfr1.C:
16516         * lyxfunc.C: kill LyXBell.
16517
16518 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16519
16520         * text.C (IsBoundary): Remove the error message
16521
16522         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16523
16524         * lyxrc.C (setDefaults): Correct initialization value for
16525         font_norm_type.
16526
16527 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16528
16529         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16530         gotoError().
16531
16532         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16533         and GotoNextNote().
16534
16535         * src/LyXAction.C: Added reference-next.
16536
16537         * text.C (InsertChar): Use contains instead of strchr.
16538
16539         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16540
16541 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16542
16543         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16544         alignment commands (when needed).
16545
16546         * text.C (InsertChar): Add ':' to number separator chars.