]> git.lyx.org Git - features.git/blob - src/ChangeLog
4995fc3697a24d95a65c16e9a1b06239be681a1a
[features.git] / src / ChangeLog
1 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * BufferView.C:
4         * BufferView_pimpl.C:
5         * CutAndPaste.C:
6         * FontIterator.C:
7         * buffer.C:
8         * cursor.C:
9         * cursor_slice.[Ch]:
10         * dociterator.[Ch]:
11         * lyxfind.C:
12         * paragraph_funcs.C:
13         * pariterator.C:
14         * rowpainter.C:
15         * text.C:
16         * text2.C:
17         * text3.C:
18         * undo.C: par->pit renaming
19
20
21 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
22
23         * tabular.C (cellstruct): use initialization, store a shared_ptr
24         to insettext instead of the insettext directly, adjust to fit.
25         (operator=):  new function
26         (swap): new function
27         (rowstruct): use initialization
28         (columnstruct): use initialization
29         (ltType): use initialization
30         
31
32         * lyxlength.h (swap): new function 
33
34         * LColor.[Ch] (operator=): use the common semantics 
35
36 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
37
38         * lyxfind.C (findNextChange): update the bufferview after setting
39         the selection
40
41 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
42
43         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
44         number of InsetOptArgs has already been inserted.
45
46         * output_latex.C (latexOptArgInsets): new method. This outputs all
47         the optarg insets, up to the limit defined in the layout file.
48         (optArgInset): removed
49         (TeXOnePar): call latexOptArgInsets; correctly update texrow
50
51 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
52
53         * paragraph.C (isLetter): remove special spellchecker-related
54         code; return true also for digits
55         (isWord, isKomma): remove
56
57         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
58         * lyxfind.C (MatchString()): use isLetter instead of isWord
59
60 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
61
62         * pariterator.h (operatir=): comment out un-implemented member
63         function.
64
65         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
66         static cast.
67
68 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
69
70         * lyxfont.h: include LColor.h to satisfy concept checks.
71
72 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
73
74         * pariterator.h: add typdefs for value_type, difference_type,
75         pointer and reference to satisfy concept checks. Also add default
76         constructor for same reason.
77
78         * pariterator.C (operator++): add post-increment operator to
79         satisfy concept checks.
80
81         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
82         checks.
83
84         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
85
86         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
87         checks. Also rename base_type to BaseType to follow naming
88         standard better.
89
90         * FloatList.h: include Floating.h to satisfy concept checks.
91
92 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
93
94         * lyxfunc.C (getStatus): when the origin of the request is menu or
95         toolbar, and the LyXView does not have focus, do as if there was
96         no buffer (bug 1720)
97
98         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
99         FuncRequest to individual entries of LFUN_SEQUENCE
100
101 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
102
103         * output_latex.C (TeXOnePar): override runparams.moving_arg
104         according to the needprotect value of the current paragraph (bug
105         1739)
106
107         * paragraph.C (simpleTeXOnePar): no need to override
108         runparams.moving_args here
109
110 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
111
112         * vspace.C: fix off-by-one-error, related to fix #1682
113
114 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
115
116         * lengthcommon.C: a more general fix for bug 1682
117
118 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
119
120         * text.C (backspace): fix crash
121
122 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
123
124         * format.[Ch] (getFormatFromFile): new method
125         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
126
127 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
128
129         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
130
131 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
132
133         * lyxfunc.C (dispatch): remove the verbose argument
134         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
135         instead
136
137         * kbmap.C (defkey): set the origin of func to KEYBOARD
138
139         * MenuBackend.C (MenuItem):
140         * ToolbarBackend.C (add): set the origin of func to UI
141
142         * funcrequest.[Ch]: add origin member, which indicates which part
143         of LyX requests an action
144
145 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
146
147         * converter.C (move): don't lie in the error message
148         * converter.h (isReachable, move): document
149
150 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
151
152         * buffer.C: remove unused using lyx::support::atoi
153         * paragraph_funcs.C: ditto
154
155 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
156
157         * bufferlist.C (exists): use bind and equal_to instead of
158         compare_memfun
159         (getBuffer): ditto
160         * lyxtextclasslist.C (NumberOfClass): ditto
161
162         * cursor.C (insert): use for_each instead of explicit for loop
163
164         * bufferlist.C (getFileNames): use std::transform and
165         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
166
167         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
168         for loop
169
170         * buffer.C (changeLanguage): use for_each instead of explicit for
171         loop
172         (hasParWithID): implement using getParFromID
173
174         * LaTeXFeatures.C: ws change only
175
176         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
177         to cleanup a bit.
178
179         * BufferView_pimpl.C (trackChanges): use for_each instead of
180         expilicit for loop
181
182 2004-11-04  André Pönitz  <poenitz@gmx.net>
183
184         * undo.h:
185         * undo.C (textUndoOrRedo): fix crash when creating undo information.
186
187         * dociterator.C (asDocIterator): use hard assert again.
188
189 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
190
191         * lyxlength.C (asLatexString): rewrite so that it does not use
192         snprintf anymore
193
194 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
195
196         * text3.C (specialChar, dispatch): make sure cursor moves to the
197         right after inserting an inset
198
199 2004-11-02  José Matos  <jamatos@lyx.org>
200
201         * output_docbook.C (docbook):
202         * paragraph.C (getID):
203         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
204         garantee that the output is always legal.
205
206         * tabular.C (docbook):
207         * outputprams.[Ch]: remove mixed contents.
208
209 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
210
211         * text2.C (setCounter): prevent endless loop
212
213 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
214
215         * exporter.C (copyFile): use the mover instead of support::copy()
216         * exporter.C (Export): pass format and latex name to copyFile()
217         * exporter.h (addExternalFile): document
218         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
219
220 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
221
222         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
223
224 2004-10-30  José Matos  <jamatos@lyx.org>
225
226         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
227         text and no inset or font change. This allows to use CDATA
228         sections just for the whole paragraph.
229
230 2004-10-30  José Matos  <jamatos@lyx.org>
231
232         * paragraph.C (getFirstWord): remove unused variable.
233
234 2004-10-30  José Matos  <jamatos@lyx.org>
235
236         * paragraph.C (getFirstWord): the content should always be escaped
237         there.
238         (simpleDocBookOnePar):
239         * output_docbook.C (makeEnvironment): replace reference to CDATA
240         to style pass_thru.
241
242 2004-10-30  José Matos  <jamatos@lyx.org>
243
244         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
245
246 2004-10-30  José Matos  <jamatos@lyx.org>
247
248         * output_docbook.C (makeParagraphs):
249         * paragraph.[Ch] (emptyTag): for docbook and company, if the
250         standard paragraph has only a given type of content drop the wrapper.
251
252 2004-10-29  José Matos  <jamatos@lyx.org>
253
254         * output_docbook.C (makeEnvironment):
255         * sgml.C (openTag):
256         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
257
258 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
259
260         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
261         (cleanID): sanitize any id.
262
263 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
264
265         * buffer.C, lyxlex_pimpl.C:
266         * lyxlex_pimpl.C (setFile):
267         s/getExtFromContents/getFormatFromContents/
268
269 2004-10-28  José Matos  <jamatos@lyx.org>
270
271         * output_docbook.C (makeEnvironment): move id to broadest possible
272         scope.
273
274         * sgml.C (openTag): apply substitution of <> for all attributes.
275
276 2004-10-28  José Matos  <jamatos@lyx.org>
277
278         * buffer.C (makeLinuxDocFile, makeDocBookFile):
279         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
280         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
281
282         * sgml.[Ch]: new version for open and closeTag for paragraph and
283         for strings. Now they handle the ids of paragraphs.
284
285 2004-10-26  Angus Leeming  <leeming@lyx.org>
286
287         * Makefile.am: add mover.[Ch].
288
289         * converter.C (convert, move): use the new Movers to move external
290         files to the temp directory.
291
292         * lyx_main.C (init): ensure that the global system_movers data
293         is initialised.
294
295         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
296         preferences file.
297
298         * mover.[Ch]: new files, defining a Mover as a utility to move an
299         external file between directories and, if necessary, manipulate this
300         file using a helper script.
301
302 2004-10-25  José Matos  <jamatos@lyx.org>
303
304         * output_docbook.C (makeCommand): merge two if's that tested the
305         same condition.
306
307 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
308
309         * sgml.C (escapeString): fix warning in a better way
310
311 2004-10-25  José Matos  <jamatos@lyx.org>
312
313         * sgml.C (escapeString): import the require boosts header file for
314         tie, and avoid a signed unsigned comparison.
315
316 2004-10-25  José Matos  <jamatos@lyx.org>
317
318         * sgml.h: add #include <string>
319
320 2004-10-25  José Matos  <jamatos@lyx.org>
321
322         * sgml.[Ch] (escapeString): new function to escape all the string.
323
324 2004-10-24  José Matos  <jamatos@lyx.org>
325
326         * paragraph.[Ch] (getFirstWord): new function to get the first
327         word. Useful for description.
328         (simpleDocBookOnePar): remove depth argument, add another that
329         says where to start the paragraph.
330
331         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
332         use the new functions to fix cleanly the support for descriptions.
333
334 2004-10-24  José Matos  <jamatos@lyx.org>
335
336         * buffer.C (makeLinuxDocFile, makeDocBookFile):
337         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
338         * output_linuxdoc.C (linuxdocParagraphs):
339         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
340         add buffer as argument.
341
342 2004-10-24  José Matos  <jamatos@lyx.org>
343
344         * output_docbook.C (makeEnvironment, searchEnvironment): place
345         CDATA inside paragraphs and fix scope for listitems.
346
347 2004-10-24  José Matos  <jamatos@lyx.org>
348
349         * output_docbook.C: remove using statement for stack.
350
351 2004-10-23  José Matos  <jamatos@lyx.org>
352
353         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
354         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
355         docbook. The new scheme is recursive and makes use of iterators, the
356         same as latex export works.
357         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
358         directly with the paragraph contents. This code was moved up to
359         output_docbook.C (docbookParagraphs).
360         * sgml.C (openTag, closeTag): removed unneeded newlines.
361         (closeEnvTags) removed.
362
363 2004-10-23  André Pönitz  <poenitz@gmx.net>
364
365         * undo.C (textUndoOrRedo):
366         * dociterator.C (asDocIterator): work around crash
367
368         * cursor.C (getStatus): replace ASSERT by more verbose error message
369           and manual correction of the problem. Should increase stability
370           while providing more sensible information.
371
372 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
373
374         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
375
376         * bufferlist.C (previous, next): new methods
377
378         * lfuns.h:
379         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
380
381 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
382
383         * buffer.C (makeDocBookFile): add dsssl stylesheet control
384         entities to preamble.
385
386 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
387
388         * messages.C (Pimpl): strip off translation context information
389
390 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
391
392         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
393         the cursor is correct (bug 1694)
394
395 2004-10-13  José Matos  <jamatos@lyx.org>
396
397         * output_docbook.C (docbookParagraphs): fix closing tags in the
398         end of the document.
399
400 2004-10-09  José Matos  <jamatos@lyx.org>
401
402         * buffer.C: format up to 237.
403         * bufferparams.C (write): use tostr to convert booleans to strings.
404
405 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
406
407         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
408
409 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
410
411         * LaTeX.C: implement use of babel language in xindy.
412
413 2004-10-05  José Matos  <jamatos@lyx.org>
414
415         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
416         Add new translators to help reading and writing the lyx file.
417
418 2004-10-05  José Matos  <jamatos@lyx.org>
419
420         * ParagraphParameters.C (read):
421         * text.C (readParToken): replace nexToken by more appropriate lex
422         methods.
423
424 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
425
426         * LaTeX.C (runMakeIndex):
427         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
428         (usually 'makeindex') configurable.
429
430         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
431         with a variable rather than with a number.
432
433 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
434
435         * output_latex.C (TeXOnePar): make sure font setting is the first
436         thing that gets output (and the last at the end). Should fix bug
437         1404.
438
439 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
440
441         * pch.h: use proper signal include
442
443         * LaTeX.h: Use preferred calling of Boost.Signal
444         * buffer.h: ditto
445
446 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
447
448         * pch.h: dont include <boost/function/function0.hpp>
449
450         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
451
452         * paragraph_pimpl.h: remove usage of ShareContainer
453
454         * paragraph_pimpl.C: remove initialization of ShareContainer.
455
456 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
457
458         Fix bug #1666
459
460         * BufferView.C (putSelectionAt): change the semantics when
461         backwards == true: now, this just swaps cursor and anchor wrt the
462         forward case
463
464         * BufferView.h (putSelectionAt): add some documentation
465
466         * lyxfind.C (findBackwards): rewrite using while(). In particular,
467         make sure backwardChar is done at least once (to avoid getting
468         stuck)
469         (findNextChange): use putSelectionAt in the forward direction
470         (operator()): use Paragraph::isWord
471
472 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
473
474         * Spacing.C (set): c_str fix
475
476 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
477
478         * lyx_cb.C (Reconfigure): quote the name of configure script in
479         case it contains spaces
480
481 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
482
483         * client: new dir
484
485         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
486         (BOOST_LIBS): use top_buildir when looking for the file
487
488 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
489
490         * pch.h: do not use include boost/format.hpp, multiple symbols
491                 will result (gcc bug)
492
493
494 2004-08-23  José Matos  <jamatos@lyx.org>
495
496         * bufferparams.C (readToken): fix reading of the author field.
497
498 2004-08-20  José Matos  <jamatos@lyx.org>
499
500         * lyxrc.C: remove support/translator.h inclusion since it is not used.
501
502 2004-08-20  José Matos  <jamatos@lyx.org>
503
504         * lyxlex.[Ch] (findToken): remove function.
505
506         * ParagraphParameters.C (findToken):
507         * bufferparams.C (findToken): replace call for previous function
508         with local copy. This local function has one more argument, the
509         read string argument.
510
511 2004-08-16  José Matos  <jamatos@lyx.org>
512
513         * ParagraphParameters.C (write):
514         * Spacing.C (writeFile):
515         * bufferparams.C (writeLaTeX):
516         * lyx_cb.C (Reconfigure):
517         * paragraph.C (write):
518         * tabular.C (write): remove unnecessary space at end of line.
519
520
521 2004-08-16  José Matos  <jamatos@lyx.org>
522
523         * text.C (readParagraph): remove debug message.
524
525 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
526
527         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
528         crash
529
530         * output_plaintext.C (asciiParagraph): set depth correctly
531
532         * outputparams.h: add member depth
533
534         * paragraph_funcs.C (ownerPar): remove.
535
536         * text2.C (setCounter): remove first_pit; comment out some
537         non-working code that uses ownerPar
538
539         * BufferView.C (getParentLanguage): remove. Not used anymore, and
540         uses ownerPar
541
542 2004-08-16  José Matos  <jamatos@lyx.org>
543
544         * text.C (readParToken, readParagraph, read): report all unknown tokens.
545         For the same level of importance use the same chanel to report problems.
546         (read): add code to deal with \begin_body and \end_body.
547
548
549 2004-08-15  José Matos  <jamatos@lyx.org>
550
551         * lyxlex.C (getString): fix comment, buffer::readBody is now
552         buffer:readDocument.
553
554         * tex-strings.C (string_papersize): Default -> default,
555         Custom -> custom, for consistency with other options.
556
557 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
558
559         * pch.h: new file
560
561         * Makefile.am: support pch
562
563 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
564
565         * text.C (readParToken): remove the static LyXFont variable and
566         pass it as a parameter instead. This fixes a nasty bug where an
567         inset will be inserted with a bad font in some situations
568         (readParagraph): adapt
569
570         * text2.C (setCounter): reduce number of calls to pars_[pit]
571
572         * text.C (singleWidth): add an assert, fix a test
573
574         * rowpainter.C (paintText): reduce number of calls to singleWidth
575
576         * paragraph.C (isHfill):
577         (isNewline): ws only
578
579 2004-08-14  André Pönitz  <poenitz@gmx.net>
580
581         * text.C:
582         * text2.C:
583         * rowpainter.C:
584         * lyxtext.h (several functions): use a Paragraph & argument
585         instead of par_type
586
587 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
588
589         * metricsinfo.h: add a new field ltr_pos to PainterInfo
590
591         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
592
593         * text.C (singleWidth): remove useless test
594
595 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
596
597         * tabular.h: remove bogus comments
598
599         * tabular.C (getDescentOfRow):
600         (isPartOfMultiColumn): add assertions
601
602         * lyxlength.C (inPixels): remove #warning
603
604 2004-08-14  André Pönitz  <poenitz@gmx.net>
605
606         * paragraph.h: inline getChar()
607
608         * BufferView.h: remove unused declarations
609
610 2004-08-14  José Matos  <jamatos@lyx.org>
611
612         * Buffer.[Ch] (readDocument): new name for old readBody.
613         * Buffer.C: new file format, new keywords: \begin_document,
614         \begin_header, \begin_body, \end_body.
615
616         * bufferparams.C (readToken): replace all calls to lex.nextToken
617         by lex.next(). Do the same to eatLine except where really needed.
618
619         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
620         line when writing to the lyx file.
621
622         * output_plaintext.C (asciiParagraph): fix Bibliography style
623         handling.
624
625         * text.C (read): fix end of file handling.
626
627 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
628
629         * MenuBackend.C (Menu::operator[]): new method to access
630         individual menu items
631         (Menu::hasFunc): new method. search for an item that corresponds
632         to a given func
633         (MenuBackend::specialMenu): new method
634         (MenuBackend::expand): if a special menu has been set, skip
635         entries whose func() appears in this menu
636
637 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
638
639         * text3.C: use Debug::DEBUG a bit more
640
641         * text.C (leftMargin): try to simplify a tiny bit change var x to
642         l_margin. Dont output the wide margins always.
643         (rightMargin): no margin in inner texts
644
645         * rowpainter.h (nestMargin): new func
646         (changebarMargin): new func
647         (rightMargin): new func
648
649         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
650         now functions.
651         (paintLast): ditto
652
653         * factory.C (createInset): modify setDrawFrame
654
655         * cursor.C: use Debug::DEBUG a bit more
656
657 2004-08-14  André Pönitz  <poenitz@gmx.net>
658
659         * coordcache.[Ch]:
660         * Makefile.am: new files to accomodate an 'external' (x,y)-position
661         cache for all insets in (at least partially) visible (top-level)
662         paragraphs.
663
664         * BufferView_pimpl.C: reset external coord cache before every update.
665         This means the coord cache only contains valid entries.
666
667 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
668
669         bug 1096
670         * BufferView_pimpl.C (getInsetByCode): move function out of class
671         and change in to a template in anon namespace. Also fix to do what
672         suits us better.
673
674 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
675
676         bug 1305
677         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
678         of char
679         (breakParagraph): rename par to par_offset and use a local
680         reference. Add code to keep the language over a rebreak.
681         (breakParagraphConservative): rename par to par_offset, use a
682         local reference
683         (mergeParagraph): ditto
684         (outerHook): ditto
685         (isFirstInSequence): ditto
686         (outerFont): rename pit to par_offset
687
688         * paragraph.C: ws change
689         * paragraph.h: ditto
690         * text3.C: ditto
691         * text.C: ditto
692
693 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
694
695         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
696         treatment for ']'
697
698         * paragraph.C (simpleTeXOnePar): when we have a \item with
699         optional argument, enclose the argument with curly brackets (in
700         case it contains a closing square bracket)
701
702         * text2.C (editXY):
703         * text2.C (editXY):
704         * text3.C (checkInsetHit): constify
705
706 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
707
708         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
709         documents (bug 1629)
710
711 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
712
713         Fix toggling of collapsable insets with the mouse (bug 1558)
714
715         * lyxfunc.C (dispatch): adapt to LCursor changes
716
717         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
718         make sure that dispatch is not invoked twice
719
720         * cursor.C (needsUpdate): new method
721         (dispatch): return void
722         (result): new method, to access the DispatchResult of the cursor.
723
724 2004-08-13  José Matos  <jamatos@lyx.org>
725
726         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
727
728 2004-08-13  André Pönitz  <poenitz@gmx.net>
729
730         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
731
732         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
733           multiple cells
734
735 2004-08-12  André Pönitz  <poenitz@gmx.net>
736
737         * text3.C: take out the 'cursor right' form insertInset and only
738         do it in those places when it is really needed. Fixes crash on
739         C-m...
740
741 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
742
743         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
744
745         * BufferView_pimpl.C (setBuffer): initialize the current font of
746         the underlying LyXText
747
748 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
749
750         * kbsequence.C (print): use UI native formatting for menu
751         shortcuts
752
753         * text.C (insertChar): call Paragraph::insertChar with a font
754         argument (cosmetic)
755
756         * paragraph.C (insertInset, insertChar): the version that takes a
757         LyXFont argument is now a wrapper around the other one (the
758         opposite used to be true).
759
760         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
761         argument. Font setting is done in Paragraph now.
762
763 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
764
765         * outputparams.h: add new members intitle and lang.
766
767         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
768         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
769
770 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
771
772         * text3.C (dispatch): remove special handling of button 4 and 5,
773         it is now taken care of in the frontend code.
774
775 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
776
777         * Spacing.h: add <string> (STLPort compile fix)
778
779 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
780
781         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
782
783 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
784
785         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
786         to bool.
787
788         * converter.C (showMessage): inherit from unary_function, make
789         operator() const.
790
791         * buffer.C (writeFile): initialize retval
792
793         * InsetList.h: rename private variable list to list_
794         * InsetList.[Ch]: adjust accordingly.
795
796 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
797
798         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
799         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
800         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
801         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
802         * ParagraphParameters.C, LaTeXFeatures.C: replace
803         "support/std_sstream.h" with <sstream>
804
805 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
806
807         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
808         * lyxsocket.C (LyXServerSocket): ditto
809         (serverCallback): ditto
810
811 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
812
813         * LaTeXFeatures.C: check release date when loading jurabib.
814
815 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
816
817         * lyxserver.C (startPipe): call register_socket_callback
818         (endPipe): call unregister_socket_callback
819
820 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
821
822         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
823         (LyXServerSocket): register the callback
824         (LyXServerSocket): unregister the callback
825         (fd): delete function
826         (serverCallback): improve error checking and setup the callbacks.
827         (dataCallback): change arg to fd.
828         (writeln): new func (copied fro the client socket) used for server
829         write to client.
830         (LyXDataSocket): simplify
831         (~LyXDataSocket): close ann unregiser callback
832         (server): delete function
833         (fd): delete function
834         (readln): small changes, improve some std::string usage
835         (writeln): constify a bit
836
837 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
838
839         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
840         Qt frontend
841
842 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
843
844         * BufferView_pimpl.C (setBuffer): set the layout combox value only
845         after it has been populated
846
847 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
848
849         * text2.C (insertInset): move cursor when inserting inset.
850
851 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
852
853         * kbmap.C (findbindings): a couple of new methods. returns a
854         container of kb_sequence objects. The real work is done by the
855         private recursive version
856         (printbindings): uses findbindings to print out a bracketed list
857         of bindings (renamed from findbinding).
858
859         * MenuBackend.C (binding): use kb_keymap::findbindings
860
861         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
862
863 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
864
865         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
866
867 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
868
869         * paragraph.C (isWord): return true on insets that report
870         isLetter().
871
872         * text.C (getWord): use Paragraph::isWord to decide what is in a
873         word and what is not; fix bug 1609.
874
875 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
876
877         * tex-strings.C: add "none" to string_paperpackages[], fixes
878         off-by-one-error in the paperpackage selection.
879
880         * lyxlex.[Ch]:
881         * tex-strings.[Ch]: char const * string[n]
882         -> char const * const string[]
883
884 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
885
886         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
887         command, return early.
888
889 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
890
891         * debug.h: add DEBUG to enum and fix size of ANY.
892
893         * debug.C: add support for Debug::DEBUG
894         (showTags): cast errorTags.level to unsigned int
895
896         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
897         (redoCurrentBuffer): ditto
898         (updateScrollbar): ditto
899         * cursor.C (dispatch): ditto
900         * text2.C (setLayout): ditto
901         (setFont): ditto
902         (updateCounters): ditto
903         (editXY): ditto
904         (deleteEmptyParagraphMechanism): ditto
905
906 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
907
908         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
909         annotations to cleanup the Makefile slightly.
910
911 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
912
913         * lyxrc.C: do not set user_email to a default value but use empty
914         instead. The entry used to be translated, which does not work
915         since at the point where lyxrc is constructed there is no
916         translation service available
917
918         * messages.C (getLocaleDir): remove and use directly
919         lyx_localedir() instead
920
921 2004-06-02  Angus Leeming  <leeming@lyx.org>
922
923         Fix crash caused by dereferencing null pointer 'exportdata' in
924         OutputParams by creating a new ExportData variable on the heap,
925         storing it in a boost::shared_ptr.
926         The crash was triggered when generating an Instant Preview
927         of an external inset.
928
929         * Makefile.am: add outputparams.C
930
931         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
932         (c-tor): allocate memory to it.
933
934         * exporter.C (c-tor): associated changes.
935
936 2004-06-01  Angus Leeming  <leeming@lyx.org>
937
938         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
939         contains data before calling isInset(0). (Bug 1513.)
940
941 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
942
943         * exporter.C (checkOverwrite): new method
944         * exporter.C (copyFile): new method
945         * exporter.C (Export): copy referenced files to the document dir
946         * exporter.[Ch]: new class ExportedFile
947         * exporter.[Ch]: new class ExportData. Contains currently the
948         names of referenced external files
949         * outputparams.h: add exportdata member.
950
951 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
952
953         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
954         version.C-tmp
955
956 2004-05-19  Angus Leeming  <leeming@lyx.org>
957
958         * LaTeXFeatures.C:
959         * ToolbarBackend.C:
960         * bufferparams.C:
961         * lyxfunc.C: small changes due to the introduction of namespace
962         lyx::frontend and the moving of namespace biblio to lyx::biblio.
963
964 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
965
966         * text3.C (dispatch): supress update when only moving the cursor
967         * cursor.C (selHandle): remove commented code
968
969 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
970
971         * paragraph.C (startTeXParParams): correct column count
972         * CutAndPaste.C (pasteSelection): remove const_cast
973         * output_docbook.C (docbookParagraphs): remove const_cast
974         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
975         const_cast and return ParagraphList::const_iterator
976         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
977         * output_plaintext.C (writeFileAscii): remove const_cast
978         * paragraph.[Ch] (simpleTeXOnePar): make const
979         * paragraph_funcs.C (outerPar): use const iterators
980         * paragraph_pimpl.C (validate): use const iterators
981         * text.C (setHeightOfRow): use const iterators
982
983 2004-05-17  Angus Leeming  <leeming@lyx.org>
984
985         * lfuns.h:
986         * LyXAction.C (init): new LFUN_INSET_REFRESH.
987
988         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
989         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
990         if the citation engine has changed.
991
992 2004-05-14  José Matos  <jamatos@lyx.org>
993
994         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
995         if the textclass does not provide it. Have it different for sgml and
996         xml.
997         support the language of document.
998         * output_docbook.C (docbookParagraphs):
999         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1000         first anchor as the id of the paragraph, remove special case code.
1001         * sgml.C (escapeChar): escape only < & >.
1002
1003 2004-05-14  Angus Leeming  <leeming@lyx.org>
1004
1005         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1006         dependencies on src/frontends/controllers/biblio.h. Define a
1007         CiteEngine_enum wrapper class to enable the enum to be forward
1008         declared.
1009
1010 2004-05-12  Angus Leeming  <leeming@lyx.org>
1011
1012         * buffer.C: up LYX_FORMAT to 234.
1013         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1014         use_numerical_citations with a single biblio::CiteEngine cite_engine
1015         variable.
1016         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1017
1018 2004-05-13  José Matos  <jamatos@lyx.org>
1019
1020         * converter.h:
1021         * converter.C (Converter, readFlags): add xml member.
1022         * outputparams.h: add XML flavor.
1023         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1024
1025 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1026
1027         * lyxfunc.C (dispatch):
1028         (getStatus): fix handling of LFUN_SEQUENCE
1029
1030 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1031
1032         * debug.C (showLevel): do not forget the end-of-line marker
1033
1034 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1035
1036         * kbmap.C (read): do not stop parsing a bind file when an error
1037         occurs (bug 1575)
1038
1039 2004-04-29  Angus Leeming  <leeming@lyx.org>
1040
1041         * cursor.C:
1042         * factory.C:
1043         * pariterator.C:
1044         * text2.C: wrap a bunch of #warning statements
1045         inside #ifdef WITH_WARNINGS blocks.
1046
1047 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1048
1049         * buffer.C: increment format to 233.
1050
1051 2004-04-28  Angus Leeming  <leeming@lyx.org>
1052
1053         * BufferView_pimpl.C:
1054         * lyxfunc.C:
1055         * text3.C:
1056         s/updateToolbar()/updateToolbars()/
1057         s/Toolbar.h/Toolbars.h/
1058
1059 2004-04-28  Angus Leeming  <leeming@lyx.org>
1060
1061         * BufferView.[Ch] (c-tor):
1062         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1063         No longer passes these data to the WorkArea generator.
1064
1065 2004-04-28  Angus Leeming  <leeming@lyx.org>
1066
1067         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1068
1069 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1070
1071         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1072
1073 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1074
1075         * output_latex.C (TeXEnvironment): make sure that there is a line
1076         break before \end{foo} for the last paragraph of a document
1077         (TeXOnePar): if the paragraph is at the end of the document (or
1078         inset) and the language has to be reset, then make sure that the
1079         line break is _before_ the language command, not after (fixes bug
1080         1225); also make sure that the language reset command is the first
1081         thing after the paragraph (to ensure proper nesting of
1082         environments and thus fix bug 1404)
1083
1084 2004-04-21  John Levon  <levon@movementarian.org>
1085
1086         * ToolbarBackend.h:
1087         * ToolbarBackend.C: make "name" be a programmatic name
1088         and a gui_name field.
1089
1090         * lyxfunc.C: display the minibuffer on M-x
1091
1092 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1093
1094         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1095         (bug 1526)
1096
1097 2004-04-19  Angus Leeming  <leeming@lyx.org>
1098
1099         * BufferView_pimpl.C (setBuffer): changed preview interface.
1100
1101         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1102         possible values.
1103
1104 2004-04-19  John Levon  <levon@movementarian.org>
1105
1106         * BufferView_pimpl.C:
1107         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1108
1109 2004-04-05  Angus Leeming  <leeming@lyx.org>
1110
1111         * text.C (redoParagraphs): add call to updateCounters(), thereby
1112         fixing the missing "Figure #:" label from the caption of a
1113         figure float.
1114
1115 2004-04-13  Angus Leeming  <leeming@lyx.org>
1116
1117         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1118         cursor is clicked out of an inset.
1119
1120 2004-04-13  Angus Leeming  <leeming@lyx.org>
1121
1122         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1123         than an InsetOld one.
1124
1125 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1126
1127         * format.[Ch]: add editor to Format
1128         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1129         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1130
1131 2004-04-08  André Pönitz  <poenitz@gmx.net>
1132
1133         * metricsinfo.h: remove PainterInfo::width member
1134
1135 2004-04-08  Angus Leeming  <leeming@lyx.org>
1136
1137         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1138         "\providecommand" rather than "\newcommand", thereby preventing
1139         clashes with packages that define "\boldsymbol" themselves.
1140         Eg, beamer.
1141
1142 2004-04-08  Angus Leeming  <leeming@lyx.org>
1143
1144         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1145         thereby squashing an unnecessary warning.
1146
1147 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1148
1149         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1150         setBuffer()
1151
1152 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1153
1154         * BufferView.C (setCursor): call redoParagraph (some insets could
1155         have been opened)
1156         (putSelectionAt): remove the 'double update' trick
1157
1158         * BufferView_pimpl.C (fitCursor): call refreshPar
1159         (workAreaDispatch): remove an uneeded update call
1160         (dispatch): remove some manual update calls
1161
1162         * cursor.[Ch]: remove cached_y_, updatePos
1163         (selHandle): set noUpdate when appropriate
1164
1165         * lyxfunc.C (dispatch): track if we need an update
1166
1167         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1168
1169         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1170         (paintSelection): cheap optimization, do not call cursorX when not
1171         needed
1172         (paintPars): change signature
1173         (refreshPar): add
1174         (paintText): adjust
1175         (paintTextInset): adjust
1176
1177         * text.C: adjust
1178
1179 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1180
1181         * lengthcommon.C: compilation fix: remove explicit array size from
1182         unit_name[] and friends
1183
1184 2004-04-05  Angus Leeming  <leeming@lyx.org>
1185
1186         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1187
1188         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1189         present only for the preferences dialog.
1190         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1191
1192 2004-04-05  Angus Leeming  <leeming@lyx.org>
1193
1194         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1195         to enable the frontends to export changes to lyxrc correctly.
1196
1197         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1198
1199 2004-04-07  André Pönitz  <poenitz@gmx.net>
1200
1201         * cursor.[Ch] (selClear, adjust): remove math
1202
1203         * cursor_slice.C: more agressive assert
1204
1205         * lyxfunc.C:
1206         * BufferView_pimpl.C: rework mouse event dispatch
1207
1208         * dociterator.C:
1209         * paragraph.C:
1210         * text2.C:
1211         * text3.C: adjust
1212
1213 2004-04-05  André Pönitz  <poenitz@gmx.net>
1214
1215         * cursor.[Ch] (valign, halign...): remove unneeded functions
1216
1217 2004-04-05  Angus Leeming  <leeming@lyx.org>
1218
1219         * lyxlength.[Ch] (unit_name et al.): const-correct.
1220
1221 2004-04-05  Angus Leeming  <leeming@lyx.org>
1222
1223         * BufferView_pimpl.C:
1224         * buffer.C:
1225         * counters.C:
1226         * cursor.C:
1227         * lyxfunc.C
1228         * paragraph.C:
1229         * pariterator.C:
1230         * text.C:
1231         * text2.C:
1232         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1233
1234 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1235
1236         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1237
1238 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1239
1240         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1241         * BufferView_pimpl.[Ch] (getStatus)
1242         * BufferView.[Ch] (getStatus): add
1243         * lyxfunc.C (getStatus): move lfuns handled in
1244         BufferView::dispatch to te function above
1245         * Cursor.C (setSelection): set selection() = true
1246
1247 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1248
1249         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1250
1251 2004-03-31  Angus Leeming  <leeming@lyx.org>
1252
1253         * lyxfunc.C (dispatch): Fall through to the generic
1254         Dialogs::show("preamble").
1255
1256 2004-03-31  Angus Leeming  <leeming@lyx.org>
1257
1258         * lyxfunc.C (dispatch): Fall through to the generic
1259         Dialogs::show("spellchecker").
1260
1261 2004-03-31  Angus Leeming  <leeming@lyx.org>
1262
1263         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1264         preferences dialog.
1265
1266 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1267
1268         * BufferView.C
1269         * cursor.[Ch]
1270         * dociterator.[Ch]:
1271         * insetiterator.[Ch]:
1272         * lyxfind.C:
1273         * lyxfunc.C:
1274         * pariterator.[Ch]:
1275         * text2.C:
1276         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1277
1278 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1279
1280         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1281         insets where we are putting the cursor.
1282
1283 2004-03-31  Angus Leeming  <leeming@lyx.org>
1284
1285         * lfuns.h:
1286         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1287
1288         * lyxrc.[Ch] (read, write): overloaded member functions taking
1289         a std::[io]stream arguments.
1290
1291         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1292
1293 2004-03-31  Angus Leeming  <leeming@lyx.org>
1294
1295         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1296         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1297
1298         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1299         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1300
1301 2004-03-31  Angus Leeming  <leeming@lyx.org>
1302
1303         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1304         the LFUN_ALL_INSETS_TOGGLE code.
1305
1306 2004-03-30  Angus Leeming  <leeming@lyx.org>
1307
1308         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1309         has died. Fall through to the generic Dialogs::show("document").
1310
1311 2004-03-30  Angus Leeming  <leeming@lyx.org>
1312
1313         * lfuns.h:
1314         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1315         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1316
1317         * lyxfunc.C (getStatus, dispatch): define the actions for these
1318         lfuns. Little more than a cut and pste job from ControlDocument.C
1319
1320         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1321
1322 2004-03-30  Angus Leeming  <leeming@lyx.org>
1323
1324         * lfuns.h:
1325         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1326         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1327
1328         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1329         open/closed state of ollapsable insets. Usage:
1330
1331         all-inset-toggle <state> <name>, where
1332         <state> == "open" || "closed" || "toggle" and
1333         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1334
1335         * lyxtext.h, text2.C (toggleInset): removed.
1336
1337         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1338         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1339         now passes LFUN_INSET_TOGGLE to the found inset.
1340
1341         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1342         is now invoked as "all-insets-toggle toggle branch".
1343
1344 2004-03-30  Angus Leeming  <leeming@lyx.org>
1345
1346         * dociterator.C:
1347         * insetiterator.C:
1348         * pariterator.[Ch]: added/corrected header blurb.
1349
1350 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1351
1352         * dociterator.[Ch]: add an inset_ member
1353         (backwardPos): implemented
1354         (backwardPos, forwardPos): use inset_ when the stack is empty.
1355         (doc_iterator_begin, doc_iterator_end): implemented
1356         * pariterator.[Ch]: adjust, add begin, end
1357         * insetiterator.[Ch]: adjust, add begin, end
1358         * cursor.C:
1359         * document.C:
1360         * BufferView.C:
1361         * BufferView_pimpl.C:
1362         * CutAndPaste.C: adjust
1363
1364 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1365
1366         * buffer.C: increment file format to 232.
1367         * LaTeXFeatures.C: add bibtopic package.
1368         * bufferparams.[Ch]: param \use_bibtopic.
1369
1370         * lyxrc.[Ch]: add lyxrc bibtex_command
1371         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1372
1373         * buffer.C: increment file format to 231.
1374
1375 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1376
1377         * dociterator.C: implement forwardPar
1378         * iterators.[Ch]: remove, replaced by
1379         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1380         * BufferView.C:
1381         * BufferView_pimpl.C:
1382         * CutAndPaste.C:
1383         * buffer.C:
1384         * bufferview_funcs.C:
1385         * cursor.C:
1386         * lyxfind.C
1387         * lyxfunc.C
1388         * paragraph_funcs.C
1389         * toc.C:
1390         * Makefile.am: adjust
1391
1392 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1393
1394         * CutAndPaste.C (pasteSelection): fix 2 crashes
1395         (eraseSelection): fix a crash
1396         * paragraph_funcs.C: remove a warning
1397
1398 2004-03-28  Angus Leeming  <leeming@lyx.org>
1399
1400         * lfuns.h:
1401         * LyXAction.C (init): new LFUN_PRINT.
1402
1403         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1404
1405 2004-03-27  Angus Leeming  <leeming@lyx.org>
1406
1407         * lfuns.h:
1408         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1409
1410         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1411
1412 2004-03-27  Angus Leeming  <leeming@lyx.org>
1413
1414         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1415         insetlist always contains non-null pointers to insets.
1416
1417 2004-03-26  Angus Leeming  <leeming@lyx.org>
1418
1419         * src/BufferView_pimpl.C:
1420         * src/CutAndPaste.C:
1421         * src/buffer.C:
1422         * src/iterators.C:
1423         * src/output_plaintext.C:
1424         * src/outputparams.h:
1425         * src/paragraph_funcs.C:
1426         * src/rowpainter.C:
1427         * src/text.C:
1428         * src/text2.C:
1429         * src/frontends/controllers/ControlErrorList.C:
1430         * src/frontends/gtk/FileDialogPrivate.C:
1431         * src/frontends/gtk/GPainter.C:
1432         * src/frontends/gtk/GToolbar.C:
1433         * src/frontends/qt2/QRef.C:
1434         * src/mathed/math_scriptinset.C: squash compiler warnings.
1435
1436 2004-03-26  Angus Leeming  <leeming@lyx.org>
1437
1438         * ispell.C (LaunchIspell::start):
1439         * lyx_cb.C (AutoSaveBuffer::start):
1440         invoke run(DontWait) rather than runNonBlocking().
1441
1442 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1443
1444         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1445
1446 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1447
1448         * kbsequence.C (print): adjust
1449
1450         * kbmap.C (printKeySym): rename and change signature
1451         (printKey): use LyXKeySym::print()
1452
1453 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1454
1455         * undo.C: add using std::advance to compile for stlport
1456
1457 2004-03-24  Angus Leeming  <leeming@lyx.org>
1458
1459         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1460         it leads to a crash when no buffer is present.
1461
1462 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1463             Martin Vermeer  <martin.vermeer@hut.fi>
1464
1465         * lyxfunc.C (dispatch):
1466         * bufferparams.C (readToken): use the new LColor::setColor
1467
1468         * LColor.[Ch] (setColor): new version that takes two strings as
1469         argument and creates a new color entry if necessary
1470
1471 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1472
1473         * buffer.C (makeLaTeXFile): if the main latex file that is
1474         processed is usually a subdocument of some master, then pretend
1475         for a while that it is actually the master
1476
1477 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1478
1479         * buffer.C (getLabelList):
1480         (getBibkeyList): use getMasterBuffer()
1481         (getMasterBuffer): new method. Returns the main document in the
1482         case where one is using included documents.
1483
1484 2004-03-25  André Pönitz  <poenitz@gmx.net>
1485
1486         * Makefile.am:
1487         * iterators.[Ch]:
1488         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1489
1490         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1491
1492         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1493         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1494
1495         * ParameterStruct.h: merge with ParagraphParameters
1496
1497         * lyxtext.h: remove LyXText::parOffset() and getPar()
1498
1499         * text3.C: Remove all 'manual' update calls. We do now one per user
1500         interaction which is completely sufficient.
1501
1502         * Bidi.C:
1503         * BufferView.[Ch]:
1504         * BufferView_pimpl.C:
1505         * FontIterator.[Ch]:
1506         * MenuBackend.C:
1507         * ParagraphParameters.[Ch]:
1508         * buffer.C:
1509         * buffer.h:
1510         * bufferlist.C:
1511         * cursor.[Ch]:
1512         * cursor_slice.[Ch]:
1513         * dociterator.[Ch]:
1514         * errorlist.[Ch]:
1515         * factory.C:
1516         * lfuns.h:
1517         * lyxfind.C:
1518         * lyxfunc.C:
1519         * output_docbook.[Ch]:
1520         * output_latex.[Ch]:
1521         * output_linuxdoc.[Ch]:
1522         * output_plaintext.[Ch]:
1523         * paragraph.[Ch]:
1524         * paragraph_funcs.[Ch]:
1525         * paragraph_pimpl.[Ch]:
1526         * rowpainter.C:
1527         * tabular.[Ch]:
1528         * text.C:
1529         * text2.C:
1530         * toc.C:
1531         * undo.[Ch]: adjust
1532
1533         * frontends/controllers/ControlDocument.C:
1534         * frontends/controllers/ControlErrorList.C:
1535         * frontends/controllers/ControlSpellchecker.C:
1536         * insets/inset.C:
1537         * insets/inset.h:
1538         * insets/insetbase.h:
1539         * insets/insetbibitem.C:
1540         * insets/insetbox.C:
1541         * insets/insetbranch.C:
1542         * insets/insetcaption.C:
1543         * insets/insetcharstyle.C:
1544         * insets/insetcharstyle.h:
1545         * insets/insetcollapsable.C:
1546         * insets/insetcollapsable.h:
1547         * insets/insetert.C:
1548         * insets/insetfloat.C:
1549         * insets/insetfoot.C:
1550         * insets/insetmarginal.C:
1551         * insets/insetnote.C:
1552         * insets/insetoptarg.C:
1553         * insets/insettabular.C:
1554         * insets/insettext.C:
1555         * insets/insettext.h:
1556         * insets/insetwrap.C:
1557         * mathed/math_mboxinset.C:
1558         * mathed/math_nestinset.C:
1559         * mathed/math_scriptinset.C:
1560         * mathed/math_scriptinset.h:
1561         * support/types.h:
1562
1563 2004-03-24  Angus Leeming  <leeming@lyx.org>
1564
1565         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1566         deal with any child processes that have finished but are waiting to
1567         communicate this fact to the rest of LyX.
1568
1569 2004-03-24  Angus Leeming  <leeming@lyx.org>
1570
1571         64-bit compile fixes.
1572
1573         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1574         (c-tor): pass lyx::pos_types rather than ints.
1575
1576         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1577         lyx::pos_type.
1578
1579         * text.C (Delete): compile fix.
1580         (getPar): ensure that function declaration is the same as that in
1581         the header file.
1582
1583 2004-03-23  Angus Leeming  <leeming@lyx.org>
1584
1585         * ispell.C (LaunchIspell):
1586         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1587         a boost::shred_ptr rather than a std::auto_ptr.
1588
1589 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1590
1591         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1592         handle LFUN_FILE_INSERT_*
1593
1594         * lyxrc.C (setDefaults, getDescription, output, read):
1595         * lyxrc.h: remove ps_command
1596
1597 2004-03-22  Angus Leeming  <leeming@lyx.org>
1598
1599         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1600         Ensure that error_handler is processed once only and that all data
1601         is saved before attempting to output any warning messages.
1602
1603         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1604
1605 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1606
1607         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1608
1609 2004-03-19  André Pönitz  <poenitz@gmx.net>
1610
1611         * cursor.[Ch] (reset): take main text inset as argument
1612
1613         * BufferView: adjust
1614         * BufferView_pimpl.C: adjust
1615
1616         * paragraph.[Ch]: fix completely broken operator=()
1617
1618 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1619
1620         * LColor.C (getFromLyXName): make sure that the color name is used
1621         as lowercase.
1622
1623 2004-03-17  Angus Leeming  <leeming@lyx.org>
1624
1625         * lfuns.h:
1626         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1627
1628         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1629         dialog and to kill a forked process.
1630
1631 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1632
1633         * text2.C (setCursorFromCoordinates): fix font problem
1634
1635 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1636
1637         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1638         bogus "rebuild cursor" code
1639
1640 2004-03-11  André Pönitz  <poenitz@gmx.net>
1641
1642         * buffer.[Ch]: use InsetText instead of LyXText as container for
1643         the main lyx text.
1644
1645         * dociterator.[Ch]: drop the BufferView * member which is not needed
1646         anymore after the change to buffer.C
1647
1648         * paragraph_funcs.C:
1649         * text.C:
1650         * text2.C:
1651         * BufferView.[Ch]:
1652         * BufferView_pimpl.[Ch]:
1653         * cursor.[Ch]:
1654         * cursor_slice.[Ch]: adjust
1655
1656         * text3.C: fix bug in mathDispatch
1657
1658 2004-03-08  André Pönitz  <poenitz@gmx.net>
1659
1660         * undo.[Ch]: use 'StableDocumentIterator' as base for
1661         the Undo struct.
1662
1663 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1664
1665         * LaTeXFeatures.C:
1666         * bufferparams.[Ch]: add jurabib support and param.
1667
1668         * LaTeX.C: add FIXME/comment.
1669
1670 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1671
1672         * buffer.C: increment file format to 230.
1673
1674 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1675
1676         * cursor.C (dispatch): avoid infinite loops
1677
1678 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1679
1680         * rowpainter.C (paintSelection): fix x coordinates
1681
1682 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1683
1684         * text.C (rowBreakPoint): fix breaking before displayed insets
1685
1686 2004-03-01  André Pönitz  <poenitz@gmx.net>
1687
1688         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1689
1690         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1691
1692         * Makefile.am:
1693         * BufferView.C:
1694         * BufferView_pimpl.C:
1695         * buffer.C:
1696         * lyxfind.C:
1697         * lyxfunc.C:
1698         * text.C:
1699         * text2.C:
1700         * text3.C: adjust
1701
1702 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1703
1704         * lyxtext.h:
1705         * text.C:
1706         * text2.C:
1707         * rowpainter.C:
1708         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1709         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1710
1711 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1712
1713         * Bidi.[Ch] (computeTables): const correctness
1714         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1715         fill_hfill, fill_label_hfill and x from Row
1716         * lyxtext.h: prepareToPrint returns a RowMetrics
1717         * rowPainter.C: adjust
1718         * text.C (prepareToPrint): use width, not textWidth. adjust
1719         (redoParagraphInternal, cursorX): adjust
1720         * text2.C (getColumnNearX): adjust
1721         (init): put a default value to the top LyXText::width
1722
1723 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1724
1725         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1726
1727 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1728
1729         * lyxtext.h: add FontIterator class
1730
1731         * text.C (FontIterator, operator*, operator->, operator++): add
1732         (rowBreakPoint, setRowWidth): adjust (fixing a
1733         rebreaking bug)
1734
1735 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1736
1737         * BufferView_pimpl.C (workAreaDispatch): allow also
1738         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1739
1740 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1741
1742         * text.C (rowBreakPoint): fix a bug showing with very large insets
1743
1744 2004-02-25  André Pönitz  <poenitz@gmx.net>
1745
1746         * text3.C:
1747         * cursor.[Ch]: move some mathed specific code to mathed
1748
1749 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1750
1751         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1752         use_tempdir in preferences
1753         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1754         tempfile creation
1755         * lyx_main.C: ensure that tempdir is valid
1756         * lyxlex.h: correct typo
1757         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1758         * paragraph.[Ch] (isMultiLingual): make const
1759         * cursor.[Ch] (openable): make const
1760
1761 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1762
1763         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1764
1765 2004-02-20  André Pönitz  <poenitz@gmx.net>
1766
1767         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1768
1769         * cursor.[Ch]: prepare for localized getStatus()
1770
1771         * lyxtext.h:
1772         * tabular.C:
1773         * text.C:
1774         * text2.C:
1775         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1776
1777 2004-02-20  André Pönitz  <poenitz@gmx.net>
1778
1779         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1780
1781 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1782
1783         * text2.C (setCursorFromCoordinates): switch to absolute coords
1784         (cursorUp): adjust
1785         (cursorDown): adjust
1786         * text3.C (dispatch): adjust
1787
1788 2004-02-16  André Pönitz  <poenitz@gmx.net>
1789
1790         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1791           insets/ChangeLog)
1792
1793         * cursor_slice.[Ch]: remove unneeded acessor function
1794
1795         * lyxtext.h: rename rtl() to isRTL()
1796
1797         * rowpainter.C:
1798         * tabular.C:
1799         * text.C:
1800         * text2.C:
1801         * text3.C: adjust
1802
1803 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1804
1805         * rowpainter.C (paintSelection): coord fix
1806
1807 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1808
1809         * Spacing.C: compile fix
1810
1811 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1812
1813         * cursor.C (dispatch): restore current_ before returning
1814
1815 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1816
1817         * text2.C (cursorUp, cursorDown): fix coords
1818         (moveUp): fix crash
1819
1820 2004-02-12  André Pönitz  <poenitz@gmx.net>
1821
1822         * lyxtext.h:
1823         * text.C:
1824         * text2.C:
1825         * text3.C: add LCursor & parameter to most cursor movement functions
1826           remove usage of LyXText::cursorRow() and cursorPar()
1827
1828         * cursor.[Ch]: add textRow() needed members
1829
1830         * BufferView.C:
1831         * BufferView_pimpl.C:
1832         * paragraph.[Ch]:
1833         * BufferView.C:
1834         * BufferView_pimpl.C: adjust
1835
1836 2004-02-11  André Pönitz  <poenitz@gmx.net>
1837
1838         * lyxfunc.C:
1839         * BufferView.[Ch]:
1840         * BufferView_pimpl.C: shift undo/redo handling
1841
1842         * cursor.[Ch]: fix mathed crash
1843
1844         * lyxfind.C:
1845         * lyxtext.h: move selectionAsText to LCursor
1846
1847         * output_latex.C:
1848         * paragraph.C:
1849         * text.C:
1850         * text2.C:
1851         * text3.C: adjust
1852
1853         * rowpainter.C: fix excessive drawing
1854
1855 2004-02-06  André Pönitz  <poenitz@gmx.net>
1856
1857         * BufferView.[Ch]:
1858         * BufferView_pimpl.[Ch]:
1859         * text3.C: move some text specific LFUN handling
1860
1861 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1862
1863         * text3.C (checkInsetHit): adjust coords
1864         * text2.C (getColumnNearX): adjust coords
1865         (edit): adjust coords
1866         * text.C (getRowNearY): add two asserts
1867
1868 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1869
1870         * converter.C:
1871         * format.C: add using std::distance to compile on gcc 2.95/stlport
1872
1873 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1874
1875         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1876
1877 2004-02-04  André Pönitz  <poenitz@gmx.net>
1878
1879         * BufferView.[Ch] (insertInset):
1880         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1881
1882         * text2.C:
1883         * text3.C: adjust
1884
1885 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1886
1887         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1888         on the default clause of the switch
1889         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1890         wasn't catched by LCursor::dispatch
1891
1892 2004-02-03  André Pönitz  <poenitz@gmx.net>
1893
1894         * BufferView.C:
1895         * cursor.[Ch]: some additional asserts
1896
1897         * undo.[Ch]: remove LyXText dependency in interface
1898
1899         * lyxfunc.C: adjust
1900
1901         * lyxtext.h (firstPar, lastPar): remove dead functions
1902
1903         * text.C:
1904         * text2.C:
1905         * text3.C:
1906         * paragraph.[Ch]: adjust
1907
1908 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1909
1910         * lyxfind.C (find): fix argument order in call to ::find
1911
1912 2004-02-02  André Pönitz  <poenitz@gmx.net>
1913
1914         * cursor.[Ch]: remove direct access to anchor
1915
1916         * text.C: remove findText() hack
1917
1918 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1919
1920         * iterators.[Ch] (lockPath): remove in favour of...
1921         * BufferView.[Ch] (setCursor): this addition
1922         * BufferView.C (putSelectionAt): adjust
1923         * undo.C (performUndoOrRedo): adjust
1924         * lyxfunc.C (dispatch): adjust
1925
1926 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1927
1928         * iterators.C (lockPath): add a missing slice
1929         * undo.C (performUndoOrRedo): remove redundant positioning code
1930
1931 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1932
1933         * vc-backend.C (scanMaster): ";" -> ';'
1934
1935 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1936
1937         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1938         std::binary_function
1939
1940         * lyxtextclass.C (compare_name): rename to...
1941         (LayoutNamesEqual): ...this
1942
1943         * lyxlex_pimpl.C (compare_tags): inherit from
1944         std::binary_function, put back into anon namespace
1945
1946         * lyxfind.C (MatchString): inherig from std::binary_function
1947         (findChange): use empty() istead of !size()
1948
1949         * format.C (FormatNamesEqual): new functor
1950         (getFormat): use it
1951         (getNumber): use it
1952         (add): use it
1953         (erase): use it
1954         (setViewer): use it
1955
1956         * converter.C (compare_Converter): rename to...
1957         (ConverterEqual): ...this, and fixup a bit.
1958         (getConverter): use it, and make function const
1959         (getNumber): use it, and make function const
1960         (add): use it
1961         (erase): use it:
1962
1963         * bufferlist.C: add using boost::bind
1964
1965         * MenuBackend.C (MenuNamesEqual): new functor
1966         (hasMenu): use it, and make function const
1967         (hasSubmenu): use nested bind to get rid of compare_memfun.
1968
1969 2004-01-30  André Pönitz  <poenitz@gmx.net>
1970
1971         * BufferView_pimpl.C:
1972         * cursor.C:
1973         * cursor.h:
1974         * cursor_slice.[Ch]:
1975         * lyxfunc.C:
1976         * lyxtext.h:
1977         * paragraph_funcs.C:
1978         * paragraph_funcs.h:
1979         * rowpainter.C:
1980         * text.C:
1981         * text2.C:
1982         * text3.C: move some of the edit(x,y) handling to the insets
1983         some coordinate changes.
1984
1985 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1986
1987         * text.C: add using statements for std::advance and std::distance
1988
1989         * paragraph.C: add using statement for std::distance
1990
1991         * lyxfind.C: add using statement for std::advance
1992
1993         * cursor.C (region): remove std:: from swap
1994         (openable): use nucleus in stead of operator->
1995
1996         * BufferView.C: add using statements for std::distance and std::swap
1997
1998 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1999
2000         * iterators.C: Remove the pimple, move the needed structures to
2001         the header file. Create accessor for the positions stack.
2002         (asPosIterator): remove function
2003
2004         * PosIterator.C (PosIterator): move constructors to top of file
2005         (PosIterator): reimplement the constructor taking a ParIterator in
2006         terms of setFrom.
2007         (setFrom): new function
2008         (operator!=): inline it
2009
2010 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2011
2012         * lyxfind.C (replaceAll): use std::advance
2013
2014         * iterators.h: inherit from std::iterator.
2015
2016         * PosIterator.C (advance, distance): remove
2017         * PosIterator.h: interit from std::iterator.
2018
2019 2004-01-26  André Pönitz  <poenitz@gmx.net>
2020
2021         * BufferView.[Ch]:
2022         * BufferView_pimpl.[Ch]:
2023         * InsetList.[Ch]:
2024         * PosIterator.[Ch]:
2025         * buffer.h:
2026         * bufferview_funcs.C:
2027         * cursor.[Ch]:
2028         * cursor_slice.h:
2029         * factory.[Ch]:
2030         * iterators.[Ch]:
2031         * lyxfind.C:
2032         * lyxfunc.C:
2033         * lyxtext.h:
2034         * output_docbook.C:
2035         * output_latex.C:
2036         * output_linuxdoc.C:
2037         * output_plaintext.C:
2038         * paragraph.[Ch]:
2039         * paragraph_funcs.[Ch]:
2040         * paragraph_pimpl.[Ch]:
2041         * rowpainter.C:
2042         * tabular.C:
2043         * tabular.h:
2044         * text.C:
2045         * text2.C:
2046         * text3.C: more IU:  dumps most of the rest of the mathcursor
2047     implementation into cursor.[Ch]; "globalize" a bit of it.
2048
2049 2004-01-25  Angus Leeming  <leeming@lyx.org>
2050
2051         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2052
2053 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2054
2055         * LaTeXFeatures.h: add nice_ and nice() const
2056         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2057
2058 2004-01-20  André Pönitz  <poenitz@gmx.net>
2059
2060         * BufferView.[Ch]:
2061         * BufferView_pimpl.C:
2062         * PosIterator.C:
2063         * bufferview_funcs.C:
2064         * cursor.[Ch]:
2065         * cursor_slice.[Ch]:
2066         * factory.C:
2067         * iterators.C:
2068         * lyx_cb.C:
2069         * lyxfind.C:
2070         * lyxfunc.C:
2071         * lyxtext.h:
2072         * rowpainter.C:
2073         * text.C:
2074         * text2.C:
2075         * text3.C:
2076         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2077           LCursor and mathcursor parts to LCursor and InsetBase.
2078
2079 2004-01-15  André Pönitz  <poenitz@gmx.net>
2080
2081         * cursor_slice.[Ch]: add a few covienience functions
2082
2083         * funcrequest.[Ch]: remove BufferView * member
2084
2085         * BufferView_pimpl.C:
2086         * cursor.C:
2087         * factory.[Ch]:
2088         * lyxfind.[Ch]:
2089         * lyxfunc.C:
2090         * lyxtext.h:
2091         * text3.C:
2092         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2093
2094 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2095
2096         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2097         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2098
2099 2004-01-13  André Pönitz  <poenitz@gmx.net>
2100
2101         * textcursor.[Ch]:
2102         * lyxtext.h: hide cursor and selection anchor behind accessor function
2103
2104         * BufferView.C:
2105         * BufferView_pimpl.[Ch]:
2106         * PosIterator.C:
2107         * bufferview_funcs.C:
2108         * cursor.h:
2109         * lyxfind.C:
2110         * lyxfunc.C:
2111         * text.C:
2112         * text2.C:
2113         * text3.C:
2114         * undo.C: adjust
2115
2116         * cursor.h:
2117         * cursor_slice.[Ch]: some integer type changes for inset unification
2118
2119         * lyxcursor.[hC]: remove, it's CursorSlice now.
2120
2121         * Makefile.am:
2122         * BufferView_pimpl.[Ch]:
2123         * bufferview_funcs.C:
2124         * cursor_slice.C:
2125         * lyxtext.h:
2126         * text.C:
2127         * text2.C:
2128         * text3.C:
2129         * textcursor.[Ch]: adjust
2130
2131 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2132
2133         * text2.C (undoSpan): add and use
2134         * text.C (breakParagraph): use undoSpan (fix bug 578)
2135         * lyxtext.h: adjust
2136
2137 2004-01-08  Angus Leeming  <leeming@lyx.org>
2138
2139         * BufferView_pimpl.C (MenuInsertLyXFile):
2140         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2141         * lyxfunc.C (menuNew, open, doImport):
2142         FileFilterList change to the FileDialog open and save functions.
2143
2144 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2145
2146         * ShareContainer.h: make isEqual and isUnique adaptable
2147
2148         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2149
2150 2004-01-07  Angus Leeming  <leeming@lyx.org>
2151
2152         * LyXAction.C:
2153         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2154
2155         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2156
2157         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2158         functions replacing find, replace and replaceAll.
2159
2160         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2161         LFUN_WORDFIND(FORWARD|BACKWARD).
2162
2163 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2164
2165         * text.C (breakParagraph): remove an outdated #warning
2166
2167 2004-01-07  André Pönitz  <poenitz@gmx.net>
2168
2169         * lyxfind.C: somewhat clearer logic
2170
2171         * text.C: prevent crash in cursorX on unitialized row cache
2172
2173 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2174
2175         * lyxcursor.[Ch] (operator>): add
2176         * textcursor.C (selStart, selEnd): use std::min and std::max
2177
2178 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2179
2180         * Chktex.C: include boost/format.hpp
2181
2182 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2183
2184         * InsetList.C: replace functor MathcIt with adaptable functor
2185         InsetTablePosLess
2186         (insetIterator): modify accordingly
2187
2188         * BranchList.h: move the BranchNamesEqual functor here from...
2189         * BranchList.C: ... to here
2190
2191         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2192         SameName and match.
2193         (add): replace a finding loop with std::find_if.
2194
2195 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2196
2197         * output_docbook.C: moving LatexParam functionality into
2198         .layout files
2199
2200 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2201
2202         * buffer.C: increment format to 229.
2203
2204 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2205
2206         * LaTeXFeatures.C:
2207         * lyx_sty.[Ch]: remove minipageindent_def
2208
2209         * LyXAction.C:
2210         * factory.C:
2211         * lfuns.h:
2212         * lyxfunc.C:
2213         * text3.C: remove LFUN_INSET_MINIPAGE
2214
2215 2003-12-28  Angus Leeming  <leeming@lyx.org>
2216
2217         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2218
2219 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2220
2221         * text2.C (setParagraph): fix off-by-one crash
2222
2223 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2224
2225         * output_docbook.C: header stuff for AGU
2226
2227 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2228
2229         * text2.C (redoCursor): remove
2230         * text.C:
2231         * text3.C:
2232         * BufferView_pimpl.C: remove calls to redoCursor and
2233         setCursor(cursor.par(), cursor.pos()) all around
2234
2235 2003-12-15  Angus Leeming  <leeming@lyx.org>
2236
2237         * buffer.C: up the format to 228.
2238
2239 2003-12-15  André Pönitz  <poenitz@gmx.net>
2240
2241         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2242         slices
2243
2244         * Makefile.am:
2245
2246         * BufferView_pimpl.C:
2247         * cursor.[Ch]:
2248         * lyxcursor.[Ch]:
2249         * rowpainter.[Ch]:
2250         * lyxtext.h:
2251         * text.C:
2252         * text2.C:
2253         * text3.C: adjust
2254
2255 2003-12-15  Angus Leeming  <leeming@lyx.org>
2256
2257         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2258         than getFromGUIName to manipulate the color.
2259
2260 2003-12-14  Angus Leeming  <leeming@lyx.org>
2261
2262         * BranchList.[Ch]: minimize the API.
2263         (Branch::getBranch, getColor): now return a 'const &'.
2264         (Branch::setSelected) now returns a bool set to true if the
2265         selection status changes.
2266         (BranchList::clear, size, getColor, setColor, setSelected,
2267         allBranches, allSelected, separator): removed.
2268         (BranchList::find): new functions, returning the Branch with
2269         the given name.
2270         (BranchList::add, remove): return a bool indicating that
2271         the operation was successful.
2272
2273         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2274         new InsetBranch::isBranchSlected member function.
2275
2276         * LColor.[Ch]: mimimize the API.
2277         (fill): renamed as addColor and made private.
2278         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2279         versions of these functions taking a string arg have been removed.
2280
2281         * bufferparams.C (readToken):
2282         * lyxfunc.C (dispatch):
2283         * lyxrc.C (read): changes due to the altered BranchList and
2284         LColor APIs.
2285
2286         * factory.C (createInset, readInset): changes due to altered
2287         InsetBranch c-tor.
2288
2289 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2290
2291         * factory.C:
2292         * lyxfunc.C: remove insetminipage. "minipage-insert"
2293         now produces a frameless minipage box inset.
2294
2295 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2296
2297         * textcursor.[Ch] (selStart,selEnd): add new methods
2298         remove selection::start, end, use LyXCursor::operator<
2299         * lyxcursor.[Ch] (operator<): add
2300         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2301         * BufferView.[Ch] (unsetXSel): add
2302         * text2.C (clearSelection): use unsetXSel,adjust
2303         * text.C: adjust
2304         * text3.C: adjust
2305         * rowpainter.C: adjust
2306         * bufferview_funcs.C (put_selection_at): adjust
2307
2308 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2309
2310         * BufferView_pimpl.C: small coord. correction
2311
2312 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2313
2314         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2315         dragging over the splash screen.
2316
2317 2003-12-11  Angus Leeming  <leeming@lyx.org>
2318
2319         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2320         as it is now handled in LyXText::dispatch.
2321
2322         * text3.C (doInsertInset): remove a level of nesting.
2323
2324 2003-12-11  Angus Leeming  <leeming@lyx.org>
2325
2326         * factory.C (createInset): changes due to the changed interface to
2327         InsetCommandMailer::string2params.
2328
2329 2003-12-10  Angus Leeming  <leeming@lyx.org>
2330
2331         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2332         'dialog-show-new-inset <inset name>'
2333
2334 2003-12-10  Angus Leeming  <leeming@lyx.org>
2335
2336         * buffer.C: up the format to 227.
2337
2338         * factory.C: the box inset is now identified simply by 'Box'.
2339
2340 2003-12-10  Angus Leeming  <leeming@lyx.org>
2341
2342         * buffer.C: up the format to 226.
2343
2344         * factory.C: the note inset is now identified simply by 'Note'.
2345
2346 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2347
2348         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2349         when a pit is enough. Standarize a couple of loops.
2350
2351 2003-12-05  Angus Leeming  <leeming@lyx.org>
2352
2353         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2354         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2355         data to the re-worked "log" dialog.
2356
2357 2003-12-03  André Pönitz  <poenitz@gmx.net>
2358
2359         * PosIterator.C:
2360         * iterators.C:
2361         * lyxtext.h:
2362         * output_latex.C:
2363         * paragraph_funcs.C:
2364         * text.C:
2365         * text2.C: use Inset::getText instead of Inset::getParagraph
2366
2367 2003-12-03  André Pönitz  <poenitz@gmx.net>
2368
2369         * buffer.[Ch]:
2370         * lyxtext.h:
2371         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2372         InsetText::read() as LyXText::read()
2373
2374 2003-12-02  Angus Leeming  <leeming@lyx.org>
2375
2376         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2377         type. Add a comment in the implementation that the function uses
2378         the stream's bad() function rather than fail() as the std::streams
2379         would do.
2380
2381 2003-12-02  André Pönitz  <poenitz@gmx.net>
2382
2383         * lyxlex.[Ch]: make interface more similar to std::stream
2384
2385         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2386
2387 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2388
2389         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2390
2391 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2392
2393         * vspace.[Ch]: remove VSpace::NONE
2394
2395 2003-12-01  André Pönitz  <poenitz@gmx.net>
2396
2397         * buffer.[Ch]:
2398         * lyxtext.h: move ParagraphList member to LyXText
2399         rename LyXText::ownerParagraphs to LyXText::paragraph
2400
2401         * CutAndPaste.C:
2402         * bufferview_funcs.C:
2403         * iterators.[Ch]:
2404         * lyx_cb.C:
2405         * paragraph.C:
2406         * rowpainter.C:
2407         * tabular.C:
2408         * text.C:
2409         * text2.C:
2410         * text3.C: adjust
2411
2412         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2413
2414         * undo.C: fix cursor positioning
2415
2416 2003-12-01  John Levon  <levon@movementarian.org>
2417
2418         * BufferView_pimpl.C: fix a crash on exit with
2419         a buffer open
2420
2421 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2422
2423         * BranchList.C: fix setSelected() method.
2424
2425 2003-11-28  André Pönitz  <poenitz@gmx.net>
2426
2427         * ParagraphParameters.[Ch]:
2428         * ParameterStruct.h: remove space above/below from Paragraph to
2429          InsetVSpace
2430
2431         * BufferView_pimpl.C:
2432         * factory.C:
2433         * lyxfunc.C:
2434         * lyxtext.h:
2435         * output_latex.C:
2436         * paragraph.C:
2437         * paragraph_funcs.C:
2438         * rowpainter.[Ch]:
2439         * text.C:
2440         * text2.C:
2441         * text3.C: adjust
2442
2443 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2444
2445         * factory.C: Syntax change for CharStyles
2446
2447 2003-11-28  André Pönitz  <poenitz@gmx.net>
2448
2449         * BufferView.[Ch]:
2450         * BufferView.[Ch]:
2451         * buffer.[Ch]:
2452         * buffer.[Ch]: move LyXText member
2453
2454 2003-11-28  André Pönitz  <poenitz@gmx.net>
2455
2456         * BufferView.[Ch]: make LyXText * text a private member
2457
2458         * BufferView_pimpl.C:
2459         * cursor.C:
2460         * iterators.C:
2461         * lyx_cb.C:
2462         * lyxfind.C:
2463         * lyxtext.h:
2464         * rowpainter.[Ch]:
2465         * text.C:
2466         * text2.C:
2467         * undo.C: adjust
2468
2469         * output_plaintext.C: cleanup
2470
2471 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2472
2473         * buffer.C:
2474         * lyxtextclass.[Ch]: parametrize SGML document header
2475
2476 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2477
2478         * converter.[Ch]:
2479         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2480         getFlavor().
2481
2482 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2483
2484         * text2.C (setFont): rework using PosIterator (no more recursive)
2485         (setCharFont): no more needed
2486         (setLayout): no more selection cursors fiddling (done by redoCursor)
2487         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2488         destroy remaining ones)
2489
2490 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2491
2492         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2493         * lyxtext.h: ditto
2494         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2495         selection cursors
2496         * lyxfunc.C: adjust
2497         * text3.C: adjust + re-allow multi par depth changes
2498         * textcursor.C: simplify a bit
2499
2500 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2501
2502         * src/buffer.C:
2503         * src/lyxlayout.C:
2504         * src/lyxlayout.h:
2505         * src/lyxtext.h:
2506         * src/output_docbook.C:
2507         * src/output_latex.C:
2508         * src/paragraph.C:
2509         * src/paragraph.h:
2510         * src/sgml.C:
2511         * src/sgml.h:
2512         * src/text2.C: Introducing a number of tags parametrizing various
2513         XML formats that we may want to support
2514
2515 2003-11-25  André Pönitz  <poenitz@gmx.net>
2516
2517         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2518
2519         * lyxtext.h (leftMargin/rightMargin): simplify interface
2520
2521         * rowpainter.C:
2522         * text.C:
2523         * text2.C:
2524         * text3.C: adjust
2525
2526 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2527
2528         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2529         master file to any child files. Fixes bug 546.
2530
2531 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2532
2533         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2534
2535 2003-11-24  André Pönitz  <poenitz@gmx.net>
2536
2537         * rowpainter.C: simplification
2538
2539         * text2.C (updateCounters): remove call to redoParagraph on
2540         changed labels as this is far too expensive.
2541
2542 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2543
2544         * converter.C (convert): fix a crash: this function gets
2545         called with buffer == 0 from importer code.
2546
2547 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2548
2549         * text3.C (cursorPrevious): make sure that we do not compare
2550         iterators form different containers.
2551         (cursorNext): ditto
2552
2553         * rowpainter.C (paintSelection): make sure that we do not compare
2554         iterators from different containers.
2555
2556         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2557         iterators from different ParagraphList containers.
2558         [NEXT] ditto
2559
2560         * text2.C (LyXText): change order of initialization slightly
2561         (operator=): new function. copy all variables except cache_par_
2562         (moveUp): make sure that we do not compare iterators from
2563         different ParagraphList constainers.
2564         (moveDown): ditto
2565
2566         * text.C (firstPar): new function
2567         (lastPar): new function
2568         (endPar): new function
2569
2570         * lyxtext.h: move things around and group public functions, public
2571         variables, private functions, private variables
2572
2573 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2574
2575         * factory.C: change call to InsetERT constructor to avoid
2576         additional invocation of method status
2577         * text2.C (toggleInset): remove redundant update() call
2578         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2579         instead of a Bufferview pointer
2580
2581 2003-11-21  André Pönitz  <poenitz@gmx.net>
2582
2583         * rowpainter.C: simplification
2584
2585 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2586
2587         * text3.C (dispatch): make possible to extend a word/row selection
2588         with the mouse
2589
2590 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2591
2592         * lyxtext.h: x0_,y0_ -> xo_,yo_
2593         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2594         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2595         * rowpainter.C (paintRows): paint full paragraphs
2596
2597 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2598
2599         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2600         screen coordinates)
2601
2602 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2603
2604         * lyxtext.h: add x0_, y0_
2605         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2606         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2607
2608 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2609
2610         * text2.C (setCursorIntern): move the x_target update here *
2611         * text3.C: change some bv() to true/false in calls to
2612         cursorUp/Down/Right/Left
2613         * cursor.C: use helper function.
2614
2615 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2616
2617         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2618         * paragraph_funcs.[Ch]: correct comment
2619         * rowpainter.C: do not paint selections away from bv->cursor()
2620         Fix a long standing selection painting bug.
2621         * text3.C: generalize mouse-selection code to LyXTexts other that
2622         top one
2623         * textcursor.C: do not use y coords if we can use par offsets
2624
2625 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2626
2627         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2628         cursor position after e.g. inset insert)
2629
2630 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2631
2632         * lyxfind.C (replace): adjust to locking removal + some
2633         code simplification
2634
2635 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2636
2637         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2638         of the path
2639
2640 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2641
2642         * lyxlayout.[Ch]:
2643         * output_docbook.C: XML sanitation: new layout
2644         parameters InnerTag and CommandDepth
2645
2646 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2647
2648         * BufferView_pimpl.C:
2649         * factory.C:
2650         * text3.C: Fix the insertion and modification of button-style
2651         insets
2652
2653 2003-11-13  André Pönitz  <poenitz@gmx.net>
2654
2655         * InsetList.[Ch]: remove deleteLyXText
2656
2657         * paragraph.[Ch]: cache beginOfBody position
2658
2659         * Bidi.C:
2660         * text.C:
2661         * text2.C:
2662         * text3.C: remove superfluous update() calls
2663
2664         * vspace.C: cleanup
2665
2666 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2667
2668         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2669         * BufferView.C (fitLockedInsetCursor): remove
2670         * cursor.[Ch] (getDim): add
2671         * text.C (getRowNearY): add faster version
2672         * text3.C: remove some update calls
2673
2674 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2675
2676         * LaTeXFeatures.C:
2677         * LyXAction.C:
2678         * MenuBackend.C:
2679         * MenuBackend.h:
2680         * dispatchresult.h:
2681         * factory.C:
2682         * lfuns.h:
2683         * lyxfunc.C:
2684         * lyxtextclass.C:
2685         * lyxtextclass.h:
2686         * text3.C: The Character Style /XML short element patch.
2687
2688 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2689
2690         * text3.C:
2691         * factory.C: Small step to solving 'unable to insert some insets'
2692         problem
2693
2694 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2695
2696         * cursor.[Ch] (updatePos): new function for updating the y
2697         position of the tip inset
2698         * bufferview_funcs.C (put_selection_at):
2699         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2700
2701 2003-11-11  André Pönitz  <poenitz@gmx.net>
2702
2703         * text.C: remove big comment on invalid Paragraph pointers as it is
2704         not valid anymore
2705
2706 2003-11-11  André Pönitz  <poenitz@gmx.net>
2707
2708         * text_funcs.[Ch]: merge with ...
2709
2710         * text.C: ... this
2711
2712         * lyxtext.h:
2713         * text2.C:
2714         * text3.C: adjust
2715
2716         * Makefile.am: remove text_funcs.[Ch]
2717
2718 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2719
2720         * cursor.C (getPos): return absolute cached y coord
2721
2722         * BufferView_pimpl.C (fitCursor): new simplistic code
2723         (workAreaDispatch): add a fitCursor call
2724
2725 2003-11-10  André Pönitz  <poenitz@gmx.net>
2726
2727         * BufferView.[Ch]:
2728         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2729
2730 2003-11-10  André Pönitz  <poenitz@gmx.net>
2731
2732         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2733         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2734         indicate that the cursor needs to leave an inset
2735
2736         * lyxtext.h: remove inset locking
2737
2738         * cursor.[Ch]: re-implement functionality provided by inset locking
2739
2740         * BufferView.[Ch]:
2741         * BufferView_pimpl.[Ch]:
2742         * LyXAction.C:
2743         * bufferview_funcs.[Ch]:
2744         * factory.C:
2745         * funcrequest.[Ch]:
2746         * iterators.C:
2747         * lyx_cb.C:
2748         * lyxfind.C:
2749         * lyxfunc.C:
2750         * text.C:
2751         * text2.C:
2752         * text3.C:
2753         * undo.C: adjust
2754
2755 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2756
2757         * PosIterator.[Ch]: replace the stack with a vector, add inset
2758         accesor
2759         * iterators.[C]: adjust
2760
2761 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2762
2763         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2764         replaced
2765         * paragraph_funcs.C (readParToken): put the correct id in the
2766         error item, not the id of the top paragraph
2767
2768 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2769
2770         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2771         * bufferview_funcs.C (put_selection_at): use the above
2772
2773 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2774
2775         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2776
2777 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2778
2779         * output_linuxdoc.h:
2780         * output_plaintext.h:
2781         * output.h:
2782         * output_docbook.h: add #include statements
2783
2784 2003-11-05  José Matos  <jamatos@lyx.org>
2785
2786         * output_docbook.[Ch]:
2787         * output_latex.[Ch]:
2788         * output_linuxdoc.[Ch]:
2789         * output_plaintext.[Ch]: New files for output formats.
2790         * output.[Ch]: New file for helper functions.
2791
2792         * buffer.[Ch]:
2793         * paragraph_funcs.[Ch]: output functions moved to new files.
2794
2795         * outputparams.h: rename of latexrunparams.h
2796
2797         * LaTeX.[Ch]:
2798         * buffer.[Ch]:
2799         * bufferlist.[Ch]:
2800         * converter.[Ch]:
2801         * exporter.C:
2802         * paragraph.[Ch]:
2803         * paragraph_funcs.[Ch]:
2804         * paragraph_pimpl.[Ch]:
2805         * tabular.[Ch]: rename ascii to plaintext
2806         and LatexRunParams to OutputParams.
2807
2808 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2809
2810         * iterators.[Ch] (text): require bv argument
2811         * undo.C (recordUndo):
2812         * lyxfunc.C (dispatch):
2813         * bufferview_funcs.C (put_selection_at): adjust
2814
2815 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2816
2817         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2818
2819 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2820
2821         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2822         nestings
2823
2824 2003-11-04  André Pönitz  <poenitz@gmx.net>
2825
2826         * cursor.[Ch]: restructure
2827
2828         * BufferView.[Ch]:
2829         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2830
2831         * iterators.[Ch] (asCursor): remove
2832
2833         * lfuns.h: remove LFUN_INSET_EDIT
2834
2835         * lyxfunc.C:
2836         * tabular.C:
2837         * text.C:
2838         * text2.C:
2839         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2840
2841 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2842
2843         * lyxfind.[Ch]: complete overhaul
2844         * BufferView_pimpl.C:
2845         * lyxfunc.C: adjust
2846         * paragraph.[Ch] (insert): add
2847
2848 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2849
2850         * BufferView.[Ch]:
2851         * lyxtext.h:
2852         * text.C: remove dead spellcheck code
2853
2854 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2855
2856         * dispatchresult.h: add a val setter
2857
2858         * cursor.C (dispatch): use a tempvar for data_[i]
2859
2860 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2861
2862         * PosIterator.[Ch]: compile fix
2863
2864 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2865
2866         * text.C (cursorPar): deactivate the cursor cache
2867
2868 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2869
2870         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2871
2872 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2873
2874         * text3.C (dispatch): adjust for new DisptchResult semantics.
2875
2876         * lyxfunc.C (dispatch): handle update when return from
2877         Cursor::dispatch, adjust for new DispatchResult semantics.
2878
2879         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2880         DispatchResult(true) mean to not update. Add class functions for
2881         setting dispatched and update, as well as reading.
2882
2883         * cursor.C (dispatch): don't handle update here
2884
2885 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2886
2887         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2888         * trans_mgr.C: adjust
2889
2890         * paragraph_funcs.C (readParToken): exception safety
2891
2892         * lyxvc.h: store the vcs pointer in a scoped_ptr
2893         * lyxvc.C: adjust
2894
2895         * lyxsocket.C (serverCallback): exception safety
2896
2897         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2898
2899         * ispell.C (clone): make it return a auto_ptr
2900
2901         * factory.C (createInset): exception safety
2902         (readInset): exception safety
2903
2904         * bufferlist.C (newBuffer): exception safety
2905
2906         * Thesaurus.C (Thesaurus): use initialization for aik_
2907
2908         * MenuBackend.C (expandToc): exception safety.
2909
2910 2003-11-03  André Pönitz  <poenitz@gmx.net>
2911
2912         * buffer.C:
2913         * buffer.h:
2914         * bufferview_funcs.C: remove getInsetFromId()
2915
2916         * lyxcursor.[Ch]:
2917         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2918
2919         * lyxfunc.C:
2920         * text2.C:
2921         * text3.C: adjust
2922
2923 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2924
2925         * PosIterator.C (distance, advance): new
2926         * bufferview_funcs.[Ch] (put_selection_at): new
2927         * iterators.[Ch] (lockPath): new
2928
2929 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2930
2931         * iterators.[Ch] (asPosIterator): added
2932         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2933         * PosIterator.[Ch]: added
2934
2935 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2936
2937         * text3.C:
2938         * lyxfunc.C:
2939         * cursor.C (dispatch):
2940         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2941
2942         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2943         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2944         contructor, add a class function dispatched. Remove operator>=
2945
2946 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2947
2948         * debug.C: only use the default constructor for debugstream
2949         (lyxerr) here.
2950
2951         * main.C (main): include debug.h and setup the lyxerr streambuf
2952         here.
2953
2954 2003-10-31  José Matos  <jamatos@lyx.org>
2955
2956         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2957
2958         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2959         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2960         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2961         * paragraph_pimpl.C (simpleTeXSpecialC):
2962         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2963         add LatexRunParams argument.
2964
2965         * exporter.C (Export): change call accordingly.
2966
2967         * latexrunparams.h: add new member to take care of the other backends.
2968 2003-10-30  José Matos  <jamatos@lyx.org>
2969
2970         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2971         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2972         factorise code for paragraph output.
2973         * buffer.[Ch]:
2974         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2975         move functions.
2976
2977 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2978
2979         * text3.C (dispatch):
2980         * lyxfunc.C (dispatch):
2981         * cursor.C (dispatch):
2982         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2983
2984         * dispatchresult.h: make the dispatch_result_t ctor explicit
2985
2986 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2987
2988         * sgml.[Ch]:
2989         * buffer.C: small refactoring of docbook stuff
2990
2991 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2992
2993         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2994         meaning.
2995
2996 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2997
2998         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2999         operator dispatch_result_t, and operators for == != and >=
3000
3001         * cursor.C (dispatch): adjust for operator dispatch_result_t
3002         removal. comment out call to update
3003
3004         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3005
3006 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3007
3008         * text3.C:
3009         * text2.C:
3010         * text.C:
3011         * lyxtext.h:
3012         * lyxfunc.C:
3013         * cursor.C:
3014         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3015         (dispatch):
3016
3017         * dispatchresult.h: new file, DispatchResult broken out of
3018         insets/insetbase.h
3019
3020         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3021
3022 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3023
3024         * text.C (rowBreakPoint): put a hack inside #if 0
3025
3026 2003-10-28  André Pönitz  <poenitz@gmx.net>
3027
3028         * lyxtext.h:
3029         * metricsinfo.C:
3030         * paragraph_funcs.C:
3031         * rowpainter.C:
3032         * text.C:
3033         * text2.C: general cleanup (lots of small stuff)
3034
3035 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3036
3037         * text2.C (cursorEnd): simple fix to the "end key goes to one
3038         before the end on last row" bug
3039
3040 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3041
3042         * text.C (backspace): fix the "zombie characters"
3043
3044 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3045
3046         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3047
3048 2003-10-27  André Pönitz  <poenitz@gmx.net>
3049
3050         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3051
3052         * factory.C: handle new InsetPagebreak, InsetLine
3053
3054         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3055         and move handling into new InsetPagebreak, InsetLine
3056
3057         * BufferView_pimpl.C:
3058         * LyXAction.C:
3059         * ParagraphParameters.C:
3060         * ParameterStruct.h:
3061         * lyxfunc.C:
3062         * lyxtext.h:
3063         * paragraph.C:
3064         * paragraph.h:
3065         * paragraph_funcs.C:
3066         * paragraph_pimpl.C:
3067         * rowpainter.C:
3068         * text.C:
3069         * text2.C:
3070         * text3.C: adjust
3071
3072 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3073
3074         * text.C:
3075         * lyxrow_funcs.[Ch]:
3076         * Bidi.C:
3077         * paragraph.C:
3078         * lyxtext.h:
3079         * rowpainter.C:
3080         * text2.C:
3081         * text3.C: remove lastPos uses in favour of Row::endpos
3082
3083 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3084
3085         * undo.C (performUndoOrRedo): fix two crashes by setting a
3086         cursor by hand and reordering some calls. Use bv->lockInset instead
3087         of inset->edit because the latter loses cursor information
3088
3089 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3090
3091         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3092         by Martin
3093         (rowBreakPoint): fix width. change point to point + 1.
3094         Add a missing check.
3095
3096 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3097
3098         * MenuBackend.C:
3099         * lyxfunc.C: fix (at least partly) the problems
3100         with the Nav menu and headers inside branch insets
3101         reported by Kayvan
3102
3103 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3104
3105         * paragraph.C (getChar): add strong asserts
3106
3107         * lyxrow_funcs.C (lastPos): remove hideous hack
3108
3109         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3110         (fill): adjust to that (avoid an infinite loop)
3111
3112 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3113
3114         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3115
3116 2003-10-23  André Pönitz  <poenitz@gmx.net>
3117
3118         * RowList_fwd.h: change list<> to vector<> to gain speed
3119         after suggestion from Alfredo
3120
3121 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3122
3123         * lyxtext.h: move the bidi stuff from here...
3124         * text.C: and here
3125         * text2.C: and here
3126         * Bidi.[Ch]: ... to here
3127
3128 2003-10-23  André Pönitz  <poenitz@gmx.net>
3129
3130         * lyxtext.h:
3131         * text.C (isLastRow, isFirstRow): new functions
3132
3133         * paragraph.h: new width cache member
3134
3135         * rowpainter.C: replace RowList::iterator with Row & where possible
3136
3137         * lyxfunc.C: replace several view()->text with a single call
3138
3139         * toc.C: fix 'unused' warning
3140
3141 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3142
3143         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3144         when woring with stream::pos_type
3145         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3146
3147 2003-10-22  André Pönitz  <poenitz@gmx.net>
3148
3149         * lyxtext.h:
3150         * text.C: use Row & instead of RowList::iterator
3151
3152         * lyxrow.h: rename end() to endpos()
3153
3154         * rowpainter.C:
3155         * text.C:
3156         * text2.C: adjust
3157
3158 2003-10-22  Angus Leeming  <leeming@lyx.org>
3159
3160         * buffer.[Ch] (fully_loaded): new member function, returning true
3161         only when the file has been loaded fully.
3162         Used to prevent the premature generation of previews and by the
3163         citation inset to prevent computation of the natbib-style label.
3164
3165         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3166         templates are all set up.
3167
3168         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3169
3170 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3171
3172         * text.C: fixed an "oops" in the "is a bit silly"
3173         bug fix
3174
3175 2003-10-21  André Pönitz  <poenitz@gmx.net>
3176
3177         * FuncStatus.[Ch]: small stuff, whitespace
3178
3179         * lyxfont.[Ch]: operator<<() for debug reasons
3180
3181         * lyxfunc.C:
3182         * lyxrow_funcs.C:
3183         * lyxtext.h: whitespace, spelling
3184
3185         * paragraph.C: naming of variables
3186
3187         * text.C:
3188         * text2.C: small stuff
3189
3190
3191 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3192
3193         * text.C: (1) finish off the inset display() work;
3194         (2) fix the "is a bit silly" bug (accessing char
3195         past end of par).
3196
3197 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3198
3199         * text.C: re-introduce display() for insets, fixing the
3200         various bugs (stretch of line above, math inset
3201         positioning, ...)
3202
3203 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3204
3205         * text.C (rightMargin): remove spurious semicolon
3206
3207         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3208         1415)
3209
3210 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3211
3212         * text3.C: fix one crash due to wrong cursor def
3213
3214 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3215
3216         * vc-backend.C (scanMaster): make the regex static
3217
3218         * LaTeX.C (scanAuxFile): make the regexs static
3219
3220         * text3.C (doInsertInset, dispatch, dispatch):
3221         * text2.C (cursorUp, cursorDown):
3222         * text.C (selectNextWordToSpellcheck):
3223         * BufferView_pimpl.C (dispatch):
3224         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3225
3226 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3227
3228         * lyxsocket.C: include <cerrno>
3229
3230 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3231
3232         * lyxfunc.C (dispatch): remove textcache stuff
3233
3234         * bufferlist.C (release): remove textcache stuff
3235         (closeAll): ditto
3236
3237         * TextCache.C: delete file
3238         * TextCache.h: delete file
3239
3240         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3241
3242         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3243         delete of the bv_->text.
3244         (resizeCurrentBuffer): remove texcache stuff
3245         (workAreaResize): ditto
3246
3247 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3248
3249         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3250         action.
3251
3252 2003-10-16  André Pönitz  <poenitz@gmx.net>
3253
3254         * lyxrow.[Ch]:
3255         * paragraph.h:
3256         * rowpainter.C:
3257         * text.C:
3258         * text2.C:
3259         * text3.C: speed up by storing y positions per paragraph plus per-row
3260         offset instead of having a 'full' y position in the row.
3261
3262 2003-10-15  André Pönitz  <poenitz@gmx.net>
3263
3264         * iterators.[Ch]:
3265         * iterators.[Ch]:
3266         * undo.[Ch]: make undo aware of inner insets
3267
3268 2003-10-14  Angus Leeming  <leeming@lyx.org>
3269
3270         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3271         static member functions LyX::ref() and LyX::cref.
3272         (lastfiles): new accessor functions for the new lastfiles_ member var.
3273         (addLyXView, views_): add a new LyXView to the list of views_.
3274         (updateInset): loop over all LyXViews to call their own updateInset
3275         member function, returning a pointer to the Buffer owning the inset.
3276
3277         * BufferView_pimpl.C (loadLyXFile):
3278         * MenuBackend.C (expandLastfiles):
3279         * bufferlist.C (MenuWrite, QuitLyX):
3280         lastfiles is no longer a global variable.
3281         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3282
3283         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3284         static function. Access through LyX::cref().emergencyCleanup().
3285
3286 2003-10-14  André Pönitz  <poenitz@gmx.net>
3287
3288         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3289
3290         * undo.[Ch]: restoring part of 'undo in insets'
3291
3292         * Makefile.am:
3293         * undo_funcs.[Ch]: merge with undo.[Ch]
3294
3295         * tabular.C: small cleansing stuff
3296
3297 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3298
3299         * paragraph_funcs.C (readParToken): report unknown insets as error
3300         boxes. Use the outer paragraph as location (also for unknown
3301         tokens).
3302
3303         * factory.C (readInset): do not abort on reading an unknown inset.
3304         Eat it and return 0.
3305
3306 2003-10-13  Angus Leeming  <leeming@lyx.org>
3307
3308         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3309
3310         * lyxrc.C: displayTranslator is now a function,
3311         declared in GraphicsTypes.h.
3312
3313 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3314
3315         * format.C: new placeholder $$a to pass the socket address.
3316
3317         * bufferlist.[Ch]: new function getBufferFromTmp.
3318
3319         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3320           files in the temporary dir.
3321
3322 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3323
3324         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3325
3326         * Makefile.am: add lyxsocket.[Ch].
3327
3328         * lyx_main.C (error_handler): handle SIGPIPE.
3329
3330 2003-10-13  André Pönitz  <poenitz@gmx.net>
3331
3332         * BufferView_pimpl.C:
3333         * lyxtext.h:
3334         * text.C:
3335         * text2.C:
3336         * text3.C:
3337         * undo_funcs.[Ch]: use paroffset_type instead of
3338           ParagraphList::iterators to prevent multiple conversion
3339           (and get a more robust interface)
3340
3341 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3342
3343         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3344         * lyxtext.h: ditto
3345         * text3.C (dispatch): ditto
3346
3347 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3348
3349         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3350         move the onlyfile, use onlyfile instead of foundfile in a couple
3351         of places.
3352
3353         * DepTable.C (update): flush the error stream a bit more
3354
3355 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3356
3357         * lyxserver.C (callback): adjust
3358
3359         * lyxfunc.C (getStatus): add a missing brace in commented code
3360         (ensureBufferClean): reindent
3361         (dispatch): delete version taking a string
3362
3363 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3364
3365         * LaTeX.C (deplog): move found file handlig from here...
3366         (handleFoundFile): .. to new function here.
3367         (deplog): make sure to discover several files mentioned on the
3368         same log line.
3369
3370 2003-10-10  André Pönitz  <poenitz@gmx.net>
3371
3372         * lyxfunc.C:
3373         * lyxtext.h:
3374         * tabular.C:
3375         * text.C:
3376         * text2.C:
3377         * text3.C: fix some of the tabular crashes
3378
3379 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3380
3381         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3382
3383         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3384
3385 2003-10-09  André Pönitz  <poenitz@gmx.net>
3386
3387         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3388
3389         * BufferView.C:
3390         * BufferView_pimpl.C:
3391         * bufferview_funcs.C:
3392         * lyx_cb.C:
3393         * lyxcursor.C:
3394         * lyxfind.C:
3395         * lyxfunc.C:
3396         * lyxtext.h:
3397         * text.C:
3398         * text2.C:
3399         * text3.C:
3400         * text_funcs.[Ch]:
3401         * textcursor.[Ch]:
3402         * undo_funcs.C: adjust
3403
3404 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3405
3406         * text2.C (incrementItemDepth): new function, use a backtracking
3407         algorithm to discover the correct item depth.
3408         (resetEnumCounterIfNeeded): new function, use a backtracking
3409         algorithm to discover if counter reset is needed.
3410         (setCounter): use them. Simplify a bit. Add different labels for
3411         different item depths for itemize.
3412
3413         * paragraph.C (Paragraph): remove initialization of enumdepth
3414         (operator=): ditto
3415
3416         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3417         enumerate and itemize. Change the type of itemdepth to signed char.
3418
3419 2003-10-08  André Pönitz  <poenitz@gmx.net>
3420
3421         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3422           thing assignable.
3423         * text.C:
3424         * text2.C: adjust
3425
3426         * tabular.[Ch]: fix crash after 'row-insert'
3427
3428 2003-10-08  Angus Leeming  <leeming@lyx.org>
3429
3430         Fix doxygen warnings.
3431
3432         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3433         Remove CutAndPaste:: prefix from header file declaration.
3434
3435         * LColor.h (fill): remove LColor:: prefix from declaration.
3436
3437         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3438         use lyx::depth_type rather than Paragraph::depth_type so that
3439         header file and .C file match.
3440
3441         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3442
3443         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3444         * aspell.C: \file aspell_local.C -> \file aspell.C
3445         * gettext.C: \file gettext.C -> \file src/gettext.C
3446         * gettext.h: \file gettext.h -> \file src/gettext.h
3447         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3448         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3449         * text.C: \file text.C -> \file src/text.C
3450
3451         * toc.C: move comment so that doxygen is not confused.
3452
3453 2003-10-07  Angus Leeming  <leeming@lyx.org>
3454
3455         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3456
3457 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3458
3459         * aspell.C:
3460         * aspell_local.h: add forgotten std::string's.
3461
3462 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3463
3464         * LaTeXFeatures.C:
3465         * LyXAction.C:
3466         * factory.C:
3467         * lfuns.h:
3468         * lyxfunc.C:
3469         * text3.C: The Box patch. Fancybox support, minipage, parbox
3470
3471 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3472
3473         * CutAndPaste.h:
3474         * DepTable.h:
3475         * FloatList.h:
3476         * LaTeXFeatures.h:
3477         * ParagraphParameters.h:
3478         * TextCache.h:
3479         * Thesaurus.h:
3480         * bufferlist.h:
3481         * exporter.h:
3482         * importer.h:
3483         * lastfiles.h:
3484         * lyxfind.h:
3485         * lyxfont.h:
3486         * lyxlex.h:
3487         * lyxtextclasslist.h:
3488         * messages.h:
3489         * paragraph.h:
3490         * paragraph_pimpl.C:
3491         * textcursor.h: add <string> and other small fixes to make Lars'
3492         std::string patch compile with STLport.
3493
3494 2003-10-06  Angus Leeming  <leeming@lyx.org>
3495
3496         * LColor.h: Add missing #include <string>.
3497
3498 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3499
3500         * All most all file in all subdirs: Make <string> be the prefered
3501         way of getting to std::string, add using declarations.
3502
3503 2003-10-06  André Pönitz  <poenitz@gmx.net>
3504
3505         * metricsinfo.C: initialize LyXFont before changing attribute.
3506         (fixes the 'math in \emph is upright' bug)
3507
3508 2003-10-06  André Pönitz  <poenitz@gmx.net>
3509
3510         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3511
3512 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3513
3514         * graph.C:
3515         * paragraph_pimpl.C: Small fixes to build using STLport
3516
3517 2003-10-02  André Pönitz  <poenitz@gmx.net>
3518
3519         * lyxfunc.C:
3520         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3521
3522 2003-10-01  André Pönitz  <poenitz@gmx.net>
3523
3524         * factory.C: assert early
3525
3526 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3527
3528         * lyx_main.C: remove the global debug object
3529
3530         * debug.h: adjust for new debugstream
3531
3532         * debug.C: adjust for new debugstream and keep the global debug
3533         object here.
3534
3535 2003-09-22  Angus Leeming  <leeming@lyx.org>
3536
3537         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3538         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3539         an incomplete class LyXFont.
3540
3541 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3542
3543         * factory.C: bug fix in branches
3544
3545 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3546
3547         * lyxfunc.C (processKeySym): adjust
3548         (dispatch): adjust
3549         (dispatch): change arg name from ev to func, adjust
3550         (sendDispatchMessage): ditto
3551
3552         * lyx_main.C (defaultKeyBindings): adjust keybindings
3553         (deadKeyBindings): ditto
3554
3555         * kbsequence.C (addkey): return a FuncRequest
3556
3557         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3558
3559         * kbmap.C (bind): take a FuncRequest as arg, adjust
3560         (read): adjust
3561         (lookup): adjust
3562         (defkey): change to take a FuncRequest as arg, adjust
3563         (findbinding): take a FuncRequest as arg, adjust.
3564
3565         * funcrequest.h (operator=): added
3566
3567         * funcrequest.C (FuncRequest): default kb_action changed from
3568         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3569
3570         * buffer.C (dispatch): simplify
3571         (dispatch): adjust to take a FuncRequest as arg, adjust
3572
3573         * boost.C (assertion_failed): change assertion message slightly
3574
3575         * ToolbarBackend.C (read): simplify
3576
3577         * MenuBackend.C (binding): adjust call to findbinding, add a
3578         message if no binding is found.
3579         (read): simplify
3580         (expandToc): correct by adding a empty FuncRequest
3581
3582         * LyXAction.C: include <boost/assert.hpp>
3583         (isPseudoAction): delete function
3584         (LookupFunc): change name to...
3585         (lookupFunc): this. change return type to FuncRequest.
3586         (getActionName): take kb_action as arg, simplify
3587         (funcHasFlag): add an assert, simplify.
3588
3589 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3590
3591         * toc.C (action): return a FuncRequest, simplify
3592
3593         * lyxfunc.C (processKeySym): adjust
3594         (getStatus): delete version that takes an int.
3595         (getStatus): adjust
3596         (dispatch): delete version that takes action as int
3597         (dispatch): adjust
3598         (sendDispatchMessage): simplify and adjust
3599
3600         * funcrequest.C (getArg): take unsigned int as arg
3601
3602         * ToolbarBackend.C (read): adjust
3603         (add): delete version that takes func as a string.
3604         (getIton): take a FuncRequest as arg
3605
3606         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3607         action.
3608
3609         * MenuBackend.C (MenuItem): add a new construct that only takes a
3610         Kind, simplify the constructor use for submenus.
3611         (add): adjust
3612         (expandLastfiles): adjust
3613         (expandDocuments): adjust
3614         (expandFormats): adjust
3615         (expandFloatListInsert): adjust
3616         (expandFloatInsert): adjust
3617         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3618
3619         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3620         Remove class variables lyx_pseudo_map and lyx_arg_map
3621
3622         * LyXAction.C (searchActionArg): delete function
3623         (getPseudoAction): delete function
3624         (retrieveActionArg): delete function
3625         (LookupFunc): make it return kb_action, simplify.
3626         (getActionName): simplify
3627
3628         * factory.C (createInset): fix new bug
3629
3630 2003-09-19  Angus Leeming  <leeming@lyx.org>
3631
3632         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3633         masterFilename_ parameter in the include inset.
3634
3635         * factory.C (createInset): changes due to the changes to InsetInclude.
3636
3637 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3638
3639         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3640
3641 2003-09-18  Angus Leeming  <leeming@lyx.org>
3642
3643         * buffer.C:
3644         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3645         Inset::fillWithBibKeys.
3646         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3647
3648 2003-09-18  Angus Leeming  <leeming@lyx.org>
3649
3650         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3651         variables.
3652         (ctor): pass and store a 'Buffer const &'
3653         (buffer): new member function.
3654
3655         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3656         '*this' to the LaTeXFeatures ctor.
3657
3658 2003-09-18  Angus Leeming  <leeming@lyx.org>
3659
3660         * LColor.h:
3661         * lyxfont.C:
3662         * lyxfont.h:
3663         * lyxtext.h:
3664         * text.C: rename EnumLColor as LColor_color.
3665
3666 2003-09-18  Angus Leeming  <leeming@lyx.org>
3667
3668         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3669         remove #include "insets/insetbase.h" from cursor.h.
3670
3671 2003-09-18  Angus Leeming  <leeming@lyx.org>
3672
3673         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3674         InsetOld_code to remove #include "inset.h".
3675
3676         * iterators.C: add #include "insets/inset.h"
3677
3678 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3679
3680         * BufferView.C: remove more locking stuff that apparently doesn't
3681         do anything sensible.
3682
3683 2003-09-16  André Pönitz  <poenitz@gmx.net>
3684
3685         * paragraph.[Ch]:
3686         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3687           performance boost.
3688
3689 2003-09-16  Angus Leeming  <leeming@lyx.org>
3690
3691         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3692
3693         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3694         arg/return type.
3695
3696         * paragraph.h: remove #include "lyxfont.h". Forward declare
3697         LyXFont_size.
3698
3699 2003-09-16  Angus Leeming  <leeming@lyx.org>
3700
3701         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3702         of support/textutils.h.
3703         (isWord): move the contents of support/textutils.h's IsWordChar here.
3704
3705         * buffer.C:
3706         * lyxfind.C:
3707         * rowpainter.C:
3708         * text.C:
3709         * text2.C: add #include "paragraph.h".
3710
3711         * rowpainter.C:
3712         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3713
3714 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3715
3716         * main.C:
3717         * lyx_main.C:
3718         * lyx_cb.C:
3719         * buffer.C:
3720         * LaTeX.C: use namespace alias for lyx::support::os
3721
3722 2003-09-16  Angus Leeming  <leeming@lyx.org>
3723
3724         * bufferparams.C:
3725         * bufferview_funcs.C:
3726         * factory.C:
3727         * lyxfunc.C:
3728         * paragraph_pimpl.C:
3729         * rowpainter.C:
3730         * text.C: add #include "LColor.h".
3731
3732 2003-09-16  Angus Leeming  <leeming@lyx.org>
3733
3734         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3735         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3736         return LyXFont &.
3737         Store the FontBits::color variable as an int rather than as an
3738         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3739         file.
3740
3741         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3742         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3743         string calls together.
3744
3745         * lyxrc.C: add #include "LColor.h".
3746
3747 2003-09-15  Angus Leeming  <leeming@lyx.org>
3748
3749         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3750         a cow_ptr.
3751
3752 2003-09-15  Angus Leeming  <leeming@lyx.org>
3753
3754         * LColor.h: add an EnumLColor wrapper for LColor::color.
3755
3756         * lyxfont.[Ch] (color, setColor, realColor):
3757         * lyxtext.h, text.C (backgroundColor):
3758         pass EnumLColor args to/from the functions, rather than LColor::color
3759         ones.
3760
3761         * lyxfont.h:
3762         * lyxtext.h: forward declare EnumLColor.
3763
3764         * lyx_main.C: add #include "LColor.h".
3765
3766 2003-09-15  Angus Leeming  <leeming@lyx.org>
3767
3768         * .cvsignore: add lyx-gtk.
3769
3770 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3771
3772         * Chktex.C
3773         * LaTeX.C
3774         * LaTeXFeatures.C
3775         * ParagraphParameters.C
3776         * Spacing.C
3777         * buffer.C
3778         * bufferparams.C
3779         * bufferview_funcs.C
3780         * chset.C
3781         * counters.C
3782         * funcrequest.C
3783         * lyxfont.C
3784         * lyxgluelength.C
3785         * lyxlength.C
3786         * paragraph.C
3787         * paragraph_funcs.C
3788         * text3.C
3789         * vc-backend.C: remove usage of STRCONV
3790
3791 2003-09-15  Angus Leeming  <leeming@lyx.org>
3792
3793         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3794         explicitly define the color passed to the painter.
3795
3796 2003-09-15  Angus Leeming  <leeming@lyx.org>
3797
3798         * bufferparams.C (BufferParams): reorder member initializers to avoid
3799         compiler warning.
3800
3801 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3802
3803         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3804         * text.C (updateRowPositions): remove an unusual nop
3805
3806 2003-09-12  André Pönitz  <poenitz@gmx.net>
3807
3808         * BufferView_pimpl.C:
3809         * Bullet.C:
3810         * layout.h:
3811         * lyxfunc.C:
3812         * lyxlayout.[Ch]:
3813         * lyxtextclass.C:
3814         * rowpainter.C:
3815         * text.C:
3816         * text2.C:
3817         * Counters.[Ch]: finish the 'automatic counters' job
3818
3819 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3820
3821         * aspell.C: include <boost/assert.cpp> (compile fix)
3822
3823 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3824
3825         * boost.C (assertion_failed): use lyx::support::abort instead of
3826         assert.
3827
3828 2003-09-10  Angus Leeming  <leeming@lyx.org>
3829
3830         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3831         with their _fwd progeny.
3832
3833 2003-09-09  Angus Leeming  <leeming@lyx.org>
3834
3835         134 files throughtout the source tree: replace 'using namespace abc;'
3836         directives with the appropriate 'using abc::xyz;' declarations.
3837
3838 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3839
3840         * boost.C (emergencyCleanup): moved here from LAssert.c
3841         (assertion_failed): new function, called by BOOST_ASSERT
3842
3843         * several files: change Assert to BOOST_ASSERT
3844
3845 2003-09-09  Angus Leeming  <leeming@lyx.org>
3846
3847         * buffer.[Ch]: Add an Impl class and move Buffer's member
3848         variables into it. As a result move several header files out of
3849         buffer.h.
3850
3851         Add header files to lots of .C files all over the tree as a result.
3852
3853 2003-09-09  Angus Leeming  <leeming@lyx.org>
3854
3855         * buffer.[Ch]: make Buffer's member variables private. Add
3856         accessor functions.
3857
3858         Lots of changes all over the tree as a result.
3859
3860 2003-09-08  Angus Leeming  <leeming@lyx.org>
3861
3862         * graph.C: #include <config.h>.
3863
3864 2003-09-08  Angus Leeming  <leeming@lyx.org>
3865
3866         * BranchList.C:
3867         * BufferView.C:
3868         * BufferView_pimpl.C:
3869         * CutAndPaste.C:
3870         * DepTable.C:
3871         * LaTeX.C:
3872         * LaTeXFeatures.C:
3873         * LyXAction.C:
3874         * MenuBackend.C:
3875         * TextCache.C:
3876         * aspell.C:
3877         * buffer.C:
3878         * bufferlist.C:
3879         * changes.C:
3880         * chset.C:
3881         * converter.C:
3882         * counters.C:
3883         * debug.C:
3884         * graph.C:
3885         * ispell.C:
3886         * lyx_cb.C:
3887         * lyxfind.C:
3888         * lyxfunc.C:
3889         * lyxlex_pimpl.C:
3890         * lyxrc.C:
3891         * lyxrow.C:
3892         * paragraph.C:
3893         * rowpainter.C:
3894         * texrow.C:
3895         * text.C:
3896         * text2.C:
3897         * toc.C: remove redundant using directives.
3898
3899 2003-09-07  Angus Leeming  <leeming@lyx.org>
3900
3901         * LaTeXFeatures.h: remove #include "support/types.h".
3902         * ToolbarBackend.h: remove #include <algorithm>.
3903         * changes.h: remove #include <ctime>.
3904         * debug.h: remove #include <iosfwd>.
3905         * graph.h: remove #include "support/std_string.h".
3906         * lyx_main.h: remove #include <csignal>.
3907         * lyxlex_pimpl.h: remove #include <fstream>.
3908         * sgml.h: remove #include <algorithm>, <utility>.
3909         * toc.h: remove #include "support/std_ostream.h".
3910         Add #include <iosfwd>.
3911
3912 2003-09-07  Angus Leeming  <leeming@lyx.org>
3913
3914         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3915
3916         * converter.h: forward declare LatexRunParams.
3917         * encoding.h: remove #include "lyxrc.h".
3918         * lyxtext.h: remove #include "LColor.h".
3919         * lyxtextclass.h: remove #include "support/types.h".
3920         * trans.h: remove #include "tex-accent.h".
3921         * trans_mgr.h: remove #include "tex-accent.h".
3922         * insets/inset.h: remove #include "support/types.h", <vector>.
3923         * insets/insetcollapsable.h: remove #include "LColor.h".
3924         * insets/insetinclude.h: remove #include "dimension.h".
3925         * insets/insetlatexaccent.h: remove #include "dimension.h".
3926         * insets/insetoptarg.h:: remove #include "insettext.h".
3927         * insets/insettext.h: remove #include "dimension.h",
3928         <boost/shared_ptr.hpp>
3929
3930         * insets/renderers.h: add #include "dimension.h".
3931         * insets/updatableinset.h: add #include "support/types.h".
3932
3933         * many .C files: Associated changes.
3934
3935 2003-09-06  Angus Leeming  <leeming@lyx.org>
3936
3937         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3938         one, inside testInvariant.
3939
3940         * PrinterParams.C: new file.
3941         * PrinterParams.[Ch]: move the function bodies out of line.
3942
3943 2003-09-06  Angus Leeming  <leeming@lyx.org>
3944
3945         * ParagraphParameters.h: forward declare ParameterStruct rather than
3946         including its header file.
3947         (depth): moved out-of-line.
3948
3949 2003-09-06  Angus Leeming  <leeming@lyx.org>
3950
3951         * BufferView_pimpl.h:
3952         * kbmap.h:
3953         * kbsequence.h:
3954         * lyxfunc.h: forward declare LyXKeySym rather than
3955         #include "frontends/LyXKeySym.h".
3956
3957         * BufferView_pimpl.C:
3958         * kbmap.C:
3959         * kbsequence.C:
3960         * lyxfunc.C: associated changes.
3961
3962 2003-09-06  Angus Leeming  <leeming@lyx.org>
3963
3964         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3965         As a result, can remove the #include "insets/inset.h" from BufferView.h
3966
3967 2003-09-06  Angus Leeming  <leeming@lyx.org>
3968
3969         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3970         As a result, can remove the #include "insets/inset.h" from BufferView.h
3971
3972 2003-09-06  Angus Leeming  <leeming@lyx.org>
3973
3974         * buffer_funcs.C:
3975         * buffer.h:
3976         * bufferlist.C:
3977         * BufferView.C:
3978         * bufferview_funcs.C:
3979         * BufferView_pimpl.C:
3980         * CutAndPaste.C:
3981         * lyx_cb.C:
3982         * lyxfunc.C:
3983         * paragraph.h:
3984         * ParagraphParameters.C:
3985         * tabular.C:
3986         * text3.C:
3987         * toc.C:
3988         * undo_funcs.C:
3989         * frontends/controllers/ControlDocument.C:
3990         * insets/insetcaption.C: rearrange the #includes into some sort of
3991         coherent order.
3992
3993         * buffer.h: remove #includes ErrorList.h, undo.h
3994
3995 2003-09-06  Angus Leeming  <leeming@lyx.org>
3996
3997         * support/types.h: add a 'depth_type' typedef, used to store the
3998         nesting depth of a paragraph.
3999
4000         * paragraph.h:
4001         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4002         defining explicitly.
4003
4004         * buffer.h:
4005         * paragraph_funcs.h:
4006         * ParagraphParameters.h:
4007         * sgml.h: use lyx::depth_type rather than Paragraph or
4008         ParameterStruct's depth_type.
4009
4010         * buffer.h
4011         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4012
4013         * BufferView.C:
4014         * BufferView_pimpl.C:
4015         * CutAndPaste.C:
4016         * ParagraphParameters.C:
4017         * buffer_funcs.C:
4018         * bufferlist.C:
4019         * bufferview_funcs.C:
4020         * lyx_cb.C:
4021         * lyxfunc.C:
4022         * tabular.C:
4023         * text3.C:
4024         * toc.C:
4025         * undo_funcs.C:
4026         * frontends/LyXView.C:
4027         * frontends/controllers/ControlDocument.C:
4028         * frontends/controllers/ControlErrorList.C:
4029         * insets/insetbibitem.C:
4030         * insets/insetbranch.C:
4031         * insets/insetcaption.C:
4032         * insets/insetcollapsable.C:
4033         * insets/insetenv.C:
4034         * insets/insetert.C:
4035         * insets/insetfloat.C:
4036         * insets/insetfoot.C:
4037         * insets/insetfootlike.C:
4038         * insets/insetnewline.C:
4039         * insets/insetquotes.C:
4040         * insets/insettabular.C:
4041         * insets/insettext.C:
4042         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4043
4044         * frontends/controllers/ControlChanges.C: #include "changes.h".
4045
4046 2003-09-06  Angus Leeming  <leeming@lyx.org>
4047
4048         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4049         than #including paragraph.h.
4050
4051         * ParagraphList.h:
4052         * RowList.h: deleted. Superfluous.
4053
4054         * CutAndPaste.h:
4055         * iterators.h:
4056         * lyxcursor.h:
4057         * lyxtext.h:
4058         * text_funcs.h:
4059         * undo.h:
4060         * undo_funcs.h:
4061         * insets/inset.h:
4062         * insets/insettext.h: use ParagraphList_fwd.h rather than
4063         ParagraphList.h.
4064
4065         * paragraph.h: don't forward declare ParagraphList.
4066
4067         * buffer.h:
4068         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4069         rather than ParagraphList.h. paragraph.h is still needed for the
4070         Paragraph::depth_type parameters.
4071
4072         * textcursor.h: enable it to compile stand-alone in light of the
4073         above changes.
4074
4075         * bufferview_funcs.C:
4076         * iterators.C:
4077         * lyxfunc.C:
4078         * lyxrow_funcs.C:
4079         * paragraph.C:
4080         * rowpainter.C:
4081         * text.C:
4082         * text2.C:
4083         * text3.C:
4084         * text_funcs.C:
4085         * textcursor.C:
4086         * undo.C:
4087         * frontends/controllers/ControlParagraph.C:
4088         * frontends/controllers/ControlTabular.C:
4089         * insets/insetmarginal.C:
4090         * insets/insetminipage.C:
4091         * insets/insetnote.C:
4092         * insets/insetoptarg.C: add header files needed to compile again.
4093
4094 2003-09-06  Angus Leeming  <leeming@lyx.org>
4095
4096         * RowList_fwd.h: new file, forward-declaring Row rather than
4097         #including lyxrow.h.
4098
4099         * lyxrow_funcs.h:
4100         * lyxtext.h:
4101         * paragraph.h:
4102         * insets/insettext.h: use it instead of RowList.h
4103
4104         * bufferview_funcs.C:
4105         * lyxfunc.C:
4106         * lyxrow_funcs.C:
4107         * paragraph.C:
4108         * rowpainter.C:
4109         * text.C:
4110         * text2.C:
4111         * text3.C: #include "RowList.h".
4112
4113 2003-09-05  Angus Leeming  <leeming@lyx.org>
4114
4115         * factory.C (createInset):
4116         * vspace.C (c-tor): replace sscanf call with an istringstream.
4117         * ispell.C: re-add missing HP/UX headers.
4118         * lyxserver.C: re-add missing  os2 headers.
4119
4120 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4121
4122         * BranchList.C:
4123         * graph.C:
4124         * ispell.C:
4125         * lastfiles.C:
4126         * lyx_cb.C:
4127         * lyxserver.C:
4128         * texrow.C:
4129         * text3.C: re-add missing system headers, needed for 2.95.2.
4130
4131 2003-09-05  Angus Leeming  <leeming@lyx.org>
4132
4133         Changes most place everywhere due to the removal of using directives
4134         from support/std_sstream.h.
4135
4136 2003-09-05  Angus Leeming  <leeming@lyx.org>
4137
4138         Replace LString.h with support/std_string.h,
4139         Lsstream.h with support/std_sstream.h,
4140         support/LIstream.h with support/std_istream.h,
4141         support/LOstream.h with support/std_ostream.h.
4142
4143         Changes resulting throughout the tree.
4144
4145 2003-09-05  Angus Leeming  <leeming@lyx.org>
4146
4147         * sgml.h: ensure that the header file can be compiled stand-alone.
4148         * *.C: strip out redundant #includes. (320 in total.)
4149
4150 2003-09-04  Angus Leeming  <leeming@lyx.org>
4151
4152         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4153         here (from getPackages).
4154
4155         * debug.[Ch]: add a new EXTERNAL tag.
4156
4157 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4158
4159         * text2.C (cursorEnd): simplify
4160         (setCursor): adjust
4161         (getColumnNearX): adjust
4162
4163         * text.C (computeBidiTables): adjust
4164         (fill): adjust
4165
4166         * rowpainter.C (paintChars): adjust
4167         (paintSelection): adjust
4168         (paintChangeBar): adjust
4169         (paintText): adjust
4170
4171         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4172         lastPos instead.
4173         (numberOfSeparators): adjust
4174
4175 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4176
4177         * LyXAction.C:
4178         * box.[Ch]:
4179         * lfuns.h:
4180         * lyxfunc.C:
4181         * text3.C: Restricts the mouse click functionality
4182         of insets like bibtex, include, toc and floatlist to the visible
4183         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4184         up the dialogs. Cursor has to be in front of the inset (i.e.
4185         start of row) for this to function.
4186
4187 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4188
4189         * bufferview_funcs.C (currentState): output row information
4190
4191 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4192
4193         * bufferview_funcs.C (currentState): output paragraph position
4194
4195 2003-09-04  Angus Leeming  <leeming@lyx.org>
4196
4197         * FloatList.h: move out #include "Floating.h".
4198         * LaTeX.h: move out #include "DepTable.h".
4199         * LyXAction.h: move out #include "funcrequest.h".
4200         * buffer.h: move out #include "author.h", "iterators.h".
4201         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4202         * lyx_main.h: move out #include "errorlist.h".
4203         * lyxfunc.h: move out #include "FuncStatus.h".
4204         * lyxtext: move out #include "lyxcursor.h".
4205         * paragraph_pimpl.h: move out #include "counters.h".
4206
4207 2003-09-03  Angus Leeming  <leeming@lyx.org>
4208
4209         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4210         preamble_snippets list, enabling us to add snippets to the preamble
4211         only if the snippet was not there already.
4212
4213 2003-09-04  Angus Leeming  <leeming@lyx.org>
4214
4215         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4216
4217 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4218
4219         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4220         update
4221
4222 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4223
4224         * BranchList.C: point fix, earlier forgotten
4225
4226 2003-09-02  Angus Leeming  <leeming@lyx.org>
4227
4228         * box.C (contains): renamed from 'contained' after a fantastic
4229         amount of hot air.
4230
4231 2003-09-02  John Levon  <levon@movementarian.org>
4232
4233         * BufferView.C:
4234         * lyxcursor.h:
4235         * lyxcursor.C:
4236         * lyxfunc.C:
4237         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4238
4239 2003-09-02  John Levon  <levon@movementarian.org>
4240
4241         * text2.C: simplification of cursorEnd(), including partial
4242         fix for bug 1376
4243
4244 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4245
4246         * buffer.C (readFile): add a space
4247
4248 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4249
4250         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4251
4252 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4253
4254         * buffer.C (readFile): new function, take a filename and a
4255         ParagraphList::iterator
4256         (readFile): adjust
4257         (readFile): adjust, make it private. don't use setStream, make
4258         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4259         always contain the filename.
4260
4261         * BufferView.C (insertLyXFile): simplify and make it work for
4262         gzipped files.
4263
4264 2003-08-30  John Levon  <levon@movementarian.org>
4265
4266         * Makefile.am: fix dist (from Kayvan)
4267
4268 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4269
4270         * most files: change to use const Buffer refs
4271
4272 2003-08-27  André Pönitz  <poenitz@gmx.net>
4273
4274         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4275         on top of ownerPar().
4276
4277 2003-08-27  John Levon  <levon@movementarian.org>
4278
4279         * funcrequest.C: properly initialise POD members
4280
4281 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4282
4283         * lyxtext.h (top_y): move top_y from here
4284         * text.C:
4285         * text2.C:
4286         * text3.C:
4287         * BufferView.[Ch]:
4288         * BufferView_pimpl.[Ch]: to here
4289         * frontends/screen.C:
4290         * insets/insettabular.C:
4291         * insets/insettext.C: adjust
4292         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4293
4294 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4295
4296         * BufferView.[Ch]:
4297         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4298
4299 2003-08-26  André Pönitz  <poenitz@gmx.net>
4300
4301         * paragraph_func.[Ch] (outerPar): new function
4302
4303         * paragraph.C:
4304         * paragraph_funcs.C:
4305         * paragraph_funcs.h:
4306         * paragraph_pimpl.C:
4307         * text2.C: remove Inset::par_owner
4308
4309 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4310
4311         * lyxrow_funcs.C:
4312         * lyxtext.h:
4313         * text.C:
4314         * text2.C: eliminates the needFullRow/display() stuff
4315         altogether, putting the logic in metrics/draw in the insets.
4316
4317 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4318
4319         * text2.C (redoParagraphInternal, redoParagraphs):
4320         * text.C (redoParagraph): add a call to updateRowPositions at the
4321         end of each 'metrics-like' call. Remove all others.
4322         (getRow): remove the 'y-computing' version.
4323         (getRowNearY): do not compute nor return the real y. Solve the
4324         'y < 0' problem and simplify.
4325
4326 2003-08-22  Angus Leeming  <leeming@lyx.org>
4327
4328         * *.[Ch]: clean-up of licence and author blurbs.
4329         Also move config.h out of a few .h files and into a few .C files.
4330
4331 2003-08-22  André Pönitz  <poenitz@gmx.net>
4332
4333         * lyxrow.[Ch]: add x_ and *fill_ members
4334
4335         * lyxtext.h:
4336         * text.C:
4337         * rowpainter.C:
4338         * text2.C: adjust/remove prepareToPrint() calls
4339
4340 2003-08-22  André Pönitz  <poenitz@gmx.net>
4341
4342         * lyxrow.[Ch]: add  end_ member
4343
4344         * lyxrow_funcs.C: use LyXRow::end_
4345
4346         * lyxtext.h (singleWidth): add LyXFont parameter
4347
4348         * rowpainter.C:
4349         * text2.C: adjust LyXText::singleWidth() calls
4350
4351         * text.C (redoParagraph): simplify row breaking logic
4352
4353
4354 2003-08-19  André Pönitz  <poenitz@gmx.net>
4355
4356         * funcrequest.C: initialize button_ member
4357
4358         * text3.C:
4359         * rowpainter.[Ch]: interface consolidation
4360
4361 2003-08-18  André Pönitz  <poenitz@gmx.net>
4362
4363         * BufferView.C:
4364         * BufferView_pimpl.C:
4365         * lyxfind.C:
4366         * paragraph_funcs.C:
4367         * rowpainter.C:
4368         * text3.C: remove LyXScreen::draw() and fitCursor calls
4369
4370         * BranchList.h: remove spurious semicolons
4371
4372         * MenuBackend.C: fix branchlist related crash
4373
4374 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4375
4376         * BranchList.[Ch]:
4377         * InsetList.[Ch]:
4378         * LColor.[Ch]:
4379         * LyXAction.C:
4380         * Makefile.am:
4381         * MenuBackend.[Ch]:
4382         * bufferparams.[Ch]:
4383         * factory.C:
4384         * lfuns.h:
4385         * lyxfunc.C:
4386         * text3.C: implements the 'branch inset'
4387         idea. This allows the output of various versions of a document
4388         from a single source version, selectively outputing or suppressing
4389         output of parts of the text.
4390         This implementation contains a 'branch list editor' in a separate
4391         tab of the document settings dialog. Branches are user definable
4392         and have a "display colour" to distinguish them on-screen.
4393
4394         ColorHandler was somewhat cleaned up.
4395         (1) make possible a dynamically growing LColor list by allowing
4396         the graphic context cache to grow along (vector);
4397         (2) eliminate an IMHO unnecessary step in colour allocation.
4398
4399 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4400
4401         * BufferView_pimpl.C: compile fix
4402
4403 2003-08-15  André Pönitz  <poenitz@gmx.net>
4404
4405         * rowpainter.C: remove extra metrics calls
4406
4407         * lyxtext.h: merge the two constructors into a single one,
4408           pass reference to owner's par list
4409
4410         * BufferView_pimpl.C:
4411         * text.C:
4412         * text2.C: adjust
4413
4414 2003-08-15  André Pönitz  <poenitz@gmx.net>
4415
4416         * lyxrow_funcs.[Ch]:
4417         * lyxtext.h:
4418         * paragraph.h:
4419         * paragraph_funcs.C:
4420         * rowpainter.C:
4421         * text.C:
4422         * text2.C:
4423         * text3.C:
4424         * text_funcs.C: split LyXText::rowlist_ into individual
4425         Paragraph::rows_ chunks
4426
4427         * BufferView.[Ch]:
4428         * BufferView_pimpl.[Ch]:
4429         * lyxfind.C:
4430         * lyxtext.h:
4431         * text3.C: remove toggleSelection()
4432
4433 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4434
4435         * bufferlist.C: beautify two alerts (shorter text of buttons)
4436         * buffer.C: Remove redundant ' ' from message
4437         * tabular.h:
4438         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4439         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4440         rename VALIGN_CENTER to VALIGN_MIDDLE
4441
4442 2003-08-11  André Pönitz  <poenitz@gmx.net>
4443
4444         * lyxtext.h (getPar):
4445         * text.C: new function
4446
4447 2003-08-11  André Pönitz  <poenitz@gmx.net>
4448
4449         * Makefile.am:
4450         * tracer.[Ch]: remove unneeded files
4451
4452         * InsetList.[Ch]: remove resizeInsetsLyXText()
4453
4454         * lyxtext.h:
4455         * text.C:
4456         * text2.C:
4457         * text3.C: merge insertParagraphs() and appendParagraph()
4458         remove breakAgain(), update()
4459
4460         * BufferView_pimpl.[Ch]:
4461         * bufferview_funcs.[Ch]:
4462         * lyxfunc.C:
4463         * paragraph.[Ch]:
4464         * rowpainter.C:
4465         * tabular.C: adjust after text & InsetList changes.
4466
4467 2003-08-08  André Pönitz  <poenitz@gmx.net>
4468
4469         * text.C (insertChar, backspace): replace rowlist fiddling
4470         with rebreak of full par
4471
4472         * lyxtext.h:
4473         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4474         checkParagraph, updateInset): removed
4475
4476 2003-08-07  André Pönitz  <poenitz@gmx.net>
4477
4478         * paragraph.C:
4479         * text3.C: merge some LFUN handlers, remove dead code
4480
4481 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4482
4483         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4484
4485 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4486
4487         * text2.C (DEPM): fix part of bug 1255 and 1256
4488
4489 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4490
4491         * BufferView_pimpl.C (workAreaDispatch): change to use
4492         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4493         that are no mouse related.
4494
4495 2003-08-05  André Pönitz  <poenitz@gmx.net>
4496
4497         * BufferView.[Ch]:
4498         * BufferView_pimpl.[Ch]:
4499         * bufferview_funcs.C:
4500         * text2.C:
4501         * text3.C: rip out "deep update"
4502
4503         * textcursor.[Ch] (last_sel_cursor): remove unused member
4504
4505 2003-08-04  André Pönitz  <poenitz@gmx.net>
4506
4507         * BufferView.[Ch]:
4508         * BufferView_pimpl.[Ch]:
4509         * ParagraphParameters.C:
4510         * bufferview_funcs.C:
4511         * lyx_cb.C:
4512         * lyxfind.C:
4513         * lyxfunc.C:
4514         * text.C:
4515         * text2.C:
4516         * text3.C: replace "complicated" BufferView::update(...) calls with
4517         simpler ones.
4518
4519         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4520
4521 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4522
4523         * Makefile.am (lyx_SOURCES): add paper.h
4524
4525 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4526
4527         * Makefile.am: move things around so that both lyx-qt and
4528         lyx-xforms can be built (according to --with-frontend). Then lyx
4529         is a symbolic link to lyx-[firstfrontend]
4530
4531 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4532
4533         * Always use std::endl with lyxerr
4534
4535 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4536
4537         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4538
4539 2003-08-01  André Pönitz  <poenitz@gmx.net>
4540
4541         * BufferView.[Ch]:
4542         * BufferView_pimpl.[Ch]:
4543         * lyxfunc.C:
4544         * text3.C: merge BufferView::repaint() and BufferView::update()
4545
4546 2003-08-01  José Matos  <jamatos@lyx.org>
4547
4548         * buffer.[Ch]: file_format is no longer a buffer data element.
4549
4550 2003-08-01  André Pönitz  <poenitz@gmx.net>
4551
4552         * BufferView.C:
4553         * lyxtext.h:
4554         * text.C:
4555         * text2.C: make redoParagraph more independent of current cursor
4556
4557         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4558         * text.C:
4559         * text2.C: remove unneeded members
4560
4561 2003-07-30  André Pönitz  <poenitz@gmx.net>
4562
4563         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4564
4565         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4566           create a single function...
4567
4568         * paragraph_funcs.C (moveItem): ... here.
4569
4570         * text.C:
4571           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4572
4573 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4574
4575         * LColor.[Ch]: Add comment and greyedout logical colors.
4576
4577 2003-07-30  André Pönitz  <poenitz@gmx.net>
4578
4579         * tabular.C: don't use Assert too heavily. This crashes where it
4580           shouldn't
4581
4582 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4583
4584         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4585         is disabled (bug 1232)
4586
4587 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4588
4589         * factory.C: limited 'arg' scope
4590
4591 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4592
4593         * factory.C: fixed Note submenu issues
4594
4595 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4596
4597         * factory.C: submenu for Note/Comment/Greyedout
4598
4599 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4600
4601         * lyx_main.C (LyX):
4602         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4603
4604 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4605
4606         * LaTeXFeatures.C:
4607         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4608         greyedout. Patch provided by Jürgen Spitzmüller.
4609
4610 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4611
4612         * kbmap.C (read): fix error message when reading bind files
4613
4614 2003-07-29  Angus Leeming  <leeming@lyx.org>
4615
4616         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4617         certainly does not do what it purports to do. I am doing it, and
4618         us, a favour by killing it.
4619
4620 2003-07-28  José Matos  <jamatos@lyx.org>
4621
4622         * buffer.C (readBody, do_writeFile):
4623         * paragraph.C(readParagraph): \end_document replaces \the_end.
4624
4625 2003-07-29  André Pönitz  <poenitz@gmx.net>
4626
4627         * BufferView.[Ch]:
4628         * BufferView_pimpl.[Ch]:
4629         * lyxfunc.C:
4630         * text2.C:
4631         * text3.C:
4632         * textcursor.[Ch]: remove toggleToggle & Co
4633
4634 2003-07-28  José Matos  <jamatos@fep.up.pt>
4635
4636         * buffer.C (readParagraph):
4637         * params_func (readParToken, readParagraph):
4638         * paragraph.C (write): \layout -> \begin_layout.
4639
4640 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4641
4642         * lyxlex_pimpl.C (setFile): clean up slightly.
4643
4644         * bufferparams.h: add compressed var
4645
4646         * buffer_funcs.C (readFile): adjust for LyXLex change
4647         (newFile): ditto + simplify
4648
4649         * buffer.C (writeFile): handle writing of compressed files
4650
4651         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4652         Check if the file is compressed and set a bufferparm if so.
4653
4654         * Makefile.am (lyx_LDADD): remove explicit -lz
4655
4656 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4657
4658         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4659         makeDocBookFile): put the real LyX version in the first line of
4660         the file
4661
4662         * version.h:
4663         * version.C.in: remove lyx_docversion
4664
4665         * tabular.C (write_attribute): add a template-based version to
4666         write enums properly
4667
4668 2003-07-28  André Pönitz  <poenitz@gmx.net>
4669
4670         * lyxtext.h:
4671         * text.C:
4672         * text2.C:
4673         * text3.C: use doubles again for x-coordinates. They are needed.
4674
4675 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4676
4677         * messages.C (getLocaleDir): use lyx_localedir()
4678
4679         * lyxlex_pimpl.C (setFile): compress stuff
4680
4681         * buffer.C (writeFile): add some compression stuff
4682         (do_writeFile): new func, dont call expliti close... will this
4683         breake anything?
4684
4685         * Makefile.am (lyx_LDADD): add -lz
4686
4687 2003-07-28  José Matos  <jamatos@fep.up.pt>
4688
4689         * buffer.C: increment file format.
4690         * paragraph_funcs (readParagraph, readParToken):
4691         * paragraph.C (readParagraph): add \end_layout.
4692
4693 2003-07-27  Angus Leeming  <leeming@lyx.org>
4694
4695         * Makefile.am: remove special casing for configure-time setting of
4696         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4697
4698         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4699         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4700
4701 2003-07-26  André Pönitz  <poenitz@gmx.net>
4702
4703         * paragraph_func.[Ch]:
4704         * paragraph.C (realizeFont): inline it whereever it is used
4705
4706         * rowpainter.C:
4707         * text.C:
4708         * text2.C:
4709         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4710
4711
4712 2003-07-26  André Pönitz  <poenitz@gmx.net>
4713
4714         *       lyxtext.h:
4715         * text.C:
4716         * text2.C: get rid of LyXText::need_break_row
4717
4718 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4719
4720         * toc.[Ch]: put namespace toc inside namespace lyx
4721
4722         * MenuBackend.C (expandToc2): adjust for lyx::toc
4723         (expandToc): ditto
4724
4725         * lyxfunc.C (dispatch): adjust for lyx::find
4726
4727         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4728         lyx::find instead. Reorganize a bit.
4729         (LyXReplace): rename to replace
4730         (LyXFind): rename to find
4731
4732         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4733         (dispatch): ditto
4734
4735 2003-07-26  André Pönitz  <poenitz@gmx.net>
4736
4737         * text.C (setHeightOfRow): restrict scope of temporary variable
4738
4739         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4740           code (never has been used?)
4741
4742 2003-07-27  Asger Alstrup  <alstrup@local>
4743
4744         * text.C (fill): Optimise algorithm to exploit that we can reuse
4745         the LyXFont for many characters.
4746         (setHeightOfRow): Same thing.
4747         (rowBreakPoint): Same thing.
4748
4749 2003-07-26  Asger Alstrup  <alstrup@local>
4750
4751         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4752
4753         * text.C (singleWidth): Spurious font copying in hot-spot
4754         singleWidth avoided. Reorder tests for arabic for efficiency.
4755
4756         * text.C (fill): handle empty paragraphs better.
4757
4758 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4759
4760         * ispell.C:
4761         * encoding.h: add includes
4762
4763         * lyxrc.C: remove reading of bind files
4764
4765         * lyx_main.C (init): setup bindings and menus only if we have a
4766         gui.
4767
4768         * kbmap.C (read): new method. Do the actual reading of bind
4769         files.
4770
4771         * converter.C (dvipdfm_options):
4772         * bufferparams.C:
4773         * lyxrc.C (read):
4774         (output): adapt PAPER_* enums.
4775
4776         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4777
4778         * bufferparams.h: remove paper-related enums from there
4779
4780         * paper.h: New file. A trivial header file to hold paper-related
4781         enums. It should later expand to contain many paper-related
4782         horrors access.
4783
4784         * lyxrc.C: declare extern displayTranslator
4785
4786 2003-07-27  José Matos  <jamatos@fep.up.pt>
4787
4788         * tabular.[Ch] (linuxdoc): add support for tables and figures
4789         (linuxdoc).
4790
4791 2003-07-27  José Matos  <jamatos@fep.up.pt>
4792
4793         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4794         consistency in both functions.
4795         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4796
4797 2003-07-26  Asger Alstrup  <alstrup@local>
4798
4799         * rowpainter.C (paintRows): Change algorithm to work directly on
4800         the insets rather than asking every character in the document
4801         whether its an inset.
4802
4803 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4804
4805         * buffer.C (openFileWrite): factorize some code
4806
4807 2003-07-26  Angus Leeming  <leeming@lyx.org>
4808
4809         * lyx_cb.C:
4810         * lyx_main.[Ch]: replace occurances of system_tempdir with
4811         os::getTmpDir().
4812
4813 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4814
4815         * rename Inset to InsetOld
4816
4817 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4818
4819         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4820         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4821         which I think is a bit clearer. EDIT is gone, since it was
4822         premature optimisation, and broken for mathed anyway.
4823         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4824         with cursor positioning in insets as well (math insets still do not
4825         work, but that's a different story anyway.) It mysteriously
4826         crashes sometimes with undo in the first paragraph, but I'm fairly
4827         confident that this is a compiler bug.
4828
4829 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4830
4831         * paragraph.C (Paragraph): adjust for new clone return type
4832         (operator==): ditto
4833         (copyIntoMinibuffer): ditto
4834
4835 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4836
4837         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4838         by not having a special case, and always doing a full rebreak of
4839         the document after undo.
4840
4841 2003-07-23  Angus Leeming  <leeming@lyx.org>
4842
4843         * factory.C (createInset): InsetExternal::setParams now takes a
4844         Buffer const * arg.
4845
4846 2003-07-23  Angus Leeming  <leeming@lyx.org>
4847
4848         * factory.C (createInset): changed interface to the external and
4849         graphics mailers' string2params functions.
4850
4851 2003-07-23  Angus Leeming  <leeming@lyx.org>
4852
4853         * factory.C (createInset): pass a
4854         Buffer const * parameter to InsetExternalMailer's string2params.
4855
4856 2003-07-22  John Levon  <levon@movementarian.org>
4857
4858         * Thesaurus.h: include the right aiksaurus header
4859
4860 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4861
4862         * MenuBackend.C (expand): check menu shortcuts unconditionally
4863
4864 2003-07-21  Angus Leeming  <leeming@lyx.org>
4865
4866         * factory.C (createInset): pass a
4867         buffer_path parameter to InsetGraphicsMailer's string2params.
4868
4869 2003-07-21  Angus Leeming  <leeming@lyx.org>
4870
4871         * BufferView_pimpl.C (buffer):
4872         * buffer.C (d-tor):
4873         * lyx_main.C (LyX):
4874         * lyxfunc.C (dispatch):
4875         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4876         rather than the grfx shortcut.
4877
4878 2003-07-21  André Pönitz  <poenitz@gmx.net>
4879
4880         * rowpainter.C: remove unused variables
4881
4882         * tabular_funcs.C:
4883         * tabular_funcs.h: move to tabular.C
4884         * Makefile.am: adjust
4885
4886         * tabular.[Ch]: basic optical cleaning
4887
4888         * author.h: pass references, not values
4889
4890 2003-07-18  André Pönitz  <poenitz@gmx.net>
4891
4892         * lyxtext.h:
4893         * metricsinfo.C:
4894         * metricsinfo.h:
4895         * rowpainter.C:
4896         * text.C:
4897         * text2.C:
4898         * text3.C: two-phase drawing for InsetText and InsetTabular
4899         some float -> int changes.
4900
4901 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4902
4903         * lyx_main.C: fix the fix
4904
4905 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4906
4907         * lyx_main.C: fix a crash in batch mode if no files specified
4908         * converter.C: ws
4909
4910 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4911
4912         * format.[Ch] (papersize): moved to BufferParams
4913         * converter.[Ch] (dvips_options): moved to BufferParams
4914         (dvipdfm_options): moved to anon namespace
4915         * bufferparams.[Ch]: added above functions.
4916
4917 2003-07-17  André Pönitz  <poenitz@gmx.net>
4918
4919         * lyxtext.h:
4920         * rowpainter.C:
4921         * text2.C: don't call inset->update() anymore
4922
4923         * metricsinfo.[Ch]: add convenience constructor
4924
4925 2003-07-16  André Pönitz  <poenitz@gmx.net>
4926
4927         * lyxcursor.[Ch]:
4928         * lyxfunc.[Ch]:
4929         * text.C:
4930         * text2.C: replace the LyXCursor::irow_ member with
4931          on-demand computation of the value
4932
4933 2003-07-16  John Levon  <levon@movementarian.org>
4934
4935         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4936
4937 2003-07-15  André Pönitz  <poenitz@gmx.net>
4938
4939         * text.C:
4940         * text2.C: remove no more needed refresh_row
4941
4942 2003-07-15  André Pönitz  <poenitz@gmx.net>
4943
4944         * lyxtext.h:
4945         * rowpainter.C:
4946         * text2.C:
4947         * text3.C: refresh_status tristate -> need_update bool
4948
4949 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4950
4951         * lyxtext.h (init): remove reinit argument (act as if always true)
4952         * text2.C: adjust to that
4953
4954 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4955
4956         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4957         * text3.C: use it to delete selections in some cases
4958         (bugs 441, 673, 702, 954).
4959
4960 2003-07-14  André Pönitz  <poenitz@gmx.net>
4961
4962         * rowpainter.[Ch]: reduce interface
4963
4964 2003-07-14  André Pönitz  <poenitz@gmx.net>
4965
4966         * BufferView_pimpl.C:
4967         * text2.C: adjust after removing unused BufferView * argument
4968
4969 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4970
4971         * text2.C (init): fix a crash fired on resize
4972
4973 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4974
4975         * buffer.[Ch]: added new closing signal
4976         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4977         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4978         BufferView::Pimpl via the closing the signal
4979
4980 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4981
4982         * buffer.[Ch]: take out all bv-related from buffer
4983         * BufferView.C:
4984         * BufferView_pimpl.[Ch]: connect to new signals
4985         * CutAndPaste.C: removed useless asserts
4986         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4987         * lyxvc.[Ch]:
4988         * vc-backend.[Ch]:
4989         * lyxfunc.C: moved view-related funciontality from vc here
4990         * paragraph.C: removed outdated comments
4991         * text.C: ws
4992
4993 2003-07-10  André Pönitz  <poenitz@gmx.net>
4994
4995         * BufferView_pimpl.C:
4996         * tabular.h:
4997         * tabular_funcs.C:
4998         * text.C:
4999         * text2.C: remove InsetText::InnerCache, clean up consequences
5000
5001 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5002
5003         * ispell.C: fix two typos in error messages
5004
5005 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5006
5007         * Extend Note inset to other forms of annotation like Comment
5008         and Greyedout. Right button click gives dialog.
5009
5010         Files modified or added (+):
5011
5012         * insetnote.[Ch]
5013         * FormNote.[Ch]      +
5014         * ControlNote.[Ch]   +
5015         * form_note.fd       +
5016         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5017         frontends/controllers
5018         * xforms/Dialogs.C
5019         * factory.C
5020
5021 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5022
5023         * aspell.C: add missing namespace lyx::support
5024
5025 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5026
5027         * BufferView.[Ch] (newFile): Add
5028         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5029         * LaTeX.[Ch] (message): added this signal and use it
5030         * buffer.[Ch] (busy, message): added these signals and use them
5031         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5032         * converter.C:
5033         * exporter.C:
5034         * format.C:
5035         * importer.C: use buffer signals instead of direct bv calling
5036         * lyx_cb.[Ch] (ShowMessage): removed
5037         * lyx_main.C:
5038         * lyxfunc.C:
5039         * paragraph_funcs.C:
5040         * text2.C: use buffer signals
5041
5042 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5043
5044         * introduce namespace lyx::graphics
5045
5046 2003-07-02  André Pönitz  <poenitz@gmx.net>
5047
5048         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5049
5050 2003-07-01  André Pönitz  <poenitz@gmx.net>
5051
5052         * text.C:
5053         * text2.C:
5054         * text3.C:
5055         * text_funcs.[Ch]:
5056         * textcursor.h:
5057         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5058           text*.C to text_func.C
5059
5060 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5061
5062         * introduce namespace lyx::support
5063
5064 2003-06-30  André Pönitz  <poenitz@gmx.net>
5065
5066         * Chktex.C:
5067         * funcrequest.C:
5068         * lyxtext.h:
5069         * text.C: re-enable --with-included-string
5070
5071 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5072
5073         * textcursor.C: add <config.h>
5074
5075         * text.C (getWord): remove const from word_location arg
5076
5077         * lyxvc.C (getLogFile): fix const type order
5078
5079         * lyxtext.h: remove const from word_location arg, add arg name
5080
5081         * lyxlayout.h: currect type on labeltype.
5082
5083         * importer.C: correct \file
5084
5085         * converter.C (intToFormat): use std:: on ret val, ws changes
5086
5087         * bufferlist.h: correct \file
5088
5089         * buffer.C (makeLinuxDocFile): fix const type order
5090         (makeDocBookFile): ditto
5091         (fillWithBibKeys): use std:: on stdlib args.
5092
5093         * CutAndPaste.C: fix authors.
5094         (availableSelections): use std:: on return vector
5095
5096 2003-06-27  André Pönitz  <poenitz@gmx.net>
5097
5098         * BufferView_pimpl.C:
5099         * bufferview_funcs.C:
5100         * lyxcursor.C:
5101         * lyxcursor.h:
5102         * lyxfunc.C:
5103         * lyxtext.h:
5104         * rowpainter.C:
5105         * text.C:
5106         * text2.C:
5107         * text3.C: remove LyXCursor::row_ member
5108
5109         * lyxtext.h:
5110         * text.C: rename fullRebreak() to partialRebreak() and implement
5111           a fullRebreak() that really bereks fully
5112
5113         * textcursor.h: new struct for cursor-related data
5114
5115 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5116
5117         * lyx_main.C (LyX): get full path of document loaded on the
5118         command line
5119
5120 2003-06-26  André Pönitz  <poenitz@gmx.net>
5121
5122         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5123           remove unused/broken operator>,<,>=.
5124
5125         *       text.C: remove only use of broken operator<= in an Assert().
5126
5127 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5128
5129         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5130         moved errorlist_.clear to showErrorList
5131
5132 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5133
5134         * converter.C (scanLog, runLaTeX):
5135         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5136         move the bv->showErrorList call to the callers
5137         * lyxfunc.C: i.e. here...
5138         * text2.C: and here
5139         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5140         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5141         namespace, the second to...
5142         * buffer_funcs (BufferFormat, parseErrors): added
5143         * errorlist.C (ErrorList(TeXErrors const &)): removed
5144
5145 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5146
5147         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5148
5149 2003-06-24  "Garst R. Reese" <reese@isn.net>
5150
5151         * debug.C: fix typo
5152
5153 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5154
5155         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5156
5157         * version.C.in: change docversion to 1.4
5158
5159 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5160
5161         * buffer.C: fix a bug just introduced
5162
5163 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5164
5165         * buffer.[Ch]: added the parseError signal and use it, removed
5166         sgmlError
5167         * BufferView.[Ch] (addError): moved to ...
5168         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5169         to the Buffer::parseError signal to catch (guess what) parse errors
5170         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5171
5172 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5173
5174         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5175         ability to create a buffer and to return an existing one from
5176         the list. Moved these functions to...
5177         * buffer_funcs.[Ch]: added
5178         * BufferView.[Ch] (loadLyXFile): added
5179         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5180         job removed from bufferlist::loadLyXFile.
5181         * buffer.C (setReadOnly): make it work without view
5182         (i.e added an if (users))
5183
5184 2003-06-19  Angus Leeming  <leeming@lyx.org>
5185
5186         * lfuns.h:
5187         * LyXAction.C (init):
5188         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5189         with LFUN_DIALOG_SHOW <name> <data>.
5190
5191 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5192
5193         * CutAndPaste.C (availableSelections): small compilation fix for
5194         ancient (gcc 2.9x) compilers
5195
5196 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5197
5198         * text3.C (cursorNext): add tmp var
5199
5200         * text2.C (updateCounters): for function calling out of for clause
5201         (replaceSelectionWithString): ditto
5202         (insertStringAsParagraphs): ditto
5203         (getColumnNearX): add tmp var
5204         (setCursorFromCoordinates): add tmp var
5205         (cursorDownParagraph): add tmp var
5206         (deleteEmptyParagraphMechanism): add tmp var
5207
5208         * text.C (insertChar): add tmp var
5209
5210         * rowpainter.C (paintDepthBar): add tmp var
5211
5212         * CutAndPaste.C (availableSelections): potentially check all
5213         paragraphs in a cut to fill the shown strings.
5214
5215 2003-06-18  André Pönitz  <poenitz@gmx.net>
5216
5217         * kbmap.[Ch]: use vector<> instead of list<>
5218
5219 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5220
5221         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5222         pasteSelection with index
5223
5224         * text2.C (pasteSelection): modify, call pasteSelection with index
5225
5226         * paragraph.C (asString): reimplement version with no interval to
5227         call the one with interval.
5228
5229         * lyxtext.h: add index arg to pasteSelection
5230
5231         * MenuBackend.C (MenuItem): handle PasteRecent
5232         (Menu::read::Menutags): add md_pasterecent
5233         (read): handle it
5234         (expandPasteRecent): new function
5235         (expand): use it
5236
5237         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5238
5239         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5240         the limited stack
5241         (availableSelections): new function
5242
5243 2003-06-17  Angus Leeming  <leeming@lyx.org>
5244
5245         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5246
5247 2003-06-17  Angus Leeming  <leeming@lyx.org>
5248
5249         * lfuns.h:
5250         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5251
5252         * lyxfunc.C (dispatch): invoke it.
5253
5254 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5255
5256         * iterators.C (operator++, ParPosition): reintroduce some
5257         const_cast for the benefit of older compilers.
5258
5259 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5260
5261         * text3.C (dispatch): do not modify clipboard when doing
5262         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5263         LFUN_DELETE_SKIP on a selection selection
5264
5265 2003-06-16  André Pönitz  <poenitz@gmx.net>
5266
5267         * BufferView.C:
5268         * buffer.C:
5269         * buffer.h:
5270         * paragraph.C:
5271         * tabular.[Ch]: IU of clone() and getLabelList();
5272
5273 2003-06-13  André Pönitz  <poenitz@gmx.net>
5274
5275         * tabular.h: compactification
5276
5277 2003-06-12  André Pönitz  <poenitz@gmx.net>
5278
5279         * tabular.C:
5280         * tabular.h:
5281         * tabular_funcs.h: some renaming plus whitespace
5282
5283 2003-06-12  André Pönitz  <poenitz@gmx.net>
5284
5285         * BufferView.C:
5286         * BufferView_pimpl.C:
5287         * CutAndPaste.C:
5288         * buffer.C:
5289         * iterators.[Ch]:
5290         * lyxfunc.C:
5291         * text.C:
5292         * toc.C: Return a Paragraph & for ParIterator::operator*()
5293
5294 2003-06-11  John Levon  <levon@movementarian.org>
5295
5296         * lyx_main.C:
5297         * ToolbarBackend.h:
5298         * ToolbarBackend.C: add "Toolbars" section and
5299         put the flags there
5300
5301 2003-06-10  Angus Leeming  <leeming@lyx.org>
5302
5303         * lfuns.h:
5304         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5305
5306         * lyxfunc.C (dispatch): invoke it.
5307
5308 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5309
5310         * main.C: protect <ios> with HAVE_IOS
5311         (main): protect sync_with_stdio with HAVE_IOS
5312
5313 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5314
5315         * text2.C (cutSelection): adjust
5316         (pasteSelection): adjust
5317
5318         * messages.C: handle get of empty string
5319
5320         * main.C (main): use sync_with_stdio(false)
5321
5322         * lyxfunc.C (dispatch): adjust
5323
5324         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5325         (WriteAs): remove unneeded BufferView arg.
5326
5327         * bufferparams.h: use correct types on papersize, papersize2 and
5328         paperpackage.
5329
5330         * bufferparams.C (readToken): adjust for type
5331         (writeLaTeX): add missing cases to switch.
5332
5333         * bufferlist.C (quitWriteBuffer): adjust
5334         (close): adjust
5335
5336         * buffer.C (asciiParagraph): remove some commented code.
5337
5338         * CutAndPaste.C: remove current_view extern variable.
5339         (cutSelection): add BufferParams arg.
5340         (eraseSelection): add BufferParams arg.
5341         (pasteSelection): add Buffer const & arg
5342
5343 2003-06-07  John Levon  <levon@movementarian.org>
5344
5345         * buffer.C:
5346         * paragraph_funcs.C:
5347         * paragraph_pimpl.C:
5348         * text.C:
5349         * text2.C:
5350         * paragraph.h:
5351         * paragraph.C: allow InsetERT to freely space lines,
5352         and some consolidation of code
5353
5354 2003-06-06  José Matos  <jamatos@fep.up.pt>
5355
5356         * buffer.C (makeDocBookFile): fix bug #821
5357
5358 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5359
5360         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5361
5362 2003-06-04  Angus Leeming  <leeming@lyx.org>
5363
5364         * buffer.C: bump format to 224.
5365
5366 2003-06-05  André Pönitz  <poenitz@gmx.net>
5367
5368         * text2.C (redoParagraphs): remove two const_cast<>
5369
5370 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5371
5372         * ParagraphList.h: remove last remnants of NO_STD_LIST
5373
5374 2003-06-03  Angus Leeming  <leeming@lyx.org>
5375
5376         * factory.C (createInset): small change to the way InsetExternal's params
5377         are set.
5378
5379 2003-06-04  André Pönitz  <poenitz@gmx.net>
5380
5381         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5382
5383         * paragraph_pimpl.h:
5384         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5385
5386         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5387
5388         * undo_funcs.C: make some simple cases of undo work again
5389
5390 2003-06-03  John Levon  <levon@movementarian.org>
5391
5392         * ispell.C: HPUX doesn't have sys/select.h
5393         (from Albert Chin)
5394
5395 2003-06-03  John Levon  <levon@movementarian.org>
5396
5397         * CutAndPaste.C: update tabular and include inset
5398         buffer references
5399
5400         * buffer.h:
5401         * paragraph.h:
5402         * paragraph.C: remove owningBuffer(), don't pass Buffer
5403         to clone()
5404
5405         * factory.C: insetGraphicsParams changed
5406
5407 2003-06-02  John Levon  <levon@movementarian.org>
5408
5409         * LyXAction.C:
5410         * factory.C:
5411         * lfuns.h:
5412         * lyxfunc.C:
5413         * text3.C: remove insetparent
5414
5415 2003-06-02  John Levon  <levon@movementarian.org>
5416
5417         * buffer.h:
5418         * buffer.C: fix inset_iterator.end(), move out of line
5419         (bug 1149)
5420
5421 2003-06-01  John Levon  <levon@movementarian.org>
5422
5423         * text3.C: use a proper cut/paste when doing inset
5424         insert (from Jürgen Spitzmüller)
5425
5426 2003-06-01  John Levon  <levon@movementarian.org>
5427
5428         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5429
5430 2003-05-30  André Pönitz  <poenitz@gmx.net>
5431
5432         * rowpainter.C: unify second drawing phase
5433
5434 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5435
5436         * trans_mgr.C: remove one case of current_view
5437
5438         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5439
5440         * paragraph_funcs.h: remove paragraph.h include
5441
5442         * paragraph.h: delete NO_STD_LIST stuff
5443
5444         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5445
5446         * buffer.h: remove paragraph.h include
5447
5448         * ParagraphList.C: delete file
5449
5450         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5451
5452         * toc.C (getTocList): adjust
5453
5454         * paragraph_pimpl.C (validate): adjust
5455
5456         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5457
5458         * paragraph.C (Paragraph): adjust
5459         (getPositionOfInset): use const_iterator, adjust
5460         (bibitem): use const_iterator, adjust
5461         (setInsetOwner): adjust
5462
5463         * iterators.C (operator++): adjust
5464
5465         * InsetList.[Ch]: Replace selfmade iterator with standard
5466         vector::iterator also introduce const_iterator. Remove getPos,
5467         getInset and setInset from InsetTable. Adjust accordingly.
5468
5469         * BufferView.C (lockInset): adjust
5470         (ChangeInsets): adjust
5471
5472         * tabular.[Ch]: delete commented same_id functions
5473
5474 2003-05-28  John Levon  <levon@movementarian.org>
5475
5476         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5477
5478 2003-05-28  André Pönitz  <poenitz@gmx.net>
5479
5480         * metricsinfo.[Ch]: remove 'fullredraw' member
5481
5482 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5483
5484         * lyxtextclass.C (operator): remove caching.
5485
5486 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5487
5488         * text3.C: adjust
5489
5490         * text2.C (cursorBottom): adjust
5491         (setCounter): use ParagraphList::find, adjust
5492
5493         * text.C (workWidth): use ParagraphList::find, adjust
5494
5495         * lyxcursor.C (LyXCursor): adjust
5496
5497         * buffer.C (inset_iterator): adjust
5498
5499         * ParagraphList.h: make iterator(value_type) private, make
5500         ParagraphList a friend of iterator.
5501
5502         * ParagraphList.C (find): new function
5503
5504         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5505
5506 2003-05-27  André Pönitz  <poenitz@gmx.net>
5507
5508         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5509
5510 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5511
5512         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5513
5514 2003-05-26  John Levon  <levon@movementarian.org>
5515
5516         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5517
5518 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5519
5520         * remove same_id from function signatures, adjust.
5521
5522 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5523
5524         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5525
5526         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5527
5528         * paragraph.C (Paragraph): get rid of same_ids parameter
5529
5530         * ParagraphList.C (insert): adjust
5531         (push_back): adjust
5532
5533 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5534
5535         * paragraph_funcs.C (breakParagraph): adjust
5536         (breakParagraphConservative): adjust
5537
5538         * buffer.C (readParagraph): adjust
5539
5540         * ParagraphList.C (insert): take a reference instead of a pointer
5541         (insert): adjust
5542
5543         * paragraph.[Ch] (id): new function
5544
5545         * bufferlist.C (newFile): adjust
5546
5547         * ParagraphList.C (ParagraphList): adjust
5548         (assign): adjust
5549         (push_back): take a reference instead of a pointer.
5550
5551         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5552
5553         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5554         instead.
5555
5556         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5557         set else use old code.
5558
5559         * ParagraphList.C: remove all NO_NEXT code and only compile this
5560         code of NO_STD_LIST is set.
5561
5562 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5563
5564         * BufferView_pimpl.C:
5565         * TextCache.C:
5566         * TextCache.h:
5567         * bufferlist.C:
5568         * errorlist.h:
5569         * format.C:
5570         * format.h:
5571         * graph.C:
5572         * lyxfunc.C:
5573         * lyxrc.C:
5574         * graphics/GraphicsConverter.C:
5575         * graphics/PreviewLoader.C: header adjustment
5576
5577 2003-05-23  Angus Leeming  <leeming@lyx.org>
5578
5579         * LaTeXFeatures.[Ch] (useBabel): new method.
5580         * bufferparams.C (writeLaTeX): use it.
5581
5582 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5583
5584         * ParagraphList.h (set): remove unused function.
5585
5586 2003-05-23  André Pönitz  <poenitz@gmx.net>
5587
5588         * BufferView.C:
5589         * BufferView_pimpl.C:
5590         * buffer.C:
5591         * buffer.h:
5592         * lyxfunc.C:
5593         * undo_funcs.C: setUndo reworked
5594
5595         * iterators.[Ch]: add access to topmost ParagraphList
5596
5597         * lyxtext.[Ch] (workWidth): add a const
5598
5599 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5600
5601         * texrow.[Ch] (increasePos): remove function
5602         * exporter.C (export): removed unused var and outdated comment
5603
5604 2003-05-23  Angus Leeming  <leeming@lyx.org>
5605
5606         * latexrunparams.h: rename fragile as moving_arg.
5607         * paragraph.C (simpleTeXOnePar): ditto.
5608         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5609
5610 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5611
5612         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5613         (createUndo): ditto
5614         (textUndoOrRedo): comment out a currently unused var.
5615
5616         * paragraph.h (NO_NEXT): enable NO_NEXT
5617
5618         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5619
5620         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5621
5622         * exporter.C (Export): adjust for removeAutoInsets removal.
5623
5624         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5625
5626         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5627
5628         * BufferView.[Ch] (removeAutoInsets): delete function
5629
5630 2003-05-22  Angus Leeming  <leeming@lyx.org>
5631
5632         * latexrunparams.h: add a free_spacing variable.
5633
5634         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5635         to pass moving_arg, as the data is stored in runparams.fragile.
5636
5637         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5638         to Inset::latexOptional or to simpleTeXOnePar.
5639
5640         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5641         free_spacing arg to Inset::latexOptional.
5642
5643         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5644         free_spacing arg.
5645
5646 2003-05-22  Angus Leeming  <leeming@lyx.org>
5647
5648         * latexrunparams.h: add fragile and use_babel variables.
5649
5650         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5651         * buffer.C (makeLaTeXFile): store this returned value in
5652         runparams.use_babel, thus passing it to the inset::latex methods.
5653
5654         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5655         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5656
5657         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5658         longer has a fragile arg, as it is stored in runparams.fragile.
5659
5660         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5661         moving_arg parameter as the data is stored in runparams.fragile.
5662
5663         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5664         a fragile parameter as the data is stored in runparams.fragile.
5665
5666 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5667
5668         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5669
5670 2003-05-22  Angus Leeming  <leeming@lyx.org>
5671
5672         * latexrunparams.h: add a 'bool nice' which defaults to false.
5673
5674         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5675         now encapsulated within runparams.
5676
5677         * bufferlist.C (updateIncludedTeXfiles):
5678         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5679
5680 2003-05-22  Angus Leeming  <leeming@lyx.org>
5681
5682         * latexrunparams.h: new file containing struct LatexRunParams.
5683         * Makefile.am: add new file.
5684
5685         * LaTeX.[Ch] (c-tor, run):
5686         * buffer.[Ch] (makeLaTeXFile):
5687         * bufferlist.[Ch] (updateIncludedTeXfiles):
5688         * converter.C (convert, scanLog):
5689         * converter.[Ch] (runLaTeX):
5690         * exporter.C (Export):
5691         * paragraph.[Ch] (simpleTeXOnePar):
5692         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5693         * paragraph_funcs.[Ch] (latexParagraphs):
5694         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5695         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5696         pass around a LatexRunParams parameter.
5697
5698 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5699
5700         * paragraph.[Ch]: remove unused constructor
5701
5702         * ParagraphList.C (erase): new function, taking two iterators
5703
5704 2003-05-22  André Pönitz  <poenitz@gmx.net>
5705
5706         * undo_funcs.C: remove duplicated code
5707
5708         * iterator.[Ch]: operator=
5709
5710 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5711
5712         * tabular.C (SetMultiColumn): ws changes
5713
5714         * rowpainter.C (paintFirst): get rid of a ->previous
5715
5716         * lyx_cb.C (getPossibleLabel): parlist simplification
5717
5718         * BufferView.C (ChangeInsets): simplify slightly.
5719
5720 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5721
5722         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5723         * lfuns.h: new LFUN_SPACE
5724         * lyxfunc.C: protected space has a new lfun
5725         * paragraph_funcs.C: read new space insets
5726         * text3.C:
5727         * factory.C: handle new space insets
5728
5729 2003-05-22  André Pönitz  <poenitz@gmx.net>
5730
5731         * BufferView.C:
5732         * BufferView_pimpl.C:
5733         * buffer.[Ch]:
5734         * lyxfunc.C:
5735         * undo_funcs.C: return a ParIterator from getParFromID.
5736
5737         * iterators.[Ch]: add two const's
5738
5739 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5740
5741         * toc.C (getTocList): adjust
5742
5743         * iterators.[Ch]: rework for parlist
5744
5745         * buffer.C (par_iterator_begin): adjust
5746         (par_iterator_end): adjust
5747
5748         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5749
5750         * BufferView.C (removeAutoInsets): adjust
5751         (ChangeInsets): adjust
5752
5753 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5754
5755         * text.C (top_y): fix bug 1110
5756
5757 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5758
5759         * errorlist.[Ch]: added
5760         * buffer.C:
5761         * BufferView.[Ch]:
5762         * BufferView_pimpl.C:
5763         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5764         instead
5765
5766 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5767
5768         * Makefile.am: ensure that lyx is relinked upon changes to the
5769         various "convenience" libs.
5770
5771 2003-05-20  Angus Leeming  <leeming@lyx.org>
5772
5773         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5774         files are compiled in alphabetical order again.
5775
5776         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5777
5778 2003-05-19  Angus Leeming  <leeming@lyx.org>
5779
5780         * gettext.[Ch]: remove "char const * _(char const *)".
5781
5782 2003-05-19  André Pönitz  <poenitz@gmx.net>
5783
5784         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5785
5786         * Makefile.am:
5787         * BufferView.C:
5788         * DepTable.h:
5789         * LaTeXFeatures.C:
5790         * buffer.C:
5791         * lyxfont.C:
5792         * lyxlex.h:
5793         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5794
5795 2003-05-19  André Pönitz  <poenitz@gmx.net>
5796
5797         * buffer.C:
5798         * lyxlayout.[Ch]:
5799         * lyxtextclass.[Ch]:
5800         * paragraph.C:
5801         * paragraph_funcs.[Ch]:
5802         * text2.C:
5803         * text3.C: more insetenv work
5804
5805 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5806
5807         * ParagraphParameters.C (params2string): small bug fixed
5808
5809 2003-05-16  André Pönitz  <poenitz@gmx.net>
5810
5811         * debug.C:
5812         * bufferview_funcs.C: patch from Kornel Benko to prevent
5813           crash when _(...) is called twice in a statement
5814
5815 2003-05-16  André Pönitz  <poenitz@gmx.net>
5816
5817         * BufferView.C:
5818         * lyxfunc.C:
5819         * text.C:
5820         * text2.C:
5821         * text3.C:
5822         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5823
5824 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5825
5826         * lyx_main.C (init): remove spurious static_cast
5827
5828 2003-05-14  André Pönitz  <poenitz@gmx.net>
5829
5830         * BufferView.C: fix format string
5831
5832 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5833
5834         * BufferView.[Ch] (insertErrors): removed
5835         * BufferView.[Ch] (showErrorList): added
5836         * buffer.C (runChkTeX):
5837         * converter.C (scanLog): call showErrorList instead of inserterrors
5838
5839 2003-05-13  André Pönitz  <poenitz@gmx.net>
5840
5841         * BufferView_pimpl.C:
5842         * buffer.C:
5843         * bufferview_func.C:
5844         * MenuBackend.C:
5845         * lyxfunc.C:
5846         * lyxrc.C:
5847         * tex-accent.C:
5848         * text3.C:
5849         * toc.C:
5850         * tabular_funcs.h: tostr() from its own header
5851
5852         * ParagraphParameters.C:
5853         * ToolbarBackend.C:
5854         * bufferparams.C:
5855         * format.C:
5856         * lyxlex_pimpl.C:
5857         * text3.C: STRCONV()
5858
5859 2003-05-12  André Pönitz  <poenitz@gmx.net>
5860
5861         * BufferView.C:
5862         * BufferView_pimpl.C:
5863         * CutAndPaste.C:
5864         * LaTeX.C:
5865         * LaTeXFeatures.C:
5866         * ParagraphParameters.C:
5867         * buffer.C:
5868         * bufferlist.C:
5869         * bufferparams.C:
5870         * bufferview_funcs.C:
5871         * converter.C:
5872         * counters.C:
5873         * debug.C:
5874         * exporter.C:
5875         * format.C:
5876         * importer.C:
5877         * lyx_cb.C:
5878         * lyx_main.C:
5879         * lyxfont.C:
5880         * lyxfunc.C:
5881         * lyxvc.C:
5882         * paragraph.C:
5883         * paragraph_funcs.C:
5884         * tabular.C:
5885         * tabular_funcs.C:
5886         * text2.C:
5887         * text3.C:  boost::format -> bformat  all over the place
5888
5889
5890 2003-05-09  André Pönitz  <poenitz@gmx.net>
5891
5892         * LColor.[Ch]: Pimpl the #include <map> away
5893
5894 2003-05-09  John Levon  <levon@movementarian.org>
5895
5896         * bufferlist.C: never remove emergency saves
5897
5898 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5899
5900         * Makefile.am: better lib building
5901
5902 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5903
5904         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5905         instead.
5906         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5907         (simpleTeXSpecialChars): adjust
5908         (simpleTeXSpecialChars): adjust
5909         * paragraph.C (simpleTeXOnePar): adjust
5910         * buffer.C (makeLaTeXFile): adjust
5911
5912         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5913
5914         * text2.C (changeDepth): parlist cleanup
5915         (getColumnNearX): ditto
5916
5917         * rowpainter.C (getLabelFont): parlist cleanup
5918
5919         * bufferlist.C (newFile): parlist cleanup
5920
5921         * CutAndPaste.C (eraseSelection): parlist cleanup
5922
5923         * BufferView_pimpl.C (trackChanges): parlist cleanup
5924         (dispatch): ditto
5925
5926         * BufferView.C (lockInset): parlist cleanup.
5927         (ChangeInsets): ditto
5928
5929 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5930
5931         * CutAndPaste.h: Update file header.
5932
5933         * CutAndPaste.C: Update file header.
5934         Store the parts cut out of the Document in a limited_stack.
5935         (copySelection): adjust
5936         (pasteSelection): new function, takes the index in the limited stack.
5937         (nrOfParagraphs): adjust
5938         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5939         simplify error inset insertion.
5940         (checkPastePossible): adjust
5941
5942 2003-05-06  John Levon  <levon@movementarian.org>
5943
5944         * text2.C: don't cast wrap inset to float
5945
5946 2003-05-05  André Pönitz  <poenitz@gmx.net>
5947
5948         * iterator.C:
5949         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5950
5951         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5952           few naked Paragraph *.
5953
5954 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5955
5956         * bufferparams.C: Output warning if a document with missing
5957         TeX document class is loaded
5958         * exporter.C: Disable TeX exports if the document class is missing
5959         * lyxtextclass.C:
5960         * lyxtextclass.h:
5961         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5962         isTeXClassAvailable()
5963
5964 2003-05-03  John Levon  <levon@movementarian.org>
5965
5966         * BufferView.h:
5967         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5968         explicit cursor show/hide
5969
5970         * BufferView_pimpl.h:
5971         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5972         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5973
5974         * lyxfunc.C: hide cursor before dispatching.
5975
5976         * lyx_cb.C:
5977         * lyxfind.C:
5978         * text.C:
5979         * text3.C: remove explicit cursor hides
5980
5981 2003-05-02  André Pönitz  <poenitz@gmx.net>
5982
5983         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5984
5985         * undo_funcs.C:
5986         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5987           linked lists
5988
5989         * text2.C: tiny whitespace
5990
5991 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5992
5993         * undo_funcs.C: almost only ws changes.
5994
5995         * ParagraphList.C (splice): just return if pl is empty.
5996
5997 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5998
5999         * ParagraphList.C (splice): new function.
6000
6001         * CutAndPaste.C (pasteSelection): use it
6002
6003 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6004
6005         * CutAndPaste.C (pasteSelection): remove the last next and
6006         previous from this file.
6007
6008 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6009
6010         * CutAndPaste.C (pasteSelection): more clean up, user proper
6011         ParagraphList functions for pasteing.
6012
6013         * ParagraphList.C (insert): new function, three arg insert
6014
6015 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6016
6017         * ParagraphList.C (insert): new function, three arg insert
6018
6019         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6020         not on paragraphs.
6021
6022 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6023
6024         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6025
6026 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6027
6028         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6029
6030 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6031
6032         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6033         (copySelection): clean up a bit.
6034         (pasteSelection): use make_pair
6035
6036         * ParagraphList.C (ParagraphList): implement copy constructor
6037         (operator=): implement, base on copy constructor.
6038         (assign): new func
6039
6040         * paragraph.C (erase): return a bool
6041
6042         * paragraph_pimpl.C (erasePos): remove function, move contents...
6043         (erase): ... here. Return a bool.
6044         (erase): call erase instead of erasePos.
6045
6046 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6047
6048         * ParagraphList.h: define PitPosPair
6049         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6050         ParagraphList, fix a bug on pasting multiple pars
6051         * text2.C: change interface to C&P
6052
6053 2003-04-30  André Pönitz  <poenitz@gmx.net>
6054
6055         * undo_func.C: revert part of yesterday's patch 2
6056
6057 2003-04-30  John Levon  <levon@movementarian.org>
6058
6059         * LColor.C: s/tabular/table/
6060
6061 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6062
6063         * text3.C (dispatch): do not convert iterator -> pointer
6064         * undo_funcs.C (setCursorParUndo): ditto
6065         * text_funcs.C (transposeChars): ditto
6066
6067         * text2.C (setLayout): ws changes only
6068
6069         * text.C (breakParagraph): do not convert iterator -> pointer
6070         (insertChar): ditto
6071         (acceptChange): ditto
6072         (rejectChange): ditto
6073         (changeCase): ditto
6074         (Delete): ditto
6075         (backspace): ditto
6076
6077         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6078         pointer
6079
6080 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6081
6082         * text3.C (gotoInset): YABG (yet another bad getChar)
6083
6084 2003-04-29  André Pönitz  <poenitz@gmx.net>
6085
6086         * paragraph.h: make operator= private unimplemented as long as
6087           it is unusable
6088
6089         * ParagraphList.C: whitespace
6090
6091         * paragraph.[Ch]:
6092         * paragraph_pimpl.[Ch]:
6093         * paragraph_funcs.C:
6094         * CutAndPaste.C:
6095         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6096
6097         * text2.C:
6098           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6099
6100 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6101
6102         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6103         * paragraph.[Ch] (erase):
6104         * paragraph_pimpl.[Ch] (erase): change return type and value
6105         * text2.C (cutSelection): some rework
6106
6107 2003-04-28  John Levon  <levon@movementarian.org>
6108
6109         * bufferlist.C: changes for unsaved changes dialog
6110
6111 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6112
6113         * bufferlist.C (newFile): set language (messages_) for new
6114         documents also.
6115
6116         * buffer.C (readFile): ws changes only.
6117
6118 2003-04-28  André Pönitz  <poenitz@gmx.net>
6119
6120         * undo_funcs.C:
6121         * lyxfunc.C:
6122         * buffer.[Ch]:
6123         * BufferView_pimpl.C:
6124         * BufferView.C: getParFromID related ParagraphList::iterator changes
6125
6126 2003-04-28  André Pönitz  <poenitz@gmx.net>
6127
6128         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6129           Changes
6130
6131 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6132
6133         * messages.C: remove one more localedir class variable.
6134
6135 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6136
6137         * messages.C (getLocaleDir): singleton generation function
6138         (Pimpl): use it.
6139         (Messages): add a default constructor.
6140
6141         * main.C (main): do not setup localedir here, do not call
6142         gettext_init.
6143
6144         * gettext.C (_): use it.
6145         (gettext_init): delete funciton
6146
6147 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6148
6149         * gettext.C (getLyXMessages): new singleton generating function.
6150
6151         * buffer.C (updateDocLang): adjust
6152
6153         * Makefile.am (messages.o): add target
6154         (main.o): remove target
6155
6156 2003-04-27  John Levon  <levon@movementarian.org>
6157
6158         * bufferlist.C:
6159         * lyx_cb.C:
6160         * lyxfunc.C:
6161         * lyxvc.C: specify cancel button in Alert::prompt
6162
6163 2003-04-26  John Levon  <levon@movementarian.org>
6164
6165         * text3.C:
6166         * lyxfunc.C:
6167         * lfuns.h:
6168         * LyXAction.C: add LFUN_INSET_SETTINGS
6169
6170         * lyxfunc.C: don't enable tabular-feature when there's
6171         just any locking inset
6172
6173 2003-04-26  John Levon  <levon@movementarian.org>
6174
6175         * bufferlist.C: re-add Cancel to buffer close question
6176
6177         * lyxfunc.C: fix import UI a bit
6178
6179 2003-04-25  John Levon  <levon@movementarian.org>
6180
6181         * gettext.C: remove the broken asserts for now
6182
6183 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6184
6185         * messages.C: make case where setlocale cannot comply work better.
6186
6187         * buffer.C (updateDocLang): new function
6188         (changeLanguage): use it
6189         (readFile): use it
6190
6191         * text2.C (setCounter): use B_ a bit.
6192
6193         * lyxlayout.C (Read): be sure to trim the label strings.
6194
6195         * messages.C (Messages): fix typo in comment
6196
6197         * buffer.C (readFile): set message_ after file is loaded.
6198         (makeDocBookFile): remove double return
6199         (changeLanguage): reset message_ upon language change.
6200         (B_): new func, use this to get translated buffer strings.
6201
6202         * main.C: add myself and Jean Marc as authors.
6203
6204 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6205
6206         * messages.[hC]: pimplify Messages, and three different pimpls to be
6207         used in different circumstances.
6208
6209         * gettext.[Ch]: change for use with new message code.
6210
6211 2003-04-24 André Pönitz <poenitz@gmx.net>
6212
6213         * factory.C: support for eqref
6214
6215 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6216
6217         * messages.[Ch]: add missing char
6218
6219         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6220
6221         * messages.[Ch]: New files
6222
6223 2003-04-18  John Levon  <levon@movementarian.org>
6224
6225         * BufferView.h:
6226         * BufferView.C:
6227         * BufferView_pimpl.C:
6228         * lfuns.h:
6229         * LyXAction.C:
6230         * lyxtext.h:
6231         * text2.C: remove layout-copy/paste (bug 778)
6232
6233 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6234
6235         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6236
6237 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6238
6239         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6240         if they succeed. Act accordingly.
6241
6242 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6243
6244         * text2.C (setCharFont): adjust
6245         (setCounter): adjust
6246         (insertStringAsLines): adjust
6247
6248         * text.C (leftMargin): adjust
6249         (setHeightOfRow): adjust
6250
6251         * rowpainter.C (paintFirst): adjust
6252         (paintLast): adjust
6253
6254         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6255         (outerHook): ditto
6256         (isFirstInSequence): ditto
6257         (getEndLabel): ditto
6258         (outerFont): adjust
6259
6260         * paragraph.C (getParLanguage): comment out some hard stuff.
6261
6262         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6263         (sgmlError): ditto
6264         (simpleDocBookOnePar): ditto
6265         (makeDocBookFile): use ParagraphList::iterator
6266
6267         * CutAndPaste.C (pasteSelection): adjust
6268
6269 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6270
6271         * text2.C (getFont): adjust
6272         (getLayoutFont): adjust
6273         (getLabelFont): adjust
6274
6275         * paragraph_funcs.C (TeXOnePar): adjust
6276
6277         * buffer.C (simpleLinuxDocOnePar): adjust
6278         (simpleDocBookOnePar): adjust
6279
6280         * CutAndPaste.C (pasteSelection): adjust
6281
6282         * BufferView.C (getEncoding): adjust
6283
6284         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6285
6286 2003-04-16  John Levon  <levon@movementarian.org>
6287
6288         * lyxfind.C: use parlist stuff for search/changes
6289
6290 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6291
6292         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6293
6294         * text2.C (deleteEmptyParagraphMechanism): adjust
6295
6296         * text2.[Ch] (ownerParagraph): delete func (both of them
6297
6298 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6301
6302 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6303
6304         * ParagraphList.C: prepare for NO_NEXT
6305
6306 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6307
6308         * text2.C (getFont): adjust
6309         (getLayoutFont): adjust
6310         (getLabelFont): adjust
6311
6312         * paragraph.C (getFont): adjust
6313         (getLabelFont): adjust
6314         (getLayoutFont): adjust
6315
6316         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6317
6318 2003-04-15  John Levon  <levon@movementarian.org>
6319
6320         From Angus Leeming
6321
6322         * lyx_main.C: handle Include in .ui files
6323
6324 2003-04-15  John Levon  <levon@movementarian.org>
6325
6326         * MenuBackend.C: make the doc files length shorter
6327
6328         * ToolbarBackend.h:
6329         * ToolbarBackend.C: handle toolbar placement flags,
6330         Minibuffer
6331
6332 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6333
6334         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6335         adjust
6336
6337         * paragraph_funcs.C (TeXOnePar): adjust
6338
6339         * paragraph.C (getLabelFont): add outerfont arg, adjust
6340         (getLayoutFont): ditto
6341         (simpleTeXOnePar): adjust
6342
6343         * paragraph_pimpl.C (realizeFont): delete func
6344
6345 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6346
6347         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6348         row argument, constify cur argument.
6349
6350 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6351
6352         * text2.C (getFont): adjust
6353         (getLayoutFont): adjust
6354         (getLabelFont): adjust
6355
6356         * paragraph_funcs.C (TeXOnePar): adjust
6357         (outerFont): new func...
6358         (realizeFont): ...moved out from here, changed this to facilitate
6359         transition
6360
6361         * paragraph.C (getFont): take outerfont as arg, adjust
6362         (simpleTeXOnePar): add outerfont arg, adjust
6363
6364         * buffer.C (simpleLinuxDocOnePar): adjust
6365         (simpleDocBookOnePar): adjust
6366
6367         * CutAndPaste.C (pasteSelection): adjust
6368
6369         * BufferView.C (getEncoding): adjust
6370
6371 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6372
6373         * text2.C (setCharFont): adjust
6374         (setCounter): adjust
6375
6376         * text.C (leftMargin): adjust
6377         (setHeightOfRow): adjust
6378
6379         * rowpainter.C (paintFirst): adjust
6380         (paintLast): adjust
6381
6382         * paragraph_pimpl.C (realizeFont): adjust
6383
6384         * paragraph.C (isFirstInSequence): move from here...
6385         * paragraph_funcs.C (isFirstInSequence): ...to here
6386
6387         * paragraph.C (outerHook): move from here...
6388         * paragraph_funcs.C (outerHook): ...to here
6389
6390         * paragraph.C (depthHook): move from here...
6391         * paragraph_funcs.C (depthHook): ...to here
6392
6393         * paragraph.C (getEndLabel): move from here...
6394         * paragraph_funcs.C (getEndLabel): ...to here
6395
6396         * text2.C (realizeFont): move from here...
6397         * paragraph_funcs.C (realizeFont): ...to here
6398
6399 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6400
6401         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6402
6403 2003-04-14  Angus Leeming  <leeming@lyx.org>
6404
6405         * LColor.[Ch]: scrap LColor mathcursor.
6406
6407 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6408
6409         * lyxlex.[Ch] (text): delete function
6410         * trans.C (Load): adjust
6411         * paragraph_funcs.C (readParToken): adjust
6412
6413 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6414
6415         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6416         vector<char> instead of a char[].
6417
6418         * lyxlex_pimpl.C (getString): adjust
6419         (next): adjust
6420         (lex): use getString
6421         (eatLine): adjust
6422         (nextToken): adjust
6423
6424         * lyxlex.C (text): use pimpl_->getString()
6425         (getBool): ditto
6426         (findToken): ditto
6427
6428 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6429
6430         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6431         (makeFontEntriesLayoutSpecific): temp var for par.size()
6432         (setLayout): temp var for ownerParagraphs().end()
6433         (fullRebreak): temp var for rows().end()
6434         (selectionAsString): temp var for boost::next(startpit), realize
6435         that the while really is a regular for loop.
6436         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6437         setCursor in one place.
6438         (setParagraph): temp vr for ownerParagraphs().end()
6439         (updateCounters): make the while loop a for loop
6440         (cutSelection): temp var for ownerParagraphs().end()
6441         (updateInset): make the do {} while() a regular for loop
6442         (getCursorX): use temp vars
6443         (setCurrentFont): use temp vars
6444         (getColumnNearX): use temp vars
6445
6446 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6447
6448         * text.C (transformChar): use temp var for getChar
6449         (computeBidiTables): use temp var for row->par()
6450         (fill): move temp vars for row->par() and pit->layout() earlier in
6451         the function.
6452         (labelFill): use temp var for row->par()
6453         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6454         asc and desc, realize that pit never changes and that firstpit is
6455         just a duplicate and not needed. Exchange rit->par() with pit in a
6456         lot of places.
6457         (breakAgain): use a temp var for boost::next(rit)
6458         (breakAgainOneRow): ditto
6459         (breakParagraph): use a temp var for rows().begin()
6460         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6461         (cursorRightOneWord): use temp var for cursor.par() and
6462         cursor.pos(), remove usage of tmpcursor.
6463         (cursorLeftOneWord): use temp var for cursor.par() and
6464         cursor.pos() only set cur at end of function.
6465
6466 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6467
6468         * text.C, text2.C: exchange all usage of Paragraph::next with
6469         boost::next(ParagraphList::iterator)
6470
6471         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6472
6473         * text2.C (cursorTop): simplify implementation
6474         (cursorBottom): ditto
6475         (setParagraph): use ParagraphList::iterator
6476         (setCurrentFont): adjust
6477         (getColumnNearX): adjust
6478         (cursorRight): adjust
6479         (cursorLeft): remove usage of Paragraph::previous
6480         (cursorUpParagraph): ditto
6481         (deleteEmptyParagraphMechanism): slight cleanup
6482
6483         * text.C (isBoundary): take a Paragraph const & instead of a
6484         pointer as arg.
6485         (addressBreakPoint): ditto
6486         (leftMargin): remove usage of Paragraph::previous.
6487         (setHeightOfRow): ditto
6488         (cursorLeftOneWord): ditto
6489         (selectNextWordToSpellcheck): ditto
6490         (Delete): ditto
6491         (backspace): ditto
6492         (breakParagraph): remove one usage of Paragraph::next
6493         (redoParagraph): ditto
6494         (acceptChange): ditto
6495         (insertChar): adjust
6496         (rowBreakPoint): adjust
6497
6498         * bufferview_funcs.C (toggleAndShow): adjust
6499
6500 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6501
6502         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6503         methods to access it.
6504         * lyxtext.h:
6505         * text.C: Added updateRowPositions to compute all row positions.
6506         Make top_y and getRowNearY() to use the cached y position
6507
6508 2003-04-11  John Levon  <levon@movementarian.org>
6509
6510         * text.C (rowBreakPoint): reintroduce the labelEnd
6511         checks, code copied from the row fill stuff. Deep voodoo.
6512
6513         * text.C (fill): add a comment and debugging for the
6514         next poor soul.
6515
6516 2003-04-11  John Levon  <levon@movementarian.org>
6517
6518         * text.C: make sure fullrow insets get wrapped to the next line,
6519         even when they're in a manual label
6520
6521 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6522
6523         * text2.C (insertParagraph): make it take ParagraphList::iterator
6524         as arg.
6525         (setLayout): make it return ParagraphList::iterator
6526         (redoParagraphs): ditto
6527         (setCounter): ditto
6528         (checkParagraph): ditto
6529
6530         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6531
6532         * text2.C: adjust several funcs.
6533         (realizeFont): take a ParagraphList::iterator as arg.
6534         (getLayoutFont): ditto
6535         (getLabelFont): ditto
6536         (setCharFont): ditto
6537
6538         * text.C: adjust several funcs.
6539
6540 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6541
6542         * text.C (selectNextWordToSpellcheck): don't accidentally
6543         skip insets
6544
6545 2003-04-10  John Levon  <levon@movementarian.org>
6546
6547         * ToolbarBackend.C (getIcon): special handling for
6548         LFUN_MATH_DELIM
6549
6550 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6551
6552         * text2.C (cursorRight): a getChar assert fixed
6553
6554 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6555
6556         * text2.C (getFont): change to take a ParagraphList::iterator
6557         instead of Paragraph*
6558         Adjust several functions.
6559
6560         * text.C (transformChar): change to take a ParagraphList::iterator
6561         instead of Paragraph*
6562         (singleWidth): ditto
6563         Adjust several functions.
6564
6565         * rowpainter.C: adjust several functions
6566         * rowpainter.h:store a ParagraphList::iterator and not a
6567         Paragraph&.
6568
6569
6570 2003-04-09  John Levon  <levon@movementarian.org>
6571
6572         * lyxfunc.C:
6573         * lfuns.h:
6574         * LyXAction.h:
6575         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6576         and the "help" bits as well
6577
6578 2003-04-09  John Levon  <levon@movementarian.org>
6579
6580         * ToolbarBackend.h:
6581         * ToolbarBackend.C: allow multiple toolbars
6582
6583 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6584
6585         * undo_funcs.C (setCursorParUndo): adjust
6586
6587         * text_funcs.C (transposeChars): adjust
6588
6589         * text3.C (gotoNextInset): adjust
6590         (dispatch): adjust
6591
6592         * text2.C (setLayout): adjust
6593         (changeDepth): adjust
6594         (setFont): adjust
6595         (redoParagraphs): adjust
6596         (selectionAsString): adjust
6597         (setParagraph): adjust
6598         (insertInset): adjust
6599         (cutSelection): adjust
6600         (copySelection): adjust
6601         (pasteSelection): adjust
6602         (insertStringAsLines): adjust
6603         (updateInset): adjust
6604         (setCursor): change to take a ParagraphList::iterator parameter
6605         (setCursorIntern): change to take a ParagraphList::iterator parameter
6606         (setCurrentFont): adjust
6607         (cursorLeft): adjust
6608         (cursorRight): adjust
6609         (deleteEmptyParagraphMechanism): adjust
6610
6611         * text.C (breakParagraph): adjust
6612         (insertChar): adjust
6613         (acceptChange): adjust
6614         (rejectChange): adjust
6615         (selectNextWordToSpellcheck): adjust
6616         (changeCase): adjust
6617         (Delete): adjust
6618         (backspace): adjust
6619
6620         * lyxfind.C (SearchForward): adjust
6621         (SearchBackward): adjust
6622         (nextChange): adjust
6623
6624         * lyxcursor.C (par): adjust
6625
6626         * lyxcursor.h: store a ParagraphList::iterator instead of a
6627         Paragraph*
6628
6629         * lyx_cb.C (getPossibleLabel): adjust
6630
6631         * bufferview_funcs.C (toggleAndShow): adjust
6632
6633         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6634         (dispatch): adjust
6635
6636         * BufferView.C (removeAutoInsets): adjust
6637         (lockedInsetStoreUndo): adjust
6638
6639 2003-04-09  John Levon  <levon@movementarian.org>
6640
6641         * ToolbarBackend.C: try icon without argument
6642         if with argument fails
6643
6644 2003-04-08  John Levon  <levon@movementarian.org>
6645
6646         * ToolbarBackend.h:
6647         * ToolbarBackend.C: add getIcon(), handle tooltip,
6648         and change from "Icon" to "Item".
6649
6650 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6651
6652         * BufferView.C (lockInset): another bad getchar crunched
6653
6654 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6655
6656         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6657         again)
6658
6659 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6660
6661         * lyxfind.C (searchForward, searchBackwards): bug 782
6662
6663 2003-04-07  John Levon  <levon@movementarian.org>
6664
6665         * paragraph.C: remove dead comment
6666
6667         * text.C: remove troublesome depth-fiddling code
6668         in leftMargin() and rightMargin() (bug 1017)
6669
6670         * text.C: fix breaking of rows in nested lists
6671         (bug 1004)
6672
6673         * text2.C (updateCounters): fix up depth values
6674         (bug 1013)
6675
6676 2003-04-07  John Levon  <levon@movementarian.org>
6677
6678         * BufferView_pimpl.C: clear message when doc finishes resizing,
6679         and after a mouse event
6680
6681         * lyxfunc.C: clear message after exiting inset
6682
6683 2003-04-07  John Levon  <levon@movementarian.org>
6684
6685         * bufferview_funcs.C: show math status not outside
6686         status in the statusbar
6687
6688 2003-04-07  John Levon  <levon@movementarian.org>
6689
6690         * lyxfunc.C: note status changed after a depth change
6691
6692 2003-04-04  Angus Leeming  <leeming@lyx.org>
6693
6694         * LaTeX.h: move AuxInfo operator==, != out of line.
6695         Remove LaTeX virtual destructor; nothing derives from it.
6696         Move operator()() out of public area and rename it startscript().
6697         Change protected for private.
6698
6699 2003-04-04  Angus Leeming  <leeming@lyx.org>
6700
6701         * lyxfunc.C:
6702         * text2.C: remove unneeded #includes.
6703
6704 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6705
6706         * text2.C (dEPM): fix the heigth of the next row
6707
6708 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6709
6710         * text.C: squashed an invalid getChar requester + some ws changes
6711
6712 2003-04-03  John Levon  <levon@movementarian.org>
6713
6714         * bufferview_funcs.h:
6715         * bufferview_funcs.C:
6716         * lyxfunc.C:
6717         * lyxtext.h:
6718         * text2.C: make getStatus work for the env depth lfuns
6719
6720 2003-04-03  John Levon  <levon@movementarian.org>
6721
6722         * bufferview_funcs.h:
6723         * bufferview_funcs.C:
6724         * lyxfunc.C:
6725         * lyxtext.h:
6726         * text2.C: parlistize decDepth(), by merging it with incDepth()
6727
6728 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6729
6730         * lyxrow.h: store a ParagraphList::iterator instead of a
6731         Paragraph* and adjust other class functions to suit.
6732
6733         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6734         above.
6735
6736 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6737
6738         * text2.C (setCursor): do not anchor to cursor row for the time being
6739
6740 2003-04-02  John Levon  <levon@movementarian.org>
6741
6742         * LyXAction.C:
6743         * lfuns.h:
6744         * lyx_main.C:
6745         * lyxtext.h:
6746         * text.C:
6747         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6748
6749 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6750
6751         * paragraph.h: make ParagraphList and ParagraphList::iterator
6752         friends of Paragraph.
6753
6754         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6755
6756         * ParagraphList.C: Use the private next_ and previous_ from
6757         Paragraph.
6758
6759 2003-04-01  John Levon  <levon@movementarian.org>
6760
6761         * ToolbarBackend.h:
6762         * ToolbarBackend.C:
6763         * Makefile.am: rename, remove defaults gunk
6764
6765         * MenuBackend.h:
6766         * MenuBackend.C: remove defaults gunk
6767
6768         * Languages.h:
6769         * Languages.C: remove defaults gunk
6770
6771         * lyx_main.h:
6772         * lyx_main.C: error out if files couldn't be found.
6773
6774 2003-04-02  John Levon  <levon@movementarian.org>
6775
6776         * text2.C: make incDepth() use parlist
6777
6778 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6779
6780         * undo_funcs.C (firstUndoParagraph): adjust
6781
6782         * text3.C (gotoInset): adjust
6783         (dispatch): adjust, and rewrite loop.
6784
6785         * text2.C (init): adjust, and rewrite loop.
6786         (redoParagraphs): adjust
6787         (updateInset): adjust, and rewrite loop.
6788         (deleteEmptyParagraphMechanism): adjust
6789
6790         * tabular.C (LyXTabular): adjust
6791         (SetMultiColumn): adjust
6792         (TeXRow): adjust
6793
6794         * lyxtext.[Ch] (ownerParagraph): delete function
6795         (ownerParagraphs): new function returns a ParagraphList.
6796
6797         * BufferView.C (removeAutoInsets): adjust
6798         (insertErrors): adjust
6799         (setCursorFromRow): adjust
6800
6801 2003-04-01  Angus Leeming  <leeming@lyx.org>
6802
6803         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6804         in the frontends.
6805
6806 2003-04-02  John Levon  <levon@movementarian.org>
6807
6808         * lyxtext.h:
6809         * text.C:
6810         * Makefile.am:
6811         * text_funcs.h:
6812         * text_funcs.C: make transposeChars a free function
6813
6814         * lyxrow_funcs.C: remove wrong comment
6815
6816 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6817
6818         * lyxtext.h: adjust
6819         * rowpainter.C: adjust
6820         * text.C: adjust
6821         * text2.C: adjust
6822         * text3.C: adjust
6823
6824         * lyxrow_funcs. [Ch]: new files
6825
6826         * lyxrow.[Ch]: remove next and previous pointers
6827         (next,previous): remove accessor functions
6828         (isParEnd): move to lyxrow_funcs
6829         (lastPos): move to lyxrow_funcs
6830         (nextRowIsAllInset): move to lyxrow_funcs
6831         (lastPrintablePos): move to lyxrow_funcs
6832         (numberOfSeparators): move to lyxrow_funcs
6833         (numberOfHfills): move to lyxrow_funcs
6834         (numberOfLabelHfills): move to lyxrow_funcs
6835         (hfillExpansion): move to lyxrow_funcs
6836
6837         * lyxfunc.C: adjust
6838
6839         * bufferview_funcs.C (toggleAndShow): adjust
6840
6841         * RowList.h: Remove class RowList from file leave just a
6842         std::list<Row>.
6843
6844         * RowList.C: delete file
6845
6846         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6847         and lyxrow_funcs.h
6848
6849 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6850
6851         * text3.C (cursorPrevious): adjust
6852         (cursorNext): adjust
6853         (dispatch): adjust
6854
6855         * text2.C (redoHeightOfParagraph): adjust
6856         (redoDrawingOfParagraph): adjust
6857         (setCursor): adjust
6858
6859         * text.C (breakParagraph): adjust
6860         (insertChar): adjust
6861         (backspace): adjust
6862
6863         * rowpainter.C (RowPainter): adjust
6864         (leftMargin): simplify and adjust
6865         (most rowpainter functions): adjust.
6866
6867         * rowpainter.h: store the row as RowList::iterator not as Row*
6868
6869         * lyxcursor.C (row): taka RowList::iterator as arg
6870         (irow): ditto
6871
6872         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6873         of Row*.
6874
6875 2003-04-01  Angus Leeming  <leeming@lyx.org>
6876
6877         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6878         stuff like bool Bool.
6879
6880 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6881
6882         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6883         rewrite a loop
6884
6885 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6886
6887         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6888         RowList::iterator.
6889
6890         * lyxtext.h (rows): drop one version and leve a const variant that
6891         returns a RowList::iterator.
6892
6893 2003-03-31  Angus Leeming  <leeming@lyx.org>
6894
6895         * text.C (fill): ensure that the signature is the same as that in the
6896         header file.
6897
6898 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6899
6900         * text2.C (redoParagraphs): adjust
6901         (updateCounters): adjust
6902         (checkParagraph): adjust
6903         (getColumnNearX): adjust and reformat a bit.
6904
6905         * text.C (top_y): adjust
6906         (workWidth): adjust
6907         (leftMargin): adjust
6908         (prepareToPrint): adjust
6909         (getRow): adjust
6910         (getRowNearY): adjust
6911
6912         * lyxtext.h: make rowlist_ mutable.
6913
6914         * RowList.h: add const_iterator
6915         * RowList.C: adjust for RowList::const_iterator.
6916
6917         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6918         adjust.
6919
6920 2003-03-31  John Levon  <levon@movementarian.org>
6921
6922         * lyxrc.h:
6923         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6924
6925         * lyx_main.C: set default fonts from using lyx_gui funcs
6926
6927         * exporter.C: pdf_mode moved from lyxrc
6928
6929         * lyx_cb.C:
6930         * lyxfunc.C: changes from above
6931
6932 2003-03-31  John Levon  <levon@movementarian.org>
6933
6934         * lyx_main.C: fix to the last fix
6935
6936 2003-03-31  John Levon  <levon@movementarian.org>
6937
6938         * bufferlist.C: "Load original" -> "Load Original"
6939
6940         * converter.C:
6941         * exporter.C:
6942         * importer.C:
6943         * lyx_main.C:
6944         * format.C: more Alert cleanups
6945
6946 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6947
6948         * text2.C (removeParagraph): make it take a RowList::iterator as
6949         arg, adjust.
6950         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6951         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6952
6953         * text.C (anchor_row): make it take a RowList::iterator as arg,
6954         adjust.
6955         (computeBidiTables): make it take a const reference to Row instead
6956         of Row pointer, adjust.
6957         (leftMargin): make it take a RowList::iterator as arg, adjust.
6958         (rowBreakPoint): adjust
6959         (breakAgainOneRow): make it take a RowList::iterator as arg,
6960         adjust.
6961         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6962
6963         * bufferview_funcs.C (toggleAndShow): adjust
6964
6965 2003-03-30  John Levon  <levon@movementarian.org>
6966
6967         * Makefile.am:
6968         * BoostFormat.h:
6969         * boost-inst.C: moved to support
6970
6971         * several files: changes as a result
6972
6973 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6974
6975         * text2.C (LyXText): adjust.
6976         (init): adjust
6977         (removeRow): make it take a RowList::iterator as arg, adjust.
6978         (fullRebreak): adjust
6979         (deleteEmptyParagraphMechanism): adjust
6980         (clearPaint): adjust
6981         (postPaint): adjust
6982
6983         * text.C (top_y): adjust
6984         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6985         (breakAgain): make it take a RowList::iterator as arg, adjust.
6986         (breakParagraph): adjust
6987         (insertChar): adjust
6988         (backspace): adjust
6989
6990         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6991         need_break_row, and refresh_row.
6992
6993         * text3.C (dispatch): adjust
6994
6995         * text2.C (checkParagraph): adjust
6996         (setCursor): adjust
6997         (setCursorFromCoordinates): adjust
6998
6999         * text.C (top_y): adjust
7000         (workWidth): adjust
7001         (getRow): make it return a RowList::iterator, adjust
7002         (getRowNearY): make it return a RowList::iterator, adjust
7003
7004         * text2.C (init): adjust
7005         (insertRow): remove function
7006         (insertParagraph): adjust
7007         (redoParagraphs): adjust
7008         (fullRebreak): adjust
7009         (updateCounters): adjust
7010
7011         * text.C (top_y): rewrite to use RowList iterators.
7012         (top_y): adjust
7013         (setHeightOfRow): rewrite to sue RowList iterators.
7014         (appendParagraph): adjust
7015         (breakAgain): adjust
7016         (breakAgainOneRow): adjust
7017         (breakParagraph): adjust
7018         (getRow): adjust
7019         (getRowNearY): adjust, and remove commented code.
7020
7021         * lyxtext.h (firstRow): delete function
7022         (lastRow): delete function
7023         (rows): new function (const and non-const versions.)
7024         (insertRow): delete function
7025
7026         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7027
7028 2003-03-29  John Levon  <levon@movementarian.org>
7029
7030         * BufferView_pimpl.C: always update scrollbar top
7031         because pasting text when we're anchored could mean we
7032         miss an update altogether
7033
7034 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7035
7036         * text2.C (init): use rowlist_.end() and not 0.
7037         (insertRow): change to take a RowList::iterator as arg, adjust
7038         for this.
7039         (insertParagraph): change to take a RowList::iterator as arg,
7040         adjust for this.
7041         (redoParagraphs): remove some debug msgs.
7042
7043         * text.C (appendParagraph): change to take a RowList::iterator
7044         arg, adjust for this.
7045         (breakAgain): add an assert
7046         (breakAgainOneRow): ditto
7047
7048 2003-03-29  John Levon  <levon@movementarian.org>
7049
7050         * text2.C: do not clear selection after inc/decDepth
7051         (bug 550)
7052
7053 2003-03-29  John Levon  <levon@movementarian.org>
7054
7055         * BufferView.C:
7056         * buffer.C: fix broken strerrors according to Lars
7057
7058 2003-03-29  John Levon  <levon@movementarian.org>
7059
7060         * converters.C: more Alert cleanups
7061
7062 2003-03-29  John Levon  <levon@movementarian.org>
7063
7064         * bufferview_funcs.C: remove pointless Alert
7065
7066         * buffer.C: fix confusing error message when
7067         a template is chmoded 000
7068
7069 2003-03-29  John Levon  <levon@movementarian.org>
7070
7071         * BufferView.C:
7072         * BufferView.h:
7073         * BufferView_pimpl.C: Alert fixes
7074
7075         * Makefile.am:
7076         * tabular.C:
7077         * tabular-old.C: remove unused table compat reading
7078
7079 2003-03-29  John Levon  <levon@movementarian.org>
7080
7081         * BufferView.C:
7082         * buffer.C:
7083         * lyx_cb.h:
7084         * lyx_cb.C: more Alert cleanups
7085
7086         * lyxfunc.C: don't allow chktex if not latex document
7087
7088 2003-03-29  John Levon  <levon@movementarian.org>
7089
7090         * lyx_cb.C:
7091         * BufferView.C:
7092         * buffer.C: warnings pushed down from support/,
7093         kill err_alert
7094
7095 2003-03-29  John Levon  <levon@movementarian.org>
7096
7097         * lyxfunc.C: safety check for C-r (revert)
7098
7099 2003-03-29  John Levon  <levon@movementarian.org>
7100
7101         * bufferlist.h:
7102         * bufferlist.C: several UI fixes using Alert::prompt.
7103         Fix the pointless looping quit code. Fix stupid revert
7104         behaviour (bug 938)
7105
7106         * lyxvc.h:
7107         * lyxvc.C:
7108         * lyx_cb.C: use Alert::prompt
7109
7110         * lyx_main.C: remove a silly question
7111
7112         * lyxfunc.C: remove a couple of silly questions,
7113         use Alert::prompt
7114
7115 2003-03-28  John Levon  <levon@movementarian.org>
7116
7117         * text2.C: fix bug 974 (End on empty par)
7118
7119 2003-03-28  John Levon  <levon@movementarian.org>
7120
7121         * BufferView_pimpl.C:
7122         * LyXAction.C:
7123         * lfuns.h: remove do-nothing math greek lfuns
7124
7125 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7126
7127         * lyxgluelength.h (isValidGlueLength): add default arg on
7128         parameter 2. Remove default arg from friend in class.
7129
7130         * lyxlength.h (isValidLength): add default arg on parameter 2.
7131         Remove default arg from friend in class.
7132
7133         * text2.C (LyXText): adjust, initialize refresh_row.
7134         (init): adjust
7135         (removeRow): adjust
7136         (insertRow): adjust
7137         (insertParagraph): adjst
7138         (redoParagraphs): adjust
7139         (fullRebreak): adjust
7140         (updateCounters): adjust
7141         (deleteEmptyParagraphMechanism): first attempt at fixing a
7142         crashing bug.
7143
7144         * text.C (top_y): adjust
7145         (setHeightOfRow): adjust
7146         (getRow): adjust
7147         (getRowNearY): adjust
7148
7149         * lyxtext.h: include RowList.h
7150         (~LyXText): not needed anymore, deleted.
7151         (firstRow): modify for RowList
7152         (lastRow): new function
7153         Delete firstrow and lastrow class variables, add a Rowlist
7154         rowlist_ class variable.
7155
7156         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7157         paragraph is empty.
7158
7159         * RowList.C (insert): fix case where it == begin().
7160
7161 2003-03-26  Angus Leeming  <leeming@lyx.org>
7162
7163         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7164         the thesaurus dialog.
7165
7166 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7169
7170         * RowList.[Ch]: new files
7171
7172         * ParagraphList.C (erase): handle the case where it == begin
7173         correctly.
7174
7175 2003-03-25  John Levon  <levon@movementarian.org>
7176
7177         * Makefile.am:
7178         * aspell_local.h:
7179         * aspell.C: add new aspell support
7180
7181         * lyxrc.h:
7182         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7183         have it accessible.
7184
7185 2003-03-25  Angus Leeming  <leeming@lyx.org>
7186
7187         * lfuns.h:
7188         * LyXAction.C (init): new LFUN_INSET_INSERT.
7189
7190         * BufferView_pimpl.C (dispatch): split out part of the
7191         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7192
7193         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7194         LFUN_INSET_APPLY.
7195
7196 2003-03-25  Angus Leeming  <leeming@lyx.org>
7197
7198         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7199
7200 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7201
7202         * text2.C:
7203         * text3.C: remove useless row->height(0)
7204
7205 2003-03-25  John Levon  <levon@movementarian.org>
7206
7207         * lyxtext.h:
7208         * text2.C:
7209         * text3.C: rename the refreshing stuff to better names
7210
7211 2003-03-24  John Levon  <levon@movementarian.org>
7212
7213         * BufferView_pimpl.h:
7214         * BufferView_pimpl.C: update layout choice on a mouse
7215         press/release
7216
7217 2003-03-23  John Levon  <levon@movementarian.org>
7218
7219         * Makefile.am: fix commandtags.h reference
7220
7221 2003-03-22  John Levon  <levon@movementarian.org>
7222
7223         * BufferView_pimpl.C:
7224         * lyxtext.h:
7225         * rowpainter.C:
7226         * rowpainter.h:
7227         * text.C:
7228         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7229
7230 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7231
7232         * lyxtext.h:
7233         * text.C: take the rtl methods out of line
7234
7235 2003-03-21 André Pönitz <poenitz@gmx.net>
7236
7237         * metricsinfo.[Ch]: new files containing structures to be passed around
7238         during the two-phase-drawing...
7239
7240 2003-03-21 André Pönitz <poenitz@gmx.net>
7241
7242         * lyxtextclass.C: read 'environment' tag.
7243
7244 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7245
7246         * text2.C (removeRow): fix bug 964
7247
7248 2003-03-20  John Levon  <levon@movementarian.org>
7249
7250         * rowpainter.C:
7251         * text.C:
7252         * text2.C: paint cleanups. Inset::update() dropped font
7253         parameter
7254
7255 2003-03-19  John Levon  <levon@movementarian.org>
7256
7257         * lyxfunc.C: only fitcursor/markDirty if available()
7258
7259 2003-03-19  John Levon  <levon@movementarian.org>
7260
7261         * commandtags.h: rename to ...
7262
7263         * lfuns.h: ... this, and renumber / cleanup
7264
7265 2003-03-19  John Levon  <levon@movementarian.org>
7266
7267         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7268         fit the cursor after an lfun
7269
7270         * BufferView.h:
7271         * BufferView.C:
7272         * BufferView_pimpl.h:
7273         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7274
7275         * LyXAction.C: layout-character should have ReadOnly
7276
7277         * ParagraphParameters.C:
7278         * buffer.C:
7279         * bufferview_funcs.C:
7280         * lyx_cb.C:
7281         * lyxfind.C:
7282         * lyxtext.h:
7283         * text.C:
7284         * text2.C:
7285         * text3.C:
7286         * undo_funcs.C: changes from above
7287
7288 2003-03-18  John Levon  <levon@movementarian.org>
7289
7290         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7291         remove it from update()
7292
7293         * lyxfunc.C: update layout choice after an lfun
7294
7295         * text3.C: remove extra updateLayoutChoice()s
7296
7297 2003-03-18  John Levon  <levon@movementarian.org>
7298
7299         * text.C: top_y change means full repaint, fix
7300         a drawing bug with cursor movement
7301
7302 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7303
7304         * lyxtext.h:
7305         * text.C:
7306         * text2.C: anchor row on setCursor
7307
7308 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7309
7310         * lyxtext.h: remove almost all mutable keywords
7311         * text.C:
7312         * text2.C:
7313         * text3.C: remove const keywords accordingly
7314
7315 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7316
7317         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7318         anon namespace
7319         (TeXEnvironment): ditto
7320         (TeXOnePar): ditto
7321
7322 2003-03-17  John Levon  <levon@movementarian.org>
7323
7324         * text.C (rowBreakPoint): remove attempt to fix displayed
7325         math insets inside a manual label
7326
7327 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7328
7329         * lyxtext.h: remove BufferView* as first arg from almost all class
7330         functions.
7331         * other files: adjust.
7332
7333 2003-03-17  John Levon  <levon@movementarian.org>
7334
7335         * lyxtext.h:
7336         * undo_funcs.C:
7337         * text2.C: more paint cleanups
7338
7339         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7340
7341         * rowpainter.h:
7342         * rowpainter.C: remove "smart" background painting code
7343
7344 2003-03-16  John Levon  <levon@movementarian.org>
7345
7346         * lyxtext.h:
7347         * text.C:
7348         * text2.C:
7349         * text3.C: add helper functions for setting refresh_row/y
7350
7351 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7352
7353         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7354         newline inset which *can* get inserted in the pass_thru layouts.
7355         This is primarily for literate documents.
7356
7357 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7358
7359         * buffer.C: increment LYX_FORMAT to 223
7360
7361 2003-03-14 André Pönitz <poenitz@gmx.net>
7362
7363         * textclass.h: prepare for environment handling, ws changes
7364         * lyxlayout.C: read latexheader and latexfooter tags
7365
7366 2003-03-14  John Levon  <levon@movementarian.org>
7367
7368         * text2.C: rewrite ::status() a bit
7369
7370 2003-03-13  John Levon  <levon@movementarian.org>
7371
7372         * lyxtext.h: add some docs
7373
7374 2003-03-13  John Levon  <levon@movementarian.org>
7375
7376         * lyxtext.h:
7377         * text.C:
7378         * text2.C:
7379         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7380
7381 2003-03-13  John Levon  <levon@movementarian.org>
7382
7383         * text3.C: fix appendix redrawing
7384
7385 2003-03-13  John Levon  <levon@movementarian.org>
7386
7387         * text.C (setHeightOfRow):
7388         * rowpainter.h:
7389         * rowpainter.C: make appendix mark have the text
7390           "Appendix" so the user knows what it is
7391
7392         * LColor.h:
7393         * LColor.C: s/appendixline/appendix/ from above
7394
7395 2003-03-13  John Levon  <levon@movementarian.org>
7396
7397         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7398
7399         * text.C: fix a getChar(pos) bug properly
7400
7401 2003-03-13  Angus Leeming  <leeming@lyx.org>
7402
7403         * commandtags.h:
7404         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7405         Probably only temporary. Let's see how things pan out.
7406
7407         * BufferView.C (unlockInset):
7408         * BufferView_pimpl.C (fitCursor):
7409         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7410
7411         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7412         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7413
7414         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7415         new functions that convert ParagraphParameters to and from a string.
7416
7417         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7418         BufferView::Pimpl's dispatch.
7419         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7420
7421 2003-03-13 André Pönitz <poenitz@gmx.net>
7422
7423         * lyxfunc.C:
7424         * text3.C:
7425         * factory.C: make it aware of InsetEnv
7426
7427 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7428
7429         * text2.C (setCursor): never ask for one past last
7430         (setCursor): add some debugging messages.
7431
7432         * text.C (singleWidth): never ask for one past last
7433         (singleWidth): ditto
7434         (leftMargin): ditto
7435         (rightMargin): ditto
7436         (rowBreakPoint): ditto
7437         (setHeightOfRow): ditto
7438         (prepareToPrint): ditto
7439
7440         * rowpainter.C (paintBackground): never ask for one past last
7441         (paintText): never ask for one past last
7442
7443         * paragraph_pimpl.C (getChar): make the assert stricter, never
7444         allow the one past last pos to be taken
7445
7446         * paragraph.C (getChar): ws changes only
7447
7448         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7449         (numberOfSeparators): ditto
7450         (numberOfHfills): ditto
7451
7452 2003-03-12  John Levon  <levon@movementarian.org>
7453
7454         * author.h:
7455         * author.C:
7456         * bufferparams.h:
7457         * bufferparams.C:
7458         * paragraph_funcs.C: fix per-buffer authorlists
7459
7460 2003-03-12  John Levon  <levon@movementarian.org>
7461
7462         * text.C: fix newline in right address
7463
7464 2003-03-12  Angus Leeming  <leeming@lyx.org>
7465
7466         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7467         duplicate those in LyXFunc::dispatch.
7468
7469         * commandtags.h:
7470         * LyXAction.C:
7471         * ToolbarDefaults.C:
7472         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7473         Add LFUN_FONTFREE_UPDATE.
7474
7475         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7476         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7477
7478         * bufferview_func.[Ch]: several new functions to facilliate
7479         transfer of data to and from the character dialog.
7480
7481 2003-03-12  John Levon  <levon@movementarian.org>
7482
7483         * buffer.C:
7484         * paragraph.h:
7485         * paragraph.C:
7486         * paragraph_funcs.C:
7487         * paragraph_pimpl.C:
7488         * sgml.C:
7489         * tabular.C:
7490         * text.C:
7491         * text3.C: remove META_NEWLINE in favour of an inset
7492
7493         * rowpainter.h:
7494         * rowpainter.C: remove paintNewline (done by inset)
7495
7496 2003-03-12  John Levon  <levon@movementarian.org>
7497
7498         * paragraph_pimpl.C: complain about bad getChar()s
7499         for a while at least
7500
7501 2003-03-12  John Levon  <levon@movementarian.org>
7502
7503         * buffer.h:
7504         * buffer.C: move paragraph read into a separate function,
7505         a little renaming to reflect that.
7506
7507         * bufferparams.h:
7508         * bufferparams.C: remove the author_ids map, not necessary now
7509
7510         * factory.h:
7511         * factory.C: moved Buffer::readInset to here
7512
7513         * paragraph_funcs.h:
7514         * paragraph_funcs.C: readParagraph free function moved from
7515         buffer.C
7516
7517         * tabular.C: name change
7518
7519 2003-03-12  John Levon  <levon@movementarian.org>
7520
7521         * buffer.C:
7522         * ParagraphParameters.C: move par params input to
7523         a read() method
7524
7525         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7526         behave like a normal read from the stream wrt reading
7527         a line vs. a \\token
7528
7529 2003-03-12  John Levon  <levon@movementarian.org>
7530
7531         * paragraph.C:
7532         * ParagraphParameters.h:
7533         * ParagraphParameters.C: move output code to a
7534         ::write() method
7535
7536 2003-03-12  John Levon  <levon@movementarian.org>
7537
7538         * BufferView.C (insertLyXFile):
7539         * buffer.h:
7540         * buffer.C:
7541         * tabular.C: use a parlist iterator for creating the
7542           document.
7543
7544 2003-03-12  John Levon  <levon@movementarian.org>
7545
7546         * buffer.C: make current_change static local not
7547           static file-scope
7548
7549 2003-03-12  John Levon  <levon@movementarian.org>
7550
7551         * buffer.C: fix insertStringAsLines for change tracking
7552
7553 2003-03-12  John Levon  <levon@movementarian.org>
7554
7555         * BufferView.C:
7556         * tabular.C:
7557         * buffer.h:
7558         * buffer.C:
7559         * bufferparams.h:
7560         * bufferparams.C: move author list into params. Rename some
7561           functions. Move the header reading into a separate token
7562           loop. Move the header token reading into BufferParams.
7563
7564 2003-03-12  John Levon  <levon@movementarian.org>
7565
7566         * changes.C: put debug inside lyxerr.debugging() checks
7567
7568 2003-03-11 André Pönitz <poenitz@gmx.net>
7569
7570         * factory.C: make it aware of InsetHFill
7571
7572 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7573
7574         * buffer.C (latexParagraphs): move function from here...
7575         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7576         args.
7577
7578 2003-03-10  Angus Leeming  <leeming@lyx.org>
7579
7580         * LyXAction.C (init): fix bug in poplating array with multiple entries
7581         with the same LFUN (spotted by JMarc).
7582
7583 2003-03-10  John Levon  <levon@movementarian.org>
7584
7585         * text.C:
7586         * text2.C: move getColumnNearX() near its
7587         only call site
7588
7589 2003-03-10  John Levon  <levon@movementarian.org>
7590
7591         * text.C: fix break before a minipage
7592
7593 2003-03-10  John Levon  <levon@movementarian.org>
7594
7595         * text.C: fix the last commit
7596
7597 2003-03-09  John Levon  <levon@movementarian.org>
7598
7599         * lyxtext.h:
7600         * text.C:
7601         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7602         bug 365 (don't break before insets unless needed). Don't
7603         return a value > last under any circumstances.
7604
7605 2003-03-09  Angus Leeming  <leeming@lyx.org>
7606
7607         * BufferView_pimpl.C (trackChanges, dispatch): call
7608         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7609
7610 2003-03-09  Angus Leeming  <leeming@lyx.org>
7611
7612         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7613         than Dialogs::showAboutlyx().
7614
7615 2003-03-09  Angus Leeming  <leeming@lyx.org>
7616
7617         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7618         than Dialogs::showTabularCreate().
7619
7620 2003-03-09  John Levon  <levon@movementarian.org>
7621
7622         * lyxtext.h:
7623         * text.C:
7624         * text2.C: 3rd arg to nextBreakPoint was always the same.
7625           Use references.
7626
7627 2003-03-08  John Levon  <levon@movementarian.org>
7628
7629         * lyxrow.C:
7630         * paragraph.C:
7631         * paragraph.h:
7632         * rowpainter.C:
7633         * text.C:
7634         * text2.C: Remove the "main" bit from the "main body"
7635           notion.
7636
7637 2003-03-08  John Levon  <levon@movementarian.org>
7638
7639         * text.C (leftMargin): The left margin of an empty
7640         manual label paragraph should not include the label width
7641         string length.
7642
7643         * text.C (prepareToPrint): don't attempt to measure hfills
7644         for empty manual label paragraphs - the answer should be 0
7645
7646 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7647
7648         * CutAndPaste.C: remove commented code and reindent.
7649
7650 2003-03-08  John Levon  <levon@movementarian.org>
7651
7652         * lyxfunc.h:
7653         * lyxfunc.C: move reloadBuffer()
7654
7655         * BufferView.h:
7656         * BufferView.C: to here
7657
7658         * lyxvc.C: add comment
7659
7660         * vc-backend.h:
7661         * vc-backend.C: call bv->reload() to avoid
7662           getStatus() check on MENURELOAD
7663
7664 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7665
7666         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7667         to an old format .dep file.
7668
7669 2003-03-07  Angus Leeming  <leeming@lyx.org>
7670
7671         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7672         when the LFUN_MOUSE_RELEASE should have been handled by
7673         inset->localDispatch.
7674
7675 2003-03-07  Angus Leeming  <leeming@lyx.org>
7676
7677         * BufferView_pimpl.C (dispatch):
7678         * LyXAction.C (init):
7679         * ToolbarDefaults.C (init):
7680         * commandtags.h:
7681         * lyxfunc.C (getStatus):
7682         remove LFUN_INSET_GRAPHICS.
7683
7684         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7685
7686 2003-03-07  Angus Leeming  <leeming@lyx.org>
7687
7688         * commandtags.h:
7689         * LyXAction.C (init):
7690         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7691
7692         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7693
7694         * commandtags.h:
7695         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7696
7697         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7698         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7699
7700 2003-03-07  Angus Leeming  <leeming@lyx.org>
7701
7702         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7703         remove "ert".
7704
7705 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7706
7707         * ParagraphList.C (front): new function
7708         (back): implement
7709
7710 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7711
7712         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7713         and top_row_offset_. removed var first_y.
7714         * text.C (top_y):
7715         * text2.C (LyXText, removeRow):
7716         * text3.C:
7717         * BufferView_pimpl.C:
7718         use these methods instead of using first_y
7719
7720 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7721
7722         * text2.C (pasteSelection): adjust for checkPastePossible
7723
7724         * CutAndPaste.C: remove Paragraph * buf and replace with
7725         ParagraphList paragraphs.
7726         (DeleteBuffer): delete
7727         (cutSelection): change the tc type to textclass_type
7728         (copySelection): change the tc type to textclass_type
7729         (copySelection): adjust for ParagraphList
7730         (pasteSelection): change the tc type to textclass_type
7731         (pasteSelection): adjust for Paragraphlist
7732         (nrOfParagraphs): simplify for ParagraphList
7733         (checkPastePossible): simplify for ParagraphList
7734         (checkPastePossible): remove unused arg
7735
7736         * ParagraphList.C (insert): handle the case where there are no
7737         paragraphs yet.
7738
7739         * CutAndPaste.h: make CutAndPaste a namespace.
7740
7741         * text3.C (dispatch): adjust
7742
7743         * text.C (breakParagraph): add a ParagraphList as arg
7744
7745         * paragraph_funcs.C (breakParagraph): change to take a
7746         BufferParams and a ParagraphList as args.
7747         (breakParagraphConservative): ditto
7748         (mergeParagraph): ditto
7749         (TeXDeeper): add a ParagraphList arg
7750         (TeXEnvironment): ditto
7751         (TeXOnePar): ditto
7752
7753         * buffer.C (readLyXformat2): adjust
7754         (insertStringAsLines): adjust
7755         (latexParagraphs): adjust
7756
7757         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7758         (cutSelection): adjust
7759         (pasteSelection): adjust
7760
7761         * BufferView_pimpl.C (insertInset): adjust
7762
7763 2003-03-05  Angus Leeming  <leeming@lyx.org>
7764
7765         * commandtags.h:
7766         * LyXAction.C (init):
7767         * BufferView_pimpl.C (dispatch):
7768         * lyxfunc.C (getStatus):
7769         remove LFUN_CHILD_INSERT.
7770
7771         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7772
7773 2003-03-05  Angus Leeming  <leeming@lyx.org>
7774
7775         * commandtags.h:
7776         * LyXAction.C (init):
7777         * src/factory.C (createInset):
7778         * lyxfunc.C (getStatus):
7779         * text3.C (dispatch):
7780         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7781
7782         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7783
7784 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7785
7786         * ParagraphList.C (insert): handle insert right before end()
7787         (erase): fix cases where it can be first or last paragraph.
7788
7789 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7790
7791         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7792         Paragraph::next and Paragraph::previous
7793         (TeXOnePar): ditto
7794
7795         * text.C (breakParagraph): adjust
7796
7797         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7798         BufferParams& as arg.
7799         (breakParagraph): use ParagraphList::insert
7800         (breakParagraphConservative): take a Buffer* instead of a
7801         BufferParams& as arg.
7802         (breakParagraphConservative): use ParagraphList::insert.
7803
7804         * buffer.C (insertStringAsLines): un-const it
7805         (insertStringAsLines): adjust
7806
7807         * ParagraphList.C (insert): new function
7808
7809         * CutAndPaste.C (pasteSelection): adjust
7810
7811         * text.C (backspace): adjust
7812
7813         * tabular.C (SetMultiColumn): adjust
7814
7815         * CutAndPaste.C (cutSelection): adjust
7816         (pasteSelection): adjust
7817
7818         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7819         Buffer const * as arg
7820
7821         * ParagraphList.C (erase): new function
7822         * paragraph_funcs.C (mergeParagraph): use it
7823         (mergeParagraph): make it take a Buffer* instead of a
7824         BufferParams* as arg
7825
7826         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7827         as arg
7828         (breakParagraphConservative): ditto
7829
7830         * paragraph.h: remove the breakParagraph friend
7831
7832         * paragraph.C (eraseIntern): new function
7833         (setChange): new function
7834
7835         * paragraph_funcs.C (mergeParagraph): make it take a
7836         ParagraphList::iterator instead of a Paragraph *, adjust
7837         accordingly.
7838
7839         * paragraph.h: move an #endif so that the change tracking stuff
7840         also works in the NO_NEXT case.
7841
7842 2003-03-04  Angus Leeming  <leeming@lyx.org>
7843
7844         * commandtags.h:
7845         * LyXAction.C: new LFUN_INSET_MODIFY.
7846
7847         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7848         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7849
7850 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7851
7852         * several files: ws changes only
7853
7854         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7855         (TeXEnvironment): ditto
7856         (TeXDeeper): ditto
7857
7858         * buffer.C (makeLaTeXFile): adjust
7859         (latexParagraphs): make it take ParagraphList::iterator as args
7860
7861 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7862
7863         * buffer.C (latexParagraphs): adjust
7864
7865         * paragraph.C (TeXOnePar): move function...
7866         (optArgInset): move function...
7867         (TeXEnvironment): move function...
7868         * paragraph_pimpl.C (TeXDeeper): move function...
7869         * paragraph_funcs.C: ...here
7870
7871         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7872
7873 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7874
7875         * buffer.C (readInset): remove compability code for old Figure and
7876         InsetInfo insets
7877
7878 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7879
7880         * buffer.C: ws changes
7881         (readInset):
7882
7883         * BufferView_pimpl.C: ditto
7884         * author.C: ditto
7885         * buffer.h: ditto
7886         * bufferlist.h: ditto
7887         * changes.h: ditto
7888         * lyxfunc.C: ditto
7889
7890 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7891
7892         * converter.[Ch]: split into itself +
7893         * graph.[Ch]
7894         * format.[Ch]
7895         * Makefile.am: += graph.[Ch] + format.[Ch]
7896         * MenuBackend.C
7897         * buffer.C
7898         * exporter.C
7899         * importer.C
7900         * lyx_main.C
7901         * lyxfunc.C
7902         * lyxrc.C: added #include "format.h"
7903
7904 2003-02-27  Angus Leeming  <leeming@lyx.org>
7905
7906         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7907           a label.
7908
7909         * factory.C (createInset): add "label" to the factory.
7910
7911         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7912           string and do no more.
7913
7914 2003-02-27  Angus Leeming  <leeming@lyx.org>
7915
7916         * commandtags.h:
7917         * LyXAction.C (init):
7918         * factory.C (createInset):
7919         * BufferView_pimpl.C (dispatch):
7920           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7921
7922         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7923
7924         * lyxfunc.C (dispatch):
7925         * text3.C (dispatch): pass name to params2string.
7926
7927 2003-02-26  Angus Leeming  <leeming@lyx.org>
7928
7929         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7930           blocks together.
7931           Rearrange the ~includes. Strip out the unnecessary ones.
7932
7933         * factory.C (createInset): reformat.
7934           create new insets for the various LFUN_XYZ_APPLY lfuns.
7935
7936 2003-02-26  John Levon  <levon@movementarian.org>
7937
7938         * lyxrow.h:
7939         * lyxrow.C: add isParStart,isParEnd helpers
7940
7941         * paragraph.h: make isInserted/DeletedText take refs
7942
7943         * paragraph_funcs.h:
7944         * paragraph_funcs.C: remove #if 0'd code
7945
7946         * lyxtext.h:
7947         * text3.C:
7948         * text2.C:
7949         * text.C: use lyxrow helpers above.
7950           Move draw and paint routines to RowPainter.
7951           Make several methods use refs not pointers.
7952           Make backgroundColor() const.
7953           Add markChangeInDraw(), isInInset().
7954           Merge changeRegionCase into changeCase.
7955           Make workWidth() shouldn't-happen code into an Assert.
7956
7957         * rowpainter.h:
7958         * rowpainter.C: new class for painting a row.
7959
7960         * vspace.h:
7961         * vspace.C: make inPixels take a ref
7962
7963 2003-02-26  Angus Leeming  <leeming@lyx.org>
7964
7965         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7966         LFUN_REF_APPLY.
7967
7968 2003-02-25  John Levon  <levon@movementarian.org>
7969
7970         * ispell.C: give the forked command a more accurate name
7971
7972 2003-02-22  John Levon  <levon@movementarian.org>
7973
7974         * toc.h:
7975         * toc.C: make TocItem store an id not a Paragraph *
7976           (bug #913)
7977
7978 2003-02-21  Angus Leeming  <leeming@lyx.org>
7979
7980         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7981           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7982           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7983           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7984           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7985           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7986
7987         * BufferView_pimpl.C (dispatch):
7988         * LyXAction.C (init):
7989         * factory.C (createInset):
7990         * lyxfunc.C (getStatus, dispatch):
7991         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7992
7993 2003-02-21  Angus Leeming  <leeming@lyx.org>
7994
7995         * BufferView_pimpl.C (MenuInsertLyXFile):
7996         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7997         * lyxfunc.C (menuNew, open, doImport):
7998           no longer pass a LyXView & to fileDlg.
7999
8000 2003-02-21  Angus Leeming  <leeming@lyx.org>
8001
8002         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8003         * LyXAction.C: change, BIBKEY to BIBITEM.
8004         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8005         Change InsetBibKey to InsetBibitem.
8006         Change BIBKEY_CODE to BIBITEM_CODE.
8007         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8008         * factory.C: replace insetbib.h with insetbibitem.h.
8009         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8010         * paragraph.C: replace insetbib.h with insetbibitem.h.
8011         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8012         Change bibkey() to bibitem().
8013         * text.C: remove insetbib.h.
8014         * text2.C: replace insetbib.h with insetbibitem.h.
8015         change bibkey() to bibitem().
8016         * text3.C: remove insetbib.h.
8017         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8018
8019 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8020
8021         * lyxrc.C (output): enclose user email in quotes (in case there are
8022         several words)
8023
8024 2003-02-18  John Levon  <levon@movementarian.org>
8025
8026         * buffer.h: add std::
8027
8028 2003-02-17  John Levon  <levon@movementarian.org>
8029
8030         * SpellBase.h:
8031         * ispell.h:
8032         * ispell.C:
8033         * pspell.h:
8034         * pspell.C: reworking. Especially in ispell, a large
8035           number of clean ups and bug fixes.
8036
8037         * lyxfunc.C: fix revert to behave sensibly
8038
8039 2003-02-17 André Pönitz <poenitz@gmx.net>
8040
8041         * LyXAction.C:
8042         * commandtags.h: new LFUN_INSERT_BIBKEY
8043
8044         * layout.h:
8045         * lyxlayout.C:
8046         * buffer.C:
8047         * factory.C:
8048         * text.C:
8049         * text2.C:
8050         * text3.C:
8051         * paragraph.[Ch]:
8052         * paragraph_func.C: remove special bibkey handling
8053
8054 2003-02-17  John Levon  <levon@movementarian.org>
8055
8056         * text.C (Delete): fix case where delete at the end of
8057           the very first paragraph would not merge the pars
8058
8059 2003-02-17  John Levon  <levon@movementarian.org>
8060
8061         * lyxrow.C: fix lastPrintablePos()
8062
8063 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8064
8065         * bufferparams.C (writeLaTeX): add a std:here
8066
8067         * buffer.C: and remove a using directive there
8068
8069 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8070
8071         * buffer.C (makeLaTeXFile): move the code that generates the
8072           preamble...
8073
8074         * bufferparams.C (writeLaTeX): ... in this new method
8075
8076         * LaTeXFeatures.C (getEncodingSet): make const
8077           (getLanguages): make const
8078
8079         * MenuBackend.C (binding): returns the binding associated to this
8080           action
8081           (add): sets the status of each item by calling getStatus. Adds
8082           some intelligence.
8083           (read): add support for OptSubMenu
8084           (expand): remove extra separator at the end of expanded menu
8085
8086 2003-02-15  John Levon  <levon@movementarian.org>
8087
8088         * BufferView.C:
8089         * BufferView_pimpl.C:
8090         * bufferlist.h:
8091         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8092           inset code that had no actual effect. Remove unneeded status
8093           code.
8094
8095 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8096
8097         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8098           in preamble
8099
8100 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8101
8102         * text.C (drawLengthMarker): also draw an arrow marker for
8103           symbolic lengths (medskip...)
8104
8105 2003-02-14  John Levon  <levon@movementarian.org>
8106
8107         * tabular.h:
8108         * tabular.C: better method names
8109
8110 2003-02-14  John Levon  <levon@movementarian.org>
8111
8112         * BufferView_pimpl.C:
8113         * bufferlist.C:
8114         * buffer.C:
8115         * converter.C:
8116         * lyx_cb.C:
8117         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8118           it's a more accurate name. Remove some pointless uses.
8119
8120 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8121
8122         * text2.C (LyXText): change order of initilizers to shut off
8123           warnings
8124
8125 2003-02-14  John Levon  <levon@movementarian.org>
8126
8127         * buffer.C: use ParIterator for getParFromID()
8128
8129         * paragraph.h:
8130         * paragraph.C:
8131         * paragraph_pimpl.h:
8132         * paragraph_pimpl.C: remove unused getParFromID()
8133
8134 2003-02-14  John Levon  <levon@movementarian.org>
8135
8136         * buffer.C: remove some very old #if 0'd parse code
8137
8138 2003-02-13  John Levon  <levon@movementarian.org>
8139
8140         * text.h:
8141         * text.C:
8142         * text2.C: move hfillExpansion(), numberOfSeparators(),
8143           rowLast(), rowLastPrintable(), numberofHfills(),
8144           numberOfLabelHfills() ...
8145
8146         * lyxrow.h:
8147         * lyxrow.C: ... to member functions here.
8148
8149         * paragraph.h:
8150         * paragraph.C:
8151         * lyxtext.h:
8152         * text.C: remove LyXText::beginningOfMainBody(), and call
8153           p->beginningOfMainBody() directly. Move the check for
8154           LABEL_MANUAL into the latter.
8155
8156         * text.h:
8157         * text.C:
8158         * text2.C:
8159         * vspace.C:
8160         * BufferView.h:
8161         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8162
8163         * text.h:
8164         * text.C:
8165         * text2.C:
8166         * text3.C:
8167         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8168           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8169
8170 2003-02-13  John Levon  <levon@movementarian.org>
8171
8172         * CutAndPaste.C: remove debug
8173
8174 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8175
8176         * paragraph.C (asString): remove two unused variables
8177
8178         * lyxtextclass.C (readTitleType):
8179           (Read):
8180           (LyXTextClass): handle new members titletype_ and titlename_
8181
8182         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8183
8184 2003-02-09  John Levon  <levon@movementarian.org>
8185
8186         * buffer.h:
8187         * buffer.C: replace hand-coded list with a map for the dep clean
8188
8189 2003-02-08  John Levon  <levon@movementarian.org>
8190
8191         * LaTeX.C: consolidate code into showRunMessage() helper
8192
8193 2003-02-08  John Levon  <levon@movementarian.org>
8194
8195         * lyxfind.C:
8196         * lyxtext.h:
8197         * text2.C:
8198         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8199           and pass the size in explicitly
8200
8201         * BufferView_pimpl.h:
8202         * BufferView_pimpl.C:
8203         * BufferView.h:
8204         * BufferView.C: add getCurrentChange()
8205
8206         * BufferView_pimpl.h:
8207         * BufferView_pimpl.C: handle change lfuns
8208
8209         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8210           for changes. Mark pasted paragraphs as new.
8211
8212         * support/lyxtime.h:
8213         * support/lyxtime.C:
8214         * DepTable.C: abstract time_t as lyx::time_type
8215
8216         * LColor.h:
8217         * LColor.C: add colours for new text, deleted text, changebars
8218
8219         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8220           package use "usenames" option.
8221
8222         * commandtags.h:
8223         * lyxfunc.C:
8224         * LyXAction.C: add change lfuns
8225
8226         * Makefile.am:
8227         * author.h:
8228         * author.C: author handling
8229
8230         * buffer.h:
8231         * buffer.C: add a per-buffer author list, with first entry as
8232           current author. Handle new .lyx tokens for change tracking. Output
8233           author list to .lyx file. Output dvipost stuff to .tex preamble.
8234           Bump lyx format to 222.
8235
8236         * bufferlist.h:
8237         * bufferlist.C: add setCurrentAuthor() to reset current author details
8238           in all buffers.
8239
8240         * bufferparams.h:
8241         * bufferparams.C: add param for tracking
8242
8243         * bufferview_funcs.C: output change info in minibuffer
8244
8245         * Makefile.am:
8246         * changes.h:
8247         * changes.C: add change-tracking structure
8248
8249         * debug.h:
8250         * debug.C: add CHANGES debug flag
8251
8252         * lyxfind.h:
8253         * lyxfind.C: add code for finding the next change piece
8254
8255         * lyxrc.h:
8256         * lyxrc.C: add user_name and user_email
8257
8258         * lyxrow.h:
8259         * lyxrow.C: add a metric for the top of the text line
8260
8261         * lyxtext.h:
8262         * text.C: implement accept/rejectChange()
8263
8264         * lyxtext.h:
8265         * text.C: paint changebars. Paint new/deleted text in the chosen
8266         colours. Strike through deleted text.
8267
8268         * paragraph.h:
8269         * paragraph.C:
8270         * paragraph_pimpl.h:
8271         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8272           in the current change to the insert functions. Rework erase to
8273           mark text as deleted, adding an eraseIntern() and a range-based
8274           erase(). Implement per-paragraph change lookup and
8275           accept/reject.
8276
8277         * paragraph_funcs.C: Fixup paste for change tracking.
8278
8279         * tabular.C: mark added row/columns as new.
8280
8281         * text.C: fix rowLast() to never return -1. Don't allow
8282           spellchecking of deleted text. Track transpose changes. Don't
8283           allow paragraph break or merge where appropriate.
8284
8285         * text2.C: leave cursor at end of selection after a cut.
8286
8287 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8288
8289         * text.C (getLengthMarkerHeight):
8290         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8291         visible on screen too.
8292
8293 2003-02-07  John Levon  <levon@movementarian.org>
8294
8295         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8296
8297 2003-02-05  Angus Leeming  <leeming@lyx.org>
8298
8299         * lyxserver.C (read_ready): revert my patch of 11 September last year
8300         as it sends PC cpu through the roof. Presumably this means that
8301         the lyxserver will no longer run on an Alpha...
8302
8303 2003-01-30  Angus Leeming  <leeming@lyx.org>
8304
8305         * factory.C (createInset): create an InsetCommandParam of type "index"
8306         and use it to 'do the right thing'.
8307
8308         * text2.C (getStringToIndex): ensure that cursor position is always
8309         reset to the reset_cursor position.
8310
8311 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8312
8313         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8314         disabled.
8315
8316 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8317
8318         * bufferview.C:
8319         * lyxcb.C:
8320         * lyxfunc.C: Output messages with identical spelling, punctuation,
8321         and spaces
8322
8323 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8324
8325         * MenuBackend.C (expandFormats): List only viewable export formats
8326         in "View" menu
8327
8328         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8329         message
8330
8331         * lyxfunc.C (getStatus): Make sure that formats other than
8332         "fax" can also be disabled
8333
8334 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8335
8336         * text3.C (dispatch): put the lfuns that insert insets in 3
8337         groups, and call doInsertInset with appropriate arguments.
8338         (doInsertInset): new function, that creates an inset and inserts
8339         it according to some boolean parameters.
8340
8341 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8342
8343         * buffer.C (readFile): remember to pass on 'par' when calling
8344         readFile recursively.
8345
8346 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8347
8348         * MenuBackend.C (expandFormats): add "..." to import formats.
8349
8350 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8351
8352         * paragraph.C (asString): Remove XForms RTL hacks.
8353
8354 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8355         * buffer.C: fix typo
8356
8357 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8358
8359         * Makefile.am (LIBS): delete var
8360         (lyx_LDADD): add @LIBS@ here instead.
8361
8362 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8363
8364         * Clarify the meaning of "wheel mouse jump"
8365
8366 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8367
8368         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8369         tabular in a float
8370
8371 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8372
8373         * importer.C (Loaders): do not preallocate 3 elements in the
8374         vector, since one ends up with 6 elements otherwise
8375
8376 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8377
8378         * DepTable.C (write): write the file name as last element of the
8379         .dep file (because it may contain spaces)
8380         (read): read info in the right order
8381
8382 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8383
8384         * paragraph_pimpl.C (simpleTeXBlanks):
8385         (simpleTeXSpecialChars):
8386         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8387
8388         * tabular.C (latex): add some missing case statements. Reindent.
8389
8390         * MenuBackend.C (expandToc): remove unused variable.
8391
8392 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8393
8394         * LColor.C:
8395         * LaTeX.C:
8396         * LyXAction.C:
8397         * MenuBackend.C:
8398         * buffer.C:
8399         * exporter.C:
8400         * lyxfunc.C:
8401         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8402         and the like.
8403
8404 2003-01-05  John Levon  <levon@movementarian.org>
8405
8406         * BufferView.h:
8407         * BufferView.C: add getEncoding()
8408
8409         * kbsequence.h:
8410         * kbsequence.C: do not store last keypress
8411
8412         * lyxfunc.h:
8413         * lyxfunc.C: store last keypress here instead. Pass encoding
8414           to getISOEncoded()
8415
8416 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8417
8418         * lyx_main.C (init): remove annoying error message when following
8419         symbolic links (bug #780)
8420
8421 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8422
8423         * text.C (insertChar):
8424         * lyxrc.C (getDescription): remove extra spaces
8425
8426 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8427
8428         * lyxrc.C (getDescription): remove extra spaces
8429
8430 2002-12-20  John Levon  <levon@movementarian.org>
8431
8432         * text3.C: hack fix for page up/down across tall rows
8433
8434 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8435
8436         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8437         not been invoked
8438
8439 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8440
8441         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8442         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8443         thesaurus is not compiled in
8444
8445 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8446
8447         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8448
8449 2002-12-16  Angus Leeming  <leeming@lyx.org>
8450
8451         * lyxrc.[Ch]:
8452         * lyx_main.C (init): remove override_x_deadkeys stuff.
8453
8454 2002-12-12  John Levon  <levon@movementarian.org>
8455
8456         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8457           insert. Only remove shift modifier under strict
8458           circumstances.
8459
8460 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8461
8462         * MenuBackend.C (expandToc): fix crash.
8463
8464 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8465
8466         * MenuBackend.C (expandToc): gettext on float names.
8467
8468 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8469
8470         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8471         implement bool empty() [bug 490]
8472
8473 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8474
8475         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8476
8477 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8478
8479         * several files: ws changes
8480
8481 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8482
8483         * text2.C (setCounter): clean up a bit, use boost.format.
8484         (updateCounters): initialize par upon declaration.
8485
8486         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8487         if the layout exists. We do not just store the layout any more.
8488         (SwitchLayoutsBetweenClasses): use boost.format
8489
8490 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8491
8492         * converter.C (convert): if from and to files are the same, use a
8493         temporary files as intermediary
8494
8495 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8496
8497         * commandtags.h:
8498         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8499
8500 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8501
8502         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8503
8504 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8505
8506         * tabular.C (asciiPrintCell): use string(size, char) instead of
8507         explicit loop.
8508
8509         * sgml.C (openTag): fix order of arguments to string constructor
8510         (closeTag): ditto
8511
8512         * lyxfunc.C (dispatch): use boost.format
8513
8514         * lots of files: change "c" -> 'c'
8515
8516 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8517
8518         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8519
8520 2002-11-25  Angus Leeming  <leeming@lyx.org>
8521
8522         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8523
8524         * lyx_main.C (init): compile fix.
8525
8526 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8527
8528         * lyx_cb.C (start): boost.formatify
8529         do not include <iostream>
8530
8531         * lengthcommon.C: ws only
8532
8533         * boost-inst.C,BoostFormat.h: add more explict instantations
8534
8535 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8536
8537         * lots of files: handle USE_BOOST_FORMAT
8538
8539 2002-11-21  John Levon  <levon@movementarian.org>
8540
8541         * pspell.C: fix compile
8542
8543 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8544
8545         * lyxfunc.C (dispatch): use boost::format
8546         (open): ditto
8547         (doImport): ditto
8548
8549         * lyxfont.C (stateText): use boost::format
8550
8551         * lyx_main.C (LyX): use boost::format
8552         (init): ditto
8553         (queryUserLyXDir): ditto
8554         (readRcFile): ditto
8555         (parse_dbg): ditto
8556         (typedef boost::function): use the recommened syntax.
8557
8558         * importer.C (Import): use boost::format
8559
8560         * debug.C (showLevel): use boost::format
8561
8562         * converter.C (view): use boost::format
8563         (convert): ditto
8564         (move): ditto
8565         (scanLog): ditto
8566
8567         * bufferview_funcs.C (currentState): use boost::format
8568
8569         * bufferlist.C (emergencyWrite): use boost::format
8570
8571         * buffer.C (readLyXformat2): use boost::format
8572         (parseSingleLyXformat2Token): ditto
8573
8574         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8575
8576         * LaTeX.C (run): use boost::format
8577
8578         * Chktex.C (scanLogFile): use boost::format
8579
8580         * BufferView_pimpl.C (savePosition): use boost::format
8581         (restorePosition): ditto
8582         (MenuInsertLyXFile): ditto
8583
8584         * BoostFormat.h: help file for explicit instation.
8585
8586 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8587
8588         * tabular.C (latex): Support for block alignment in fixed width
8589         columns.
8590
8591 2002-11-17  John Levon  <levon@movementarian.org>
8592
8593         * BufferView_pimpl.C:
8594         * lyx_cb.C:
8595         * lyxfunc.C: split filedialog into open/save
8596
8597 2002-11-08  Juergen Vigna  <jug@sad.it>
8598
8599         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8600         by my last patch (hopefully).
8601
8602 2002-11-08  John Levon  <levon@movementarian.org>
8603
8604         * iterators.h:
8605         * iterators.C:
8606         * buffer.h:
8607         * buffer.C:
8608         * paragraph.h:
8609         * paragraph.C:
8610         * toc.h:
8611         * toc.C: ParConstIterator, and use it (from Lars)
8612
8613 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8614
8615         * lyxtextclass.[Ch]: revise and add doxygen comments
8616
8617 2002-11-07  John Levon  <levon@movementarian.org>
8618
8619         * text.C: fix progress value for spellchecker
8620
8621         * toc.C: fix navigate menu for insetwrap inside minipage
8622
8623         * paragraph_funcs.C: added FIXME for suspect code
8624
8625 2002-11-07  John Levon  <levon@movementarian.org>
8626
8627         * BufferView_pimpl.C: fix redrawing of insets
8628           on buffer switch
8629
8630 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8631
8632         * text2.C (updateCounters): fix bug 668
8633
8634 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8635
8636         * text3.C (dispatch): Do not make the buffer dirty when moving the
8637         cursor.
8638
8639 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8640
8641         * vc-backend.C: STRCONV
8642         (scanMaster): ditto
8643
8644         * text2.C (setCounter): STRCONV
8645
8646         * paragraph.C (asString): STRCONV
8647
8648         * lyxlength.C (asString): STRCONV
8649         (asLatexString): ditto
8650
8651         * lyxgluelength.C (asString): STRCONV
8652         (asLatexString): ditto
8653
8654         * lyxfunc.C (dispatch): STRCONV
8655         (open): ditto
8656
8657         * lyxfont.C (stateText): STRCONV
8658
8659         * importer.C (Import): STRCONV
8660
8661         * counters.C (labelItem): STRCONV
8662         (numberLabel): ditto
8663         (numberLabel): remove unused ostringstream o
8664
8665         * chset.C: STRCONV
8666         (loadFile): ditto
8667
8668         * bufferview_funcs.C (currentState): STRCONV
8669
8670         * buffer.C (readFile): STRCONV
8671         (asciiParagraph): ditto
8672         (makeLaTeXFile): ditto
8673
8674         * Spacing.C (writeEnvirBegin): STRCONV
8675
8676         * LaTeXFeatures.C (getLanguages): STRCONV
8677         (getPackages): ditto
8678         (getMacros): ditto
8679         (getBabelOptions): ditto
8680         (getTClassPreamble): ditto
8681         (getLyXSGMLEntities): ditto
8682         (getIncludedFiles): ditto
8683
8684         * LaTeX.C: STRCONV
8685         (run): ditto
8686         (scanAuxFile): ditto
8687         (deplog): ditto
8688
8689         * LString.h: add the STRCONV macros
8690
8691         * BufferView_pimpl.C (savePosition): STRCONV
8692         (restorePosition): ditto
8693         (MenuInsertLyXFile): ditto
8694
8695         * vc-backend.C (scanMaster): change from submatch[...] to
8696         submatch.str(...)
8697
8698         * funcrequest.C: include config.h
8699
8700         * factory.C: include config.h
8701
8702         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8703
8704         * box.C: include config.h
8705
8706         * LaTeX.C (scanAuxFile): change from submatch[...] to
8707         submatch.str(...)
8708         (deplog): ditto
8709
8710 2002-10-25  Angus Leeming  <leeming@lyx.org>
8711
8712         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8713
8714         * ispell.[Ch] (setError): new method.
8715         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8716         Use setError() insetead of goto END.
8717
8718         * lyx_cb.C (AutoSave): move out child process into new class
8719         AutoSaveBuffer.
8720
8721 2002-10-30  John Levon  <levon@movementarian.org>
8722
8723         * text3.C: make start appendix undoable
8724
8725 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8726
8727         * lyxlength.C (inPixels): Fix returned value.
8728
8729         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8730         environment.
8731
8732 2002-10-24  Angus Leeming  <leeming@lyx.org>
8733
8734         * lyxgluelength.h: no need to forward declare BufferParams
8735         or BufferView, so don't.
8736
8737 2002-10-21  John Levon  <levon@movementarian.org>
8738
8739         * BufferView.C: menuUndo ->undo, redo
8740
8741         * BufferView.h: document, remove dead, make some methods private
8742
8743         * paragraph_funcs.h:
8744         * paragraph_funcs.C:
8745         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8746
8747         * buffer.h:
8748         * buffer.C:
8749         * sgml.h:
8750         * sgml.C: move sgml open/close tag into sgml.C
8751
8752         * bufferview_funcs.h: unused prototype
8753
8754         * lyxfunc.h:
8755         * lyxfunc.C: remove unused
8756
8757         * lyxtext.h:
8758         * text.C: remove unused
8759
8760 2002-10-21  John Levon  <levon@movementarian.org>
8761
8762         * BufferView.h:
8763         * BufferView.C:
8764         * BufferView_pimpl.h:
8765         * BufferView_pimpl.C: fix mouse wheel handling based on
8766           patch from Darren Freeman
8767
8768 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8769
8770         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8771
8772 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8773
8774         * lyxlength.C (inPixels): Fix hanfling of negative length.
8775         Fix LyXLength::MU case.
8776
8777 2002-10-16  John Levon  <levon@movementarian.org>
8778
8779         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8780
8781 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8782
8783         * converter.C (view): add support for $$i (file name) and $$p
8784         (file path) for the viewer command. If $$i is not specified, then
8785         it is appended to the command (for compatibility with old syntax)
8786
8787 2002-10-14  Juergen Vigna  <jug@sad.it>
8788
8789         * undo_funcs.C (textHandleUndo): alter the order in which the
8790         new undopar is added to the LyXText, as we have to set first
8791         the right prev/next and then add it as otherwise the rebuild of
8792         LyXText is not correct. Also reset the cursor to the right paragraph,
8793         with this IMO we could remove the hack in "redoParagraphs()".
8794
8795 2002-10-09  Angus Leeming  <leeming@lyx.org>
8796
8797         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8798         to turn off an optimisation if a new inset is to be inserted.
8799
8800 2002-10-11 André Pönitz <poenitz@gmx.net>
8801
8802         * lyxtext.h: make some functions public to allow access
8803         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8804
8805 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8806
8807         * text3.C (dispatch): when changing layout, avoid an infinite loop
8808         [bug #652]
8809
8810 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8811
8812         * lyxrc.C (read): treat a viewer or converter command of "none" as
8813         if it were empty.
8814
8815         * MenuBackend.C (expandFormats): for an update, also allow the
8816         formats that are not viewable
8817
8818         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8819         script if it is newer than the lyxrc.defaults in user directory
8820
8821 2002-10-07 André Pönitz <poenitz@gmx.net>
8822
8823         * text.C: Vitaly Lipatov's small i18n fix
8824
8825 2002-09-25  Angus Leeming  <leeming@lyx.org>
8826
8827         * ispell.h: doxygen fix.
8828
8829 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8830
8831         * buffer.h (readFile): Add a new argument to the method, to allow
8832         reading of old-format templates.
8833
8834 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8835
8836         * toc.C (getTocList): Get TOC from InsetWrap.
8837
8838 2002-09-16  John Levon  <levon@movementarian.org>
8839
8840         * lyxfunc.C: check tabular for cut/copy too
8841
8842 2002-09-12  John Levon  <levon@movementarian.org>
8843
8844         * LyXAction.C: tidy
8845
8846         * factory.h:
8847         * factory.C: add header
8848
8849         * paragraph_funcs.h:
8850         * paragraph_funcs.C: cleanup
8851
8852 2002-09-11  John Levon  <levon@movementarian.org>
8853
8854         * PrinterParams.h: odd/even default to true
8855
8856 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8857
8858         * PrinterParams.h: update printer parameters for new xforms dialog
8859
8860 2002-09-11  Angus Leeming  <leeming@lyx.org>
8861
8862         * lyxserver.C (read_ready): re-write to make it more transparent
8863         and to make it work in coherent fashion under Tru64 Unix.
8864
8865 2002-09-11  André Pönitz <poenitz@gmx.net>
8866
8867         * commandtags.h:
8868         * LyXAction.C:
8869         * text3.C: implement LFUN_WORDSEL
8870
8871 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8872
8873         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8874         make floatlist_ a boost::shared_ptr<FloatList>
8875
8876         * lyxtextclass.C: include FloatList.h
8877         (LyXTextClass): initialize floatlist_
8878         (TextClassTags): add TC_NOFLOAT
8879         (Read): match "nofloat" to TC_NOFLOAT and use it.
8880         (readFloat): modify call to floatlist_
8881         (floats): ditto
8882         (floats): ditto
8883
8884         * FloatList.[Ch] (FloatList): remove commented out float
8885         initialization.
8886         (erase): new function
8887
8888 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8889
8890         * MenuBackend.C (expandToc): fix crash when there is no document
8891         open
8892
8893 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8894
8895         * many files: Add insetwrap.
8896
8897 2002-09-09  John Levon  <levon@movementarian.org>
8898
8899         * text2.C: remove confusing and awkward depth wraparound
8900
8901 2002-09-09  John Levon  <levon@movementarian.org>
8902
8903         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8904
8905         * buffer.h:
8906         * buffer.C: remove getIncludeonlyList()
8907
8908         * paragraph.C:
8909         * lyxfunc.C: remove headers
8910
8911 2002-09-09  Juergen Vigna  <jug@sad.it>
8912
8913         * text.C (getColumnNearX): fix form Michael this is most
8914         probably a cut&paste bug.
8915
8916 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8917
8918         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8919
8920         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8921         references, ws changes.
8922
8923         * text2.C (init): update counters after init
8924         (insertParagraph): no need to set counter on idividual paragraphs.
8925         (setCounter): access the counters object in the textclass object
8926         on in the buffer object.
8927         (updateCounters): ditto
8928
8929         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8930         shared_ptr<Counters> to avoid loading counters.h in all
8931         compilation units.
8932         (LyXTextClass): initialize ctrs_
8933         (TextClassTags): add TC_COUNTER, and ...
8934         (Read): use it here.
8935         (CounterTags): new tags
8936         (readCounter): new function
8937         (counters): new funtion
8938         (defaultLayoutName): return a const reference
8939
8940         * counters.C (Counters): remove contructor
8941         (newCounter): remove a couple of unneeded statements.
8942         (newCounter): simplify a bit.
8943         (numberLabel): some small formatting changes.
8944
8945         * buffer.[Ch]: remove all traces of counters, move the Counters
8946         object to the LyXTextClass.
8947
8948 2002-09-06  Alain Castera  <castera@in2p3.fr>
8949
8950         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8951         package to set the horizontal alignment on fixed width columns.
8952
8953         * lyx_sty.C:
8954         * lyx_sty.h: added tabularnewline macro def.
8955
8956         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8957
8958 2002-09-06  John Levon  <levon@movementarian.org>
8959
8960         * LyXAction.C: tooltips for sub/superscript
8961
8962         * MenuBackend.C: a bit more verbose
8963
8964         * lyxfunc.C: tiny clean
8965
8966         * undo_funcs.C: document undo_frozen
8967
8968 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8969
8970         * counters.C (Counters): add missing algorithm counter.
8971
8972         * text2.C (setCounter): lookup the counter with layouts latexname
8973         instead of by section number.
8974         (setCounter): use a hackish way to lookup the correct enum
8975         counter.
8976         a float name->type change
8977         reset enum couners with counter name directly instead of depth value.
8978
8979         * counters.C (Counters): remove the push_backs, change to use the
8980         float type not the float name.
8981         (labelItem): remove unused string, float name->type change
8982
8983         * counters.h: don't include vector, loose the enums and sects vectors
8984
8985 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8986
8987         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8988         (Read): add float->TC_FLOAT to textclassTags
8989         (Read): and handle it in the switch
8990         (readFloat): new function
8991
8992         * FloatList.C (FloatList): comment out the hardcoded float
8993         definitions.
8994
8995         * lyxlayout.h: ws change.
8996
8997 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8998
8999         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9000
9001 2002-09-03  Angus Leeming  <leeming@lyx.org>
9002
9003         * BufferView_pimpl.h: qualified name is not allowed in member
9004         declaration: WorkArea & Pimpl::workarea() const;
9005
9006         * factory.C: added using std::endl directive.
9007
9008         * text3.C: added using std::find and std::vector directives.
9009
9010 2002-08-29  André Pönitz <poenitz@gmx.net>
9011
9012         * lyxtext.h:
9013         * text2.C: remove unused member number_of_rows
9014
9015         * Makefile.am:
9016         * BufferView2.C: remove file, move contents to...
9017         * BufferView.C: ... here
9018
9019         * BufferView_pimpl.C:
9020         * factory.C: move more inset creation to factory
9021
9022         * vspace.C: avoid direct usage of LyXText, ws changes
9023
9024         * BufferView.[Ch]:
9025                 don't provide direct access to WorkArea, use two simple
9026                 acessors haveSelction() and workHeight() instead
9027
9028
9029 2002-08-29  John Levon  <levon@movementarian.org>
9030
9031         * BufferView_pimpl.C (dispatch): do not continue when
9032           no buffer
9033
9034 2002-08-28  André Pönitz <poenitz@gmx.net>
9035
9036         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9037
9038         * BufferView.h:
9039         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9040
9041 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9042
9043         * buffer.C: increment LYX_FORMAT to 221
9044
9045         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9046         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9047
9048         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9049
9050         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9051
9052 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9053
9054         * factory.C (createInset): use LyXTextClass::floats
9055
9056         * MenuBackend.C (expandFloatListInsert):
9057         (expandFloatInsert):
9058         (expandToc):
9059
9060         * text2.C (setCounter):
9061
9062         * LaTeXFeatures.C (useFloat):
9063         (getFloatDefinitions):
9064
9065         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9066
9067         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9068         floatlist_, with accessor floats().
9069
9070         * FloatList.h: remove global FloatList
9071
9072 2002-08-26  André Pönitz <poenitz@gmx.net>
9073
9074         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9075
9076         * BufferView.h:
9077         * BufferView2.C:
9078         * BufferView_pimpl.C:
9079         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9080
9081 2002-08-25  John Levon  <levon@movementarian.org>
9082
9083         * LyXAction.C: fix margin note description
9084
9085 2002-08-24  John Levon  <levon@movementarian.org>
9086
9087         * buffer.C:
9088         * bufferlist.C:
9089         * bufferview_funcs.C:
9090         * lyxfont.C:
9091         * undo_funcs.C: cleanups
9092
9093         * lyxfunc.C: disable CUT/COPY when no selection
9094
9095 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9096
9097         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9098         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9099
9100         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9101         Add backward compatibility to "mono", "gray" and "no".
9102
9103 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9104
9105         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9106         (and file_format >= 200).
9107
9108 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9109
9110         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9111
9112 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9113
9114         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9115
9116 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9117
9118         * BufferView_pimpl.C:
9119         * LyXAction.C:
9120         * buffer.C:
9121         * commandtags.h:
9122         * lyxfunc.C:
9123         * paragraph.[Ch]:
9124         * text2.C:
9125         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9126         inset and code to make it  work with the paragraph code. The inset
9127         can be anywhere in the paragraph, but will only do the expected
9128         thing in LaTeX if the layout file contains the parameter line
9129                         OptionalArgs    1
9130         (or more generally, a nonzero value) for that layout.
9131
9132 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9133
9134         * paragraph.h: remove the declaration of undefined counters class
9135         function.
9136
9137 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9138
9139         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9140         Dr. Richard Hawkins.
9141
9142 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9143
9144         * paragraph_funcs.h: remove some unneeded includes
9145
9146         * text.C (backspace): pasteParagraph now in global scipe
9147
9148         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9149         (pasteSelection): ditto
9150
9151         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9152         * paragraph_funcs.C (pasteParagraph): ... here
9153
9154 2002-08-20  André Pönitz <poenitz@gmx.net>
9155
9156         * commandtags.h: new LFUNs for swapping/copying table row/colums
9157
9158         * LyXAction.C:
9159         * lyxfunc.C: support for new lfuns
9160
9161 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9162
9163         * tabular.C:
9164         * buffer.[Ch]: remove NO_COMPABILITY stuff
9165
9166 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9167
9168         * boost.C (throw_exception): new file, with helper function for
9169         boost compiled without exceptions.
9170
9171         * paragraph.h:
9172         * lyxlength.C:
9173         * buffer.C:
9174         * ParameterStruct.h:
9175         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9176
9177         * bufferlist.C (emergencyWriteAll): use boost bind
9178
9179         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9180
9181         * text.C: include paragraph_funcs.h
9182         (breakParagraph): breakParagraph is now in global scope
9183
9184         * paragraph_funcs.[Ch]: new files
9185
9186         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9187         global scope
9188
9189         * buffer.C: include paragraph_funcs.h
9190         (insertStringAsLines): breakParagraph is now in global scope
9191
9192         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9193         paragraph_funcs.C
9194
9195         * CutAndPaste.C: include paragraph_funcs.h
9196         (cutSelection): breakParagraphConservative is now in global scope
9197         (pasteSelection): ditto
9198
9199         * buffer.h: declare oprator== and operator!= for
9200         Buffer::inset_iterator
9201
9202         * bufferlist.C (emergencyWrite): don't use fmt(...)
9203
9204         * text3.C: add using std::endl
9205
9206         * BufferView.C (moveCursorUpdate): remove default arg
9207
9208 2002-08-20  André Pönitz <poenitz@gmx.net>
9209
9210         * buffer.[Ch]: move inline functions to .C
9211
9212         * BufferView2.C:
9213         * BufferView_pimpl.C:
9214         * text.C:
9215         * buffer.[Ch]: use improved inset_iterator
9216
9217         * buffer.C:
9218         * paragraph.[Ch]: write one paragraph at a time
9219
9220 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9221
9222         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9223         style if style is not specified.
9224
9225 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9226
9227         * text2.C (setCounter): when searching for right label for a
9228         caption, make sure to recurse to parent insets (so that a caption
9229         in a minipage in a figure float works) (bug #568)
9230
9231 2002-08-20  André Pönitz <poenitz@gmx.net>
9232
9233         * text3.C: new file for LyXText::dispatch() and helpers
9234
9235         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9236
9237         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9238
9239 2002-08-19  André Pönitz <poenitz@gmx.net>
9240
9241         * lyxtext.h:
9242         * text.C: new LyXText::dispatch()
9243
9244         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9245
9246 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9247
9248         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9249
9250         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9251         Hebrew text.
9252
9253 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9254
9255         * Makefile.am: use $(variables) instead of @substitutions@
9256
9257 2002-08-15  André Pönitz <poenitz@gmx.net>
9258
9259         * lyxfunc.C:
9260         * BufferView_pimpl.C: streamlining mathed <-> outer world
9261         interaction
9262
9263         * commandtags.h:
9264         * LyXAction.C: remove unused LFUN_MATH
9265
9266 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9267
9268         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9269
9270 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9271
9272         * paragraph.C (Paragraph): reformat a bit
9273         (cutIntoMinibuffer): use builtin InsetList function instad of
9274         doing it manually.
9275         (getInset): ditto
9276
9277         * buffer.C: include boost/bind.hpp, add using std::for_each
9278         (writeFileAscii): use ParagraphList iterators
9279         (validate): use for_each for validate traversal of paragraphs
9280         (getBibkeyList): use ParagraphList iterators
9281         (resizeInsets): use for_each to resizeInsetsLyXText for all
9282         paragraphs.
9283         (getParFromID): use ParagraphList iterators
9284
9285         * BufferView2.C (lockInset): use paragraph list and iterators
9286
9287 2002-08-14  John Levon  <levon@movementarian.org>
9288
9289         * lyxserver.C: remove spurious xforms include
9290
9291 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9292
9293         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9294
9295 2002-08-13  André Pönitz <poenitz@gmx.net>
9296
9297         * LyXAction.[Ch]:
9298         * lyxfunc.C: further cleaning
9299
9300 2002-08-13  André Pönitz <poenitz@gmx.net>
9301
9302         * funcrequest.h: new constructor
9303
9304         * funcrequest.C: move stuff here from .h
9305
9306         * Makefile.am:
9307         * BufferView_pimpl.C:
9308         * LyXAction.C:
9309         * toc.C:
9310         * lyxfunc.C: subsequent changes
9311
9312         * lyxfunc.h: new view() member function
9313
9314         * lyxfunc.C: subsequent changes
9315
9316 2002-08-13  Angus Leeming  <leeming@lyx.org>
9317
9318         * BufferView2.C:
9319         * BufferView_pimpl.C:
9320         * buffer.C:
9321         * converter.C:
9322         * importer.C:
9323         * lyxfunc.C:
9324         * lyxvc.C:
9325         * toc.C:
9326         * vc-backend.C:
9327         changes due to the changed LyXView interface that now returns references
9328         to member variables not pointers.
9329
9330 2002-08-13  Angus Leeming  <leeming@lyx.org>
9331
9332         * WordLangTuple (word, lang_code): return references to strings,
9333         not strings.
9334
9335         * BufferView.h:
9336         * SpellBase.h:
9337         * lyxtext.h: forward-declare WordLangTuple.
9338
9339         * BufferView2.C:
9340         * ispell.C:
9341         * pspell.C:
9342         * text.C: #include "WordLangTuple.h".
9343
9344         * lyxtext.h:
9345         * text.C: (selectNextWordToSpellcheck): constify return type.
9346
9347 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9348
9349         * buffer.C:
9350         * buffer.h:
9351         * lyxtext.h:
9352         * paragraph.C:
9353         * paragraph_pimpl.h:
9354         * text.C:
9355         * text2.C:
9356         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9357         suggested by Angus.
9358         Made updateCounter always count from start of buffer, and removed
9359         second argument (par).
9360         Reverted floats number display to '#'. Perhaps I'll try again when the
9361         code base is sanitized a bit.
9362
9363 2002-08-12  Angus Leeming  <leeming@lyx.org>
9364
9365         * buffer.[Ch] (getLabelList): constify.
9366
9367 2002-08-07  André Pönitz <poenitz@gmx.net>
9368
9369         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9370
9371         * funcrequest.h: extension to keep mouse (x,y) position
9372
9373 2002-08-12  Juergen Vigna  <jug@sad.it>
9374
9375         * BufferView2.C (insertErrors): forbid undo when inserting error
9376         insets.
9377
9378         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9379
9380 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9381
9382         * ParagraphList.[Ch]: new files
9383
9384         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9385
9386         * BufferView2.C (lockInset): ParagraphList changes
9387         * toc.C: ditto
9388         * text2.C: ditto
9389         * bufferlist.C: ditto
9390         * buffer.h: ditto
9391         * buffer.C: ditto
9392
9393 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9394
9395         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9396         unused class variable counter_,
9397
9398         * paragraph.[Ch] (getFirstCounter): delete unused function
9399
9400         * counters.C: include LAssert.h
9401         (reset): add a new function with no arg, change other version to
9402         not have def. arg and to not allow empty arg.
9403
9404         * text2.C (setCounter): remove empty arg from call to Counters::reset
9405
9406 2002-08-11  John Levon  <levon@movementarian.org>
9407
9408         * Makefile.am: add WordLangTuple.h
9409
9410 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9411
9412         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9413         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9414
9415         * insets/insettext.C: InsetList changes
9416
9417         * graphics/GraphicsSupport.C (operator()): InsetList changes
9418
9419         * toc.C (getTocList): InsetList changes
9420
9421         * paragraph_pimpl.[Ch]: InsetList changes
9422
9423         * paragraph.[Ch]: InsetList changes
9424
9425         * buffer.C (inset_iterator): InsetList changes
9426         (setParagraph): ditto
9427         * buffer.h (inset_iterator): ditto
9428         * iterators.C (operator++): ditto
9429         * iterators.h: ditto
9430
9431         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9432
9433         * InsetList.[Ch]: new files, most InsetList handling moved out of
9434         paragraph.C.
9435
9436         * BufferView2.C (removeAutoInsets): InsetList changes
9437         (lockInset): ditto
9438         (ChangeInsets): ditto
9439
9440 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9441
9442         * paragraph_pimpl.h (empty): new function
9443
9444         * paragraph.[Ch] (empty): new function
9445
9446         * other files: use the new Paragraph::empty function
9447
9448 2002-08-09  John Levon  <levon@movementarian.org>
9449
9450         * lyxtext.h: remove unused refresh_height
9451
9452 2002-08-09  John Levon  <levon@movementarian.org>
9453
9454         * Makefile.am:
9455         * sgml.h:
9456         * sgml.C:
9457         * buffer.C:
9458         * paragraph.h:
9459         * paragraph.C: move sgml char escaping out of paragraph
9460
9461         * paragraph.h:
9462         * paragraph.C: remove id setter
9463
9464         * buffer.C:
9465         * paragraph.C:
9466         * paragraph_pimpl.C: remove dead tex_code_break_column
9467
9468         * bufferview_funcs.C: small cleanup
9469
9470         * lyxfunc.C: remove dead proto
9471
9472         * lyxtext.h: make some stuff private. Remove some dead stuff.
9473
9474         * lyxgluelength.C: make as[LyX]String() readable
9475
9476 2002-08-08  John Levon  <levon@movementarian.org>
9477
9478         * LyXAction.h:
9479         * LyXAction.C:
9480         * MenuBackend.C:
9481         * ToolbarDefaults.C:
9482         * lyxfunc.C:
9483         * lyxrc.C:
9484         * toc.C: lyxaction cleanup
9485
9486 2002-08-08  John Levon  <levon@movementarian.org>
9487
9488         * BufferView2.C: small cleanup
9489
9490         * lyxfind.h:
9491         * lyxfind.C: move unnecessary header into the .C
9492
9493 2002-08-08  John Levon  <levon@movementarian.org>
9494
9495         * funcrequest.h: just tedious nonsense
9496
9497         * lyx_main.h:
9498         * lyx_main.C: cleanups
9499
9500         * buffer.C:
9501         * vspace.C: remove dead header lyx_main.h
9502
9503 2002-08-07  Angus Leeming  <leeming@lyx.org>
9504
9505         * Paragraph.[Ch]:
9506         * paragraph_pimpl.h:
9507         Forward declare class Counters in paragraph.h by moving the ctrs member
9508         variable into Paragraph::Pimpl.
9509         (counters): new method, returning a reference to pimpl_->ctrs.
9510
9511         * text2.C: ensuing changes.
9512
9513 2002-08-07  John Levon  <levon@movementarian.org>
9514
9515         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9516
9517         * BufferView_pimpl.C: announce X selection on double/triple
9518           click
9519
9520         * lyx_main.C: use correct bool in batch dispatch
9521
9522         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9523
9524 2002-08-07  André Pönitz <poenitz@gmx.net>
9525
9526         * funcrequest.h: new class to wrap a kb_action and its argument
9527
9528         * BufferView.[Ch]:
9529         * BufferView_pimpl[Ch]:
9530         * LaTeX.C:
9531         * LyXAction.[Ch]:
9532         * lyxfunc.[Ch]:
9533         * lyxrc.C: subsequent changes
9534
9535
9536 2002-08-07  John Levon  <levon@movementarian.org>
9537
9538         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9539           document options change.
9540
9541 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9542
9543         * counters.[Ch]
9544         * text2.C
9545         * paragraph.[Ch]
9546         * makefile.am: move counters functionality over from
9547         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9548
9549 2002-08-06  John Levon  <levon@movementarian.org>
9550
9551         * WordLangTuple.h: new file for word + language code tuple
9552
9553         * SpellBase.h:
9554         * pspell.h:
9555         * pspell.C:
9556         * ispell.h:
9557         * ispell.C:
9558         * lyxtext.h:
9559         * text.C:
9560         * text2.C:
9561         * BufferView.h:
9562         * BufferView2.C: use WordLangTuple
9563
9564         * layout.h:
9565         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9566
9567 2002-08-06  John Levon  <levon@movementarian.org>
9568
9569         * lyx_main.C: fix cmdline batch handling
9570
9571 2002-08-06  André Pönitz <poenitz@gmx.net>
9572
9573         * lyxrc.C: set default for show_banner to true
9574
9575 2002-08-06  John Levon  <levon@movementarian.org>
9576
9577         * pspell.C: fix a crash, and allow new aspell to work
9578
9579 2002-08-06  John Levon  <levon@movementarian.org>
9580
9581         * lyxfunc.C:
9582         * kbmap.C: small cleanup
9583
9584         * vspace.h:
9585         * vspace.C: add const
9586
9587 2002-08-05  John Levon  <levon@movementarian.org>
9588
9589         * LyXAction.C: back to tabular-insert
9590
9591 2002-08-04  John Levon  <levon@movementarian.org>
9592
9593         * BufferView.h:
9594         * BufferView.C: cosmetic change
9595
9596         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9597
9598         * bufferlist.C:
9599         * buffer.h:
9600         * buffer.C:
9601         * lyxcb.h:
9602         * lyxcb.C:
9603         * lyxserver.C:
9604         * lyxvc.C:
9605         * vc-backend.C:
9606         * BufferView2.C: purge all "Lyx" not "LyX" strings
9607
9608         * lyxcursor.h:
9609         * lyxcursor.C: attempt to add some documentation
9610
9611         * lyxfunc.C:
9612         * commandtags.h:
9613         * LyXAction.C:
9614         * ToolbarDefaults.C:
9615         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9616           merge with LFUN_TABULAR_INSERT
9617
9618         * Makefile.am:
9619         * SpellBase.h:
9620         * ispell.h:
9621         * ispell.C:
9622         * pspell.h:
9623         * pspell.C: split up i/pspell implementations into separate
9624           files, many cleanups
9625
9626         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9627
9628         * text2.C: some cleanup
9629
9630         * lyxfunc.C: don't check for isp_command == "none" any more, it
9631           didn't make any sense
9632
9633 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9634
9635         * counters.[Ch]
9636         * text2.C
9637         * paragraph.[Ch]
9638         * makefile.am: move counters functionality over
9639         from text2.C/paragraph.[Ch] to counters.[Ch], and
9640         make proper C++.
9641 2002-08-02  John Levon  <levon@movementarian.org>
9642
9643         * buffer.C: s/lyxconvert/lyx2lyx/
9644
9645 2002-08-02  Angus Leeming  <leeming@lyx.org>
9646
9647         * lyxlex.C: revert John's change as it breaks reading of the user
9648         preamble.
9649
9650 2002-08-02  Angus Leeming  <leeming@lyx.org>
9651
9652         * importer.C (Import):
9653         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9654         changes due to LyXView::view() now returning a boost::shared_ptr.
9655
9656 2002-08-02  John Levon  <levon@movementarian.org>
9657
9658         * lyxlex.C: small cleanup
9659
9660 2002-08-02  John Levon  <levon@movementarian.org>
9661
9662         * text2.C (status): small cleanup, no logic change
9663
9664 2002-08-01  John Levon  <levon@movementarian.org>
9665
9666         * buffer.h:
9667         * buffer.C (writeFile): don't output alerts, caller
9668           handles this
9669
9670         * bufferlist.C:
9671         * lyx_cb.C: from above
9672
9673         * lyxfunc.C: allow to open non-existent files
9674
9675 2002-07-31  John Levon  <levon@movementarian.org>
9676
9677         * lyxserver.C: don't let incidental errors get
9678           in the way (errno)
9679
9680 2002-07-30  John Levon  <levon@movementarian.org>
9681
9682         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9683
9684 2002-07-30  John Levon  <levon@movementarian.org>
9685
9686         * lyxserver.h:
9687         * lyxserver.C: remove I/O callback too
9688
9689 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9690
9691         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9692         log.
9693
9694 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9695
9696         * many files: strip,frontStrip -> trim,ltrim,rtrim
9697
9698 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9699
9700         * PrinterParams.h: remove extern containsOnly, and include
9701         support/lstrings.h instead.
9702
9703         * LaTeX.C (scanAuxFile): modify because of strip changes
9704         (deplog): ditto
9705         * buffer.C (makeLaTeXFile): ditto
9706         * bufferparams.C (writeFile): ditt
9707         * lyxfont.C (stateText): ditto
9708         * lyxserver.C (read_ready): ditto
9709         * vc-backend.C (scanMaster): ditto
9710
9711         * BufferView_pimpl.h: ws changes
9712
9713         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9714
9715 2002-07-26  André Pönitz <poenitz@gmx.net>
9716
9717         * kb_sequence.C: remove unnedred usings
9718
9719 2002-07-26  Juergen Vigna  <jug@sad.it>
9720
9721         * lyxfind.C (LyXReplace): we have to check better if the returned
9722         text is not of theLockingInset()->getLockingInset().
9723
9724 2002-07-25  Juergen Vigna  <jug@sad.it>
9725
9726         * lyxfind.C (LyXReplace): don't replace if we don't get the
9727         right LyXText.
9728
9729         * undo_funcs.C (createUndo): remove debugging code.
9730
9731 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9732
9733         * buffer.C (parseSingleLyXformat2Token): Use default placement
9734         when reading old floats.
9735
9736         * FloatList.C (FloatList): Change the default placement of figure
9737         and tables to "tbp".
9738
9739 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9740
9741         * MenuBackend.C: using std::max
9742
9743 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9744
9745         * MenuBackend.C (expandToc):
9746         (expandToc2): code moved from xforms menu frontend. It is now
9747         generic and TOCs are transparent to menu frontends.
9748
9749 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9750
9751         * toc.C (getTocList): protect against buf=0
9752
9753         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9754         Menu as first parameter. Now, this calls itself recursively to
9755         expand a whole tree (this will be useful for TOC handling)
9756         (expandFloatInsert): remove 'wide' version of floats
9757
9758         * MenuBackend.h (submenuname): returns the name of the submenu.
9759         (submenu): returns the submenu itself, provided it has been
9760         created by MenuBackend::expand
9761
9762 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9763
9764         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9765         insets which have noFontChange == true. (bug #172)
9766
9767 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9768
9769         * BufferView_pimpl.C: add connection objects and use them...
9770         (Pimpl): here.
9771
9772 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9773
9774         * MenuBackend.C (expandLastfiles):
9775         (expandDocuments):
9776         (expandFormats):
9777         (expandFloatListInsert):
9778         (expandFloatInsert):
9779         (expand): split expand in parts
9780
9781 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9782
9783         * lyx_gui.C: use lyx_gui::exit()
9784
9785 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9786
9787         * LyXAction.C: show the failing pseudo action
9788
9789 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9790
9791         * buffer.C (readFile): Run the lyxconvert script in order to read
9792         old files.
9793
9794 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9795
9796         * LyXAction.C:
9797         * commandtags.h:
9798         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9799
9800 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9801
9802         * LyXAction.C:
9803         * commandtags.h:
9804         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9805
9806 2002-07-22  Herbert Voss  <voss@lyx.org>
9807
9808         * lengthcommon.C:
9809         * lyxlength.[Ch]: add support for the vertical lengths
9810
9811 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9812
9813         * toc.[Ch]: std:: fixes
9814
9815 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9816
9817         * lyxrc.C: do not include lyx_main.h
9818
9819         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9820         for layouts
9821
9822         * lyxrc.C:
9823         * encoding.C:
9824         * bufferlist.C:
9825         * BufferView2.C: include "lyxlex.h"
9826
9827         * tabular.h:
9828         * bufferparams.h: do not #include "lyxlex.h"
9829
9830         * lyxtextclasslist.C (Add): remove method
9831         (classlist): renamed to classlist_
9832
9833         * paragraph_pimpl.C:
9834         * paragraph.C:
9835         * text2.C:
9836         * CutAndPaste.C:
9837         * bufferview_funcs.C:
9838         * bufferlist.C:
9839         * text.C:
9840         * LaTeXFeatures.C:
9841         * buffer.C:
9842         * toc.C (getTocList): use BufferParams::getLyXTextClass
9843
9844         * toc.C (getTocList): use InsetFloat::addToToc
9845
9846         * toc.[Ch]: new files, containing helper functions to handle table
9847         of contents
9848
9849         * lyxfunc.C (dispatch): no need to remove spaces around command
9850         given as a string
9851         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9852         first command of the sequence; it is not very clever, but I do not
9853         have a better idea, actually
9854
9855         * LyXAction.C (LookupFunc): make sure to remove space at the
9856         beginning and end of the command
9857
9858 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9859
9860         * MenuBackend.C (getMenubar): new method: return the menubar of
9861         this menu set
9862         (read): treat differently reading of menu and menubar (in
9863         particular, the menubar has no name now)
9864         (Menu::menubar): remove
9865
9866         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9867         saving is finished
9868
9869 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9870
9871         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9872         a bibitem inset in a RTL paragraph.
9873
9874 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9875
9876         * paragraph_pimpl.C: constify
9877
9878         * BufferView_pimpl.C:
9879         * LaTeX.C:
9880         * lyxfunc.C: fix dispatch in a nicer way
9881
9882 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9883
9884         * lyxfunc.C (dispatch):
9885         * BufferView_pimpl.C:
9886         * BufferView_pimpl.h:
9887         * BufferView.C:
9888         * BufferView.h: rename Dispatch() to dispatch()
9889
9890         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9891
9892         * lyxlayout.C (Read): honor DependsOn tag
9893
9894         * lyxlayout.[Ch] (depends_on): new method
9895
9896         * version.C.in: update lyx_docversion
9897
9898         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9899
9900         * paragraph.C (validate): remove from here...
9901         * paragraph_pimpl.C (validate): ... and move here
9902         (isTextAt): make it const
9903
9904         * buffer.C (getLists): ws cleanup
9905
9906 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9907
9908         * language.C (read): Use iso8859-1 encoding in latex_lang
9909         (this prevents LyX from crashing when using iso10646-1 encoding).
9910
9911 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9912
9913         * text2.C (toggleInset): if cursor is inside an inset, close the
9914         inset and leave cursor _after_ it
9915
9916 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9917
9918         * lyxfunc.C: move minibuffer completion handling out of here
9919
9920 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9921
9922         * BufferView_pimpl.C:
9923         * LaTeX.C: fix dispatch calls
9924
9925 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9926
9927         * text.C (drawChars): Fix Arabic text rendering.
9928
9929 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9930
9931         * LyXAction.C:
9932         * commandtags.h:
9933         * lyxfunc.C: remove message-push/pop
9934
9935         * lyxserver.C:
9936         * lyxfunc.h:
9937         * lyxfunc.C: rationalise some code by removing verboseDispatch
9938           in favour of a bool argument to dispatch()
9939
9940 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9941
9942         * lyx_main.C (init): make sure to read symlinks as absolute paths
9943
9944 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9945
9946         * lyxfunc.h:
9947         * lyxfunc.C: no need for commandshortcut to be a member
9948
9949 2002-07-15  André Pönitz <poenitz@gmx.net>
9950
9951         * converter.C: add support for $$s (scripts from lib/scripts dir)
9952         * lyx_main.C: white space
9953
9954 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9955
9956         * bufferlist.C:
9957         * lyxrc.h:
9958         * lyxrc.C: remove second exit confirmation
9959
9960 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9961
9962         * BufferView.h:
9963         * BufferView.C:
9964         * BufferView2.C:
9965         * BufferView_pimpl.h:
9966         * BufferView_pimpl.C:
9967         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9968
9969 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9970
9971         * MenuBackend.C (expand): add numeric shortcuts to document menu
9972
9973         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9974
9975 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9976
9977         * lyxfont.C (setLyXFamily):
9978         (setLyXSeries):
9979         (setLyXShape):
9980         (setLyXSize):
9981         (setLyXMisc):
9982         (lyxRead):
9983         * debug.C (value):
9984         * buffer.C (asciiParagraph): use ascii_lowercase
9985
9986 2002-07-15  Mike Fabian  <mfabian@suse.de>
9987
9988         * lyxlex_pimpl.C (search_kw):
9989         * lyxlex.C (getLongString):
9990         * converter.h (operator<):
9991         * converter.C (operator<):
9992         * buffer.C (parseSingleLyXformat2Token):
9993         (asciiParagraph):
9994         * ToolbarDefaults.C (read):
9995         * MenuBackend.C (checkShortcuts):
9996         (read):
9997         * LColor.C (getFromGUIName):
9998         (getFromLyXName): use the compare_ascii_no_case instead of
9999         compare_no_case, because in turkish, 'i' is not the lowercase
10000         version of 'I', and thus turkish locale breaks parsing of tags.
10001
10002 2002-07-16  Angus Leeming  <leeming@lyx.org>
10003
10004         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10005         now takes a Buffer const & argument.
10006
10007 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10008
10009         * BufferView.C (resize): check there's a buffer to resize
10010
10011 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10012
10013         * lyxfunc.C: remove dead code
10014
10015         * lyxserver.h:
10016         * lyxserver.C: use lyx_guii::set_read_callback
10017
10018 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10019
10020         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10021         an inset in a RTL paragraph.
10022
10023 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10024
10025         * lyxfunc.C: repaint after a font size update
10026
10027 2002-07-15  André Pönitz <poenitz@gmx.net>
10028
10029         * lyxlength.C: inBP should be able to return negative values
10030
10031 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10032
10033         * lyxfunc.C: use lyx_gui::update_fonts()
10034
10035 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10036
10037         * lyxfunc.C: use lyx_gui::update_color()
10038
10039 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10040
10041         * bufferlist.C:
10042         * lyxfunc.h:
10043         * lyxfunc.C:
10044         * lyxrc.h:
10045         * lyxrc.C: remove file->new asks for name option, and let
10046           buffer-new take an argument
10047
10048 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10049
10050         * BufferView_pimpl.C: remove unneeded extra repaint()
10051
10052 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10053
10054         * LyXAction.C: allow command-sequence with NoBuffer
10055
10056         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10057
10058 2002-07-10  Angus Leeming  <leeming@lyx.org>
10059
10060         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10061
10062 2002-07-09  Angus Leeming  <leeming@lyx.org>
10063
10064         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10065
10066 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10067
10068         * lengthcommon.h: whitespace
10069
10070         * lyxfunc.C: update scrollbar after goto paragraph
10071
10072         * lyxtext.h: factor out page break drawing, and fix it so
10073           page break/added space paints as selected nicely
10074
10075 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10076
10077         * BufferView_pimpl.C: add FIXMEs, clean up a little
10078
10079 2002-07-09  André Pönitz <poenitz@gmx.net>
10080
10081         * lyxfont.[Ch]: support for wasy symbols
10082
10083 2002-07-08  André Pönitz <poenitz@gmx.net>
10084
10085         * BufferView_pimpl.C: apply John's patch for #93.
10086
10087 2002-07-05  Angus Leeming  <leeming@lyx.org>
10088
10089         * BufferView_pimpl.C (buffer): generate previews if desired.
10090
10091         * LColor.h: add "preview" to the color enum.
10092
10093         * LColor.C (LColor): add a corresponding entry to the items array.
10094
10095         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10096         with this buffer.
10097
10098 2002-07-05  Angus Leeming  <leeming@lyx.org>
10099
10100         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10101         The body of the code is now in the method that is passed an ostream &
10102         rather than a file name.
10103         Pass an additional only_preamble parameter, useful for the forthcoming
10104         preview stuff.
10105
10106 2002-07-03  André Pönitz <poenitz@gmx.net>
10107
10108         * lyxfunc.C: simplify getStatus() a bit for math stuff
10109
10110 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10111
10112         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10113
10114 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10115
10116         * text.C (changeRegionCase): do not change case of all the
10117         document when region ends at paragraph end (bug #461)
10118
10119 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10120
10121         * paragraph.C (startTeXParParams):
10122         (endTeXParParams): add \protect when necessary
10123
10124 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10125
10126         * BufferView_pimpl.C (workAreaExpose): remove warning
10127
10128 2002-06-27  Angus Leeming  <leeming@lyx.org>
10129
10130         * Makefile.am: add lyxlayout_ptr_fwd.h.
10131
10132 2002-06-26  André Pönitz <poenitz@gmx.net>
10133
10134         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10135
10136 2002-06-25  Angus Leeming  <leeming@lyx.org>
10137
10138         * lyxfunc.C (dispatch): Comment out the call to
10139         grfx::GCache::changeDisplay. The method no longer exists now that the
10140         pixmap generation part of the graphics loader has been moved into
10141         InsetGraphics.
10142
10143 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10144
10145         * text2.C: layout as layout
10146
10147         * text.C: layout as layout
10148
10149         * tabular.C (OldFormatRead): layout as layout
10150
10151         * paragraph_pimpl.C (TeXDeeper): layout as layout
10152         (realizeFont): layout as layout
10153
10154         * paragraph.C (writeFile): layout as layout
10155         (validate): layout as layout
10156         (getFont): layout as layout
10157         (getLabelFont): layout as layout
10158         (getLayoutFont): layout as layout
10159         (breakParagraph): layout as layout
10160         (stripLeadingSpaces): layout as layout
10161         (getEndLabel): layout as layout
10162         (getMaxDepthAfter): layout as layout
10163         (applyLayout): layout as layout
10164         (TeXOnePar): layout as layout
10165         (simpleTeXOnePar): layout as layout
10166         (TeXEnvironment): layout as layout
10167         (layout): layout as layout
10168         (layout): layout as layout
10169
10170         * lyxtextclass.C (compare_name): new functor to work with
10171         shared_ptr, layout as layout
10172         (Read): layout as layout
10173         (hasLayout): layout as layout
10174         (operator): layout as layout
10175         (delete_layout): layout as layout
10176         (defaultLayout): layout as layout
10177
10178         * lyxlayout_ptr_fwd.h: new file
10179
10180         * lyxlayout.C (Read): layout as layout
10181
10182         * lyx_cb.C (MenuInsertLabel): layout as layout
10183
10184         * bufferlist.C (newFile): layout as layout
10185
10186         * buffer.C (readLyXformat2): layout as layout
10187         (parseSingleLyXformat2Token): layout as layout
10188         (insertStringAsLines): layout as layout
10189         (asciiParagraph): layout as layout
10190         (latexParagraphs): layout as layout
10191         (makeLinuxDocFile): layout as layout
10192         (simpleLinuxDocOnePar): layout as layout
10193         (makeDocBookFile): layout as layout
10194         (simpleDocBookOnePar): layout as layout
10195         (getLists): layout as layout
10196
10197         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10198
10199         * CutAndPaste.C (cutSelection): layout as layout
10200         (pasteSelection): layout as layout
10201         (SwitchLayoutsBetweenClasses): layout as layout
10202
10203         * BufferView_pimpl.C (Dispatch): layout as layout
10204         (smartQuote): layout as layout
10205
10206         * BufferView2.C (unlockInset): layout as layout
10207
10208 2002-06-24  André Pönitz <poenitz@gmx.net>
10209
10210         * lyxfunc.C: fix #487
10211
10212 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10213
10214         * lyxrc.h:
10215         * lyxrc.C:
10216         * lyxfunc.C: remove display_shortcuts, show_banner
10217
10218 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10219
10220         * Buffer_pimpl.C: oops, update on resize
10221
10222 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10223
10224         * buffer.C:
10225         * converter.C:
10226         * exporter.C:
10227         * lyxfunc.C:
10228         * BufferView.h:
10229         * BufferView.C: use repaint()
10230
10231         * BufferView_pimpl.h:
10232         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10233           as it's a clearer description. Remove superfluous
10234           redraws.
10235
10236 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10237
10238         * text.C: fix bug 488. Not ideal, but getting
10239           getWord() to work properly for the insets that
10240           matter is more difficult ...
10241
10242 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10243
10244         * BufferView_pimpl.C:
10245         * LyXAction.C:
10246         * commandtags.h:
10247         * lyxfunc.C: remove the six million index lyxfuncs to just
10248           one, and DTRT (bug 458)
10249
10250 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10251
10252         * BufferView.h:
10253         * BufferView.C:
10254         * BufferView_pimpl.h:
10255         * BufferView_pimpl.C: clean up resize() stuff,
10256           and unnecessary updateScreen()s
10257
10258 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10259
10260         * BufferView.h:
10261         * BufferView.C:
10262         * BufferView_pimpl.h:
10263         * BufferView_pimpl.C:
10264         * lyxfind.h:
10265         * lyxfind.C:
10266         * minibuffer.C: remove focus management of workarea,
10267           not needed. Use screen's greyOut()
10268
10269 2002-06-17  Herbert Voss  <voss@lyx.org>
10270
10271         * converter.C: (convert) do not post a message, when converting
10272         fails, let the calling function decide what to do in this case
10273
10274 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10275
10276         * lyxfunc.C: tidy up a little
10277
10278 2002-06-16    <alstrup@diku.dk>
10279
10280         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10281         Got rid of FORMS_H_LOCATION include. Now we are
10282         GUII.
10283
10284 2002-06-15  LyX Development team  <lyx@rilke>
10285
10286         * buffer.[Ch] (sgmlOpenTag):
10287         (sgmlCloseTag): Added support for avoiding pernicious mixed
10288         content. Return number of lines written.
10289
10290         (makeLinuxDocFile):
10291         (makeDocBookFile): Fixed calls to sgml*Tag.
10292         Simple white space clean.
10293
10294         (simpleDocBookOnePar): Simple white space clean.
10295
10296         * tabular.[Ch] (docBook): Renamed to docbook and got another
10297         argument to related with the pernicious mixed content.
10298
10299         (docbookRow): Fixed calls for docbook inset method.
10300
10301 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10302
10303         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10304         so it's X11 independent.
10305
10306         * kb*.[Ch]: ditto.
10307
10308         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10309
10310 2002-06-15  Lyx Development team  <lyx@electronia>
10311
10312         * intl.h: Renamed getTrans to getTransManager.
10313
10314 2002-06-14  Angus Leeming  <leeming@lyx.org>
10315
10316         * Makefile.am: nuke forgotten stl_string_fwd.h.
10317
10318 2002-06-12  Angus Leeming  <leeming@lyx.org>
10319
10320         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10321
10322 2002-06-13  Angus Leeming  <leeming@lyx.org>
10323
10324         * LaTeX.C:
10325         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10326
10327 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10328
10329         * kbmap.C (getiso): add support for cyrillic and greek
10330
10331 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10332
10333         * BufferView.h:
10334         * BufferView.C:
10335         * BufferView_pimpl.h:
10336         * BufferView_pimpl.C: move bogus scrolling logic
10337           to xforms
10338
10339 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10340
10341         * lyxfunc.C:
10342         * BufferView_pimpl.C: view->resize() change
10343
10344 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10345
10346         * BufferView_pimpl.C: topCursorVisible
10347           prototype change
10348
10349 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10350
10351         * Makefile.am:
10352         * lyx_gui.h:
10353         * lyx_gui.C: move to frontends/
10354
10355         * main.C:
10356         * lyx_main.h:
10357         * lyx_main.C: changes from above
10358
10359 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10360
10361         * intl.C:
10362         * intl.h:
10363         * kbmap.C:
10364         * kbsequence.C:
10365         * lyx_cb.C:
10366         * lyx_main.C: minor tidy
10367
10368 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10369
10370         * BufferView_pimpl.h:
10371         * BufferView_pimpl.C:
10372         * BufferView.h:
10373         * BufferView.C: make painter() const,
10374           remove dead code
10375
10376         * BufferView2.C: use screen() accessor
10377
10378         * lyx_main.h:
10379         * lyx_main.C: some minor cleanup
10380
10381 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10382
10383         * BufferView_pimpl.h:
10384         * BufferView_pimpl.C: remove enter/leaveView,
10385           use workHeight()
10386
10387 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10388
10389         * BufferView.h:
10390         * BufferView.C:
10391         * BufferView2.C:
10392         * BufferView_pimpl.h:
10393         * BufferView_pimpl.C: only construct screen once,
10394           rename
10395
10396         * lyxrc.C: remove pointless comment
10397
10398 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10399
10400         * BufferView.h:
10401         * BufferView.C: remove active() and belowMouse()
10402
10403         * BufferView_pimpl.h:
10404         * BufferView_pimpl.C: use workarea() not workarea_,
10405           and make it use a scoped_ptr instead
10406
10407 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10408
10409         * lyx_gui.C: add debug message on BadWindow
10410
10411 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10412
10413         * sp_spell.C: fdopen is not part of the C++ standard.
10414
10415         * paragraph.C (InsetIterator): use >= instead of ==
10416
10417 2002-06-07  Angus Leeming  <leeming@lyx.org>
10418
10419         Fixes needed to compile with Compaq cxx 6.5.
10420         * BufferView_pimpl.C:
10421         * DepTable.C:
10422         * buffer.C:
10423         * converter.C:
10424         * encoding.C:
10425         * lyx_gui.C:
10426         * lyx_main.C:
10427         * lyxtextclasslist.C:
10428         * minibuffer.C:
10429         * sp_spell.C:
10430         * tabular_funcs.C:
10431         * vc-backend.C:
10432         all c-library variables have been moved into namespace std. Wrap
10433         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10434
10435         * lyxlength.C:
10436         * tabular-old.C:
10437         * tabular.C:
10438         Add a using std::abs declaration.
10439
10440         * kbmap.h (modifier_pair):
10441         * paragraph.h (InsetTable, InsetList):
10442         * lyxfont.h (FontBits):
10443         type definition made public.
10444
10445         * bufferlist.C (emergencyWriteAll): the compiler complains that
10446         there is more than one possible lyx::class_fun template to choose from.
10447         I re-named the void specialisation as lyx::void_class_fun.
10448
10449         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10450
10451         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10452         the compiler is is unable to find tostr in write_attribute.
10453
10454 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10455
10456         * buffer.C (sgmlError): hide #warning
10457
10458 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10459
10460         * xtl/*: get rid of xtl, which is not in use anyway
10461
10462         * LyXAction.C (init):
10463         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10464         were unimplemented xtl experimentation
10465
10466 2002-06-04  André Pönitz <poenitz@gmx.net>
10467
10468         * lyxfunc.C: disable array operation on simple formulae
10469
10470 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10471
10472         * converter.C: constify a bit
10473
10474 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10475
10476         * lyx_gui.C: check xforms version correctly
10477
10478 2002-04-30  Herbert Voss  <voss@lyx.org>
10479
10480         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10481         "keep" option
10482
10483 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10484
10485         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10486           attempt to register it with a VCS)
10487
10488 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10489
10490         * lyx_main.C (init): honor variables LYX_DIR_13x and
10491         LYX_USERDIR_13x
10492
10493 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10494
10495         * buffer.h:
10496         * buffer.C:
10497         * lyx_main.C: fix a crash on bad command line,
10498           and give a useful exit status on error
10499
10500         * lyxfunc.C (doImport): allow -i lyx to work
10501
10502 2002-03-30  André Pönitz <poenitz@gmx.net>
10503
10504         * lyxfunc.C: mathed font changes
10505
10506 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10507
10508         * LaTeX.C:
10509         * importer.h:
10510         * importer.C:
10511         * lyx_sty.h:
10512         * lyx_sty.C:
10513         * lyxlex.C:
10514         * lyxrow.h:
10515         * lyxtext.h:
10516         * paragraph.h:
10517         * paragraph.C:
10518         * texrow.h:
10519         * texrow.C:
10520         * text.C:
10521         * trans_mgr.h: srcdocs, and some minor cleanups
10522
10523 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10524
10525         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10526         call getFont all the time)
10527
10528 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10529
10530         * switch from SigC signals to boost::signals
10531
10532 2002-05-29  André Pönitz <poenitz@gmx.net>
10533
10534         * paragraph_pimpl.C (getChar): don't call size() too often...
10535
10536 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10537
10538         * paragraph_pimpl.C (insertChar): do not try to update tables when
10539         appending (pos == size())
10540
10541         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10542         in order to reduce drastically the number of comparisons needed to
10543         parse a large document
10544
10545 2002-05-29  André Pönitz <poenitz@gmx.net>
10546
10547         * text.C:
10548         * text2.C:
10549         * lyxtextclass.C:
10550         * sp_pspell.h:
10551         * textclasslist.[Ch]:
10552         * sp_ispell.h: whitespace change
10553
10554 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10555
10556         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10557         lyxaction directly now.
10558
10559 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10560
10561         * trans.C:
10562         * lyxfont.C:
10563         * lyxvc.C: remove unused headers
10564
10565 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10566
10567         * Makefile.am:
10568         * buffer.h:
10569         * undostack.h:
10570         * undostack.C:
10571         * undo_funcs.h:
10572         * undo_funcs.C: some cleanups. Use shared_ptr
10573           and a template for the undo stacks.
10574
10575 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10576
10577         * BufferView_pimpl.h:
10578         * BufferView_pimpl.C:
10579         * kbmap.h:
10580         * kbmap.C:
10581         * kbsequence.h:
10582         * kbsequence.C:
10583         * lyxfunc.h:
10584         * lyxfunc.C:
10585         * text2.C: use key_state/mouse_state
10586
10587 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10588
10589         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10590         and LSubstring
10591
10592         * chset.C: change include order
10593         (loadFile): use boost regex and get rid of LRegex and LSubstring
10594
10595         * Makefile.am (BOOST_LIBS): new variable
10596         (lyx_LDADD): use it
10597
10598         * LaTeX.C: change include order.
10599         (scanAuxFile): use boost regex and get rid of LRegex and
10600         LSubstring
10601         (deplog): ditto
10602
10603 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10604
10605         * ColorHandler.h:
10606         * ColorHandler.C:
10607         * FontInfo.h:
10608         * FontInfo.C: moved to frontends/xforms/
10609
10610         * FontLoader.h:
10611         * FontLoader.C: moved into frontends for GUIIzation
10612
10613         * Makefile.am:
10614         * lyx_gui.C:
10615         * lyxfont.C:
10616         * lyxfunc.C: changes from above
10617
10618 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10619
10620         * LColor.C: remove spurious X include
10621
10622         * BufferView_pimpl.C:
10623         * Makefile.am:
10624         * font.h:
10625         * font.C:
10626         * text.C:
10627         * text2.C: move font metrics to frontends/
10628
10629 2002-05-24  Juergen Vigna  <jug@sad.it>
10630
10631         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10632         setting the undo_cursor.
10633
10634         * ParagraphParameters.h: include local includes first.
10635
10636 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10637
10638         * BufferView_pimpl.C:
10639         * BufferView_pimpl.h:
10640         * Makefile.am:
10641         * WorkArea.h:
10642         * WorkArea.C:
10643         * screen.C: move WorkArea into frontends/
10644
10645         * lyxscreen.h:
10646         * screen.C:
10647         * text.C:
10648         * BufferView.C:
10649         * BufferView2.C: move LyXScreen into frontends/
10650
10651         * lyxlookup.h:
10652         * lyxlookup.C:
10653         * lyx_gui.C: move lyxlookup into frontends/xforms/
10654
10655 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10656
10657         * BufferView2.C:
10658         * BufferView_pimpl.C:
10659         * FontLoader.C:
10660         * LyXView.h:
10661         * LyXView.C:
10662         * Makefile.am:
10663         * WorkArea.C:
10664         * XFormsView.h:
10665         * XFormsView.C:
10666         * buffer.C:
10667         * bufferlist.C:
10668         * bufferview_funcs.C:
10669         * converter.C:
10670         * importer.C:
10671         * lyx_cb.C:
10672         * lyx_gui.C:
10673         * lyx_main.C:
10674         * lyx_find.C:
10675         * lyxfunc.C:
10676         * lyxvc.C:
10677         * minibuffer.C:
10678         * text.C:
10679         * text2.C:
10680         * trans.C:
10681         * vc-backend.C: move LyX/XFormsView into frontends/
10682
10683 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10684
10685         * Makefile.am:
10686         * PainterBase.C:
10687         * PainterBase.h:
10688         * Painter.C:
10689         * Painter.h:
10690         * WorkArea.C:
10691         * WorkArea.h:
10692         * screen.C:
10693         * tabular.C:
10694         * text.C:
10695         * text2.C: move Painter to frontends/
10696
10697 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10698
10699         * buffer.C: comment out some some code that depend upon lyx_format
10700         < 220
10701
10702         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10703         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10704
10705         * buffer.h (NO_COMPABILITY): turn off compability
10706
10707         * ColorHandler.C: include scoped_array.hpp
10708
10709         * font.C: Use more specific smart_ptr header.
10710         * Painter.C: ditto
10711         * gettext.C: ditto
10712         * ShareContainer.h: ditto
10713         * lyx_main.h: ditto
10714         * kbmap.h: ditto
10715         * FontInfo.h: ditto
10716         * BufferView_pimpl.h: ditto
10717         * ColorHandler.h: ditto
10718
10719         * kbmap.C (defkey): change call to shared_ptr::reset
10720
10721 2002-05-21  Juergen Vigna  <jug@sad.it>
10722
10723         * buffer.C (insertErtContents): fix to insert ert asis if it is
10724         non empty. Skip it completely if it contains only whitespaces.
10725
10726 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10727
10728         * BufferView_pimpl.C:
10729         * BufferView2.C: clear selection on paste (bug 393)
10730
10731 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10732
10733         * DepTable.C: include ctime
10734
10735 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10736
10737         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10738
10739 2002-05-14  Juergen Vigna  <jug@sad.it>
10740
10741         * text.C (breakParagraph): fixed function to honor the keepempty
10742         layout in the right maner and also to permit the right breaking
10743         algorithm on empty or non empyt keepempty paragraphs.
10744
10745         * paragraph.C (breakParagraph): we have to check also if the par
10746         is really empty (!size()) for isempty otherwise we do the wrong
10747         paragraph break.
10748
10749 2002-05-10  Juergen Vigna  <jug@sad.it>
10750
10751         * buffer.[Ch] : The following are only changes to the ert
10752         compatibility read reading old LaTeX layout and font stuff and
10753         convert it to ERTInsets.
10754
10755         * buffer.h: added isErtInset().
10756
10757         * buffer.C (struct ErtComp): add a fromlayout bool to check
10758         if we're inside a LaTeX layout.
10759         (isErtInset): new helper function.
10760         (insertErtContents): look for other ert insets before this one
10761         and insert the contents there, so that we don't have subsequent
10762         ERT insets with nothing between them. This way we create only one
10763         inset with multiple paragraphs. Also check if we don't insert only
10764         spaces ' ' as they are ignored anyway afterwards in the .tex file
10765         so if we have only spaces we will ignore this latex part in the
10766         new file.
10767         (parseSingleLyXformat2Token \\layout): better compatibility when
10768         reading layout-latex stuff.
10769         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10770         language tag.
10771         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10772         stuff after reading the inset only get the information back from
10773         the stack.
10774
10775 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10776
10777         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10778
10779         * LaTeXFeatures.C (getBabelOptions): New method.
10780
10781 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10782
10783         * BufferView_pimpl.C (Dispatch): work around missing argument for
10784         'layout'
10785
10786 2002-05-08  Juergen Vigna  <jug@sad.it>
10787
10788         * text.C (leftMargin): handle paragraph leftindent.
10789
10790         * paragraph.C (writeFile): write the new \\leftindent tag.
10791         (validate): handle leftindent code.
10792         (TeXEnvironment): handle paragraphleftindent code again.
10793
10794         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10795
10796         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10797         for paragrap_extra indent code and new token \\leftindent.
10798         (latexParagraphs): handle the leftindent as environment.
10799
10800         * ParameterStruct.h: added leftindent support.
10801
10802         * ParagraphParameters.C (leftIndent): added support functions for
10803         the paragraph left indent.
10804
10805         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10806         more appropriate.
10807
10808 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10809
10810         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10811         inside insetERT.
10812
10813         * text.C (computeBidiTables): No bidi in insetERT.
10814
10815         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10816         in RTL documents.
10817
10818 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10819
10820         * version.C.in: pre 5
10821
10822 2002-05-02  José Matos  <jamatos@fep.up.pt>
10823         * buffer.C (makeDocBookFile): white space changes, add newline to
10824         command styles.
10825         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10826
10827         * tabular.C (docBook): fix typo.
10828
10829 2002-05-03  Juergen Vigna  <jug@sad.it>
10830
10831         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10832         change in LyXText as we can not be sure it was not freed.
10833         (drawOneRow): remove unused code.
10834
10835         * text.C (drawInset): redo the calculation of the need_break_row as
10836         it could have a row which was already freed.
10837         (draw): look at the return value of drawInset and return false if
10838         it also returned false.
10839         (paintRowText): look at the return value of draw and return false if
10840         it also returned false.
10841
10842         * lyxtext.h: added bool return type to drawInset() and draw() so that
10843         if we have a change in the row so that the rowbreak has to be redone
10844         we abort drawing as it will be called again.
10845
10846 2002-05-02  Juergen Vigna  <jug@sad.it>
10847
10848         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10849         a change in the maintext also if we're inside an inset.
10850         (Dispatch): set the cursor again after a break line and after the
10851         screen has been updated as it could be we're in a different row.
10852
10853         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10854         to set the cursor behind the pargraph with > size().
10855         (setCursor): check also for the same paragraph when checking where
10856         to put the cursor if we have a NFR inset.
10857
10858         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10859         parts of layout read further up as it still was in the wrong
10860         position.
10861
10862 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10863
10864         * screen.C (drawFromTo): change sine fullRebreak always return
10865         true.
10866
10867         * buffer.C (parseSingleLyXformat2Token): reindent some
10868
10869         * BufferView_pimpl.C (update): change since fullRebreak always
10870         return true.
10871         (Dispatch): git rid of the last hardcoded "Standard"s.
10872
10873 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10874
10875         * text2.[Ch] (fullRebreak): make it return void now that we always
10876         returned true.
10877
10878 2002-04-30  Juergen Vigna  <jug@sad.it>
10879
10880         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10881         ert compatibility check for "latex" layout.
10882
10883 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10884
10885         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10886         minipages: use col% instead of p%, and also use the current font.
10887         (makeLaTeXFile): Fix use babel condition.
10888         (parseSingleLyXformat2Token): Correct font when reading old floats.
10889
10890 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10891
10892         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10893         inserting list of floats.
10894
10895 2002-04-25  Herbert Voss  <voss@lyx.org>
10896
10897         * MenuBackend.C (expand): don't add the graphics extensions to the
10898         export menu
10899
10900 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10901
10902         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10903         non-existing layout, do not complain if it was the default layout
10904         of the original class (bug #342)
10905
10906 2002-04-24  Juergen Vigna  <jug@sad.it>
10907
10908         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10909         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10910
10911 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10912
10913         * buffer.C (getBibkeyList): If using \bibliography, return the
10914         option field with the reference itself. Enables us to provide natbib
10915         support when using \bibliography.
10916
10917 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10918
10919         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10920
10921         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10922         natbib is provided by the LaTeX class.
10923
10924 2002-04-23  Juergen Vigna  <jug@sad.it>
10925
10926         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10927         Wakeup functions.
10928
10929         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10930
10931 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10932
10933         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10934
10935         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10936         ensuremath around textordmasculine, textordfeminine and
10937         textdegree.
10938
10939 2002-04-19  Juergen Vigna  <jug@sad.it>
10940
10941         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10942         reinitializing the buffer otherwise row-dimensions may be wrong.
10943         (update): reset also the selection cursors if they do exits otherwise
10944         their x/y positions may be wrong.
10945
10946         * text2.C (cursorDown): don't enter the inset if we came from a row
10947         above and are one row over the inset.
10948
10949         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10950         really leaving an inset.
10951
10952 2002-04-18  Juergen Vigna  <jug@sad.it>
10953
10954         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10955         of the selected paragraph does not have the selected layout also if
10956         the last one had!
10957
10958         * text2.C (setLayout): fixed bug which did not change last selected
10959         paragraph.
10960
10961         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10962         changed the read and substituted \\end_float with \\end_inset!
10963
10964         * BufferView_pimpl.C (cursorPrevious):
10965         (cursorNext): fixed to make it work with rows heigher than the work
10966         area without moving the cursor only the draw of the row.
10967         (workAreaMotionNotify): fix jumping over high rows.
10968
10969 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10970
10971         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10972         Ressler.
10973
10974 2002-04-16  Juergen Vigna  <jug@sad.it>
10975
10976         * text2.C (setCursor): set also the irow().
10977         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10978         (cursorUp):
10979         (cursorDown): support for locking an inset if the x_fix value goes
10980         inside it. That way I can transverse insets too with cursor up/down.
10981
10982         * lyxrow.h: added irow helper function same as other (i) functions.
10983
10984         * BufferView_pimpl.C (cursorPrevious):
10985         (cursorNext): fixed for insets!
10986
10987 2002-04-15  Juergen Vigna  <jug@sad.it>
10988
10989         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10990         position otherwise it is wrong in some cases.
10991
10992         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10993         inside the inset before the call.
10994
10995 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10996
10997         * buffer.[Ch] (getBibkeyList): make it const.
10998
10999 2002-04-12  Juergen Vigna  <jug@sad.it>
11000
11001         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11002
11003         * text2.C (getCursorX): new helper function
11004         (setCursor): compute also ix_
11005         (setCursorFromCoordinates): set also ix.
11006
11007         * lyxcursor.h: added ix_ and helper functions.
11008
11009         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11010
11011         * buffer.C (insertStringAsLines): dont break paragraph if the this
11012         paragraph is inside an inset which does not permit it!
11013
11014         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11015         also with no chars on this paragraph.
11016         (paintRowText): only paint stuff if it's inside the workarea!
11017
11018         * paragraph.C (breakParagraph): honor keepempty flag and break the
11019         paragraph always below not above.
11020
11021         * BufferView2.C (unlockInset): update the paragraph layout on inset
11022         unlock as we changed paragraph in such a case.
11023
11024         * lyxfind.C (LyXFind): clear the former selection if not found!
11025
11026         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11027         again called in insertChar().
11028
11029         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11030         an inset which uses the whole row!
11031         (rightMargin): ditto.
11032         (insertChar): force a rebreak if we inserted an inset!
11033
11034 2002-03-28  Herbert Voss  <voss@lyx.org>
11035
11036         * lyxlength.[Ch]: add inBP() to get the right PS-point
11037         units (BigPoint). With inPixels we have rounding errors
11038
11039 2002-04-11  Juergen Vigna  <jug@sad.it>
11040
11041         * text2.C (setCursorFromCoordinates): set iy to the right value.
11042         (setCursor): add check if row->previous exists!
11043
11044         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11045         an old float_type as this was the case in the old code!
11046
11047         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11048
11049         * BufferView2.C (showLockedInsetCursor): use iy
11050         (fitLockedInsetCursor): ditto
11051
11052         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11053         locked insets as there we have the right value now.
11054
11055         * lyxcursor.C: added iy_ variable and iy functions to set to the
11056         baseline of cursor-y of the locked inset.
11057
11058         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11059         (setCursor): fixed for insets which need a full row.
11060
11061         * text.C (rowLastPrintable): don't ignore the last space when before
11062         an inset which needs a full row.
11063         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11064         as last character of a row when before a inset which needs a full row.
11065
11066 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11067
11068         * version.C.in: update date
11069
11070         * text2.C (fullRebreak): try to always return true and see what
11071         happens...
11072
11073 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11074
11075         * MenuBackend.C (expand): use Floating::listName
11076
11077         * FloatList.C (FloatList): add listName argument to the built-in
11078         floats
11079
11080         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11081         text associated with the float.
11082
11083 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11084
11085         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11086
11087 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11088
11089         * ShareContainer.h: add a couple of missing typenames.
11090
11091 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11092
11093         * lyxrc.C (getDescription): use _() correctly rather than N_().
11094
11095 2002-03-28  Herbert Voss  <voss@lyx.org>
11096
11097         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11098         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11099
11100 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11101
11102         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11103         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11104
11105 2002-03-29  Juergen Vigna  <jug@sad.it>
11106
11107         * lyxfunc.C (dispatch): add a missing fitCursor call.
11108
11109         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11110         it was scrolled by a cursor move, so return the bool status.
11111
11112         * BufferView.C (fitCursor): return the bool flag also to the outside
11113         world as this is needed.
11114
11115         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11116
11117         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11118         call the edit() as it is not needed (and wrong) IMO.
11119         (workAreaButtonPress): set the screen_first variable before evt.
11120         unlock the inset as this may change screen_first and then we have
11121         a wrong y position for the click!
11122
11123 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11124
11125         * MenuBackend.C (expand): another translation that I missed
11126
11127 2002-03-28  Juergen Vigna  <jug@sad.it>
11128
11129         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11130
11131         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11132
11133 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11134
11135         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11136
11137         * MenuBackend.C (expand): fix export/view/update when there is no
11138         document open.
11139
11140 2002-03-27  Herbert Voss  <voss@lyx.org>
11141
11142         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11143         and text%
11144
11145 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11146
11147         * bufferview_funcs.C (currentState): only show paragraph number
11148         for is DEVEL_VERSION is set.
11149
11150         * lyxfunc.C (dispatch): put warning in INFO channel
11151
11152         * MenuBackend.C (expand): translate the name of floats
11153
11154         * FloatList.C (FloatList): mark the float names for translation
11155
11156         * converter.C (convert): use LibScriptSearch
11157
11158 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11159
11160         * MenuBackend.C (defaults): fix default menu (we might as well get
11161         rid of it...)
11162
11163 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11164
11165         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11166         directory.
11167
11168 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11169
11170         * lyxvc.C: reorder includes.
11171
11172 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11173
11174         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11175           properly
11176
11177 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11178
11179         * CutAndPaste.C: change layouts earlier on paste
11180           to avoid crashing when calling getFont()
11181
11182 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11183
11184         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11185         irritating #error.
11186
11187 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11188
11189         * WorkArea.C: remove 'Pending' debug message.
11190
11191         * most files: ws cleanup
11192
11193         * buffer.[Ch]: ws changes
11194
11195         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11196
11197 2002-03-21  Juergen Vigna  <jug@sad.it>
11198
11199         * tabular.C (SetMultiColumn): collapse also the contents of the
11200         cells and set the last border right. Added a Buffer const * param.
11201
11202 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11203
11204         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11205         linking or not.
11206
11207 2002-03-19  Juergen Vigna  <jug@sad.it>
11208
11209         * text2.C (clearSelection): reset also xsel_cache.
11210
11211         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11212         where it needs to be called (John tells us to do so too :)
11213         (selectionLost): reset sel_cache.
11214
11215         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11216
11217 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11218
11219         * text2.C (setCursorIntern): put debuging code in INSETS channel
11220
11221 2002-03-19  André Pönitz <poenitz@gmx.net>
11222
11223         * lyxfunc.C: tiny whitespace change
11224
11225 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11226
11227         * ToolbarDefaults.C (init):
11228         * LyXAction.C (init):
11229         * commandtags.h:
11230         * BufferView_pimpl.C (Dispatch):
11231         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11232
11233 2002-03-19  Allan Rae  <rae@lyx.org>
11234
11235         * exporter.C (Export): removeAutoInsets before doing anything else.
11236         While I've just introduced a dependency on BufferView this really is
11237         the best place to clean the buffer otherwise you need to cleanup in
11238         a dozen places before calling export or cleanup in a dozen functions
11239         that export calls.
11240
11241         * converter.C (runLaTeX):
11242         (scanLog): Better handling of removeAutoInsets and screen updates.
11243
11244         * lyxfunc.C (dispatch): small whitespace changes
11245
11246 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11247
11248         * WorkArea.C (C_WorkAreaEvent): return a value.
11249         (event_cb): return 1 if we handled the event, 0 otherwise.
11250
11251         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11252
11253 2002-03-18  Juergen Vigna  <jug@sad.it>
11254
11255         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11256         (GetAdditionalWidth): ditto.
11257         (RightLine): ditto.
11258         (LeftLine): ditto.
11259
11260         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11261         inset if we're there actually (probably not used right now but this
11262         is the direction to go for unifying code).
11263         (paste): disable code to clear the selection.
11264
11265         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11266         inside an InsetText and move the check further up as it is in the
11267         wrong place.
11268
11269         * text2.C (pasteSelection): set a selection over the pasted text.
11270
11271 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11272
11273         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11274         and libgraphics to build on Cygwin.
11275
11276 2002-03-15  Juergen Vigna  <jug@sad.it>
11277
11278         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11279         inserting an Inset into the paragraph. I know this is not the best
11280         fix but we already use current_view in CutAndPaste so we will remove
11281         all of it's using at the same time.
11282
11283         * buffer.C (sgmlError): deactivated function till it is rewritten in
11284         the right mode, now it can create problems.
11285
11286         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11287         before accessing it.
11288
11289 2002-03-14  Juergen Vigna  <jug@sad.it>
11290
11291         * undo_funcs.C (textHandleUndo): do the right thing when updating
11292         the inset after the undo/redo.
11293
11294         * text2.C (setCursor): just some testcode for #44 not ready yet.
11295
11296         * undo_funcs.C (textHandleUndo): set the next() and previous()
11297         pointers of the paragraph to 0 before deleting otherwise we have
11298         problems with the Paragraph::[destructor].
11299
11300         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11301         on a paragraph insertion.
11302
11303 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11304
11305         * buffer.C (asciiParagraph): use += operator for char append to
11306         string.
11307
11308         * paragraph.C (getFontSettings): compare >= not just >
11309         (highestFontInRange): ditto
11310         (setFont): ditto
11311
11312 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11313
11314         * paragraph.C: change several algorithm to be more appripriate for
11315         the problem domain. This is lookip in FontList and in the InsetList.
11316
11317 2002-03-13  André Pönitz <poenitz@gmx.net>
11318
11319         * commandtags.h:
11320         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11321
11322 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11323
11324         * commandtags.h:
11325         * LyXAction.C:
11326         * lyxfunc.C:
11327         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11328
11329 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11330
11331         * Painter.C (display): anon helper function, adjust code for this
11332         change.
11333         (pixmap): remove function.
11334
11335         * Painter.h: remove private display variable.
11336
11337         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11338
11339 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11340
11341         * WorkArea.[Ch]: remove figinset_canvas cruft.
11342
11343 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11344
11345         * lyxtextclass.C (operator): add one item cache optimization.
11346
11347         * bufferlist.h: doxy changes
11348
11349         * bufferlist.C: ws changes
11350
11351         * DepTable.[Ch] (ext_exist): place const in the right spot.
11352
11353         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11354         call resizeInsets.
11355         (workAreaExpose): call resizeInsets when the with BufferView changes.
11356         (Dispatch): adjust for protectedBlank removal
11357         (specialChar): call updateInset if the insert went ok.
11358
11359         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11360         specialChar instead.
11361
11362         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11363
11364         * BufferView.h: doxy change
11365
11366         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11367
11368         * lyxtextclass.C (operator[]): remove non-const version
11369         (defaultLayout): remove non-const version
11370
11371 2002-03-12  Juergen Vigna  <jug@sad.it>
11372
11373         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11374         did resize the LyXText too.
11375
11376         * buffer.C (readLyXformat2): set layout information on newly allocated
11377         paragraphs.
11378
11379         * tabular.C (OldFormatRead): set layout information on the paragraph.
11380
11381 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11382
11383         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11384
11385 2002-03-11  Juergen Vigna  <jug@sad.it>
11386
11387         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11388         plainly wrong.
11389         (resizeCurrentBuffer): force also the insets to resize themselfes.
11390         (moveCursorUpdate): fixed up for InsetText.
11391
11392 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11393
11394         * commandtags.h:
11395         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11396         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11397         value of Dialogs::tooltipsEnabled().
11398         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11399
11400 2002-03-08  Juergen Vigna  <jug@sad.it>
11401
11402         * BufferView_pimpl.C (updateInset): update inset inside inset also
11403         if it isn't inside theLockingInset().
11404
11405 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11406
11407         * buffer.C (asciiParagraph): redo some of the word and line length
11408         handling.
11409         (getLists): look for Caption instead of caption.
11410
11411 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11412
11413         * buffer.C (Buffer): initialize niceFile to true
11414         (makeLaTeXFile):
11415         (makeLinuxDocFile):
11416         (makeDocBookFile): make sure niceFile is true on exit
11417
11418 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11419
11420         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11421
11422 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11423
11424         * LyXSendto.C: remove.
11425         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11426         * lyx_gui.C: remove now-redundant comment.
11427         * ColorHandler.h: remove forward declaration of class WorkArea.
11428         * lyxfunc.C: remove #include "WorkArea.h".
11429
11430 2002-03-07  Juergen Vigna  <jug@sad.it>
11431
11432         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11433         got moved away with the DEPM and also set the inset_owner always
11434         right which before could have been omitted.
11435
11436 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11437
11438         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11439         wanted layout is not found.
11440
11441 2002-03-07  Juergen Vigna  <jug@sad.it>
11442
11443         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11444
11445 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11446
11447         * paragraph.C (breakParagraph): use default layout not layout of
11448         prev paragraph.
11449         (Paragraph): clear ParagraphParameters.
11450
11451 2002-03-06  Juergen Vigna  <jug@sad.it>
11452
11453         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11454         otherwise it would not be a valid lenght. Fixed a special case in
11455         the minipage compatibility read where we end the document with a
11456         minipage.
11457
11458         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11459         was set as it could be 0 for InsetTexts first entry.
11460
11461 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11462
11463         * paragraph.C (writeFile): if layout is empty write out
11464         defaultLayoutName().
11465
11466         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11467         file without named layout we set layout to defaultLayoutName().
11468
11469 2002-03-06  Juergen Vigna  <jug@sad.it>
11470
11471         * CutAndPaste.C (copySelection): set layout for new paragraph.
11472
11473         * text.C (prepareToPrint): leave ERT inset left aligned
11474         (leftMargin): don't indent paragraphs inside ERT insets
11475
11476 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11477
11478         * paragraph.C (breakParagraph): dont call clear do the work manually
11479
11480         * paragraph.[Ch] (clear): remove function
11481
11482 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11483
11484         * paragraph.C (Paragraph): dont call clear, the work has already
11485         been done.
11486
11487         * lyxtextclass.C (operator): assert if n is empty
11488
11489         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11490         work manually instead.
11491
11492 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11493
11494         * BufferView_pimpl.C: protect selectionLost against text == 0
11495
11496 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11497
11498         * text.C (breakParagraph): fix a setting layout to '0' problem.
11499
11500 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11501
11502         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11503         final location of file, for the included files, and graphics.
11504
11505 2002-03-05  Juergen Vigna  <jug@sad.it>
11506
11507         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11508
11509 2002-03-04  Juergen Vigna  <jug@sad.it>
11510
11511         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11512
11513         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11514         last column of multicolumn cells.
11515         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11516
11517 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11518
11519         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11520         file if it doesn't go to a temporary file.
11521
11522         * buffer.C (sgmlOpenTag):
11523         (sgmlCloseTag):  remove extra newline insertion.
11524
11525 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11526
11527         * text.C (getRowNearY): comment out debug msg
11528
11529 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11530
11531         * text2.C: first -> first_y
11532
11533         * text.C (getRowNearY): add some attemts at a possible
11534         optimization, not working.
11535
11536         * tabular.[Ch]: add BufferParams to several function so that newly
11537         created paragraph can be initialized to he default layotu for the
11538         buffers textclass.
11539
11540         * tabular-old.C (ReadOld): add buf->params to call of Init
11541
11542         * screen.C: rename text->first to text->first_y
11543
11544         * paragraph.C (breakParagraph): always set layout in the broken
11545         paragraph
11546
11547         * lyxtextclass.C (Read): remove lowercase
11548         (hasLayout): ditto
11549         (operator): ditto
11550         (delete_layout): ditto
11551
11552         * lyxtext.h: rename first -> first_y
11553
11554         * lyxlayout.C (Read): remove lowercase
11555         (name): ditto
11556         (setName): ditto
11557         (obsoleted_by): ditto
11558
11559         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11560
11561         * buffer.C (insertErtContents): add params are to InsetERT
11562         (parseSingleLyXformat2Token): add code to check if a paragraphs
11563         layout really exist.
11564         (parseSingleLyXformat2Token): add params to several inset
11565         constructors
11566         (asciiParagraph): remove lowercase, do the layout comparisons with
11567         no_case
11568
11569         * BufferView_pimpl.C (cursorNext): first -> first_y
11570         (resizeCurrentBuffer): first -> first_y
11571         (updateScrollbar): first -> first_y
11572         (scrollCB): first -> first_y
11573         (workAreaMotionNotify): first -> first_y
11574         (workAreaButtonPress): first -> first_y
11575         (checkInsetHit): first -> first_y
11576         (cursorPrevious): first -> first_y
11577         (cursorNext): first -> first_y
11578         (Dispatch): add buffer_->params to severl inset contructors
11579
11580 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11581
11582         * lyxlayout.C (Read): remove some debug info that I forgot.
11583
11584         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11585         clean up the code slightly.
11586         (makeLinuxDocFile): ditto
11587         (makeDocBookFile): ditto
11588
11589         * text2.C: layout as string
11590
11591         * text.C: layout as string
11592
11593         * paragraph_pimpl.C: layout as string
11594
11595         * paragraph.[Ch]: layout as string
11596
11597         * lyxtextclasslist.[Ch]: layout as string
11598
11599         * lyxtextclass.[Ch]: layout as string
11600
11601         * lyxtext.h: layout as string
11602
11603         * lyxlayout.[Ch]: layout as string
11604
11605         * lyx_cb.C: layout as string
11606
11607         * bufferview_funcs.C: layout as string
11608
11609         * bufferparams.C: layout as string
11610
11611         * buffer.C: layout as string
11612
11613         * LyXView.[Ch]: layout as string
11614
11615         * LaTeXFeatures.[Ch]: layout as string
11616
11617         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11618
11619         * BufferView_pimpl.C: change current_layout to string, remove
11620         lyx::layout_type.
11621         (Dispatch):
11622         (smartQuote):
11623         (insertInset):
11624         (workAreaButtonRelease): layout as string
11625
11626         * BufferView2.C (unlockInset): adjust
11627
11628         * vspace.C (asLatexCommand): use an explict temp variable.
11629
11630 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11631
11632         * Makefile.am: use FRONTEND_*
11633
11634 2002-03-01  Juergen Vigna  <jug@sad.it>
11635
11636         * tabular.C (SetWidthOfMulticolCell): changed to something better
11637         I hope but still work in progress.
11638         (recalculateMulticolumnsOfColumn): renamed function from
11639         recalculateMulticolCells as it is more appropriate now.
11640         (SetWidthOfCell): calculate multicols better.
11641
11642 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11643
11644         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11645
11646         * lyxfunc.C (processKeySym): print sequence also if it is
11647         `deleted' (complete)
11648
11649         * kbsequence.C (print): print sequence even if it is deleted
11650         (complete would be a better word, actually).
11651
11652         * lyxfunc.C (dispatch): print complete options after a prefix key
11653
11654         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11655
11656 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11657
11658         * text2.C (setCharFont): eliminate setCharFont code duplication.
11659
11660 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11661
11662         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11663         LFUN_TABULAR_FEATURE (bug #177)
11664
11665 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11666
11667         * Makefile.am: remove figure.h
11668
11669 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11670
11671         * Bufferview_pimpl.C:
11672         * CutAndPasteC:
11673         * LaTeX.C:
11674         * LyXSendto.C:
11675         * buffer.C:
11676         * bufferlist.C:
11677         * converter.C:
11678         * language.C:
11679         * lyxfunc.C:
11680         * lyxvc.C:
11681         * paragraph.C:
11682         * text.C:
11683         * text2.C: remove #include "lyx_gui_misc.h".
11684
11685         * LaTeX.C: added #include <cstdio>
11686
11687 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11688
11689         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11690         that the paragraph following this one can have.
11691
11692         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11693
11694         * vspace.C (asLatexCommand): fix bogus gcc warning
11695
11696         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11697
11698 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11699
11700         * text2.C (setLayout): get rid of redundant code
11701
11702 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11703
11704         * text2.C (incDepth): make sure depth cannot be increased beyond
11705         reasonable values.
11706
11707 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11708
11709         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11710         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11711
11712         * PainterBase.h (image):
11713         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11714         a LyXImage const *.
11715
11716 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11717
11718         * BufferView.C:
11719         * BufferView.h:
11720         * BufferView_pimpl.C:
11721         * BufferView_pimpl.h:
11722         * LaTeXFeatures.C:
11723         * LyXAction.C:
11724         * LyXView.C:
11725         * Makefile.am:
11726         * UpdateList.h:
11727         * UpdateList.C:
11728         * buffer.C:
11729         * figure.h:
11730         * figureForm.C:
11731         * figureForm.h:
11732         * figure_form.C:
11733         * figure_form.h:
11734         * lyx_cb.C:
11735         * lyx_gui.C:
11736         * lyx_gui_misc.C:
11737         * lyxfunc.C:
11738         * sp_base.h:
11739         * sp_ispell.h:
11740         * sp_pspell.h:
11741         * sp_spell.C: remove fig inset, and the crap house of
11742           cards that follows it
11743
11744 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11745
11746         * Makefile.am:
11747         * lyxserver.C:
11748         * os2_defines.h:
11749         * os2_errortable.h:
11750         * nt_defines.h: move .h into support/
11751
11752         * vms_defines.h: remove
11753
11754         * WorkArea.C: add space in debug output
11755
11756         * text2.C:
11757         * paragraph.C:
11758         * buffer.C: add WITH_WARNINGS
11759
11760         * vc-backend.h:
11761         * vc-backend.C:
11762         * bufferlist.C: s/retrive/retrieve/, add docs
11763
11764         * vspace.h:
11765         * vspace.C:
11766         * kbmap.h:
11767         * lyxlength.h:
11768         * lyxgluelength.h:
11769         * length_common.h:
11770         * chset.h:
11771         * chset.C: add docs
11772
11773         * lyxgui.C: add ID to X error handler
11774
11775         * lyxtestclass.c: fix typo
11776
11777 2002-02-26  Juergen Vigna  <jug@sad.it>
11778
11779         * tabular_funcs.C (write_attribute): changed so that some default
11780         attributes are not written at all.
11781         (getTokenValue): set default values before trying to read the
11782         value so we have the return value always set as default if we don't
11783         find the token we search for.
11784
11785         * tabular.C (Write): write bools as bools not as strings!
11786
11787 2002-02-22  Juergen Vigna  <jug@sad.it>
11788
11789         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11790         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11791
11792         * text.C (leftMargin): don't add an indent for paragraphs inside
11793         tabular cells (fix #208).
11794
11795 2002-02-21  José Matos  <jamatos@fep.up.pt>
11796
11797         * tabular.C (docBook): fixed support for long tables.
11798
11799 2002-02-20  Juergen Vigna  <jug@sad.it>
11800
11801         * text2.C (getFont): get the drawing font of the Inset if this
11802         paragraph is inside an inset (only important for InsetERT for now).
11803
11804         * buffer.C (insertErtContents): use new lanugage params in ERT
11805         constructor.
11806
11807         * CutAndPaste.C: commenting out seemingly uneeded code.
11808
11809 2002-02-19  Allan Rae  <rae@lyx.org>
11810
11811         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11812         Iterators might be simple to use but they also get invalidated.
11813         (removeAutoInsets): renamed saved cursor tracking variables and added
11814         some comments to clarify what everything does.
11815
11816 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11817
11818         * Chktex.C:
11819         * LaTeX.C:
11820         * LyXSendto.C:
11821         * converter.C:
11822         * lyx_cb.C:
11823         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11824         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11825
11826         * lyxfunc.C:
11827         * vc-backend.h: remove #include "support/syscall.h"
11828
11829         * LaTeX.C:
11830         * LyXSendto.C:
11831         * converter.C: rearrange #includes in Lars' approved fashion.
11832
11833         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11834         forward declare class Timeout in the header file.
11835
11836         * XFormsView.C: changes due to the above.
11837
11838         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11839         similar to LyXView.
11840
11841         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11842         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11843
11844 2002-02-18  José Matos  <jamatos@fep.up.pt>
11845
11846         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11847         insets contents.
11848
11849 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11850
11851         * a lot of small ws changes
11852         * add a lot of using std::XXX
11853         * use std construcs some places where approp.
11854         * use some exisint stuff from lyxfunctional where approp.
11855         * Make file changes to use partial linking (lets test this now...)
11856
11857 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11858
11859         * Chktex.C:
11860         * buffer.C:
11861         remove #include "support/syscontr.h" as it's redundant. Always has been.
11862
11863         * Chktex.C:
11864         * LaTeX.C:
11865         * LyXSendto.C:
11866         * converter.C:
11867         * lyx_cb.C:
11868         * vc-backend.C:
11869         change Systemcalls::System to Systemcalls::Wait and
11870         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11871         No change of functionality, just reflects the stripped down Systemcalls
11872         class.
11873
11874 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11875
11876         * debug.[Ch]: add a GRAPHICS type to the enum.
11877
11878 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11879
11880         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11881
11882         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11883         there is an inset.
11884
11885 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11886
11887         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11888         match the changes below.
11889
11890         * text2.C (toggleInset): if there is not editable inset at cursor
11891         position, try to see if cursor is _inside_ a collapsable inset
11892         and close it.
11893
11894 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11895
11896         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11897         document menu has a nice checkbox
11898
11899 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11900
11901         * lyxlength.C (asLatexString): change PW to output as percent of
11902         \textwidth.
11903
11904         * lengthcommon.C: change '%' to 't%'
11905
11906         * lyxfunc.C (dispatch): a few comments from Martin
11907
11908 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11909
11910         * WorkArea.h:
11911         * WorkArea.C:
11912         * BufferView_pimpl.h:
11913         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11914           the X selection.
11915
11916 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11917
11918         * vspace.C (inPixels): fix compiler warning
11919
11920 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11921
11922         * lyxfunc.C (getStatus): fix status message for disabled commands.
11923
11924 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11925
11926         * BufferView_pimpl.C: fix crash on close buffer
11927         during selection (#227)
11928
11929 2002-01-27  Herbert Voss  <voss@lyx.org>
11930
11931         * buffer.C: link old Figure to new graphic inset
11932
11933 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11934
11935         * FontLoader.C (getFontinfo): Change the latex font names in order
11936         to match the names of type1inst.
11937
11938 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11939
11940         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11941
11942         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11943         (extchanged): ditto
11944         (ext_exist): ditto
11945         (remove_files_with_extension): ditto
11946         (remove_file): ditto
11947         (write): ditto
11948
11949         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11950         document is smaller than the work area height. Do not initialize
11951         static variables to 0.
11952
11953 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11954
11955         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11956
11957         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11958         LFUN_LAYOUT_PARAGRAPHS.
11959
11960         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11961         tabular. It is possible to provide a possible cell, which will
11962         typically be the actcell from the corresponding insettabular
11963
11964         * lyxfunc.C (getStatus): small cleanup; disable
11965         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11966         true
11967
11968 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11969
11970         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11971
11972         * paragraph.C (startTeXParParams):
11973         (endTeXParParams): new methods. The LaTeX code to
11974         start/end paragraph formatting
11975         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11976         empty (fixes bug #200)
11977
11978         * vspace.C (inPixels): adapt to the change below
11979         (inPixels): [later] more cleanups (remove unused variables)
11980
11981         * lyxlength.C (inPixels): change to use a width and a height as
11982         parameter.
11983
11984 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11985
11986         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11987         Replaced with \paperwidth
11988
11989         * DepTable.C (insert): add std:: qualifier
11990
11991 2002-01-18  Allan Rae  <rae@lyx.org>
11992
11993         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11994         updated also?
11995
11996         * text.C (drawInset): Turned out I didn't know enough about how
11997         rebreaking worked.  This fixes most of the redraw problems.  I see
11998         an occasional cursor trail when a line is broken now and the cursor
11999         placement can seem out by a few pixels also after a rebreak.
12000
12001 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12002
12003         * buffer.C (parseSingleLyXformat2Token): update because minipage
12004         width is now a LyXLength
12005
12006         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12007
12008         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12009         math insets
12010
12011 2002-01-17  Juergen Vigna  <jug@sad.it>
12012
12013         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12014
12015         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12016         is set correctly and the inset is updated correctly.
12017
12018 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12019
12020         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12021         the beginning of the loop.
12022
12023 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12024
12025         * lyxrc.C: improve help for use_scalable_fonts
12026
12027 2002-01-17  Allan Rae  <rae@lyx.org>
12028
12029         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12030
12031 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12032
12033         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12034         make sure to set their inset_owner to the right value (bug #171)
12035
12036 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12037
12038         * DepTable.h
12039         * DepTable.C: Implement mtime checking to reduce time spent doing
12040         CRCs.
12041
12042 2002-01-16  Juergen Vigna  <jug@sad.it>
12043
12044         * tabular.C (GetAdditionalHeight): one of error fixed.
12045
12046         * lyxrc.C (output): small fix in writing use_pspell.
12047
12048 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12049
12050         * sp_base.h: #include LString.h
12051
12052 2002-01-16  Allan Rae  <rae@lyx.org>
12053
12054         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12055         Can someone check this please?
12056
12057         * text.C (drawInset): It was possible that p.row would be removed by
12058         breakAgainOneRow upsetting a few other settings.  There may be another
12059         small tweak possible by setting need_break_row = 0 when p.row has been
12060         removed but I don't know enough about the logic here.
12061
12062 2002-01-15  Allan Rae  <rae@lyx.org>
12063
12064         * text.C (insertChar): removed conditional truism.
12065
12066         * BufferView2.C (removeAutoInsets): More tweaks.
12067         cur_par_prev could be a stray pointer.  Check for trailing empty line
12068         in case last line was cur_par and only had an error inset on it.
12069
12070 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12071
12072         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12073         absolute
12074
12075         * vc-backend.C (most methods):
12076         * exporter.C (Export):
12077         * converter.C (convert):
12078         (runLaTeX):
12079         * LyXSendto.C (SendtoApplyCB):
12080         * lyxfunc.C (dispatch):
12081         (menuNew):
12082         (open):
12083         (doImport):
12084         * lyx_cb.C (AutoSave):
12085         (InsertAsciiFile):
12086         * BufferView_pimpl.C (MenuInsertLyXFile):
12087         * buffer.C (runChktex): use Buffer::filePath().
12088
12089         * buffer.h: rename filename to filename_; rename filepath to
12090         filepath_ and make it private
12091         (filePath): new method
12092
12093         * buffer.C (writeFile): use fileName()
12094         (getLatexName):
12095
12096         * lyx_main.C (init): fix starting  of LyX when the binary is a
12097         link from so,ewhere else.
12098
12099         * minibuffer.C: include <cctype> for isprint
12100
12101 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12102
12103         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12104         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12105         name clash with InsetCollapsable's width function.
12106
12107 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12108
12109         * lastfiles.C: include <iterator>
12110
12111 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12112
12113         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12114         std::count.
12115
12116         * buffer.C (makeLaTeXFile): ditto.
12117         Also make loop operation more transparent.
12118
12119 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12120
12121         * ToolbarDefaults.C: remove trailing comma closing namespace.
12122
12123         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12124
12125         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12126         as in WorkArea.
12127
12128         * trans.C (Load): comment out unused variable, allowed.
12129
12130 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12131
12132         * minibuffer.[Ch] (append_char): new method to recieve input from the
12133         drop-down completion browser. If a key was pressed, then recieve this
12134         char and append it to the existing string.
12135         (peek_event): modify the positioning data passed to the completion
12136         browser so that it can be placed above the minibuffer rather than below.
12137 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12138
12139         * LyXAction.C (init): alloe error-next for readonly documents.
12140
12141         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12142         count.
12143
12144 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12145
12146         * bufferlist.C (readFile): create the buffer _after_ checking that
12147         the file exists.
12148
12149         * lyxfunc.C (verboseDispatch): fix handling of arguments
12150
12151         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12152
12153         * lyxrc.C: use string::erase() instead of initializing to "".
12154
12155
12156 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12157
12158         * BufferView_pimpl.h:
12159         * BufferView_pimpl.C:
12160         * WorkArea.h:
12161         * WorkArea.C:
12162         * text2.C: tell X when we have made a selection for copying
12163
12164 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12165
12166         * BufferView_pimpl.C (MenuInsertLyXFile):
12167         * lyxfunc.C (menuNew):
12168         (open):
12169         (doImport): add shortcuts to directory buttons
12170
12171         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12172         open a float)
12173
12174         * lyxfunc.C (setStatusMessage):
12175         (getStatusMessage): new methods
12176         (getStatus):use setStatusMessage instead of setErrorMessage
12177         (dispatch): when function is disabled, set error message here
12178         [instead of in getStatus previously]
12179
12180         * BufferView_pimpl.C (workAreaButtonRelease): update
12181         toolbar/menubar here too.
12182
12183 2002-01-13  Allan Rae  <rae@lyx.org>
12184
12185         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12186         Now seems indestructible.  Remaining task is to audit all other
12187         code affected by deleteEmptyParagraphMechanism.  One small quirk
12188         left is that an empty document with an error in the preamble can
12189         be made to report an error but no error box appears.  I don't know
12190         where it goes.
12191         (removeAutoInsets): Improved comments.
12192
12193 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12194
12195         * Thesaurus.h:
12196         * Thesaurus.C: update for Aiksaurus 0.14
12197
12198 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12199
12200         * text2.C (firstParagraph): removed member function, all uses
12201         replaces with ownerParagraph
12202         (redoParagraphs): here
12203         (updateInset): here
12204         (toggleAppendix): here
12205         * BufferView2.C (insertErrors): here
12206         (setCursorFromRow): here
12207
12208 2002-01-13  Allan Rae  <rae@lyx.org>
12209
12210         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12211         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12212         There is still a way to segfault this although you may have to do this
12213         multiple times: Have an InsetERT with an unknown command in it.
12214         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12215         <down-arrow>, <Enter> again, View->DVI, BANG!
12216
12217         * text2.C (setCursor):
12218         (deleteEmptyParagraphMechanism):
12219         * lyxtext.h (setCursor):
12220         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12221         Making use of the return value may help fix other bugs.
12222
12223 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12224
12225         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12226
12227         * LyXView.C (updateMenubar): call MenuBar::update here
12228         (updateToolbar): but not here
12229         (showState): do not update toolbar/menubar
12230
12231         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12232         should need to care about that.
12233
12234         * lyxfunc.C (verboseDispatch): simplify a bit
12235         (getStatus): have a version which takes a pseudoaction, and
12236         another which requires a (kb_action,string).
12237
12238         * LyXAction.C (retrieveActionArg): make it work also when action
12239         is not a pseudo-action.
12240         (getActionName): simplify a bit
12241         (helpText):
12242
12243 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12244
12245         * lyxfunc.C (verboseDispatch): new families of methods with
12246         several ways to specify a command and a bool to indicate whether
12247         the command name and shortcut should be displayed in minibuffer
12248         (eventually, we could extend that to a finer bitmask like
12249         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12250         (dispatch): the pristine dispatch command which just, well,
12251         dispatchs! Note it still sets its result to minibuffer; I'm not
12252         sure we want that.
12253
12254         * lyxfunc.h: remove setHintMessage
12255
12256         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12257
12258 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12259
12260         * BufferView_pimpl.C (specialChar): delete new inset if we have
12261         not been able to insert it.
12262
12263         * kbmap.C: revert to using int instead of kb_action, since all we
12264         are dealing with is pseudo-actions.
12265
12266         * LyXAction.C (searchActionArg): change to return int instead of
12267         kb_action, since the result is a pseudoaction.
12268
12269 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12270
12271         * buffer.C (insertErtContents): Fix (partially) the font bug.
12272
12273 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12274
12275         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12276         as the other one is broken on my machine!
12277
12278 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12279
12280         * commandtags.h:
12281         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12282
12283 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12284
12285         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12286         reflect their actual use. Provide compatibility code for older lyxrc
12287         files.
12288
12289         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12290         FL_NORMAL_STYLE.
12291         change names of popup font variables in line with the changes to lyxrc.C
12292
12293 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12294
12295         * buffer.C (asciiParagraph): avoid outputing a word twice after
12296         an inset.
12297
12298         * lyxrc.C (getDescription): document that document_path and
12299         template_path can be empty.
12300
12301 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12302
12303         * LaTeXFeatures.C (getMacros):
12304         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12305
12306         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12307
12308         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12309         getPackages.
12310         (getPackages): rename feature "floats" to "float". Use an array to
12311         iterate over 'simple' features (i.e. just a \usepackage). Add
12312         handling of "amsmath" (renamed from "amsstyle").
12313
12314 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12315
12316         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12317         features list.
12318
12319 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12320
12321         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12322         FuncStaus::FuncStatus & FuncStaus::some_method().
12323
12324 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12325
12326         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12327         of the func_satus stuff. Edited and massaged in various ways by
12328         JMarc.
12329
12330         * lyxfunc.C (getStatus): use FuncStatus
12331
12332 2002-01-08  Juergen Vigna  <jug@sad.it>
12333
12334         * text.C (nextBreakPoint): use function Inset::isChar().
12335
12336         * paragraph.C (TeXOnePar): use function
12337         Inset::forceDefaultParagraphs.
12338
12339         * buffer.C (latexParagraphs): use function
12340         Inset::forceDefaultParagraphs.
12341
12342 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12343
12344         * lyx_gui.C (init): set the style of the menu popups to
12345         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12346
12347 2002-01-07  Juergen Vigna  <jug@sad.it>
12348
12349         * text.C (setHeightOfRow): small fix
12350         (prepareToPrint): don't look at alignment if we don't have the place
12351         for doing it.
12352
12353 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12354
12355         * box.C: New file. Move the Box methods and functions out of box.h,
12356         following Lars' suggestion.
12357
12358 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12359
12360         * box.h: #include "support/LOstream.h", needed for inlined function.
12361
12362         * lyxtextclass.C:
12363         * lyxtextclasslist.C: added some using std declarations.
12364
12365 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12366
12367         * box.h: make signed dimensions to allow insets wider than
12368           the screen (bug #162)
12369
12370         * BufferView_pimpl.C: add some insetHit debug
12371
12372 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12373
12374         * vc-backend.C: add FIXME
12375
12376 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12377
12378         * lyxfunc.C (getStatus): enable code for showing math font status
12379         in toolbar/menu.
12380
12381 2002-01-07  Juergen Vigna  <jug@sad.it>
12382
12383         * text.C (nextBreakPoint): removed debug output not needed anymore.
12384
12385 2002-01-06  Juergen Vigna  <jug@sad.it>
12386
12387         * text.C (nextBreakPoint): fixed up this function we had this bug
12388         since ever but now hopefully we break row better.
12389         (insertChar): we have to check if an inset is the next char as it
12390         could now happen that a large inset is causing a break.
12391
12392 2002-01-05  Juergen Vigna  <jug@sad.it>
12393
12394         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12395         if it doesn't like to be drawed.
12396
12397 2002-01-04  Juergen Vigna  <jug@sad.it>
12398
12399         * BufferView2.C (lockInset): forgot to set a cursor.
12400
12401         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12402
12403 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12404
12405         * FormMathsPanel.C:
12406         * FormMathsPanel.h
12407         * MathsSymbols.C:
12408         * form_maths_panel.C:
12409         * form_maths_panel.h:
12410         * form_maths_panel.fd: implemented sub- and super- buttons in math
12411         panel.
12412
12413         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12414         (or ^ space) to be used as in TeX (req'd by André).
12415
12416         * lyxfunc.C: Allow ^ and _ again to be used both as
12417         super/subscript (mathed) and as themselves (in text).
12418
12419 2002-01-03  Allan Rae  <rae@lyx.org>
12420
12421         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12422         "LyX" or the filename of the current buffer if it has one.  This is a
12423         modified form of John Levon's patch.
12424
12425         * XFormsView.C (setWindowTitle): also set icon title.
12426
12427         * LyXView.h (setWindowTitle): signature changed.
12428         * XFormsView.h (setWindowTitle): ditto.
12429
12430 2002-01-02  Juergen Vigna  <jug@sad.it>
12431
12432         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12433
12434 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12435
12436         * screen.C (topCursorVisible): introduce a temp var for
12437         text->cursor.row(), handle the case where this row is null. (kindo
12438         hachish)
12439
12440         * text2.C (setCursor): add a couple of asserts.
12441
12442         * paragraph.h (inset_iterator): add -> operator
12443
12444         * paragraph.[Ch] (autoDeleteInsets): remove member function
12445
12446         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12447         cursor pos correctly and handle inset deletion by itself.
12448         (insertErrors): move iterator declaration out of for expression
12449
12450         * lyxtextclass.C: add <algorithm>
12451
12452         * Makefile.am: added the new files to sources, removed layout.C
12453
12454         * layout.C: removed file
12455
12456         * layout.h: remove LYX_DUMMY_LAYOUT
12457
12458         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12459         layout.
12460
12461         * lyxlayout.[Ch]:
12462         * lyxtextclass.[Ch]:
12463         * lyxtextclasslist.[Ch]: new files
12464
12465         * include order changes to a lot of files, also changes because of
12466         the six new files.
12467
12468 2001-12-27  Juergen Vigna  <jug@sad.it>
12469
12470         * buffer.C (asciiParagraph): more fixes.
12471
12472         * tabular.C (ascii): make ascii export support export of only the
12473         data separated by a column-delimiter.
12474         (ascii): better support for ascii export.
12475
12476         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12477
12478 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12479
12480         * tabular_funcs.C: use a "using std::getline" instead of the
12481         previous fix from Angus (necessary for cxx + lyxstring)
12482
12483 2001-12-24  Juergen Vigna  <jug@sad.it>
12484
12485         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12486
12487         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12488         problems. First check a minipage also if we have some ert-contents
12489         (not only on par->size(), second set the right depth of the paragraph
12490         on the relink to the root-paragraph-list!
12491
12492         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12493         which then did not anymore update the main paragraphs on undo/redo!
12494
12495 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12496
12497         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12498         code. Support all font-changing funcs (even those which are not in
12499         menu currently). Support for reporting font settings in
12500         mathed (disabled until Andre provides a function on mathed's side).
12501
12502         * func_status.h (toggle): small helper function to set toggle
12503         state on a flag.
12504
12505 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12506
12507         * tabular_funcs.C: getline -> std::getline
12508
12509 2001-12-21  Juergen Vigna  <jug@sad.it>
12510
12511         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12512         accessed and could be 0 (I couldn't generate this but it seems
12513         Michael could!).
12514
12515 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12516
12517         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12518         * tabular_funcs.h: here and include iosfwd
12519
12520 2001-12-20  Juergen Vigna  <jug@sad.it>
12521
12522         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12523         inside inset but undo_par was.
12524
12525 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12526
12527         * Thesaurus.C: always include <config.h> in sources.
12528
12529         * Painter.h:
12530         * lyxlookup.h:
12531         * box.h: do not include <config.h> in header files
12532
12533         * text.C (paintLastRow): remove unused variable
12534
12535         * text.C (transformChar):
12536         (insertChar):
12537         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12538
12539         * Painter.C (text):
12540         * font.C (width): rewrite to use uppercase() instead of
12541         islower/toupper.
12542
12543         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12544
12545 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12546
12547         * lyxfind.C: clean up of find failure position change
12548
12549 2001-12-20  Juergen Vigna  <jug@sad.it>
12550
12551         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12552
12553         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12554         (TeXRow): added to LaTeX a single tabular row.
12555         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12556         (Latex): simplified and finally good LT-h/f support.
12557         (various_functions): just small adaptions for LT-h/f support.
12558
12559         * tabular_funcs.[hC]: added and moved here all not classfunctions
12560         of LyXTabular.
12561
12562 2001-12-19  Juergen Vigna  <jug@sad.it>
12563
12564         * tabular.[Ch]: better support for longtabular options (not finished
12565         yet!)
12566
12567 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12568
12569         * text.C (paintLastRow): use the label font instead of the font of
12570         the last character to compute the size of *_BOX. This makes more
12571         sense and avoids a crash with empty paragraphs.
12572         Use Painter::rectangle to draw EMPTY_BOX.
12573
12574 2001-12-19  Juergen Vigna  <jug@sad.it>
12575
12576         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12577         the paragraphs if the replaced paragraph is not the first one!
12578         Tried to delete not used paragraphs but does not work yet so for
12579         now it's inside #ifdef's and by default off!
12580
12581 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12582
12583         * MenuBackend.C: include "lyx_main.h" instead of declaring
12584         lastfiles (actually was declared as LastFiles* instead of a
12585         scoped_ptr).
12586
12587 2001-12-17  Juergen Vigna  <jug@sad.it>
12588
12589         * tabular.C (AppendColumn): applied John's fix
12590
12591 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12592
12593         * BufferView.h:
12594         * BufferView.C:
12595         * BufferView_pimpl.h:
12596         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12597
12598         * Makefile.am:
12599         * box.h: new start of class for above
12600
12601         * lyxfunc.C: ignore space-only minibuffer dispatches.
12602           Show the command name when it doesn't exist
12603
12604         * minibuffer.C: don't add empty lines to the history
12605
12606         * minibuffer.C: add a space on dropdown completion
12607
12608 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12609
12610         * text.C: fix line above/below drawing in insets
12611
12612 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12613
12614         * lyxlength.C (LyXLength): Initialize private variables.
12615
12616 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12617
12618         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12619         when inserting error insets.
12620
12621 2001-12-13  Juergen Vigna  <jug@sad.it>
12622
12623         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12624         actually sometimes the before-paragraph.
12625         (setUndo): don't clear the redostack if we're not actually undoing!
12626
12627 2001-12-06  Juergen Vigna  <jug@sad.it>
12628
12629         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12630         and fixed redoing of main paragraph, so we can use it now ;)
12631
12632         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12633
12634 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12635
12636         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12637         Juergen's request
12638
12639 2001-12-13  André Pönitz <poenitz@gmx.net>
12640
12641         * undostack.[Ch]:
12642         * undo_func.C: minor cleanup
12643
12644 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12645
12646         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12647         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12648         font in urw-fonts package which is marked as -urw-fontspecific and
12649         does not work (incidentally, changing the encoding in the
12650         fonts.dir of this package to -adobe-fontspecific fixes the
12651         problem).
12652
12653         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12654         is a crash when undoing first paragraph (Juergen, please take a
12655         look). THis does not mean the undo fix is wrong, just that it
12656         uncovers problems.
12657
12658         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12659         the (Paragraph*) version when needed instead of duplicating the
12660         code.
12661
12662         * text.C (workWidth): use Inset::parOwner to find out where the
12663         inset has been inserted. This is a huge performance gain for large
12664         documents with lots of insets. If Inset::parOwner is not set, fall
12665         back on the brute force method
12666
12667         * paragraph_pimpl.C (insertInset):
12668         * paragraph.C (Paragraph):
12669         (cutIntoMinibuffer): set parOwner of insets when
12670         inserting/removing them
12671
12672         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12673
12674 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12675
12676         * commandtags.h:
12677         * LyXAction.C:
12678         * lyx_main.C:
12679         * lyxfunc.C:
12680         * mathed/formulabase.C:
12681         * mathed/math_cursor.[Ch]:
12682         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12683
12684
12685 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12686
12687         * lyxlength.[Ch] (operator!=): new function
12688
12689 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12690
12691         * text.C (workWidth): use Inset::parOwner to find out where the
12692         inset has been inserted. This is a huge performance gain for large
12693         documents with lots of insets. If Inset::parOwner is not set, fall
12694         back on the brute force method
12695
12696         * paragraph_pimpl.C (insertInset):
12697         * paragraph.C (Paragraph):
12698         (cutIntoMinibuffer): set parOwner of insets when
12699         inserting/removing them
12700
12701         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12702
12703 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12704
12705         * tabular-old.C (getTokenValue):
12706         * tabular.C (getTokenValue):
12707         (write_attribute): new versions for LyXLength
12708         (everywhere): adjust the use of widths
12709
12710         * tabular.h: change the type of widths from string to LyXLength
12711
12712 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12713
12714         * paragraph.C: fixed missing line number count when exporting
12715         Environments to LaTeX file
12716
12717         * buffer.C: added informational message for checking line numbers.
12718
12719 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12720
12721         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12722         paragraph, do the 'double space' part, but not the 'empty
12723         paragraph' one.
12724
12725         * text.C (workWidth): small optimization
12726         (getLengthMarkerHeight): use minimal size for negative lengths.
12727
12728 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12729
12730         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12731
12732         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12733
12734 2001-12-11  André Pönitz <poenitz@gmx.net>
12735
12736         * FontLoader.C:
12737         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12738
12739 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12740
12741         * text2.C: keep selection on a setFont()
12742
12743 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12744
12745         * lyx_cb.C: another bv->text misuse, from insert label
12746
12747 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12748
12749         * kbsequence.h:
12750         * kbsequence.C: re-instate nmodifier mask
12751
12752 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12753
12754         * lyx_main.h: make lyxGUI private.
12755
12756 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12757
12758         * lyxfind.C: place the cursor correctly on failed search
12759
12760 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12761
12762         * text.C (getLengthMarkerHeight): for small heights, the arrows
12763         are not always on top/bottom of the text
12764         (drawLengthMarker): smaller arrows; take the left margin in
12765         account; draw also vfills.
12766         (paintFirstRow):
12767         (paintLastRow): remove special code for vfill and standard spaces,
12768         since everything is handled in drawLengthMarker now.
12769
12770 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12771
12772         * buffer.C (insertErtContents): try to handle font and language
12773         interaction a bit better.g
12774
12775         * ColorHandler.C (updateColor): change the hash to cover the whole
12776         LColor enum, ws cleanup
12777         (getGCLinepars): ditto
12778         (getGCLinepars): only lookup in the linecache once.
12779
12780 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12781
12782         * iterators.C (operator++): Make the iterator more robust
12783
12784         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12785         (John's patch)
12786         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12787
12788 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12789
12790         * lyxtext.h:
12791         * text.C: better added space drawing
12792
12793 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12794
12795         * LyXView.C:
12796         * BufferView2.C: fix layout combo update on inset unlock
12797
12798 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12799
12800         * Makefile.am: don't compile unused files
12801
12802 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12803
12804         * lyxfunc.C:
12805         * commandtags.h:
12806         * LyXAction.C: remove old LFUN_LAYOUTNO
12807
12808 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12809
12810         * paragraph_pimpl.h:
12811         * paragraph_pimpl.C: isTextAt() doesn't need font param
12812
12813 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12814
12815         * lyxlex.h:
12816         * lyxlex.C: little cleanup
12817
12818 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12819
12820         * BufferView_pimpl.C: fix insertAscii for insets
12821
12822 2001-12-05  Juergen Vigna  <jug@sad.it>
12823
12824         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12825         set the right font on the "multi" paragraph paste!
12826
12827 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12828
12829         * trans_decl.h:
12830         * trans_mgr.[Ch]:
12831         * trans.[Ch]:
12832         * lyxgluelength.C:
12833         * lyxlength.C: remove out-commented code.
12834
12835         * BufferView_pimpl:
12836         * CutAndPaste.C:
12837         * DepTable.C:
12838         * buffer.C:
12839         * chset.C:
12840         * lastfiles.C:
12841         * lyxlex.C:
12842         * lyxlex_pimpl.C:
12843         * lyxserver.C:
12844         * screen.C:
12845         * tabular-old.C:
12846         * tabular.C:
12847         * text.C:
12848         * trans_mgr.C:
12849         * vc-backend.C: change "while(" to "while ("
12850
12851         * lyxlength.[Ch]: add zero function to check if length is zero or
12852         not
12853         * lyxgluelength.C: use it
12854
12855 2001-12-05  Allan Rae  <rae@lyx.org>
12856
12857         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12858         Works for 2.95.3, from what I understand of Garst's reports this should
12859         work for other g++ versions.  We're screwed if the abs(int) definition
12860         changed between bugfix releases of gcc.
12861
12862 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12863
12864         * text.C: fix chapter label offset !
12865
12866 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12867
12868         * lyxtext.h:
12869         * text.C: fix hfill at end of line, clean up
12870
12871 2001-12-04  Juergen Vigna  <jug@sad.it>
12872
12873         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12874         that we force an update of the inset and it's owners if neccessary.
12875
12876 2001-12-03  Juergen Vigna  <jug@sad.it>
12877
12878         * text.C (rowLast): simplified code
12879
12880 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12881
12882         * lyxfunc.C: fix show options on timeout
12883
12884 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12885
12886         * screen.C (topCursorVisible): scroll half a page when the cursor
12887         reached top of bottom of screen
12888
12889 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12890
12891         * minibuffer.C: deactivate on loss of focus
12892
12893 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12894
12895         * vspace.[Ch] (operator!=): add operator.
12896
12897 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12898
12899         * BufferView_pimpl.C: refuse to open an inset when
12900         there's a selection.
12901
12902 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12903
12904         * BufferView_pimpl.C: allow to click on RHS of full row insets
12905
12906 2001-11-30  Juergen Vigna  <jug@sad.it>
12907
12908         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12909         insets for undo reasons.
12910
12911 2001-11-28  André Pönitz <poenitz@gmx.net>
12912
12913         * vspace.[Ch]: cosmetical changes
12914
12915 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12916
12917         * LyXAction.h:
12918         * LyXAction.C:
12919         * lyxfunc.h:
12920         * lyxfunc.C:
12921         * kbmap.h:
12922         * kbmap.C:
12923         * lyxrc.C:
12924         * kbsequence.h:
12925         * kbsequence.C: part re-write of old kb code
12926
12927         * Painter.C:
12928         * WorkArea.C: remove Lgb_bug_find_hack
12929
12930 2001-11-30  José Matos <jamatos@fep.up.pt>
12931
12932         * buffer.C (makeDocBookFile): add a comment to point a hack.
12933         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12934         Fixed a double write of labels.
12935
12936 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12937
12938         * LaTeX.C:
12939         * LaTeX.h Fixed bug in LaTeX class where it would not
12940         re-run latex if no depfiles were changed, but the .dvi was removed.
12941
12942 2001-11-28  André Pönitz <poenitz@gmx.net>
12943
12944         * all the files from the change on 2001/11/26:
12945         use lyx::layout_type instead of LyXTextClass::size_type
12946         use lyx::textclass_type instead of LyXTextClassList::size_type
12947
12948 2001-11-29  Juergen Vigna  <jug@sad.it>
12949
12950         * text.C: added support for paragraph::isFreeSpacing()
12951
12952         * buffer.C: same as above
12953
12954         * paragraph.h: inserted isFreeSpacing() function to enable
12955         FreeSpacing inside InsetERT.
12956
12957         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12958         of the paragraph's in the cut/copy buffer to 0!
12959
12960         * text2.C (removeRow): remove the assert as it can!
12961
12962         * lyxtext.h: added helper function firstRow returning firstrow and
12963         made firstrow private again.
12964
12965         * BufferView2.C (lockInset): don't relock if we're already locked!
12966
12967         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12968         the only paragraph.
12969         (removeRow): added Assert::(firstrow)
12970
12971         * debug.C: forgot to add INSETTEXT here.
12972
12973 2001-11-28  Juergen Vigna  <jug@sad.it>
12974
12975         * sp_spell.C (initialize): changed error text to more general
12976         spellchecker command use (not only ispell!)
12977
12978         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12979
12980         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12981
12982 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12983
12984         * vspace.C: initialise lyxgluelength on failure
12985
12986 2001-11-28  Allan Rae  <rae@lyx.org>
12987
12988         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12989         declaration & definition that looks like a function declaration.
12990
12991 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12992
12993         * BufferView2.C (copy):
12994         (copyEnvironment): do not clear the selection when doing a copy.
12995
12996         * text.C (paintFirstRow): compilation fix
12997
12998 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12999
13000         * tabular.C (Latex): correct line count when writing latex.
13001
13002 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13003
13004         * paragraph_pimpl.h:
13005         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13006           bug a bit
13007
13008 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13009
13010         * text.C:
13011         * LColor.h:
13012         * LColor.C: change vfillline->added_space
13013
13014         * text.C: add markers and text for added space
13015
13016         * vspace.C: fix comment
13017
13018 2001-11-28  André Pönitz <poenitz@gmx.net>
13019
13020         * paragraph.C: whitespace changes
13021         * all the other files from the change on 2001/11/26:
13022         change *::pos_type into lyx::pos_type
13023
13024 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13025
13026         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13027         language of the document when inserting error insets.
13028
13029 2001-11-26  André Pönitz <poenitz@gmx.net>
13030
13031         * BufferView_pimpl.[Ch]:
13032         *       CutAndPaste.C:
13033         * buffer.[Ch]:
13034         * lyxcursor.[Ch]:
13035         * lyxfind.C:
13036         * lyxfunc.C:
13037         * lyxrow.[Ch]:
13038         * paragraph.[Ch]:
13039         * paragraph_pimpl.[Ch]:
13040         * sp_spell.C:
13041         * text.C:
13042         * text2.C: reduce header dependencies, introduce type for positions
13043
13044 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13045
13046         * <various>: change to use Alert.h
13047
13048 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13049
13050         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13051         when encountering an unknown token.
13052         (readLyXformat2): Show an error message if there were unknown tokens.
13053
13054 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13055
13056         * BufferView2.C:
13057         * BufferView_pimpl.C:
13058         * buffer.C:
13059         * paragraph.h:
13060         * text.C:
13061         * text2.C: use par->isInset()
13062
13063 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13064
13065         * paragraph_pimpl.h:
13066         * paragraph_pimpl.C: cleanup
13067
13068 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13069
13070         * text2.C (removeRow):
13071         * text.C (setHeightOfRow): remove useless (and costly) call to
13072         getRow.
13073
13074 2001-11-20  Allan Rae  <rae@lyx.org>
13075
13076         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13077         Now need Inset*::checkInsertChar() to return true for appropriate
13078         cases so that the characters in the minibuffer will actually be
13079         inserted.
13080
13081 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13082
13083         * text.C: change the order of the includes.
13084         (workWidth): initialize it at once.
13085         (workWidth): make maxw unsigned
13086         (setHeightOfRow): remove unused variable (inset)
13087         (selectSelectedWord): remove unused variable (inset)
13088         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13089
13090 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13091
13092         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13093         server is not running.
13094         (openConnection):
13095         (closeConnection): add debug info when server is disabled.
13096
13097         * ColorHandler.C (getGCForeground): send debug message to GUI
13098         channel.
13099
13100         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13101
13102         * kbmap.C (bind): modify because return conventions of
13103         kb_sequence::parse have changed.
13104
13105         * kbsequence.C (parse): only ignore spaces and not any stupid
13106         control character. This avoids tests like s[i] <= ' ', which are
13107         guaranteed to fail with 8bit characters and signed chars.
13108         Change return code to string::npos when there have been no error
13109         (0 was a bad idea when error is at first character)
13110
13111 2001-11-14  José Matos  <jamatos@fep.up.pt>
13112
13113         * buffer.h:
13114         * buffer.C (simpleDocBookOnePar): removed unused argument.
13115
13116 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13117
13118         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13119         insets which are part of a word. Paragraph::isLetter takes care of
13120         that now. Use Paragraph::isInset to identify insets.
13121         (selectSelectedWord): do not test for hyphenation break.
13122
13123         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13124         that protected spaces are considered as spaces.
13125
13126         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13127         Inset::isLetter.
13128
13129 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13130
13131         * lyxserver.h:
13132         * lyxserver.C: fix it. and small cleanup.
13133
13134 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13135
13136         * BufferView_pimpl.C: use inline helpers
13137
13138         * LaTeXFeatures.h:
13139         * LaTeXFeatures.C: fix typos
13140
13141         * Spacing.h:
13142         * Spacing.C: move spacing_string into class
13143
13144         * ToolbarDefaults.C: move stuff into namespace anon
13145
13146         * layout.h: update enum
13147
13148         * lyxfunc.C: use better debug
13149
13150         * minibuffer.h: fix typo
13151
13152         * debug.h:
13153         * debug.C:
13154         * WorkArea.C: add and use Debug::WORKAREA
13155
13156         * lyxtext.h:
13157         * text.C:
13158         * text2.C: code re-organisation, inline helpers
13159
13160 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13161
13162         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13163         std::vector.empty().
13164
13165 2001-11-09  Allan Rae  <rae@lyx.org>
13166
13167         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13168         '\n's after tables.  Tabular and ERT inset work now makes this no
13169         longer necessary.
13170
13171 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13172
13173         * minibuffer.h:
13174         * minibuffer.C: fix crash, improve drop-down completion
13175
13176 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13177
13178         * lyxserver.h:
13179         * lyxserver.C: invalidate fd's when doing endPipe()
13180
13181 2001-11-08  José Matos  <jamatos@fep.up.pt>
13182
13183         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13184         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13185
13186         * paragraph.h:
13187         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13188
13189 2001-11-07  José Matos  <jamatos@fep.up.pt>
13190
13191         * buffer.h:
13192         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13193         const qualifier.
13194
13195         * buffer.C (sgmlOpenTag):
13196         * buffer.C (sgmlCloseTag): removed debug info.
13197
13198         * buffer.h (sgmlOpenTag):
13199         * buffer.h (sgmlCloseTag): made public.
13200
13201 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13202
13203         * buffer.C (saveParamsAsDefaults):
13204         * lyx_cb.C (MenuLayoutSave): remove
13205
13206         * LyXAction.C (init):
13207         * commandtags.h:
13208         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13209
13210 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13211
13212         * buffer.C (setPaperStuff): removed from here...
13213
13214         * bufferparams.C (setPaperStuff): ... and moved there.
13215
13216 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13217
13218         * minibuffer.h:
13219         * minibuffer.C:
13220         * XFormsView.C: add support for drop-down completion
13221
13222 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13223
13224         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13225         commands.
13226
13227 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13228
13229         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13230         disabled.
13231
13232 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13233
13234         * lyx_main.C: change ref to known bugs
13235
13236 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13237
13238         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13239         to work around older babel problems.
13240
13241 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13242
13243         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13244
13245 2001-10-24  Juergen Vigna  <jug@sad.it>
13246
13247         * tabular-old.C (ReadOld): below variable changes reflected.
13248
13249         * tabular.[Ch]: added ltType struct for longtable header/footer
13250         defines and changed all instances where they are used. Added
13251         future support for double top/bottom rows.
13252
13253 2001-10-24  José Matos  <jamatos@fep.up.pt>
13254
13255         * buffer.h (docbookHandleCaption):
13256         * buffer.C (docbookHandleCaption): removed unused function.
13257         (makeDocBookFile): moved docbook supported version to v4.1.
13258
13259 2001-10-24  José Matos  <jamatos@fep.up.pt>
13260
13261         * tabular.h:
13262         * tabular.C (docbookRow): new function to export docbook code of a row.
13263         (DocBook): now honors the longtable flags.
13264
13265 2001-10-23  José Matos  <jamatos@fep.up.pt>
13266
13267         * LaTeXFeatures.h:
13268         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13269         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13270
13271         * buffer.C (makeLinuxDocFile):
13272         (makeDocBookFile): reworked the preamble, more clean, and with
13273         support for lyx defined entities. Changed the document declaration
13274         to be more XML friendly.
13275
13276         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13277         if we need to output XML that should be done with a filter.
13278
13279 2001-10-22  Juergen Vigna  <jug@sad.it>
13280
13281         * sp_pspell.h (class PSpell): add alive function needed in the
13282         controller to see if the spellchecker could be started.
13283
13284 2001-10-22  Juergen Vigna  <jug@sad.it>
13285
13286         * buffer.C (insertStringAsLines): modify the font for inserting
13287         chars in certain conditions by calling checkInsertChar(font).
13288
13289 2001-10-19  Juergen Vigna  <jug@sad.it>
13290
13291         * text.C (workWidth): use getRow instead of wrong algorithm.
13292         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13293
13294 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13295
13296         * lyxserver.h:
13297         * lyxserver.C:
13298         * lyx_main.h:
13299         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13300
13301 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13302
13303         * text.C (workWidth): do not search for the exact row when
13304         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13305         optimization for big documents.
13306
13307 2001-10-18  Juergen Vigna  <jug@sad.it>
13308
13309         * text.C (workWidth): new function with added Inset * parameter.
13310
13311 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13312
13313         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13314
13315         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13316         change return type of getColumnNearX.
13317
13318
13319         * text.C (changeRegionCase): use uppercase/lowercase instead of
13320         toupper/tolower.
13321         (leftMargin):
13322         (rightMargin): simplify code by factoring out the uses of
13323         textclasslist.
13324         (labelFill):
13325         (numberOfHfills):
13326         (setHeightOfRow):
13327         (appendParagraph): use Paragraph::size_type
13328
13329 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13330
13331         * vspace.C (asLatexString): add a missing break
13332
13333 2001-10-15  Herbert Voss  <voss@perce.de>
13334
13335         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13336
13337 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13338
13339         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13340         is not available.
13341
13342 2001-10-10  André Pönitz <poenitz@gmx.net>
13343
13344         * lyxfunc.C: removed greek_kb_flag.
13345
13346 2001-10-10  Herbert Voss  <voss@perce.de>
13347
13348         * lyx_main.C: delete global string help_lyxdir.
13349
13350 2001-10-09  Herbert Voss  <voss@perce.de>
13351
13352         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13353
13354         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13355
13356         * lyx_main.C: added global string help_lyxdir.
13357
13358         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13359
13360 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13361
13362         * lyxrc.C (set_font_norm_type): support iso8859-4
13363
13364 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13365
13366         * LaTeX.C (deplog): add another regex for MikTeX
13367
13368 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13369
13370         * lyxrc.C (set_font_norm_type): support iso8859-3
13371
13372 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13373
13374         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13375
13376         * LaTeXFeatures.C: remove special case of french and index
13377
13378         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13379         before \begin{document}). This solves several incompatibilities.
13380
13381 2001-10-03  Garst Reese  <reese@isn.net>
13382
13383         * lyx_cb.C: change CheckTex error msg.
13384
13385 2001-10-03  José Matos  <jamatos@fep.up.pt>
13386
13387         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13388
13389 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13390
13391         * .cvsignore: update
13392
13393         * lyx_main.C (commandLineVersionInfo): use new style version info.
13394
13395         * buffer.C (writeFile):
13396         (makeLaTeXFile):
13397         (makeLinuxDocFile):
13398         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13399
13400         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13401
13402         * version.h: update to use stuff in version.C
13403
13404         * version.C.in: new file. Contains version information determined
13405         at compile time. This is a merging of version.h and
13406         version_info.h.in.
13407
13408 2001-10-03  Juergen Vigna  <jug@sad.it>
13409
13410         * BufferView_pimpl.C (update): don't change "dirty" status in
13411         updateInset call.
13412
13413 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13414
13415         * WorkArea.C (c-tor): re-position version string slightly.
13416
13417 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13418
13419         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13420         revert to previous code.
13421
13422         WorkArea.[Ch]: (show, destroySplash): methods removed.
13423
13424         WorkArea.C: rework code so that it's an amalgam of the codes before and
13425         after the splash screen was moved to WorkArea.
13426
13427 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13428
13429         * lyxrc.C (read):
13430         * vspace.C (inPixels):
13431         (lyx_advance):
13432         * kbmap.C (bind):
13433         * buffer.C (insertStringAsLines):
13434         (asciiParagraph): fix types to be large enough
13435
13436         * lyxlex_pimpl.h: change member status from short to int
13437
13438         * layout.h: fix type of endlabeltype
13439
13440         * kbmap.C (bind):
13441         * kbsequence.C (parse): change return type to string::size_type
13442
13443         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13444         variable
13445
13446         * Bullet.C (bulletSize):
13447         (bulletEntry): do not use short ints as parameters
13448
13449         * BufferView2.C (insertLyXFile): change a char to an int.
13450
13451         * WorkArea.C (WorkArea): remove unneeded floats in computation
13452
13453 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13454
13455         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13456
13457         * paragraph.C (asString): Do not ignore newline/hfill chars when
13458         copying to the clipboard.
13459
13460 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13461
13462         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13463         after a multi-line inset.
13464
13465 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13466
13467         * paragraph.C (validate): Set NeedLyXFootnoteCode
13468
13469 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13470
13471         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13472         and decrease-error to decrease.
13473
13474 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13475
13476         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13477         it more readable (should be equivalent)
13478
13479 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13480
13481         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13482
13483 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13484
13485         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13486         of a cursor (row, etc.) after a character has been deleted
13487         (deleteEmptyParagraphMechanism): call the method above on _all_
13488         cursors held by the LyXText when a double space has been
13489         detected/deleted.
13490
13491 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13492
13493         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13494         pixmap.
13495         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13496
13497         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13498         background. Use greyOut() and the new show() methods to toggle between
13499         the foreground and background. Add code to remove the splash after
13500         its initial showing.
13501
13502         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13503         (create_forms): no longer call Dialogs::showSplash.
13504
13505 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13506
13507         * .cvsignore: add version_info.h
13508
13509 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13510
13511         * version_info.h.in: new file
13512
13513         * Makefile.am: add version_info.h.in
13514
13515         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13516         version_info.h instead of VERSION_INFO
13517
13518 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13519
13520         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13521         The ERT inset now returns string().
13522
13523 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13524
13525         * lyxtext.h, text.C (selectNextWord): renamed as
13526         selectNextWordToSpellcheck.
13527
13528         * text.C (selectNextWordToSpellcheck): Modified to not select
13529         words inside an ERT inset.
13530
13531 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13532
13533         * lyx_cb.C (MenuLayoutSave): change a bit the question
13534
13535         * sp_base.h: include <sys/types.h>
13536
13537 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13538
13539         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13540
13541 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13542
13543         * several files: fix typos in user-visible strings
13544
13545 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13546
13547         * text2.C (pasteSelection): do not set the selection, since it
13548         will be cleared later. Actually, the intent was to fix the way the
13549         selection was set, but I figured rmoving the code was just as good.
13550
13551 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13552
13553         * FontLoader.C (available): Check if font is available without
13554         loading the font.
13555
13556 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13557
13558         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13559
13560 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13561
13562         * lyxrc.[Ch]: added display_graphics variable and associated code.
13563
13564 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13565
13566         * bufferparams.C (hasClassDefaults): new method. Returns true if
13567         the buffer parameters correspond to known class defaults
13568
13569 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13570
13571         * XFormsView.C (show): set minimum size to the main window.
13572
13573 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13574
13575         * text2.C (copySelection):
13576         (cutSelection):
13577         * lyxfind.C (LyXReplace):
13578         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13579         LyXText::selectionAsString.
13580
13581         * paragraph.C (asString): add "label" argument to the second form
13582
13583         * text2.C (selectionAsString): add "label" argument and pass it to
13584         Paragraph::asString.
13585
13586 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13587
13588         * lyx_main.C (commandLineHelp): remove version information
13589
13590 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13591
13592         * lyx_main.C: add -version commandline option
13593
13594 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13595
13596         * paragraph.h: make the optional constructor arg required instead.
13597         some modifications to other files because of this.
13598
13599         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13600
13601         * lyxserver.C (C_LyXComm_callback): make it static
13602
13603         * lyx_main.C (error_handler): make it static
13604
13605         * lyx_gui.C (LyX_XErrHandler): make it static
13606
13607         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13608
13609         * WorkArea.C: make the extern "C" methods static.
13610
13611         * Makefile.am (lyx_LDADD): simplify
13612
13613 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13614
13615         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13616         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13617
13618         * LyXAction.C (init):
13619         * lyxfunc.C (dispatch): associated code removal.
13620
13621 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13622
13623         * lyxfont.h (isSymbolFont): shut off warning
13624
13625         * text.C (setHeightOfRow):
13626         (getVisibleRow): fix crash with empty paragraphs which have a
13627         bottom line
13628
13629 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13630
13631         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13632         code.
13633
13634 2001-09-04  José Matos  <jamatos@fep.up.pt>
13635         * buffer.C
13636         * buffer.h
13637         * tabular.C (docbook): rename docBook method to docbook.
13638
13639 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13640
13641         * Makefile.am: add dependencies to main.o.
13642
13643 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13644
13645         * FontLoader.C (available): Return false if !lyxrc.use_gui
13646
13647 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13648
13649         * FontInfo.C (query):
13650         * converter.C (view):
13651         * importer.C (Import):
13652         * exporter.C (Export): Can not -> cannot.
13653
13654 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13655
13656         * BufferView_pimpl.C: allow to create index inset even if
13657           string is empty
13658
13659 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13660
13661         * buffer.C (getLists): replace boost::tie code with an explicit pair
13662         as boost::tie can break some compilers.
13663
13664         * iterators.h: Added a std:: declaration to the return type of
13665         ParIterator::size.
13666
13667 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13668
13669         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13670           case.
13671
13672 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13673
13674         * iterators.[Ch]: New files. Provide paragraph iterators.
13675
13676         * buffer.C (changeLanguage): Use paragraph iterators.
13677         (isMultiLingual): ditto
13678
13679         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13680
13681 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13682
13683         * FontLoader.C: Support for cmr font.
13684
13685 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13686
13687         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13688         (available): New method.
13689
13690         * FontInfo.C (getFontname): Use scalable fonts even when
13691         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13692         found.
13693
13694 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13695
13696         * converter.C (Formats::view): reverted! Incorrect fix.
13697
13698 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13699
13700         * converter.C (Formats::view): only output the -paper option
13701         if the dvi viewer is xdvi, thereby fixing bug #233429.
13702
13703 2001-08-23  Herbert Voss  <voss@perce>
13704
13705         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13706
13707 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13708
13709         * Spacing.h (Spacing): Set space to Default on in the default
13710         constructor.
13711
13712 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13713
13714         * vc-backend.h (RCS::versionString): add RCS to version
13715         (CVS::versionString): add CVS to version
13716
13717         * vc-backend.C (scanMaster): do not add CVS to version.
13718         (scanMaster): do not add RCS to version
13719
13720         * lyxvc.C (versionString): new method
13721
13722         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13723
13724 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13725
13726         * Spacing.C (set): initialize fval
13727
13728 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13729
13730         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13731         " or \.
13732
13733 2001-08-16  Juergen Vigna  <jug@sad.it>
13734
13735         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13736
13737 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13738
13739         * BufferView_pimpl.C:
13740         * figureForm.C:
13741         * lyxtext.h:
13742         * text2.C: setParagraph takes linespacing now
13743
13744 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13745
13746         * LyxAction.C: add internal LFUN_CITATION_INSERT
13747
13748         * LyXView.C: actually apply fix
13749
13750         * bufferlist.C: fix open non-existent file
13751
13752         * lyxfind.C: fix indentation
13753
13754         * lyxfunc.C: remove unneeded assert, fix typo
13755
13756 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13757
13758         * MenuBackend.C: use "Floatname List"
13759
13760 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13761
13762         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13763         when converting LaTeX layout to insetERT.
13764         Generate a non-collapsed float when reading old float
13765
13766 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13767
13768         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13769         ERT insets.
13770
13771 2001-08-13  Juergen Vigna  <jug@sad.it>
13772
13773         * text.C (fill): return 0 instead of 20 as this seems to be the more
13774         correct value.
13775
13776 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13777
13778         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13779         lyxrc.font_norm.
13780
13781 2001-08-13  Juergen Vigna  <jug@sad.it>
13782
13783         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13784         casesensitive off.
13785         (SearchBackward): comment out the unlocking of the inset_owner this
13786         should not be needed!
13787
13788 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13789
13790         * Many files: Remove inherit_language, and add latex_language
13791
13792         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13793         collapsible insets.
13794
13795 2001-08-10  Juergen Vigna  <jug@sad.it>
13796
13797         * text.C (prepareToPrint): fixed hfill-width in draw!
13798
13799         * BufferView2.C (selectLastWord): save the selection cursor as this
13800         now is cleared in the function LyXText::clearSelection!
13801
13802 2001-08-08  Juergen Vigna  <jug@sad.it>
13803
13804         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13805         BACKSPACE type functions.
13806
13807         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13808         is only cutted from the document but not put in the cut-buffer, where
13809         still the old stuff should be.
13810
13811         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13812
13813         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13814
13815         * tabular.C (SetWidthOfCell): fixed special case where the width
13816         was not updated!
13817         (LeftLine): handle '|' in align_special.
13818         (RightLine): ditto
13819         (LeftAlreadyDrawed): ditto
13820         (SetWidthOfCell): ditto
13821
13822 2001-08-07  Juergen Vigna  <jug@sad.it>
13823
13824         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13825
13826 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13827
13828         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13829         * lyxlex.[hC]: ditto
13830
13831 2001-08-06  Juergen Vigna  <jug@sad.it>
13832
13833         * text.C (getVisibleRow): fix up row clearing a bit.
13834
13835 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13836
13837         * minibuffer.C: make sure the X server sees the changes in the input.
13838
13839 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13840
13841         * paragraph.C (getFont): split into...
13842         (getLabelFont): this
13843         (getLayoutFont): and this
13844         * paragraph_pimpl.C (realizeFont): calling this
13845
13846         * text2.C (getFont): split into...
13847         (getLayoutFont): this
13848         (getLabelFont): and this
13849         (realizeFont): all three calling this
13850
13851         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13852         files where used.
13853
13854 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13855
13856         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13857
13858 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13859
13860         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13861         layouts from the Quote inset insertion.
13862
13863 2001-08-03  Juergen Vigna  <jug@sad.it>
13864
13865         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13866
13867         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13868         only if status not is already CHANGED_IN_DRAW (second level).
13869
13870         * text.C (draw): don't set the need_break_row when inside an
13871         InsetText LyXText.
13872
13873 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13874
13875         * buffer.C (parseSingleLyXformat2Token): handle more latex
13876         conversion cases.
13877
13878         * bufferview_funcs.[hC]: change function names to
13879         begin with small char, adjust other files.
13880
13881 2001-08-02  André Pönitz <poenitz@gmx.net>
13882
13883         * lyxfunc.C:
13884         BufferView_pimpl.C: remove broken special code for math-greek
13885
13886 2001-08-02  Juergen Vigna  <jug@sad.it>
13887
13888         * BufferView_pimpl.C (update): redone this function so that we
13889         update the text again if there was a CHANGE_IN_DRAW.
13890
13891         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13892         (drawFromTo): added a new internal bool which is used by draw() and
13893         redraw() function.
13894         (general): some cursor drawing problems fixed.
13895
13896 2001-08-01  Juergen Vigna  <jug@sad.it>
13897
13898         * lyxfind.C (LyXFind): fixed
13899         (SearchForward): ditto
13900         (SearchBackward): ditto
13901
13902         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13903         spurius drawing of the cursor in the main area.
13904
13905         * text2.C (status): small fix which could lead to a segfault!
13906         (clearSelection): remove unneeded BufferView param.
13907
13908 2001-08-01  André Pönitz <poenitz@gmx.net>
13909
13910         * lyxfunc.C: small change due to changed mathed interface
13911
13912 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13913
13914         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13915
13916 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13917
13918         * lyxfunc.c: fail gracefully if file doesn't exist
13919
13920         * LyXSendto.C:
13921         * buffer.C:
13922         * lyxfunc.C:
13923         * BufferView_pimpl.C: IsDirWriteable() proto changed
13924
13925         * LyXView.C: fix updateWindowTitle() to store the last title
13926
13927 2001-07-31  Juergen Vigna  <jug@sad.it>
13928
13929         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13930         the font (wrong since using of Paragraph::highestFontInRange).
13931
13932         * paragraph.C (highestFontInRange): added a default_size parameter.
13933
13934         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13935         (setHeightOfRow): reformat
13936
13937 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13938
13939         * converter.[hC] + affected files: move to (inital-char)lowercase
13940         function names.
13941
13942         * ParagraphParameters.C (ParagraphParameters): remove commented code
13943
13944         * PainterBase.[Ch]: remove commented code
13945
13946         * LaTeXFeatures.h: add "bool floats" for float.sty
13947
13948         * LaTeXFeatures.C (LaTeXFeatures): init floats
13949         (require): handle float
13950         (getPackages): do it with floats
13951
13952 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13953
13954         * BufferView_pimpl.C (Dispatch): improve handling of
13955         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13956
13957         * commandtags.h: #include lyxfont.h here temporarily to avoid
13958         keybinding bug.
13959
13960         * bufferlist.h: include LString.h here.
13961
13962 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13963
13964         * text2.C (getStringToIndex): new method.
13965
13966 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13967
13968         * *: Reduced header file dependencies all over.
13969
13970 2001-07-30  Baruch Even  <baruch@lyx.org>
13971
13972         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13973
13974 2001-07-29  Baruch Even  <baruch@lyx.org>
13975
13976         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13977
13978 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13979
13980         * ParameterStruct.h (endif): add a default constructor to make
13981         sure that all variables is initialized.
13982
13983         * ParagraphParameters.C (ParagraphParameters): adjust
13984
13985 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13986
13987         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13988         index; also, check that there is something to index, and that it
13989         does not span over several paragraphs.
13990         (doubleClick): use WHOLE_WORD_STRICT for double click.
13991
13992         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13993
13994         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13995         scheme.
13996
13997 2001-07-26  Baruch Even  <baruch@lyx.org>
13998
13999         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14000         an InsetFig figure, backwards compatible reading of old figure code.
14001
14002 2001-07-27  Juergen Vigna  <jug@sad.it>
14003
14004         * text2.C: font.realize function adaption.
14005
14006         * text.C (draw): add a warnings lyxerr text if needed.
14007
14008         * layout.C: font.realize function adaption.
14009
14010         * language.C: add inherit_language and implement it's handlings
14011
14012         * bufferview_funcs.C (StyleReset): remove language parameter from
14013         font creation (should be language_inherit now).
14014
14015         * bufferparams.C (writeFile): handle ignore_language.
14016
14017         * paragraph.C (getFontSettings): the language has to be resolved
14018         otherwise we have problems in LyXFont!
14019
14020         * lyxfont.C (lyxWriteChanges): added document_language parameter
14021         (update): removed unneeded language parameter
14022
14023         * paragraph.C (validate): fixed wrong output of color-package when
14024         using interface colors for certain fonts in certain environments,
14025         which should not seen as that on the final output.
14026
14027 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14028
14029         * BufferView_pimpl.C:
14030         * Thesaurus.h:
14031         * Thesaurus.C:
14032         * Makefile.am:
14033         * commandtags.h:
14034         * LyXAction.C: add thesaurus support
14035
14036         * lyxfind.h:
14037         * lyxfind.C: add "once" parameter, for thesaurus, to not
14038           move to the next match
14039
14040 2001-07-26  Juergen Vigna  <jug@sad.it>
14041
14042         * lyxfont.C (realize): honor ignore_language too!
14043         (resolved): ditto.
14044
14045         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14046
14047         * text.C (draw): one place more for ignore_language to not draw
14048         itself!
14049
14050 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14051
14052         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14053
14054 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14055
14056         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14057         the minipage conversion problem.
14058
14059 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14060
14061         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14062         insert an inset.
14063
14064 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14065
14066         * BufferView.h: don't forward declare WorkArea
14067
14068         * BufferView.C: don't include WorkArea.h
14069
14070 2001-07-25  André Pönitz <poenitz@gmx.net>
14071
14072         * commandtags.h:
14073         * LyXAction.C:
14074         * lyxfunc.C:  new LFUN 'math-space'
14075
14076         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14077
14078 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14079
14080         * text2.C (toggleInset): call open/close
14081
14082 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14083
14084         * lyxfunc.C (dispatch): add debug for the disabled case
14085
14086         * font.C (buttonText): make similar to rectText
14087
14088         * buffer.C (readInset): comment out parsing of insetlist and
14089         insttheorem
14090
14091         * PainterBase.C (rectText): small correction
14092
14093         * BufferView_pimpl.C: comment out insettheorem and insetlist
14094         * LyXAction.C: ditto
14095         * commandtags.h: ditto
14096
14097 2001-07-24  Juergen Vigna  <jug@sad.it>
14098
14099         * text.C (draw): honor the ignore_language.
14100
14101         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14102
14103 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14104
14105         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14106         char inset.
14107
14108 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14109
14110         * lyxtext.h: remove unused (and unimplemented) methods
14111
14112 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14113
14114         * text.C (getVisibleRow): honor background color
14115
14116         * PainterBase.h:
14117         * Painter.h: remove default color argument for fillRectangle
14118
14119         * text.C (backgroundColor): new method
14120
14121 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14122
14123         * text.C (getVisibleRow): adjust
14124
14125         * font.[Ch] (rectText): new method, metrics
14126         (buttonText): new method, metrics
14127
14128         * PainterBase.[hC]: make rectText and buttonText always draw and take
14129         fewer paramteres.
14130
14131 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14132
14133         * ToolbarDefaults.C (read):
14134         * MenuBackend.C (read): allow escaping in all strings
14135
14136         * BufferView_pimpl.C (insertAndEditInset): new method.
14137         (Dispatch): use insertAndEditInset whenever appropriate.
14138
14139         * BufferView_pimpl.C (insertNote): removed
14140
14141         * BufferView_pimpl.C (smartQuote): new method, moved from
14142         BufferView; if an insetquote cannot be inserted, insert a '"'
14143         character instead.
14144
14145         * BufferView2.C: remove insertCorrectQuote();
14146
14147         * lyxfunc.C (getStatus): Add support for all remaingin
14148         inset-insert lfuns.
14149
14150         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14151
14152         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14153         command (necessary to pass " as parameter of self-insert.
14154
14155         * text.C (selectWordWhenUnderCursor):
14156         (selectWord): add word_location parameter
14157         (selectWordWhenUnderCursor): same + remove special code for word
14158         boundary.
14159         (selectNextWord): use kind() to guess type of insetspecialchar,
14160         not latex().
14161
14162         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14163         (insertErtContents): create ert insets as collapsed.
14164         (readInset): better compatibility code for Info inset.
14165
14166 2001-07-20  Juergen Vigna  <jug@sad.it>
14167
14168         * lyxfunc.C (dispatch): use always LyXFind now!
14169
14170         * text2.C (init): add a reinit flag so that the LyXText can be
14171         reinited instead of deleted and reallocated (used in InsetText).
14172
14173         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14174
14175         * text.C: ditto
14176
14177         * text2.C: ditto
14178
14179 2001-07-18  Juergen Vigna  <jug@sad.it>
14180
14181         * text.C (selectNextWord): handle insets inside inset by calling
14182         always the bv->text functions so that we can go up the_locking_inset!
14183
14184         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14185         in strange locations when inside an inset!
14186
14187         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14188         handling to include insets.
14189
14190         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14191
14192 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14193
14194         * LyXAction.C (init):
14195         * commandtags.h:
14196         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14197         LIGATURE_BREAK, since the name is so stupid.
14198
14199 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14200
14201         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14202         InsetInfos.
14203
14204         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14205
14206         * sp_form.[Ch]: remove.
14207
14208         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14209
14210         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14211         InsetInfo.
14212
14213         * src/buffer.C (readInset): ditto.
14214
14215 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14216
14217         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14218         menuSeparator(), endOfSentenceDot(), ldots() and
14219         hyphenationPoint(), which are therefore removed.
14220         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14221
14222         * LyXAction.C (init):
14223         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14224
14225         * paragraph.C (getWord): removed.
14226
14227         * BufferView_pimpl.C (Dispatch): use last word or selection for
14228         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14229
14230         * lyx_main.C (queryUserLyXDir): do not ask before creating
14231         user_dir, except if it has been named explicitely.
14232
14233 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14234
14235         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14236         a document of zero size.
14237
14238 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14239
14240         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14241         approriately in the c-tor and in require().
14242         (getPackages): output the appropriate LaTeX for natbib support.
14243
14244         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14245         variables "use_natbib" and "use_numerical_citations" when reading the
14246         LyX file.
14247         (readInset): read the various natbib cite commands.
14248         (validate): white-space change.
14249
14250         * bufferparams.[Ch]: new variables "bool use_natbib" and
14251         "bool use_numerical_citations".
14252         (writeFile): output them in the LyX file.
14253
14254 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14255
14256         * lyxfunc.C (getStatus): add support for all the inset insertion
14257         commands.
14258
14259         * text2.C (insertInset):
14260         * paragraph.C (insetAllowed):
14261         * BufferView_pimpl.C (insertInset): update to take in account the
14262         renaming of insertInsetAllowed
14263
14264         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14265
14266         * text2.C (getInset): new method. returns inset at cursor position.
14267
14268         * BufferView_pimpl.C (Dispatch): changes because of this.
14269
14270         * LyXAction.C (init): rename open-stuff to inset-toggle.
14271
14272         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14273
14274         * text2.C (toggleInset): renamed from openStuff; use
14275         Inset::open().
14276
14277 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14278
14279         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14280
14281         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14282
14283 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14284
14285         * buffer.C (readLyXformat2): Add filename to the error dialog
14286
14287 2001-07-18  Juergen Vigna  <jug@sad.it>
14288
14289         * tabular.C (GetCellNumber): put an assert here instead of the check!
14290
14291 2001-07-17  Juergen Vigna  <jug@sad.it>
14292
14293         * BufferView_pimpl.C (toggleSelection): adapted too.
14294
14295         * text.C (selectNextWord): adapted for use with insets.
14296         (selectSelectedWord): ditto
14297
14298 2001-07-17  Juergen Vigna  <jug@sad.it>
14299
14300         * sp_spell.C (PSpell): fix initialitation order.
14301
14302 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14303
14304         * paragraph.C: spacing
14305
14306 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14307
14308         * sp_spell.C: repair language selection for pspell
14309
14310 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14311
14312         * lyxfunc.h: change more methods to begin with lower char.
14313
14314 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14315
14316         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14317         for unknown layouts.
14318
14319 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14320
14321         * buffer.C (readLyXformat2): Generate an error dialog if there are
14322         unknown layouts.
14323
14324 2001-07-16  Juergen Vigna  <jug@sad.it>
14325
14326         * sp_spell.C: always compile ISpell part.
14327
14328         * lyxrc.C: added use_pspell entry and it's handling.
14329
14330 2001-07-13  Juergen Vigna  <jug@sad.it>
14331
14332         * sp_spell.C: removed double includes.
14333
14334 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14335
14336         Consistent use of Lsstream.h:
14337         * Lsstream.h: added using std::stringstream for consistencies sake.
14338
14339         * buffer.C: removed using std::stringstream
14340
14341         * lyxfont.C (stateText):
14342         * paragraph.C (asString):
14343         * text.C (selectNextWord, selectSelectedWord):
14344         * text2.C (setCounter):
14345         * vspace.C (asString, asLatexString):
14346         std::ostringstream -> ostringstream.
14347
14348 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14349
14350         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14351         * commandtags.h: add LFUN_HELP_ABOUTLYX
14352         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14353
14354 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14355
14356         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14357         cursorToggle()
14358         * lyx_gui_misc.C: remove spellchecker
14359         * lyxfunc.C: showSpellchecker
14360         * sp_base.h: added
14361         * sp_ispell.h: added
14362         * sp_pspell.h: added
14363         * sp_spell.C: added
14364         * sp_form.[Ch]: removed
14365         * spellchecker.[Ch]: removed
14366
14367 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14368
14369         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14370         is set.
14371         (simpleTeXSpecialChars): Simply print the input character without
14372         any special translation if pass_thru is set.
14373
14374         * layout.h: Added bool pass_thru to layout class for being able to
14375         implement pass through of a paragraph for Literate Programming.
14376
14377         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14378         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14379         * layout.C (Read): add "passthru" to list of layout tags and add
14380         code to set the pass_thru boolean when it is read.
14381
14382 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14383
14384         * trans_decl.h: remove allowed from KmodInfo
14385
14386         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14387         remove allowed code
14388         (Load): adjust
14389
14390         * paragraph_pimpl.C (erase): use boost::prior
14391
14392         * Painter.C (text): use data() instead of c_str() when length is
14393         also provided.
14394         * WorkArea.C (putClipboard): ditto
14395         * font.h (width): ditto
14396
14397         * BufferView2.C: use it-> instead of (*it). for iterators
14398         * texrow.C: ditto
14399         * paragraph_pimpl.C: ditto
14400         * paragraph.C: ditto
14401         * minibuffer.C: ditto
14402         * language.C: ditto
14403         * kbmap.C: ditto
14404         * encoding.C: ditto
14405         * counters.C: ditto
14406         * converter.C: ditto
14407         * chset.C: ditto
14408         * Variables.C: ditto
14409         * TextCache.C: ditto
14410         * MenuBackend.C: ditto
14411         * LyXAction.C: ditto
14412         * LColor.C: ditto
14413         * FloatList.C: ditto
14414         * DepTable.C: ditto
14415         * ColorHandler.C (LyXColorHandler): ditto
14416
14417 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14418
14419         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14420
14421         * text2.C (openStuff): reintroduce this method (which had been
14422         nuked in NEW_INSETS frenzy).
14423
14424         * lyxfunc.C (Dispatch): when an action has not been handled, use
14425         its name in the error message, not its number.
14426
14427         * paragraph.C (inInset): change method name to begin with lowercase.
14428
14429         * undo_funcs.C:
14430         * text2.C: updates because of this.
14431
14432 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14433
14434         * ToolbarDefaults.C (add): add spaces in error message
14435
14436 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14437
14438         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14439         (readLyXformat2): rename return_par to first_par, use lyxlex's
14440         pushToken and remove the manual push handling.
14441         (parseSingleLyXformat2Token): add another ert comp. variable:
14442         in_tabular, rename return_par to first_par. handle newlines better
14443
14444 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14445
14446         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14447
14448 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14449
14450         * text2.C (getParFromID): removed
14451
14452         * buffer.C (getParFromID): new method moved form lyxtext.
14453         * BufferView2.C (insertErrors): adjust
14454         (setCursorFromRow): adjust
14455         * BufferView_pimpl.C (restorePosition): adjust
14456         * lyxfunc.C (Dispatch): adjust
14457         * undo_funcs.C (textUndo): adjust
14458         (textRedo): adjust
14459         (textHandleUndo): adjust
14460         (textHandleUndo): adjust
14461
14462 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14463
14464         * buffer.C: up' the LYX_FORMAT
14465
14466         * lyxfont.h: turn NO_LATEX on as default
14467
14468         * buffer.C (insertErtContents): new methods of tex style compability.
14469         (parseSingleLyXformat2Token): use it several places.
14470         * tabular.C (OldFormatRead): and here
14471
14472 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14473
14474         * text2.C: remove some commented code.
14475         reindent file.
14476
14477         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14478         * trans.C: changes because of the above.
14479
14480 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14481
14482         * text2.C (setCounter): Fix counters bug with bibliography layout.
14483
14484 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14485
14486         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14487         own member functions
14488         (simpleTeXSpecialChars): ditto
14489
14490 2001-07-06  Juergen Vigna  <jug@sad.it>
14491
14492         * a lot of files: changed the access to LyXText::status and the
14493         call of undo-functions.
14494
14495         * undo.[Ch]: added a inset_id to the undo informations.
14496
14497         * undo_funcs.[Ch]: added and moved here all undo functions.
14498
14499         * lyxtext.h: give the status enum a weight, made status_ a private
14500         variable and made accessor functions for it, removed the whole bunch
14501         of undo-functions as they are now in their own file, make some
14502         functions publically available. Added function ownerParagraph with
14503         int parameter.
14504
14505         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14506         made InInset() a const function, added getParFromID() function.
14507
14508         * buffer.[Ch]: added const version for inset_iterator functions,
14509         added getInsetFromID() function.
14510
14511         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14512         changed undo functions for new version.
14513
14514 2001-07-05  Juergen Vigna  <jug@sad.it>
14515
14516         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14517         unknow mechanism does not call the proper constructor but only this
14518         one also if I request the other!?
14519
14520 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14521
14522         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14523
14524         * text2.C (LyXText): use initialization lists.
14525
14526         * lyxtext.h (Selection): initialize set_ and mark_
14527         (init): remove method
14528
14529 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14530
14531         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14532
14533 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14534
14535         * screen.[Ch]: change method names to begin with lowercase
14536
14537         * BufferView_pimpl.C (updateScrollbar): simplify further and
14538         hopefully make it a bit faster.
14539
14540 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14541
14542         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14543         calling directly xforms functions.
14544
14545         * Painter.C (Painter):
14546         * lyx_cb.C (MenuWrite):
14547         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14548         fl_display.
14549
14550         * lyx_gui.C: remove bogus guiruntime extern declaration.
14551
14552 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14553
14554         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14555         in NEW_INSETS
14556         (redoDrawingOfParagraph): ditto
14557         (redoParagraphs): ditto
14558         (cutSelection): don't create a object for CutAndPaste use the
14559         static method directly
14560         (pasteSelection): ditto
14561
14562         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14563         LyXview (+ rename)
14564
14565 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14566
14567         * modifications to some other files because of this.
14568
14569         * Makefile.am (lyx_SOURCES): add XFormsView
14570
14571         * XFormsView.[Ch]: new files
14572
14573         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14574         the main window. Move the gui dependent stuff to XFormsView
14575
14576 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14577
14578         * tabular.C (GetCellInset): update cur_cell also in the row/col
14579         version of this function.
14580
14581         * lyxfunc.C: no need to include figure_form.h here.
14582
14583         * FontLoader.h:
14584         * lyxfunc.h:
14585         * lyxscreen.h:
14586         * text2.C:
14587         * lyxvc.C: no need to include forms.h here.
14588
14589 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14590
14591         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14592
14593         * lyxfunc.C (Dispatch):
14594         * Spacing.C (set):
14595         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14596         constructor argument.
14597
14598 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14599
14600         * paragraph.C (Paragraph): dont't clear, and just set layout.
14601         (makeSameLayout): use params's copy contructor.
14602
14603         * ParagraphParameters.[Ch] (makeSame): delete method
14604
14605 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14606
14607         * Variables.[Ch]: fix indentation, rename set to isSet
14608
14609 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14610
14611         * lyxfunc.C (Dispatch): fix typo
14612
14613 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14614
14615         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14616         upper_bound.
14617
14618         * bufferlist.C: include assert.h for emergencyWrite().
14619
14620 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14621
14622         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14623           give up at last (bug #425202) !
14624
14625 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14626
14627         * lyx_gui_misc.C:
14628         * sp_form.h:
14629         * sp_form.C:
14630         * spellchecker.h:
14631         * spellchecker.C: strip spellchecker options and bring up
14632           preferences tab instead
14633
14634 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14635
14636         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14637         the istringstream constructor
14638
14639 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14640
14641         * paragraph.C (getLayout): fix return value
14642
14643         * paragraph.h: do not declare getLayout as inline.
14644
14645         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14646
14647 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14648
14649         * lyxcursor.h (operator<): new func
14650         (operator>): new func
14651         (operator>=): new func
14652         (operator<=): new func
14653
14654         * text.C (changeCase): use selection.start and selection.end
14655         (changeRegionCase): require from to be <= to. Require par to be a
14656         valid paragraph.
14657
14658         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14659
14660 2001-06-27  Juergen Vigna  <jug@sad.it>
14661
14662         * text.C (cursorLeftOneWord): changed to return the cursor and added
14663         overlay with BufferView * parameter which calls this one.
14664         (getWord): added
14665         (selectWord): use new getWord function.
14666         (changeCase): renamed from changeWordCase as and extended to work
14667         also on selections.
14668
14669         * lyxtext.h: added enum word_location
14670
14671         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14672         changeCase as this operates now also on selections.
14673
14674 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14675
14676         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14677
14678         * many files: send debug output to Debug::INFO instead of
14679         Debug::ANY.
14680
14681         * converter.C (View):
14682         (Convert):
14683         (Move): send debug output to Debug::FILES instead of console.
14684
14685 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14686
14687         * lyxfunc.C (getStatus): use func_status
14688
14689         * func_status.h: new header, describing the results of
14690         LyXFunc::getStatus;
14691
14692         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14693         LFUN_MATH_HALIGN.
14694
14695 2001-06-25  The LyX Project  <jug@sad.it>
14696
14697         * buffer.C (sgmlOpenTag):
14698         (sgmlCloseTag):
14699         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14700
14701 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14702
14703         * text2.C: remove some dead code
14704
14705         * tabular.C (GetCellInset): store the last cell checked (gotten)
14706
14707         * tabular.h: add the helper for the speedup
14708
14709         * lyxtext.h: remove some dead code
14710
14711 2001-06-26  The LyX Project  <Asger>
14712
14713         * paragraph.C: Change export to LaTeX of alignment to
14714         \begin{center} and family for better roundtrip work with reLyX.
14715
14716         * Tune the math drawing a bit.
14717
14718 2001-06-25  The LyX Project  <Asger>
14719
14720         * LColor.C (LColor): New color for math background. New color
14721         for buttons.
14722
14723 2001-06-25  The LyX Project  <jug@sad.it>
14724
14725         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14726
14727         * lyxfunc.C (Open):
14728         * bufferlist.C (newFile): do not restrict to files ending with
14729         .lyx
14730
14731         * BufferView_pimpl.C (MenuInsertLyXFile):
14732
14733 2001-06-24  The LyX Project  <jug@sad.it>
14734
14735         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14736         of compare_no_case
14737
14738 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14739
14740         * lyxtext.h: rename most methods to begin with a small char.
14741         Lots of changes because of this.
14742
14743         * paragraph.C (Paragraph): do not call fitToSize
14744         (erase): call Pimpl::erase
14745         (insertChar): call Pimpl::insertChar
14746         (insertInset): call Pipl::insertInset
14747         (breakParagraph): do not call fitToSize
14748         (breakParagraphConservative): do not call fitToSize
14749         (fitToSize): remove method
14750
14751         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14752
14753 2001-06-24  The LyX Project  <Asger>
14754
14755         * Fix Qt compilation^2
14756
14757 2001-06-24  The LyX Project  <jug@sad.it>
14758
14759         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14760         depthHook(getDepth()-1).
14761
14762         * paragraph.h:
14763         * ParagraphParameters.h:
14764         * ParameterStruct.h: change type of depth to unsigned int ==
14765         depth_type. Many adaptations to other files before of that.
14766
14767 2001-06-24  The LyX Project  <Asger>
14768
14769         * Fix Qt compilation.
14770
14771 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14772
14773         * paragraph.h: renamed several methods to begin with small letter.
14774         several changes to many parts of the code because of this.
14775
14776 2001-06-23  The LyX Project  <jug@sad.it>
14777
14778         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14779         rewritten to discard all double spaces when KeepEmpty is off
14780         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14781         to only handle newlines but not fiddle with spaces and friends.
14782
14783         * lyxfunc.C (MenuNew): when doing 'new from template', use
14784         template_path as default directory
14785
14786 2001-06-23  The LyX Project  <Asger>
14787
14788         * Clean-up of header file includes all over
14789         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14790
14791 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14792
14793         * paragraph.h: renamed from lyxparagraph.h
14794
14795 2001-06-23  Asger  <lyx@violet.home.sad.it>
14796
14797         * Buffer.h: Removed Buffer::resize
14798         * BufferList.h: Removed BufferList::resize
14799         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14800         the document lazily when we change the width, or the font settings.
14801
14802 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14803
14804         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14805
14806 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14807
14808         * buffer.h: remove out of date comment
14809
14810 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14811
14812         * lyxscreen.h:
14813         * screen.C: fix "theoretical" GC leak
14814
14815 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14816
14817         * LaTeX.C (scanAuxFile):
14818         (deplog): remove trailing \r when reading stream (useful under
14819         win32)
14820
14821 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14822
14823         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14824         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14825         and BufferView::theLockingInset(Inset*), so should use them and not
14826         access bv_->text->the_locking_inset directly.
14827
14828         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14829
14830 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14831
14832         * Makefile.am:
14833         * tex-defs.h: remove old unused file
14834
14835 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14836
14837         * BufferView_pimpl.C: fix typo, remove minibuffer message
14838           when buffer has loaded
14839
14840 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14841
14842         * lyxfunc.C (Dispatch): use stringstream
14843         (MenuNew): use stringstream
14844         (Open): use stringstream
14845
14846         * importer.C (Import): use stringstream
14847
14848         * bufferview_funcs.C (CurrentState): use stringstream
14849
14850         * LaTeX.C (run): use stringstream
14851
14852         * BufferView_pimpl.C (savePosition): use stringstream
14853         (restorePosition): use stringstream
14854         (MenuInsertLyXFile): use stringstream
14855
14856 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14857
14858         * BufferView.C:
14859         * Bullet.C:
14860         * ColorHandler.C:
14861         * FontInfo.C:
14862         * FontLoader.C:
14863         * LColor.C:
14864         * LaTeXFeatures.C:
14865         * Painter.C:
14866         * gettext.C:
14867         * lyx_gui_misc.C:
14868         * lyxserver.C:
14869         * vspace.C: removed // -*- C++ -*- as first line.
14870
14871         * lyxfind.h:
14872         * version.h: added // -*- C++ -*- as first line.
14873
14874 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14875
14876         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14877
14878         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14879         of string
14880
14881 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14882
14883         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14884         of floats.
14885
14886 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14887
14888         * gettext.C: include LString.h even when --disable-nls is on.
14889
14890 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14891
14892         * converter.h (Get): changed argument type from int to
14893         FormatList::size_type to avoid unnecessary conversion.
14894
14895         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14896         before using it.
14897
14898 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14899
14900         * gettext.h: include LString.h even when --disable-nls is on.
14901
14902 2001-06-07  Juergen Vigna  <jug@sad.it>
14903
14904         * text.C (BreakAgain): subst spaces with tabs.
14905
14906         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14907         (resizeInsetsLyXText): set force on resizeLyXText.
14908
14909 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14910
14911         * gettext.h (gettext_init):
14912         (locale_init): use a real definition instead of a macro
14913
14914 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14915
14916         * Bufferview_pimpl.C:
14917         * LColor.h:
14918         * LColor.C: further lcolor tidies
14919
14920 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14921
14922         * BufferView_pimpl.C (updateScrollbar): simplify.
14923
14924         * BufferView2.C: don't include insets/insetinfo.h, change
14925         prototype for insertInset and call the Pimpl version. let
14926         updateInset call Pimpl version.
14927
14928         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14929         gotoInset to BufferView::Pimpl
14930
14931 2001-06-01  Juergen Vigna  <jug@sad.it>
14932
14933         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14934         inside a LockingInset (is the update needed at all?).
14935
14936 2001-05-31  Juergen Vigna  <jug@sad.it>
14937
14938         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14939         here not the old one otherwise how should we compare it afterwards
14940         if it's the same!
14941
14942 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14943
14944         * lyxfont.C:
14945         * tabular.C:
14946         * tabular-old.C:
14947         * FontInfo.C: bring C functions into global namespace when
14948         necessary
14949
14950 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14951
14952         * LString.h: make sure config.h has been loaded before LString.h.
14953
14954         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14955         (one for each char read by EatLine!).
14956
14957         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14958         variables.
14959
14960 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14961
14962         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14963         to the same as the par we break from
14964
14965 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14966
14967         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14968
14969         * MenuBackend.C (expand): also create menu entries for wide
14970         versions of the floats.
14971
14972         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14973
14974         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14975
14976         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14977         frontends/Makefile.am
14978
14979         * text2.C: adjust
14980         * text.C: adjust
14981
14982
14983         * tabular.C (getTokenValue): add std::
14984
14985         * tabular-old.C (getTokenValue): add std::
14986         (getTokenValue): ditto
14987         (getTokenValue): ditto
14988
14989         * screen.C (ToggleSelection): adjust
14990
14991         * lyxtext.h: put selection cursors inside a Selection struct.
14992
14993         * lyxfunc.C (moveCursorUpdate): adjust
14994
14995         * lyxfont.C (latexWriteStartChanges): add std::
14996
14997         * lyxfind.C: adjust
14998
14999         * font.h: delete with(char const *, LyXFont const &)
15000
15001         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15002
15003         * FontInfo.C (getFontname): add std::
15004
15005         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15006         (workAreaButtonPress): adjust
15007         (tripleClick): adjust
15008         (update): adjust
15009         (moveCursorUpdate): adjust
15010         (Dispatch): adjust
15011
15012         * BufferView2.C (gotoInset): adjust
15013
15014 2001-05-30  Juergen Vigna  <jug@sad.it>
15015
15016         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15017         to check pspell I add this as default as I now have new pspell
15018         libraries and they seem to use this.
15019
15020 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15021
15022         * text2.C (CutSelection): make the cursor valid before the call to
15023         ClearSelection.
15024
15025 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15026
15027         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15028         relied on 0 terminated strings and other horrors. Bug found due to
15029         the new assert in lyxstring!
15030
15031         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15032         KP_ keys.
15033
15034 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15035
15036         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15037         to latinkeys.bind.
15038
15039         * lyxfunc.C (processKeySym): change method of getting to the
15040         self-insert char.
15041
15042         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15043         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15044         * BufferView_pimpl.[Ch]: here as private methods.
15045
15046 2001-05-28  Juergen Vigna  <jug@sad.it>
15047
15048         * text.C (SetHeightOfRow): added the update() call again as it is
15049         needed to initialize inset dimensions!
15050
15051 2001-05-16  Juergen Vigna  <jug@sad.it>
15052
15053         * text2.C (SetCharFont): Add new function with BufferView * and
15054         bool toggleall parameters for setting insets internal fonts.
15055         (SetFont): Freeze the undo as we may change fonts in Insets and
15056         all this change should be inside only one Undo!
15057
15058         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15059         setting font's in insets as for them we have the SetFont function!
15060
15061 2001-05-15  Juergen Vigna  <jug@sad.it>
15062
15063         * text2.C (ClearSelection): to be sure we REALLY don't have any
15064         selection anymore!
15065
15066         * tabular.C (TeXCellPreamble): fixed the left border problem for
15067         multicolumn cells.
15068
15069 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15070
15071         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15072         dependancy file
15073
15074 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15075
15076         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15077         LFUN_BREAKPARAGRAPH.
15078
15079         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15080         help test to "internal only", similar for LFUN_INSERT_URL
15081
15082         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15083         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15084         auto_region_delete and deadkeys.
15085
15086 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15087
15088         * LColor.h:
15089         * LColor.C: remove some dead entries, tidy a little
15090
15091 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15092
15093         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15094         commented code.
15095         (Dispatch): implement LFUN_ESCAPE
15096
15097         * commandtags.h: add LFUN_ESCAPE
15098
15099         * LyXAction.C (init): add entry for LFUN_ESCAPE
15100
15101         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15102         Remove commented code.
15103         (insertNote): moved here
15104         (open_new_inset): moved here
15105
15106         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15107         BufferView_pimpl
15108
15109 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15110
15111         * kbmap.C (findbinding): clean it up and make it work correctly.
15112
15113         * lyx_main.C (init): do not pass argc and argv as parameters
15114
15115 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15116
15117         * buffer.C: fix path for OS/2 & Win32
15118
15119         * lyx_gui.C:
15120         * lyx_main:
15121         * lyx_main.C: Added os:: class.
15122
15123         * os2_defines.h: update
15124
15125 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15126
15127         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15128         better by trying again with reduced state.
15129
15130 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15131
15132         * lyxrc.C (read): print error about invalid key sequence only when
15133         debugging (because not all latinX keysyms are known to some X
15134         servers)
15135
15136         * kbsequence.C (getiso): add a few std:: qualifiers
15137         (getiso): comment out extra return statement.
15138
15139 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15140
15141         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15142         handling.
15143         (Dispatch): enhance the accent inset a bit. (not perfect)
15144
15145 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15146
15147         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15148
15149 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15150
15151         * bufferlist.C (emergencyWrite): fix assert() call
15152
15153 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15154
15155         * text.C (InsertChar): Added trivial patch to only send the "you
15156         can not do multiple spaces this way" message once during a
15157         session.
15158
15159 2001-05-08  Baruch Even  <baruch@lyx.org>
15160
15161         * Makefile.am: Changed order of libraries to get LyX to link properly
15162         with the gnome frontend.
15163
15164 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15165
15166         * LaTeXFeatures.h: add a std:: qualifier
15167
15168 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15169
15170         * paragraph.C (String): use stringstream
15171
15172 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15173
15174         * paragraph.C (writeFile): remove footflag arg
15175
15176         * buffer.C (makeLaTeXFile): use stringstream
15177         (latexParagraphs): remove footnot gurba
15178
15179         * LaTeXFeatures.C (getPackages): use stringstream
15180         (getMacros): likewise
15181         (getTClassPreamble): likewise
15182         (getFloatDefinitions): new method
15183
15184         * paragraph.C (writeFile): reindent
15185         (Erase): reindent
15186
15187         * WorkArea.h: revert the xpos + etc changes.
15188
15189         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15190
15191         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15192
15193         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15194         (pasteSelection): likewise
15195         * text2.C (CreateUndo): likewise
15196
15197 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15198
15199         * minibuffer.C (peek_event): temporarily reduce the functionality
15200         of the minibuffer (to allow args on lfuns)
15201
15202         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15203         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15204
15205         * buffer.C (readInset): add compability reading of old float
15206         lists, add reading of new style float list.
15207         (readInset): avoid reevaluation of inscmd.getCmdName()
15208         (getLists): reindent
15209
15210         * MenuBackend.C (MenuItem): implement parsing of
15211         md_floatlistinsert and md_floatinsert.
15212         (expand::LastFiles): move initalizaton of iterators out of loop,
15213         avoid reevaluation.
15214         (expand::Documents): introduce typdedef vector<string> Strings,
15215         and use it.
15216         (expand::ExportFormats): introduce typedef vector<Format const *>
15217         Formats, and use it.
15218         (expand): implement FloatListInsert and FloatInsert.
15219
15220         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15221         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15222         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15223
15224         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15225         handling.
15226         (Dispatch::LFUN_FLOAT_LIST): implement
15227
15228 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15229
15230         * LaTeX.C (run): Fix problem with --export code.
15231
15232 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15233
15234         * BufferView.[Ch] (workarea): removed.
15235         (getClipboard) new method; wrapper for workarea()->getClipboard()
15236
15237         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15238         bug.
15239
15240         * WorkArea.h (width, height, xpos, ypos): These methods all
15241         returned the dimensions of the work_area sub-area of WorkArea,
15242         resulting in a position error if the WorkArea were resized. Now
15243         return the dimensions of the entire WorkArea.
15244
15245         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15246
15247 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15248
15249         * LaTeX.C (deplog): correct the syntax of regex reg1
15250
15251 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15252
15253         * undo.C: remove !NEW_INSETS cruft
15254
15255 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15256
15257         * text2.C: remove !NEW_INSETS cruft
15258
15259         * text.C: remove !NEW_INSETS cruft
15260
15261         * tabular.C: remove !NEW_INSETS cruft
15262
15263         * spellchecker.C: remove !NEW_INSETS cruft
15264
15265         * lyxtext.h: remove !NEW_INSETS cruft
15266
15267         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15268
15269         * lyxfunc.C: remove !NEW_INSETS cruft
15270
15271         * lyxfind.C: remove !NEW_INSETS cruft
15272
15273         * lyx_cb.C: remove !NEW_INSETS cruft
15274
15275         * figureForm.C: remove  !NEW_INSETS cruft
15276
15277         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15278
15279         * buffer.[Ch]: remove !NEW_INSETS cruft
15280
15281         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15282
15283         * CutAndPaste.C: remove !NEW_INSETS cruft
15284
15285         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15286
15287         * BufferView2.C: remove !NEW_INSETS cruft
15288
15289         * BufferView.h: remove !NEW_INSETS cruft
15290
15291 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15292
15293         * Lsstream.h: include LString.h before the sstream headers to
15294         fix problem with gcc 2.95.3 and lyxstring
15295
15296 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15297
15298         * lyx_main.C: add using directives when needed for C functions
15299         declared in std:: namespace.
15300
15301 2001-04-27  Juergen Vigna  <jug@sad.it>
15302
15303         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15304         (SetHeightOfRow): comment out the update call should not be needed!
15305
15306 2001-04-13  Juergen Vigna  <jug@sad.it>
15307
15308         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15309         (LyXTabular): tried to minimize operator= operations (and realized
15310         hopfully Lars wish).
15311
15312 2001-04-27  Juergen Vigna  <jug@sad.it>
15313
15314         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15315
15316 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15317
15318         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15319
15320         * buffer.C (readInset): hack to make listof algorithm work
15321
15322         * BufferView_pimpl.C: hack to make listof algorithm work
15323
15324 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15325
15326         * LyXAction.C: removed all !NEW_INSETS cruft
15327         (init): moved lfun_item in method
15328
15329         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15330
15331 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15332
15333         * BufferView2.C (theLockingInset): white space.
15334
15335 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15336
15337         * minibuffer.C: include <iostream>
15338
15339         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15340
15341         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15342
15343         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15344
15345         * text.[Ch] (TransposeChars): new method
15346
15347 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15348
15349         * call message directly through LyXView instead of through LyXFunc
15350         * BufferView2.C: adjust
15351         * BufferView_pimpl.C: adjust
15352         * FontLoader.C: adjust
15353         * buffer.C: adjust
15354         * bufferview_funcs.C: adjust
15355         * converter.C: adjust
15356         * figureForm.C: adjust
15357         * importer.C: adjust
15358         * lyx_cb.C: adjust
15359         * lyx_gui_misc.C: adjust
15360         * lyxfunc.C: adjust
15361         * lyxvc.C: adjust
15362         * text2.C: adjust
15363         + more files in subdirs
15364
15365         * lyxparagraph.h (size): move up int file
15366         (GetLayout): ditto
15367
15368         * adjust all uses of Assert to lyx::Assert.
15369
15370         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15371         lyxfunctional in namespace lyx
15372         * layout.C (hasLayout): ditto
15373         (GetLayout): ditto
15374         (GetLayout): ditto
15375         (delete_layout): ditto
15376         (NumberOfClass): ditto
15377         * converter.C (GetFormat): ditto
15378         (GetNumber): ditto
15379         (Add): ditto
15380         (Delete): ditto
15381         (SetViewer): ditto
15382         * bufferlist.C (getFileNames): ditto
15383         (emergencyWriteAll): ditto
15384         (exists): ditto
15385         (getBuffer): ditto
15386         * MenuBackend.C (hasSubmenu): ditto
15387         (hasMenu): ditto
15388         (getMenu): ditto
15389         * BufferView_pimpl.C (getInsetByCode): ditto
15390
15391 2001-04-18  Juergen Vigna  <jug@sad.it>
15392
15393         * vspace.C (asLatexString): fixed the 100% problem.
15394
15395 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15396
15397         * lyxfunc.C (Dispatch):
15398         * minibuffer.C:
15399         * minibuffer.h: add a few std:: qualifiers
15400
15401 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15402
15403         * minibuffer.[Ch]: reimplement so that commands is initiated and
15404         run from lyxfunc, simplified som handling, and made the completion
15405         and history code for complete. wip.
15406
15407         * lyxfunc.C (processKeySym): call message
15408         (miniDispatch): new temporary method
15409         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15410         (LFUN_MESSAGE): implement
15411         (LFUN_MESSAGE_PUSH): implement
15412         (LFUN_MESSAGE_POP): implement
15413         (initMiniBuffer): the initial/defualt minibuffer message.
15414
15415         * lyxfont.[Ch]: inline some more getters
15416
15417         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15418
15419         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15420
15421         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15422         (AutoSave): use LFUN_MESSAGE
15423         (Reconfigure): ditto
15424
15425         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15426
15427         * figureForm.C: use LFUN_MESSAGE
15428
15429         * converter.C (runLaTeX): use LFUN_MESSAGE
15430
15431         * bufferview_funcs.C: use LFUN_MESSAGE
15432         (Melt): ditto
15433         (changeDepth): ditto
15434
15435         * bufferparams.h: use boost::
15436
15437         * bufferlist.h: inherit privately from noncopyable
15438
15439         * bufferlist.C (loadLyXFile): remove some commented code.
15440
15441         * buffer.C (runChktex): use LFUN_MESSAGE
15442
15443         * ShareContainer.h: inherit privately from noncopyable
15444
15445         * ParagraphParameters.[hC] (depth): inline it.
15446
15447         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15448         methods.
15449         (message): new method
15450         (messagePush): ditto
15451         (messagePop): ditto
15452         (show): init minibuffer
15453         (showState): direct call
15454
15455         * LaTeX.[Ch]: inherit privately from noncopyable
15456         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15457         instead of WriteStatus.
15458
15459         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15460
15461         * BufferView_pimpl.C (buffer): don't init minibuffer
15462         (workAreaButtonPress): use LFUN_MESSAGE
15463         (workAreaButtonRelease): ditto
15464         (savePosition): ditto
15465         (restorePosition): ditto
15466         (MenuInsertLyXFile): ditto
15467         (workAreaExpose): don't init minibuffer
15468         (update): remove commented code, simplify
15469
15470         * BufferView2.C (openStuff): use LFUN_MESSAGE
15471         (toggleFloat): ditto
15472         (menuUndo): ditto
15473         (menuRedo): ditto
15474         (copyEnvironment): ditto
15475         (pasteEnvironment): ditto
15476         (copy): ditto
15477         (cut): ditto
15478         (paste): ditto
15479         (gotoInset): ditto
15480         (updateInset): remove some commented code
15481
15482         * lastfiles.h: inherit privately from noncopyable
15483         * layout.h: ditto
15484         * lyx_gui.h: ditto
15485         * lyx_main.h: ditto
15486         * lyxlex.h: ditto
15487         * lyxlex_pimpl.h: ditto
15488
15489         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15490         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15491         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15492
15493         * LyXAction.h: inherit privately from noncopyable, add methods
15494         func_begin, func_end, returning iterators to the func map.
15495
15496         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15497         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15498         (func_begin): new method
15499         (func_end): new method
15500
15501         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15502         and not)
15503         (copySelection): ditto
15504         (pasteSelection): ditto
15505
15506         * BufferView.C: whitespace change
15507         * BufferView.h: inherit privately from noncopyable
15508
15509 2001-04-16  Allan Rae  <rae@lyx.org>
15510
15511         * tabular-old.C (l_getline):
15512         * spellchecker.C (sc_check_word):
15513         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15514         an unrecognised preprocessor directive.  So ensure they're wrapped.
15515
15516 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15517
15518         * src/exporter.C (Export): Give an error message when path to file
15519         contains spaces.
15520
15521 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15522
15523         * LaTeX.C (deplog): Always check that foundfile exists.
15524
15525 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15526
15527         * lyx_main.h:
15528         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15529
15530 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15531
15532         * tabular.[Ch] (getLabelList): implement new method
15533
15534         * minibuffer.h: comment ouf setTiimer
15535
15536         * minibuffer.C (ExecutingCB): constify res
15537         (peek_event): constify s
15538         (Set): constify ntext
15539         (Init): constify nicename
15540
15541         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15542
15543         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15544         (savePosition): use two params to Minibuffer::Set
15545         (restorePosition): ditto
15546
15547 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15548
15549         * lyx_main.C: include language.h
15550
15551         * Makefile.am (lyx_main.o): add language.h
15552
15553 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15554
15555         * exporter.C:
15556         * paragraph.C:
15557         * screen.C:
15558         * tabular.C:
15559         * CutAndPaste.C: include gettext.h
15560
15561         * lyxfont.h: remove old hack with ON and OFF.
15562
15563         * lyxparagraph.h:
15564         * lyxfont.h: do not include language.h...
15565
15566         * BufferView2.C:
15567         * LaTeXFeatures.C:
15568         * Painter.C:
15569         * bufferview_funcs.C:
15570         * font.C:
15571         * lyxfont.C:
15572         * text.C:
15573         * text2.C:
15574         * trans_mgr.C:
15575         * paragraph.C: ... but do it here instead
15576
15577 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15578
15579         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15580
15581         * tabular.C: small reformat
15582
15583         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15584         NEW_INSETS version
15585         (GetChar): ditto
15586         (BreakParagraph): ditto
15587         (SetOnlyLayout): ditto
15588         (SetLayout): ditto
15589
15590         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15591         with one arg less.
15592
15593         * lastfiles.C: removed most using decl, add std:: where needed
15594
15595         * buffer.C: ws changes
15596
15597         * MenuBackend.C (class compare_format): put into anon namespace
15598         (expand): constify label, names, action, action2
15599         (expand):
15600
15601         * text.C (SingleWidth): constify font
15602         (IsBoundary): constify rtl2
15603         (GetVisibleRow): constify ww
15604
15605         * LaTeX.C (deplog): constify logfile
15606
15607         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15608         start_x, end_x
15609         (workAreaExpose): constify widthChange, heightChange
15610
15611         * lyxrow.C (par): moved
15612         (height): moved
15613         (next): moved
15614         * lyxrow.h: as inlines here
15615
15616         * lyxfont.h (shape): moved from lyxfont.C
15617         (emph): moved from lyxfont.C
15618
15619         * lyxfont.C (LyXFont): use initialization list for all
15620         constructors
15621         (shape): move to lyxfont.h as inline
15622         (emph): move to lyxfont.h as inline
15623
15624
15625 2001-04-04  Juergen Vigna  <jug@sad.it>
15626
15627         * vspace.C: had to include stdio.h for use of sscanf
15628
15629 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15630
15631         * BufferView.h:
15632         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15633         independent of xforms.
15634
15635 2001-04-02  Juergen Vigna  <jug@sad.it>
15636
15637         * spellchecker.C: fixed namespace placing!
15638
15639 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15640
15641         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15642         the LyXParagraph * is 0.
15643
15644 2001-03-29  Juergen Vigna  <jug@sad.it>
15645
15646         * vspace.C: added support for %, c%, p%, l%.
15647         (stringFromUnit): added helper function.
15648         (asLatexString): changed to give right results for the %-values.
15649
15650         * buffer.C: convert the widthp in a width%.
15651
15652 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15653
15654         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15655         figureForm.[Ch].
15656
15657         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15658         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15659
15660         * lyx_cb.[Ch]: see above.
15661
15662         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15663         form1.[Ch].
15664
15665         * form1.[Ch]:
15666         * lyx.[Ch]: replaced by figure_form.[Ch].
15667
15668         * lyx_gui.C:
15669         * lyx_gui_misc.C:
15670         * lyxfunc.C: changed headers associated with above changes.
15671
15672 2001-03-27  Juergen Vigna  <jug@sad.it>
15673
15674         * BufferView_pimpl.C: set the temporary cursor right!
15675
15676 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15677
15678         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15679
15680 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15681
15682         * LString.h: removed "using std::getline"!
15683
15684         * BufferView_pimpl.C (Dispatch): changes due to changes in
15685         InsetInclude::Params.
15686
15687         * buffer.C (tag_name): removed redundant break statements as they were
15688         producing lots of warnings with my compiler.
15689
15690 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15691
15692         * LString.h: add "using std::getline" when using the real <string>.
15693
15694 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15695
15696         * buffer.C: removed bitset usage.
15697         PAR_TAG moved to an anonymous name space.
15698         (tag_name): new funtion, also in the anonymous namespace.
15699         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15700         (makeDocBookFile): clean code. Completed transition from string arrays
15701         to string vectors.
15702         (SimpleDocBookOnePar): code clean.
15703
15704 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15705
15706         * tabular.C: add some comments.
15707
15708 2001-03-22  Juergen Vigna  <jug@sad.it>
15709
15710         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15711         compatibility read a bit and fixed bug with minipage in different
15712         depth.
15713
15714 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15715
15716         * buffer.C (pop_tag): removed.
15717         (push_tag): removed.
15718         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15719         array replaced with vector. Added support for CDATA sections.
15720         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15721         at any nest level.
15722         (makeDocBookFile): XML conformant declaration of CDATA section,
15723         fixed bug related to <emphasis> in the first paragraph char.
15724         (sgmlOpenTag): exclude empty tags.
15725         (sgmlCloseTag): ditto.
15726
15727         * buffer.h (pop_tag): removed.
15728         (push_tag): removed.
15729
15730 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15731
15732         * language.h (Languages): added size_type and size().
15733
15734 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15735
15736         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15737         response on compability reading of minipages. One probliem is that
15738         the old usage of minipages was «flertydig»
15739
15740         * several files here and in subdirs: don't use static at file
15741         scope use anon namespaces instead.
15742
15743 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15744
15745         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15746         LaTeX output. This is necessary for Literate document
15747         processing.
15748
15749 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15750
15751         * buffer.C: insert hfill when needed.
15752
15753         * tabular.C (l_getline): use string::erase, small whitespace change.
15754
15755         * BufferView_pimpl.C: try the anon namespace.
15756         * WorkArea.C: ditto
15757
15758 2001-03-16  Juergen Vigna  <jug@sad.it>
15759
15760         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15761         otherwise it won't open options-dialogs.
15762
15763         * buffer.C: honor pextraWidth(p) on converting minipages.
15764
15765         * tabular.C (l_getline): changed the functions to strip trailing \r.
15766
15767 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15768
15769         * BufferView_pimpl.C:
15770         * minibuffer..C: added "using SigC::slot" declaration.
15771
15772 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15773
15774         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15775
15776         * text2.C: ditto
15777
15778         * text.C: ditto
15779
15780         * paragraph.C: ditto
15781
15782         * lyxtext.h: NO_PEXTRA
15783
15784         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15785
15786         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15787         * ParameterStruct.h: ditto
15788         * ParagraphParameters.h: ditto
15789         * lyxparagraph.h: ditto
15790
15791 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15792
15793         * buffer.C: add compability for minipage alignment.
15794         (latexParagraphs): remove unwanted pextra check.
15795
15796         * several files: remove CXX_WORKING_NAMESPACES
15797
15798         * buffer.C (pop_tag): tie is in namespace boost
15799
15800         * BufferView.h: noncopyable is in namespace boost
15801         * lyxlex.h: ditto
15802         * lyx_main.h: ditto
15803         * lyx_gui.h: ditto
15804         * layout.h: ditto
15805         * lastfiles.h: ditto
15806         * bufferlist.h: ditto
15807         * ShareContainer.h: ditto
15808         * LyXView.h: ditto
15809         * LyXAction.h: ditto
15810         * LaTeX.h: ditto
15811
15812 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15813
15814         * Merging changes from BRANCH_MVC back into HEAD.
15815
15816         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15817
15818 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15819
15820         * BufferView_pimpl.C: change from intl.C
15821
15822         * combox.h:
15823         * combox.C:
15824         * Makefile.am: move combox.*
15825
15826         * form1.h:
15827         * form1.C:
15828         * lyx_gui.C:
15829         * intl.h:
15830         * intl.C: remove dialog (covered by prefs)
15831
15832 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15833
15834         * lyxfunc.C (Dispatch): removed redundant break statement.
15835
15836 2001-03-14  Juergen Vigna  <jug@sad.it>
15837
15838         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15839
15840 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15841
15842         * buffer.C: add hack to fix compability reading of minipages.
15843
15844 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15845
15846         * buffer.C (getLists): Cleanup.
15847
15848 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15849
15850         * lyxfont.C (update): don't honor toggleall on font size.
15851
15852 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15853
15854         * bmtable.c:
15855         * bmtable.h:
15856         * Makefile.am: moved to frontends/xforms/
15857
15858         * lyx_gui_misc.C:
15859         * lyxfunc.C:
15860         * BufferView_pimpl.C: changes for moved mathpanel
15861
15862 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15863
15864         * gettext.h: fix gettext_init() in --disable-nls
15865
15866 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15867
15868         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15869
15870 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15871
15872         * lyx.C:
15873         * lyx.h: strip external form
15874
15875 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15876
15877         * BufferView_pimpl.C: add comment, destroySplash()
15878
15879 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15880
15881         * BufferView_pimpl.C:
15882         * LyXAction.C:
15883         * buffer.C:
15884         * commandtags.h:
15885         * lyxfunc.C: use re-worked insetinclude
15886
15887 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15888
15889         * buffer.C: add using std::stringstream.
15890
15891         * lyx_cb.C: readd using std::ios.
15892
15893         * buffer.C: add using std::map.
15894
15895         * BufferView_pimpl.C: add using std::vector.
15896
15897         * ShareContainer.h: add std:: to swap.
15898
15899         * buffer.h: add some typedefs
15900         * buffer.C (getLists): use them
15901         (getLists): renamed from getTocList.
15902         add a counter for the different float types and use it in the
15903         generated string.
15904         (getLists): use the same counter for the NEW_INSETS and the "non"
15905         NEW_INSETS
15906
15907         * lyx_cb.h: remove unused items, includes, using etc.
15908
15909         * ShareContainer.h: remove some commented code, add more comments
15910         and "documentation".
15911
15912 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15913
15914         * buffer.C (getTocList): make the list also when NEW_INSETS is
15915         defined.
15916
15917         * buffer.h: remove TocType
15918
15919         * buffer.C (getTocList): change to return a map<string,
15920         vector<TocItem> >, implement for dynamic number of list.
15921
15922         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15923         * text2.C (PasteSelection): adjust
15924         * CutAndPaste.C (pasteSelection): adjust
15925
15926         * FloatList.C (FloatList): update from the new_insets branch.
15927         * Floating.[Ch]: ditto
15928         * LaTeXFeatures.C: ditto
15929         * buffer.C: ditto
15930         * lyxlex_pimpl.C: ditto
15931
15932         * paragraph.C (Last): remove when NEW_INSETS is defined.
15933
15934         * other file: changes because of the above.
15935
15936 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15937
15938         * lyxparagraph.h: rename next to next_, previous to previous_,
15939         make them private for NEW_INSETS. Rename Next() to next(),
15940         Previous() to previous().
15941
15942         * other files: changes because of the above.
15943
15944 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15945
15946         * BufferView.h:
15947         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15948         problem.
15949
15950 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15951
15952         * main.C (main): pass lyx_localedir to gettext_init().
15953
15954         * gettext.h: remove locale_init and gettext_init macros
15955
15956         * gettext.C (locale_init): new function
15957         (gettext_init): new function
15958
15959         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15960         setlocale().
15961
15962 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15963
15964         * Moved credits to frontends:
15965         * credits.[Ch]: removed
15966         * credits_form.[Ch]: removed
15967         * lyx_gui_misc.C: remove credits stuff
15968         * Makefile.am:
15969
15970 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15971
15972         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15973
15974         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15975         unneeded destructor.
15976
15977         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15978         a standalone pointer again.
15979
15980         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15981
15982 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15983
15984         * Makefile.am:
15985         * filedlg.h:
15986         * filedlg.C:
15987         * LyXAction.C:
15988         * ToolbarDefaults.C:
15989         * bufferlist.C:
15990         * commandtags.h:
15991         * form1.C:
15992         * form1.h:
15993         * lyx_cb.C:
15994         * lyx_cb.h:
15995         * lyxfunc.h:
15996         * lyxfunc.C:
15997         * BufferView_pimpl.C: use new file dialog in GUII
15998
15999         * lyx_cb.h:
16000         * lyx_cb.C: remove LayoutsCB to Toolbar
16001
16002 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16003
16004         * ShareContainer.h (get): add std:: qualifier
16005
16006 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16007
16008         * ShareContainer.h: define a proper ShareContainer::value_type
16009         type (and use typename to please compaq cxx)
16010
16011 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16012
16013         * lyxparagraph.h: move serveral local vars to
16014         ParameterStruct/ParagraphParameters., use ShareContainer in
16015         FontTable., make vars in FontTable private and add getter and
16016         setter.
16017
16018         * paragraph.C: changes because of the above.
16019
16020         * lyxfont.h: remove copy constructor and copy assignment. (the
16021         default ones is ok), move number inside FontBits. move inlines to
16022         lyxfont.C
16023
16024         * lyxfont.C: add number to initializaton of statics, move several
16025         inlines here. constify several local vars. some whitespace
16026         cleanup. Dont hide outerscope variables.
16027
16028         * Spacing.h: add two new constructors to match the set methods.
16029
16030         * ShareContainer.h: new file, will perhaps be moved to support
16031
16032         * ParameterStruct.h: new file
16033
16034         * ParagraphParameters.h: new file
16035
16036         * ParagraphParameters.C: new file
16037
16038         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16039         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16040
16041         * BufferView_pimpl.C: ParagraphParameter changes.
16042         * buffer.C: Likewise.
16043         * bufferview_funcs.C: Likewise.
16044         * text.C: Likewise.
16045         * text2.C: Likewise.
16046
16047 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16048
16049         * lyxfind.C (LyXReplace): do not redefine default argument in
16050         implementation.
16051         (IsStringInText): ditto
16052         (SearchForward): ditto
16053         (SearchBackward): ditto
16054
16055 2001-03-06  Juergen Vigna  <jug@sad.it>
16056
16057         * lyxfind.C (IsStringInText): put parentes around expressions.
16058
16059 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16060
16061         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16062
16063 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16064
16065         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16066
16067         * stl_string_fwd.h: add comment
16068
16069         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16070
16071         * tabular.h:
16072         * tabular.C: remove unused DocBook methods
16073
16074         * intl.C:
16075         * language.C:
16076         * paragraph.C:
16077         * buffer.C:
16078         killed DO_USE_DEFAULT_LANGUAGE
16079
16080 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16081
16082         * lyx_gui.C: do not include language.h.
16083
16084         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16085         arguments in function implementation.
16086
16087 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16088
16089         * BufferView_pimpl.C: add <ctime>
16090
16091 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16092
16093         * BufferView_pimpl.C: add using std::find_if
16094
16095 2001-02-27  José Matos  <jamatos@fep.up.pt>
16096
16097         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16098         by OnlyPath.
16099
16100 2001-02-11  José Matos  <jamatos@fep.up.pt>
16101
16102         * buffer.C (makeDocBookFile): command styles now have a parameter as
16103         "title" by default.
16104
16105 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16106
16107         * layout_forms.[Ch]: removed
16108         * lyx_cb.[Ch]: out character
16109         * lyx_gui.C: out character
16110         * lyx_gui_misc.C: out character
16111         * bufferview_funcs.C: : out character,
16112         added toggleall as parameter in ToggleAndShow
16113
16114 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16115
16116         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16117
16118         * text2.C (SetCurrentFont): Disable number property at boundary.
16119
16120 2001-02-26  Juergen Vigna  <jug@sad.it>
16121
16122         * lyxfunc.C (getStatus): added a string argument override function so
16123         that this is correctly called from LyXFunc::Dispatch if it contains a
16124         do_not_use_argument which is used!
16125         (Dispatch): added check for "custom" export and call appropriate func.
16126
16127 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16128
16129         * lyxrc.C: Add language_command_local, language_use_babel and
16130         language_global_options.
16131
16132         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16133
16134         * buffer.C (makeLaTeXFile): Use language_use_babel and
16135         language_global_options.
16136
16137 2001-02-23  Juergen Vigna  <jug@sad.it>
16138
16139         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16140         which works with LyXText and putted it inside BufferView. Here now we
16141         only call for that part the BufferView::Dispatch() function.
16142
16143         * BufferView.C (Dispatch): added.
16144
16145         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16146         functions which needs to use a LyXText over from LyXFunc.
16147         (MenuInsertLyXFile): added
16148         (getInsetByCode): added
16149         (moveCursorUpdate): added
16150         (static TEXT): added
16151
16152 2001-02-22  Juergen Vigna  <jug@sad.it>
16153
16154         * BufferView_pimpl.C (update): call a status update to see if LyXText
16155         needs it.
16156
16157 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16158
16159         * vc-backend.C (revert): implement for CVS
16160         (getLog): implement for CVS
16161
16162 2001-02-20  Juergen Vigna  <jug@sad.it>
16163
16164         * text2.C (ClearSelection): added BufferView param for inset_owner call
16165
16166         * lyxfunc.C (TEXT): added this function and use it instead of
16167         directly owner->view()-text of getLyXText().
16168
16169 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16170
16171         * src/layout_forms.C: out preamble
16172         * src/layout_forms.h: out preamble
16173         * src/lyx_cb.C: out preamble
16174         * src/lyx_cb.h: out preamble
16175         * src/lyx_gui.C: out preamble
16176         * src/lyx_gui_misc.C: out preamble
16177         * src/lyxfunc.C: connect with guii preamble
16178
16179 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16180
16181         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16182
16183 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16184
16185         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16186         whether to run bibtex.
16187
16188 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16189
16190         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16191
16192 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16193
16194         * Makefile.am (lyx_SOURCES): removed bibforms.h
16195
16196         * vspace.h: doxygen
16197
16198         * text.C (GetVisibleRow): make several local vars const
16199
16200         * tabular.C: small cleanup.
16201
16202         * lyxserver.C (callback): use compare instead of strncmp
16203
16204         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16205         inlines to after class or to paragraph.C
16206
16207         * lyxfont.h: remove friend operator!=
16208
16209         * converter.h: move friend bool operator< to non friend and after
16210         class def.
16211
16212         * combox.h: small cleanup
16213
16214         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16215         to inlines after class def.
16216
16217         * buffer.C (pop_tag): use string operations instead of strcmp
16218
16219         * bmtable.c: doxygen, small cleanup
16220
16221         * LaTeX.h: remove friend operator==
16222
16223 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16224
16225         * screen.C:
16226         * lyxrc.[Ch]:
16227         * lyxfunc.C:
16228         * lyxfont.[Ch]:
16229         * lyx_cb.C:
16230         * intl.[Ch]:
16231         * commandtags.h:
16232         * buffer.C:
16233         * WorkArea.[Ch]:
16234         * LyXAction.C:
16235         * BufferView_pimpl.C:
16236         * BufferView.[Ch]: remove cruft
16237
16238 2001-02-14  Juergen Vigna  <jug@sad.it>
16239
16240         * lyxfunc.C: removed #if 0 unused code
16241
16242         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16243
16244         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16245
16246         * text2.C (SetSelection): added a BufferView * parameter
16247
16248 2001-02-13  Juergen Vigna  <jug@sad.it>
16249
16250         * lyxfunc.C (Dispatch): fixed protected blank problem.
16251         * BufferView2.C (protectedBlank): added LyxText * parameter.
16252
16253         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16254         (AppendColumn): same as above for column_info.
16255
16256         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16257         (moveCursorUpdate): use a LyXText param for support of InsetText.
16258
16259         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16260         (tripleClick): ditto
16261
16262         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16263
16264         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16265
16266         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16267
16268         * text2.C (SetSelection): set correct update status if inset_owner
16269         (ToggleFree): ditto
16270
16271 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16272
16273         * tabular.C: remove some commented code.
16274
16275 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16276
16277         * BufferView_pimpl.C: call hideSplash()
16278
16279         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16280
16281         * include_form.h:
16282         * bibforms.h: remove
16283
16284         * lyxfunc.C:
16285         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16286           add LFUN_CHILD_CREATE
16287
16288         * counters.h: fix tiny typo
16289
16290         * lyx_cb.C:
16291         * lyx.h:
16292         * lyx_gui.C:
16293         * lyx.C: move splash to frontends/xforms/
16294
16295         * lyx_gui_misc.C: move Include and Bibform to frontends
16296
16297         * lyxvc.h: clarify comment
16298
16299         * vspace.C: tiny housekeeping
16300
16301 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16302
16303         * text.C (PrepareToPrint): RTL Fix.
16304
16305         * paragraph.C (GetUChar): New method.
16306         (String):  Use GetUChar.
16307
16308         * buffer.C (asciiParagraph): Use GetUChar.
16309
16310 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16311
16312         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16313
16314 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16315
16316         * buffer.h:
16317         * buffer.C: rename to getLogName(), handle
16318           build log / latex log nicely
16319
16320 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16321
16322         * MenuBackend.C:
16323         * MenuBackend.h: remove support for reference menuitem type.
16324
16325 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16326
16327         * BufferView_pimpl.C: housekeeping
16328         * BufferView_pimpl.h:
16329         * LyXView.h:
16330         * Makefile.am:
16331         * Timeout.C:
16332         * Timeout.h:
16333         * minibuffer.h: move Timeout GUI-I
16334
16335 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16336
16337         * lyxrc.C (read): Update converters data-structures.
16338
16339 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16340
16341         * LaTeX.h (operator!=): add operator != for Aux_Info
16342
16343 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16344
16345         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16346
16347         * LaTeXLog.C: deleted, useful code moved to Buffer
16348
16349         * buffer.h:
16350         * buffer.C: new function getLatexLogName()
16351
16352         * lyx_gui_misc.C:
16353         * lyx_gui.C:
16354         * lyxvc.C:
16355         * lyxvc.h:
16356         * lyxfunc.C: use frontends for LaTeX and VC logs
16357
16358 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16359
16360         * LaTeX.h: yet another std:: that Allan forgot.
16361
16362         * Variables.C (set): renamed from isset(), because this clashes
16363         with some HP-UX macros (grr).
16364
16365 2001-02-06  Allan Rae  <rae@lyx.org>
16366
16367         * LaTeX.h: Another bug fix.  Missing std:: this time.
16368
16369 2001-02-04  Allan Rae  <rae@lyx.org>
16370
16371         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16372         floats problem. I've left it commented out because it's not quite
16373         correct.  It should also test that the current object is a table or
16374         figure inset.  But I haven't gotten around to figuring out how to do
16375         that.  I *think* it'll be something like: "table" == inset.type()
16376
16377         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16378         bool.
16379
16380 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16381
16382         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16383         all the citation/databases/styles in the auxilary file.
16384         (run): Rerun latex if there was a babel language error.
16385
16386 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16387
16388         * text.C (Backspace): Preserve the font when changing newline char
16389         with a space.
16390         (BreakParagraph): If the cursor is before a space, delete the space.
16391
16392         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16393
16394 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16395
16396         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16397         new argument (code).
16398         (ChangeCitationsIfUnique): New method.
16399
16400         * paragraph.C (GetPositionOfInset): Handle bibkey.
16401
16402 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16403
16404         * BufferView_pimpl.h: change type of Position::par_pos to
16405         LyXParagraph::size_type.
16406
16407 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16408
16409         * BufferView_pimpl.C (savePosition, restorePosition): Write
16410         messages to minibuffer.
16411
16412 2001-01-28  José Matos  <jamatos@fep.up.pt>
16413
16414         * buffer.C (makeDocBookFile): adds support for document language.
16415         A silly restriction on the name of LatexCommand types where removed.
16416         Added support for CDATA sections, allows to chars unescaped, used
16417         among others in code, to avoid escape < and >.
16418
16419 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16420
16421         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16422         saved positions instrad of a stack. Furthermore, a position is
16423         stored using paragraph id/paragraph position.
16424
16425         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16426         Remove LFUN_REF_BACK.
16427
16428 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16429
16430         * converter.C (dvipdfm_options): New method.
16431
16432 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16433
16434         * vspace.C (isValidLength): Fix for empty input string.
16435
16436 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16437
16438         * LyXAction.C (init): change description of LFUN_FIGURE to
16439         "Insert Graphics"
16440
16441 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16442
16443         * LaTeX.C: add using directive
16444
16445 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16446
16447         * MenuBackend.C (expand): Fix the sorting of the formats.
16448
16449 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16450
16451         * lyx_main.C: tiny error message fix
16452
16453 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16454
16455         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16456         calling fl_initialize(). This fixes the problem with ',' as
16457         decimal separator in text files.
16458
16459 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16460
16461         * trans.C (process): Fix the keymap bug.
16462
16463 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16464
16465         * LaTeX.C (scanAuxFiles): New method. Provides support for
16466         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16467         (scanLogFile) Scan for "run BibTeX" messages.
16468
16469         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16470         OT1 font encoding. Also, load the aecompl package if the ae
16471         package is loaded.
16472
16473         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16474
16475 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16476
16477         * texrow.C (increasePos): turn two error messages into debug
16478         messages.
16479
16480 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16481
16482         * LaTeX.C (scanAux): Handle the \@input macro.
16483         (runBibTeX): Use scanAux().
16484
16485         * language.C (latex_options_): New field.
16486
16487         * LaTeXFeatures.C (getMacros): Add language macros.
16488
16489         * buffer.C (makeLaTeXFile): Small fix.
16490
16491 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16492
16493         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16494
16495         * text2.C: add a using directive.
16496
16497 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16498
16499         * BufferView2.C:
16500         * lyx_gui_misc.h:
16501         * lyxfr1.C:
16502         * lyxfunc.C: kill LyXBell.
16503
16504 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16505
16506         * text.C (IsBoundary): Remove the error message
16507
16508         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16509
16510         * lyxrc.C (setDefaults): Correct initialization value for
16511         font_norm_type.
16512
16513 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16514
16515         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16516         gotoError().
16517
16518         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16519         and GotoNextNote().
16520
16521         * src/LyXAction.C: Added reference-next.
16522
16523         * text.C (InsertChar): Use contains instead of strchr.
16524
16525         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16526
16527 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16528
16529         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16530         alignment commands (when needed).
16531
16532         * text.C (InsertChar): Add ':' to number separator chars.