]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Fix #1736
[lyx.git] / src / ChangeLog
1 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * bufferlist.C (exists): use bind and equal_to instead of
4         compare_memfun 
5         (getBuffer): ditto
6         * lyxtextclasslist.C (NumberOfClass): ditto
7
8         * cursor.C (insert): use for_each instead of explicit for loop
9
10         * bufferlist.C (getFileNames): use std::transform and
11         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
12
13         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
14         for loop
15
16         * buffer.C (changeLanguage): use for_each instead of explicit for
17         loop
18         (hasParWithID): implement using getParFromID
19
20         * LaTeXFeatures.C: ws change only
21
22         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
23         to cleanup a bit.
24
25         * BufferView_pimpl.C (trackChanges): use for_each instead of
26         expilicit for loop
27
28 2004-11-04  André Pönitz  <poenitz@gmx.net>
29
30         * undo.h:
31         * undo.C (textUndoOrRedo): fix crash when creating undo information. 
32
33         * dociterator.C (asDocIterator): use hard assert again.
34
35 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
36
37         * lyxlength.C (asLatexString): rewrite so that it does not use
38         snprintf anymore
39
40 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
41
42         * text3.C (specialChar, dispatch): make sure cursor moves to the
43         right after inserting an inset
44
45 2004-11-02  José Matos  <jamatos@lyx.org>
46
47         * output_docbook.C (docbook):
48         * paragraph.C (getID):
49         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
50         garantee that the output is always legal.
51
52         * tabular.C (docbook):
53         * outputprams.[Ch]: remove mixed contents.
54
55 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
56
57         * text2.C (setCounter): prevent endless loop
58
59 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
60
61         * exporter.C (copyFile): use the mover instead of support::copy()
62         * exporter.C (Export): pass format and latex name to copyFile()
63         * exporter.h (addExternalFile): document
64         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
65
66 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
67
68         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
69
70 2004-10-30  José Matos  <jamatos@lyx.org>
71
72         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
73         text and no inset or font change. This allows to use CDATA
74         sections just for the whole paragraph.
75
76 2004-10-30  José Matos  <jamatos@lyx.org>
77
78         * paragraph.C (getFirstWord): remove unused variable.
79
80 2004-10-30  José Matos  <jamatos@lyx.org>
81
82         * paragraph.C (getFirstWord): the content should always be escaped
83         there.
84         (simpleDocBookOnePar):
85         * output_docbook.C (makeEnvironment): replace reference to CDATA
86         to style pass_thru.
87
88 2004-10-30  José Matos  <jamatos@lyx.org>
89
90         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
91
92 2004-10-30  José Matos  <jamatos@lyx.org>
93
94         * output_docbook.C (makeParagraphs):
95         * paragraph.[Ch] (emptyTag): for docbook and company, if the
96         standard paragraph has only a given type of content drop the wrapper.
97
98 2004-10-29  José Matos  <jamatos@lyx.org>
99
100         * output_docbook.C (makeEnvironment):
101         * sgml.C (openTag):
102         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
103
104 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
105
106         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
107         (cleanID): sanitize any id.
108
109 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
110
111         * buffer.C, lyxlex_pimpl.C:
112         * lyxlex_pimpl.C (setFile):
113         s/getExtFromContents/getFormatFromContents/
114
115 2004-10-28  José Matos  <jamatos@lyx.org>
116
117         * output_docbook.C (makeEnvironment): move id to broadest possible
118         scope.
119
120         * sgml.C (openTag): apply substitution of <> for all attributes.
121
122 2004-10-28  José Matos  <jamatos@lyx.org>
123
124         * buffer.C (makeLinuxDocFile, makeDocBookFile):
125         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
126         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
127
128         * sgml.[Ch]: new version for open and closeTag for paragraph and
129         for strings. Now they handle the ids of paragraphs.
130
131 2004-10-26  Angus Leeming  <leeming@lyx.org>
132
133         * Makefile.am: add mover.[Ch].
134
135         * converter.C (convert, move): use the new Movers to move external
136         files to the temp directory.
137
138         * lyx_main.C (init): ensure that the global system_movers data
139         is initialised.
140
141         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
142         preferences file.
143
144         * mover.[Ch]: new files, defining a Mover as a utility to move an
145         external file between directories and, if necessary, manipulate this
146         file using a helper script.
147
148 2004-10-25  José Matos  <jamatos@lyx.org>
149
150         * output_docbook.C (makeCommand): merge two if's that tested the
151         same condition.
152
153 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
154
155         * sgml.C (escapeString): fix warning in a better way
156
157 2004-10-25  José Matos  <jamatos@lyx.org>
158
159         * sgml.C (escapeString): import the require boosts header file for
160         tie, and avoid a signed unsigned comparison.
161
162 2004-10-25  José Matos  <jamatos@lyx.org>
163
164         * sgml.h: add #include <string>
165
166 2004-10-25  José Matos  <jamatos@lyx.org>
167
168         * sgml.[Ch] (escapeString): new function to escape all the string.
169
170 2004-10-24  José Matos  <jamatos@lyx.org>
171
172         * paragraph.[Ch] (getFirstWord): new function to get the first
173         word. Useful for description.
174         (simpleDocBookOnePar): remove depth argument, add another that
175         says where to start the paragraph.
176
177         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
178         use the new functions to fix cleanly the support for descriptions.
179
180 2004-10-24  José Matos  <jamatos@lyx.org>
181
182         * buffer.C (makeLinuxDocFile, makeDocBookFile):
183         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
184         * output_linuxdoc.C (linuxdocParagraphs):
185         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
186         add buffer as argument.
187
188 2004-10-24  José Matos  <jamatos@lyx.org>
189
190         * output_docbook.C (makeEnvironment, searchEnvironment): place
191         CDATA inside paragraphs and fix scope for listitems.
192
193 2004-10-24  José Matos  <jamatos@lyx.org>
194
195         * output_docbook.C: remove using statement for stack.
196
197 2004-10-23  José Matos  <jamatos@lyx.org>
198
199         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
200         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
201         docbook. The new scheme is recursive and makes use of iterators, the
202         same as latex export works.
203         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
204         directly with the paragraph contents. This code was moved up to
205         output_docbook.C (docbookParagraphs).
206         * sgml.C (openTag, closeTag): removed unneeded newlines.
207         (closeEnvTags) removed.
208
209 2004-10-23  André Pönitz  <poenitz@gmx.net>
210
211         * undo.C (textUndoOrRedo):
212         * dociterator.C (asDocIterator): work around crash
213
214         * cursor.C (getStatus): replace ASSERT by more verbose error message
215           and manual correction of the problem. Should increase stability
216           while providing more sensible information.
217
218 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
219
220         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
221
222         * bufferlist.C (previous, next): new methods
223
224         * lfuns.h:
225         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
226
227 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
228
229         * buffer.C (makeDocBookFile): add dsssl stylesheet control
230         entities to preamble.
231
232 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
233
234         * messages.C (Pimpl): strip off translation context information
235
236 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
237
238         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
239         the cursor is correct (bug 1694)
240
241 2004-10-13  José Matos  <jamatos@lyx.org>
242
243         * output_docbook.C (docbookParagraphs): fix closing tags in the
244         end of the document.
245
246 2004-10-09  José Matos  <jamatos@lyx.org>
247
248         * buffer.C: format up to 237.
249         * bufferparams.C (write): use tostr to convert booleans to strings.
250
251 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
252
253         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
254
255 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
256
257         * LaTeX.C: implement use of babel language in xindy.
258
259 2004-10-05  José Matos  <jamatos@lyx.org>
260
261         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
262         Add new translators to help reading and writing the lyx file.
263
264 2004-10-05  José Matos  <jamatos@lyx.org>
265
266         * ParagraphParameters.C (read):
267         * text.C (readParToken): replace nexToken by more appropriate lex
268         methods.
269
270 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
271
272         * LaTeX.C (runMakeIndex):
273         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
274         (usually 'makeindex') configurable.
275
276         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
277         with a variable rather than with a number.
278
279 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
280
281         * output_latex.C (TeXOnePar): make sure font setting is the first
282         thing that gets output (and the last at the end). Should fix bug
283         1404.
284
285 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
286
287         * pch.h: use proper signal include
288
289         * LaTeX.h: Use preferred calling of Boost.Signal
290         * buffer.h: ditto
291
292 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
293
294         * pch.h: dont include <boost/function/function0.hpp>
295
296         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
297
298         * paragraph_pimpl.h: remove usage of ShareContainer
299
300         * paragraph_pimpl.C: remove initialization of ShareContainer.
301
302 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
303
304         Fix bug #1666
305
306         * BufferView.C (putSelectionAt): change the semantics when
307         backwards == true: now, this just swaps cursor and anchor wrt the
308         forward case
309
310         * BufferView.h (putSelectionAt): add some documentation
311
312         * lyxfind.C (findBackwards): rewrite using while(). In particular,
313         make sure backwardChar is done at least once (to avoid getting
314         stuck)
315         (findNextChange): use putSelectionAt in the forward direction
316         (operator()): use Paragraph::isWord
317
318 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
319
320         * Spacing.C (set): c_str fix
321
322 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
323
324         * lyx_cb.C (Reconfigure): quote the name of configure script in
325         case it contains spaces
326
327 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
328
329         * client: new dir
330
331         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
332         (BOOST_LIBS): use top_buildir when looking for the file
333
334 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
335
336         * pch.h: do not use include boost/format.hpp, multiple symbols
337                 will result (gcc bug)
338
339
340 2004-08-23  José Matos  <jamatos@lyx.org>
341
342         * bufferparams.C (readToken): fix reading of the author field.
343
344 2004-08-20  José Matos  <jamatos@lyx.org>
345
346         * lyxrc.C: remove support/translator.h inclusion since it is not used.
347
348 2004-08-20  José Matos  <jamatos@lyx.org>
349
350         * lyxlex.[Ch] (findToken): remove function.
351
352         * ParagraphParameters.C (findToken):
353         * bufferparams.C (findToken): replace call for previous function
354         with local copy. This local function has one more argument, the
355         read string argument.
356
357 2004-08-16  José Matos  <jamatos@lyx.org>
358
359         * ParagraphParameters.C (write):
360         * Spacing.C (writeFile):
361         * bufferparams.C (writeLaTeX):
362         * lyx_cb.C (Reconfigure):
363         * paragraph.C (write):
364         * tabular.C (write): remove unnecessary space at end of line.
365
366
367 2004-08-16  José Matos  <jamatos@lyx.org>
368
369         * text.C (readParagraph): remove debug message.
370
371 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
372
373         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
374         crash
375
376         * output_plaintext.C (asciiParagraph): set depth correctly
377
378         * outputparams.h: add member depth
379
380         * paragraph_funcs.C (ownerPar): remove.
381
382         * text2.C (setCounter): remove first_pit; comment out some
383         non-working code that uses ownerPar
384
385         * BufferView.C (getParentLanguage): remove. Not used anymore, and
386         uses ownerPar
387
388 2004-08-16  José Matos  <jamatos@lyx.org>
389
390         * text.C (readParToken, readParagraph, read): report all unknown tokens.
391         For the same level of importance use the same chanel to report problems.
392         (read): add code to deal with \begin_body and \end_body.
393
394
395 2004-08-15  José Matos  <jamatos@lyx.org>
396
397         * lyxlex.C (getString): fix comment, buffer::readBody is now
398         buffer:readDocument.
399
400         * tex-strings.C (string_papersize): Default -> default,
401         Custom -> custom, for consistency with other options.
402
403 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
404
405         * pch.h: new file
406
407         * Makefile.am: support pch
408
409 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
410
411         * text.C (readParToken): remove the static LyXFont variable and
412         pass it as a parameter instead. This fixes a nasty bug where an
413         inset will be inserted with a bad font in some situations
414         (readParagraph): adapt
415
416         * text2.C (setCounter): reduce number of calls to pars_[pit]
417
418         * text.C (singleWidth): add an assert, fix a test
419
420         * rowpainter.C (paintText): reduce number of calls to singleWidth
421
422         * paragraph.C (isHfill):
423         (isNewline): ws only
424
425 2004-08-14  André Pönitz  <poenitz@gmx.net>
426
427         * text.C:
428         * text2.C:
429         * rowpainter.C:
430         * lyxtext.h (several functions): use a Paragraph & argument
431         instead of par_type
432
433 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
434
435         * metricsinfo.h: add a new field ltr_pos to PainterInfo
436
437         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
438
439         * text.C (singleWidth): remove useless test
440
441 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
442
443         * tabular.h: remove bogus comments
444
445         * tabular.C (getDescentOfRow):
446         (isPartOfMultiColumn): add assertions
447
448         * lyxlength.C (inPixels): remove #warning
449
450 2004-08-14  André Pönitz  <poenitz@gmx.net>
451
452         * paragraph.h: inline getChar()
453
454         * BufferView.h: remove unused declarations
455
456 2004-08-14  José Matos  <jamatos@lyx.org>
457
458         * Buffer.[Ch] (readDocument): new name for old readBody.
459         * Buffer.C: new file format, new keywords: \begin_document,
460         \begin_header, \begin_body, \end_body.
461
462         * bufferparams.C (readToken): replace all calls to lex.nextToken
463         by lex.next(). Do the same to eatLine except where really needed.
464
465         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
466         line when writing to the lyx file.
467
468         * output_plaintext.C (asciiParagraph): fix Bibliography style
469         handling.
470
471         * text.C (read): fix end of file handling.
472
473 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
474
475         * MenuBackend.C (Menu::operator[]): new method to access
476         individual menu items
477         (Menu::hasFunc): new method. search for an item that corresponds
478         to a given func
479         (MenuBackend::specialMenu): new method
480         (MenuBackend::expand): if a special menu has been set, skip
481         entries whose func() appears in this menu
482
483 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
484
485         * text3.C: use Debug::DEBUG a bit more
486
487         * text.C (leftMargin): try to simplify a tiny bit change var x to
488         l_margin. Dont output the wide margins always.
489         (rightMargin): no margin in inner texts
490
491         * rowpainter.h (nestMargin): new func
492         (changebarMargin): new func
493         (rightMargin): new func
494
495         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
496         now functions.
497         (paintLast): ditto
498
499         * factory.C (createInset): modify setDrawFrame
500
501         * cursor.C: use Debug::DEBUG a bit more
502
503 2004-08-14  André Pönitz  <poenitz@gmx.net>
504
505         * coordcache.[Ch]:
506         * Makefile.am: new files to accomodate an 'external' (x,y)-position
507         cache for all insets in (at least partially) visible (top-level)
508         paragraphs.
509
510         * BufferView_pimpl.C: reset external coord cache before every update.
511         This means the coord cache only contains valid entries.
512
513 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
514
515         bug 1096
516         * BufferView_pimpl.C (getInsetByCode): move function out of class
517         and change in to a template in anon namespace. Also fix to do what
518         suits us better.
519
520 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
521
522         bug 1305
523         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
524         of char
525         (breakParagraph): rename par to par_offset and use a local
526         reference. Add code to keep the language over a rebreak.
527         (breakParagraphConservative): rename par to par_offset, use a
528         local reference
529         (mergeParagraph): ditto
530         (outerHook): ditto
531         (isFirstInSequence): ditto
532         (outerFont): rename pit to par_offset
533
534         * paragraph.C: ws change
535         * paragraph.h: ditto
536         * text3.C: ditto
537         * text.C: ditto
538
539 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
540
541         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
542         treatment for ']'
543
544         * paragraph.C (simpleTeXOnePar): when we have a \item with
545         optional argument, enclose the argument with curly brackets (in
546         case it contains a closing square bracket)
547
548         * text2.C (editXY):
549         * text2.C (editXY):
550         * text3.C (checkInsetHit): constify
551
552 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
553
554         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
555         documents (bug 1629)
556
557 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
558
559         Fix toggling of collapsable insets with the mouse (bug 1558)
560
561         * lyxfunc.C (dispatch): adapt to LCursor changes
562
563         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
564         make sure that dispatch is not invoked twice
565
566         * cursor.C (needsUpdate): new method
567         (dispatch): return void
568         (result): new method, to access the DispatchResult of the cursor.
569
570 2004-08-13  José Matos  <jamatos@lyx.org>
571
572         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
573
574 2004-08-13  André Pönitz  <poenitz@gmx.net>
575
576         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
577
578         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
579           multiple cells
580
581 2004-08-12  André Pönitz  <poenitz@gmx.net>
582
583         * text3.C: take out the 'cursor right' form insertInset and only
584         do it in those places when it is really needed. Fixes crash on
585         C-m...
586
587 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
588
589         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
590
591         * BufferView_pimpl.C (setBuffer): initialize the current font of
592         the underlying LyXText
593
594 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
595
596         * kbsequence.C (print): use UI native formatting for menu
597         shortcuts
598
599         * text.C (insertChar): call Paragraph::insertChar with a font
600         argument (cosmetic)
601
602         * paragraph.C (insertInset, insertChar): the version that takes a
603         LyXFont argument is now a wrapper around the other one (the
604         opposite used to be true).
605
606         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
607         argument. Font setting is done in Paragraph now.
608
609 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
610
611         * outputparams.h: add new members intitle and lang.
612
613         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
614         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
615
616 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
617
618         * text3.C (dispatch): remove special handling of button 4 and 5,
619         it is now taken care of in the frontend code.
620
621 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
622
623         * Spacing.h: add <string> (STLPort compile fix)
624
625 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
626
627         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
628
629 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
630
631         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
632         to bool.
633
634         * converter.C (showMessage): inherit from unary_function, make
635         operator() const.
636
637         * buffer.C (writeFile): initialize retval
638
639         * InsetList.h: rename private variable list to list_
640         * InsetList.[Ch]: adjust accordingly.
641
642 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
643
644         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
645         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
646         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
647         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
648         * ParagraphParameters.C, LaTeXFeatures.C: replace
649         "support/std_sstream.h" with <sstream>
650
651 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
652
653         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
654         * lyxsocket.C (LyXServerSocket): ditto
655         (serverCallback): ditto
656
657 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
658
659         * LaTeXFeatures.C: check release date when loading jurabib.
660
661 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
662
663         * lyxserver.C (startPipe): call register_socket_callback
664         (endPipe): call unregister_socket_callback
665
666 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
667
668         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
669         (LyXServerSocket): register the callback
670         (LyXServerSocket): unregister the callback
671         (fd): delete function
672         (serverCallback): improve error checking and setup the callbacks.
673         (dataCallback): change arg to fd.
674         (writeln): new func (copied fro the client socket) used for server
675         write to client.
676         (LyXDataSocket): simplify
677         (~LyXDataSocket): close ann unregiser callback
678         (server): delete function
679         (fd): delete function
680         (readln): small changes, improve some std::string usage
681         (writeln): constify a bit
682
683 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
684
685         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
686         Qt frontend
687
688 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
689
690         * BufferView_pimpl.C (setBuffer): set the layout combox value only
691         after it has been populated
692
693 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
694
695         * text2.C (insertInset): move cursor when inserting inset.
696
697 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
698
699         * kbmap.C (findbindings): a couple of new methods. returns a
700         container of kb_sequence objects. The real work is done by the
701         private recursive version
702         (printbindings): uses findbindings to print out a bracketed list
703         of bindings (renamed from findbinding).
704
705         * MenuBackend.C (binding): use kb_keymap::findbindings
706
707         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
708
709 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
710
711         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
712
713 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
714
715         * paragraph.C (isWord): return true on insets that report
716         isLetter().
717
718         * text.C (getWord): use Paragraph::isWord to decide what is in a
719         word and what is not; fix bug 1609.
720
721 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
722
723         * tex-strings.C: add "none" to string_paperpackages[], fixes
724         off-by-one-error in the paperpackage selection.
725
726         * lyxlex.[Ch]:
727         * tex-strings.[Ch]: char const * string[n]
728         -> char const * const string[]
729
730 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
731
732         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
733         command, return early.
734
735 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
736
737         * debug.h: add DEBUG to enum and fix size of ANY.
738
739         * debug.C: add support for Debug::DEBUG
740         (showTags): cast errorTags.level to unsigned int
741
742         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
743         (redoCurrentBuffer): ditto
744         (updateScrollbar): ditto
745         * cursor.C (dispatch): ditto
746         * text2.C (setLayout): ditto
747         (setFont): ditto
748         (updateCounters): ditto
749         (editXY): ditto
750         (deleteEmptyParagraphMechanism): ditto
751
752 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
753
754         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
755         annotations to cleanup the Makefile slightly.
756
757 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
758
759         * lyxrc.C: do not set user_email to a default value but use empty
760         instead. The entry used to be translated, which does not work
761         since at the point where lyxrc is constructed there is no
762         translation service available
763
764         * messages.C (getLocaleDir): remove and use directly
765         lyx_localedir() instead
766
767 2004-06-02  Angus Leeming  <leeming@lyx.org>
768
769         Fix crash caused by dereferencing null pointer 'exportdata' in
770         OutputParams by creating a new ExportData variable on the heap,
771         storing it in a boost::shared_ptr.
772         The crash was triggered when generating an Instant Preview
773         of an external inset.
774
775         * Makefile.am: add outputparams.C
776
777         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
778         (c-tor): allocate memory to it.
779
780         * exporter.C (c-tor): associated changes.
781
782 2004-06-01  Angus Leeming  <leeming@lyx.org>
783
784         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
785         contains data before calling isInset(0). (Bug 1513.)
786
787 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
788
789         * exporter.C (checkOverwrite): new method
790         * exporter.C (copyFile): new method
791         * exporter.C (Export): copy referenced files to the document dir
792         * exporter.[Ch]: new class ExportedFile
793         * exporter.[Ch]: new class ExportData. Contains currently the
794         names of referenced external files
795         * outputparams.h: add exportdata member.
796
797 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
798
799         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
800         version.C-tmp
801
802 2004-05-19  Angus Leeming  <leeming@lyx.org>
803
804         * LaTeXFeatures.C:
805         * ToolbarBackend.C:
806         * bufferparams.C:
807         * lyxfunc.C: small changes due to the introduction of namespace
808         lyx::frontend and the moving of namespace biblio to lyx::biblio.
809
810 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
811
812         * text3.C (dispatch): supress update when only moving the cursor
813         * cursor.C (selHandle): remove commented code
814
815 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
816
817         * paragraph.C (startTeXParParams): correct column count
818         * CutAndPaste.C (pasteSelection): remove const_cast
819         * output_docbook.C (docbookParagraphs): remove const_cast
820         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
821         const_cast and return ParagraphList::const_iterator
822         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
823         * output_plaintext.C (writeFileAscii): remove const_cast
824         * paragraph.[Ch] (simpleTeXOnePar): make const
825         * paragraph_funcs.C (outerPar): use const iterators
826         * paragraph_pimpl.C (validate): use const iterators
827         * text.C (setHeightOfRow): use const iterators
828
829 2004-05-17  Angus Leeming  <leeming@lyx.org>
830
831         * lfuns.h:
832         * LyXAction.C (init): new LFUN_INSET_REFRESH.
833
834         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
835         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
836         if the citation engine has changed.
837
838 2004-05-14  José Matos  <jamatos@lyx.org>
839
840         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
841         if the textclass does not provide it. Have it different for sgml and
842         xml.
843         support the language of document.
844         * output_docbook.C (docbookParagraphs):
845         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
846         first anchor as the id of the paragraph, remove special case code.
847         * sgml.C (escapeChar): escape only < & >.
848
849 2004-05-14  Angus Leeming  <leeming@lyx.org>
850
851         * bufferparams.h: move biblio::CiteEngine enum here to minimize
852         dependencies on src/frontends/controllers/biblio.h. Define a
853         CiteEngine_enum wrapper class to enable the enum to be forward
854         declared.
855
856 2004-05-12  Angus Leeming  <leeming@lyx.org>
857
858         * buffer.C: up LYX_FORMAT to 234.
859         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
860         use_numerical_citations with a single biblio::CiteEngine cite_engine
861         variable.
862         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
863
864 2004-05-13  José Matos  <jamatos@lyx.org>
865
866         * converter.h:
867         * converter.C (Converter, readFlags): add xml member.
868         * outputparams.h: add XML flavor.
869         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
870
871 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
872
873         * lyxfunc.C (dispatch):
874         (getStatus): fix handling of LFUN_SEQUENCE
875
876 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
877
878         * debug.C (showLevel): do not forget the end-of-line marker
879
880 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
881
882         * kbmap.C (read): do not stop parsing a bind file when an error
883         occurs (bug 1575)
884
885 2004-04-29  Angus Leeming  <leeming@lyx.org>
886
887         * cursor.C:
888         * factory.C:
889         * pariterator.C:
890         * text2.C: wrap a bunch of #warning statements
891         inside #ifdef WITH_WARNINGS blocks.
892
893 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
894
895         * buffer.C: increment format to 233.
896
897 2004-04-28  Angus Leeming  <leeming@lyx.org>
898
899         * BufferView_pimpl.C:
900         * lyxfunc.C:
901         * text3.C:
902         s/updateToolbar()/updateToolbars()/
903         s/Toolbar.h/Toolbars.h/
904
905 2004-04-28  Angus Leeming  <leeming@lyx.org>
906
907         * BufferView.[Ch] (c-tor):
908         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
909         No longer passes these data to the WorkArea generator.
910
911 2004-04-28  Angus Leeming  <leeming@lyx.org>
912
913         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
914
915 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
916
917         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
918
919 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
920
921         * output_latex.C (TeXEnvironment): make sure that there is a line
922         break before \end{foo} for the last paragraph of a document
923         (TeXOnePar): if the paragraph is at the end of the document (or
924         inset) and the language has to be reset, then make sure that the
925         line break is _before_ the language command, not after (fixes bug
926         1225); also make sure that the language reset command is the first
927         thing after the paragraph (to ensure proper nesting of
928         environments and thus fix bug 1404)
929
930 2004-04-21  John Levon  <levon@movementarian.org>
931
932         * ToolbarBackend.h:
933         * ToolbarBackend.C: make "name" be a programmatic name
934         and a gui_name field.
935
936         * lyxfunc.C: display the minibuffer on M-x
937
938 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
939
940         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
941         (bug 1526)
942
943 2004-04-19  Angus Leeming  <leeming@lyx.org>
944
945         * BufferView_pimpl.C (setBuffer): changed preview interface.
946
947         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
948         possible values.
949
950 2004-04-19  John Levon  <levon@movementarian.org>
951
952         * BufferView_pimpl.C:
953         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
954
955 2004-04-05  Angus Leeming  <leeming@lyx.org>
956
957         * text.C (redoParagraphs): add call to updateCounters(), thereby
958         fixing the missing "Figure #:" label from the caption of a
959         figure float.
960
961 2004-04-13  Angus Leeming  <leeming@lyx.org>
962
963         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
964         cursor is clicked out of an inset.
965
966 2004-04-13  Angus Leeming  <leeming@lyx.org>
967
968         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
969         than an InsetOld one.
970
971 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
972
973         * format.[Ch]: add editor to Format
974         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
975         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
976
977 2004-04-08  André Pönitz  <poenitz@gmx.net>
978
979         * metricsinfo.h: remove PainterInfo::width member
980
981 2004-04-08  Angus Leeming  <leeming@lyx.org>
982
983         * lyx_sty.C (boldsymbol_def): modify so that it outputs
984         "\providecommand" rather than "\newcommand", thereby preventing
985         clashes with packages that define "\boldsymbol" themselves.
986         Eg, beamer.
987
988 2004-04-08  Angus Leeming  <leeming@lyx.org>
989
990         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
991         thereby squashing an unnecessary warning.
992
993 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
994
995         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
996         setBuffer()
997
998 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
999
1000         * BufferView.C (setCursor): call redoParagraph (some insets could
1001         have been opened)
1002         (putSelectionAt): remove the 'double update' trick
1003
1004         * BufferView_pimpl.C (fitCursor): call refreshPar
1005         (workAreaDispatch): remove an uneeded update call
1006         (dispatch): remove some manual update calls
1007
1008         * cursor.[Ch]: remove cached_y_, updatePos
1009         (selHandle): set noUpdate when appropriate
1010
1011         * lyxfunc.C (dispatch): track if we need an update
1012
1013         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1014
1015         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1016         (paintSelection): cheap optimization, do not call cursorX when not
1017         needed
1018         (paintPars): change signature
1019         (refreshPar): add
1020         (paintText): adjust
1021         (paintTextInset): adjust
1022
1023         * text.C: adjust
1024
1025 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1026
1027         * lengthcommon.C: compilation fix: remove explicit array size from
1028         unit_name[] and friends
1029
1030 2004-04-05  Angus Leeming  <leeming@lyx.org>
1031
1032         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1033
1034         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1035         present only for the preferences dialog.
1036         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1037
1038 2004-04-05  Angus Leeming  <leeming@lyx.org>
1039
1040         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1041         to enable the frontends to export changes to lyxrc correctly.
1042
1043         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1044
1045 2004-04-07  André Pönitz  <poenitz@gmx.net>
1046
1047         * cursor.[Ch] (selClear, adjust): remove math
1048
1049         * cursor_slice.C: more agressive assert
1050
1051         * lyxfunc.C:
1052         * BufferView_pimpl.C: rework mouse event dispatch
1053
1054         * dociterator.C:
1055         * paragraph.C:
1056         * text2.C:
1057         * text3.C: adjust
1058
1059 2004-04-05  André Pönitz  <poenitz@gmx.net>
1060
1061         * cursor.[Ch] (valign, halign...): remove unneeded functions
1062
1063 2004-04-05  Angus Leeming  <leeming@lyx.org>
1064
1065         * lyxlength.[Ch] (unit_name et al.): const-correct.
1066
1067 2004-04-05  Angus Leeming  <leeming@lyx.org>
1068
1069         * BufferView_pimpl.C:
1070         * buffer.C:
1071         * counters.C:
1072         * cursor.C:
1073         * lyxfunc.C
1074         * paragraph.C:
1075         * pariterator.C:
1076         * text.C:
1077         * text2.C:
1078         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1079
1080 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1081
1082         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1083
1084 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1085
1086         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1087         * BufferView_pimpl.[Ch] (getStatus)
1088         * BufferView.[Ch] (getStatus): add
1089         * lyxfunc.C (getStatus): move lfuns handled in
1090         BufferView::dispatch to te function above
1091         * Cursor.C (setSelection): set selection() = true
1092
1093 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1094
1095         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1096
1097 2004-03-31  Angus Leeming  <leeming@lyx.org>
1098
1099         * lyxfunc.C (dispatch): Fall through to the generic
1100         Dialogs::show("preamble").
1101
1102 2004-03-31  Angus Leeming  <leeming@lyx.org>
1103
1104         * lyxfunc.C (dispatch): Fall through to the generic
1105         Dialogs::show("spellchecker").
1106
1107 2004-03-31  Angus Leeming  <leeming@lyx.org>
1108
1109         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1110         preferences dialog.
1111
1112 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1113
1114         * BufferView.C
1115         * cursor.[Ch]
1116         * dociterator.[Ch]:
1117         * insetiterator.[Ch]:
1118         * lyxfind.C:
1119         * lyxfunc.C:
1120         * pariterator.[Ch]:
1121         * text2.C:
1122         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1123
1124 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1125
1126         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1127         insets where we are putting the cursor.
1128
1129 2004-03-31  Angus Leeming  <leeming@lyx.org>
1130
1131         * lfuns.h:
1132         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1133
1134         * lyxrc.[Ch] (read, write): overloaded member functions taking
1135         a std::[io]stream arguments.
1136
1137         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1138
1139 2004-03-31  Angus Leeming  <leeming@lyx.org>
1140
1141         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1142         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1143
1144         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1145         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1146
1147 2004-03-31  Angus Leeming  <leeming@lyx.org>
1148
1149         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1150         the LFUN_ALL_INSETS_TOGGLE code.
1151
1152 2004-03-30  Angus Leeming  <leeming@lyx.org>
1153
1154         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1155         has died. Fall through to the generic Dialogs::show("document").
1156
1157 2004-03-30  Angus Leeming  <leeming@lyx.org>
1158
1159         * lfuns.h:
1160         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1161         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1162
1163         * lyxfunc.C (getStatus, dispatch): define the actions for these
1164         lfuns. Little more than a cut and pste job from ControlDocument.C
1165
1166         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1167
1168 2004-03-30  Angus Leeming  <leeming@lyx.org>
1169
1170         * lfuns.h:
1171         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1172         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1173
1174         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1175         open/closed state of ollapsable insets. Usage:
1176
1177         all-inset-toggle <state> <name>, where
1178         <state> == "open" || "closed" || "toggle" and
1179         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1180
1181         * lyxtext.h, text2.C (toggleInset): removed.
1182
1183         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1184         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1185         now passes LFUN_INSET_TOGGLE to the found inset.
1186
1187         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1188         is now invoked as "all-insets-toggle toggle branch".
1189
1190 2004-03-30  Angus Leeming  <leeming@lyx.org>
1191
1192         * dociterator.C:
1193         * insetiterator.C:
1194         * pariterator.[Ch]: added/corrected header blurb.
1195
1196 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1197
1198         * dociterator.[Ch]: add an inset_ member
1199         (backwardPos): implemented
1200         (backwardPos, forwardPos): use inset_ when the stack is empty.
1201         (doc_iterator_begin, doc_iterator_end): implemented
1202         * pariterator.[Ch]: adjust, add begin, end
1203         * insetiterator.[Ch]: adjust, add begin, end
1204         * cursor.C:
1205         * document.C:
1206         * BufferView.C:
1207         * BufferView_pimpl.C:
1208         * CutAndPaste.C: adjust
1209
1210 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1211
1212         * buffer.C: increment file format to 232.
1213         * LaTeXFeatures.C: add bibtopic package.
1214         * bufferparams.[Ch]: param \use_bibtopic.
1215
1216         * lyxrc.[Ch]: add lyxrc bibtex_command
1217         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1218
1219         * buffer.C: increment file format to 231.
1220
1221 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1222
1223         * dociterator.C: implement forwardPar
1224         * iterators.[Ch]: remove, replaced by
1225         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1226         * BufferView.C:
1227         * BufferView_pimpl.C:
1228         * CutAndPaste.C:
1229         * buffer.C:
1230         * bufferview_funcs.C:
1231         * cursor.C:
1232         * lyxfind.C
1233         * lyxfunc.C
1234         * paragraph_funcs.C
1235         * toc.C:
1236         * Makefile.am: adjust
1237
1238 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1239
1240         * CutAndPaste.C (pasteSelection): fix 2 crashes
1241         (eraseSelection): fix a crash
1242         * paragraph_funcs.C: remove a warning
1243
1244 2004-03-28  Angus Leeming  <leeming@lyx.org>
1245
1246         * lfuns.h:
1247         * LyXAction.C (init): new LFUN_PRINT.
1248
1249         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1250
1251 2004-03-27  Angus Leeming  <leeming@lyx.org>
1252
1253         * lfuns.h:
1254         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1255
1256         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1257
1258 2004-03-27  Angus Leeming  <leeming@lyx.org>
1259
1260         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1261         insetlist always contains non-null pointers to insets.
1262
1263 2004-03-26  Angus Leeming  <leeming@lyx.org>
1264
1265         * src/BufferView_pimpl.C:
1266         * src/CutAndPaste.C:
1267         * src/buffer.C:
1268         * src/iterators.C:
1269         * src/output_plaintext.C:
1270         * src/outputparams.h:
1271         * src/paragraph_funcs.C:
1272         * src/rowpainter.C:
1273         * src/text.C:
1274         * src/text2.C:
1275         * src/frontends/controllers/ControlErrorList.C:
1276         * src/frontends/gtk/FileDialogPrivate.C:
1277         * src/frontends/gtk/GPainter.C:
1278         * src/frontends/gtk/GToolbar.C:
1279         * src/frontends/qt2/QRef.C:
1280         * src/mathed/math_scriptinset.C: squash compiler warnings.
1281
1282 2004-03-26  Angus Leeming  <leeming@lyx.org>
1283
1284         * ispell.C (LaunchIspell::start):
1285         * lyx_cb.C (AutoSaveBuffer::start):
1286         invoke run(DontWait) rather than runNonBlocking().
1287
1288 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1289
1290         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1291
1292 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1293
1294         * kbsequence.C (print): adjust
1295
1296         * kbmap.C (printKeySym): rename and change signature
1297         (printKey): use LyXKeySym::print()
1298
1299 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1300
1301         * undo.C: add using std::advance to compile for stlport
1302
1303 2004-03-24  Angus Leeming  <leeming@lyx.org>
1304
1305         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1306         it leads to a crash when no buffer is present.
1307
1308 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1309             Martin Vermeer  <martin.vermeer@hut.fi>
1310
1311         * lyxfunc.C (dispatch):
1312         * bufferparams.C (readToken): use the new LColor::setColor
1313
1314         * LColor.[Ch] (setColor): new version that takes two strings as
1315         argument and creates a new color entry if necessary
1316
1317 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1318
1319         * buffer.C (makeLaTeXFile): if the main latex file that is
1320         processed is usually a subdocument of some master, then pretend
1321         for a while that it is actually the master
1322
1323 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1324
1325         * buffer.C (getLabelList):
1326         (getBibkeyList): use getMasterBuffer()
1327         (getMasterBuffer): new method. Returns the main document in the
1328         case where one is using included documents.
1329
1330 2004-03-25  André Pönitz  <poenitz@gmx.net>
1331
1332         * Makefile.am:
1333         * iterators.[Ch]:
1334         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1335
1336         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1337
1338         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1339         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1340
1341         * ParameterStruct.h: merge with ParagraphParameters
1342
1343         * lyxtext.h: remove LyXText::parOffset() and getPar()
1344
1345         * text3.C: Remove all 'manual' update calls. We do now one per user
1346         interaction which is completely sufficient.
1347
1348         * Bidi.C:
1349         * BufferView.[Ch]:
1350         * BufferView_pimpl.C:
1351         * FontIterator.[Ch]:
1352         * MenuBackend.C:
1353         * ParagraphParameters.[Ch]:
1354         * buffer.C:
1355         * buffer.h:
1356         * bufferlist.C:
1357         * cursor.[Ch]:
1358         * cursor_slice.[Ch]:
1359         * dociterator.[Ch]:
1360         * errorlist.[Ch]:
1361         * factory.C:
1362         * lfuns.h:
1363         * lyxfind.C:
1364         * lyxfunc.C:
1365         * output_docbook.[Ch]:
1366         * output_latex.[Ch]:
1367         * output_linuxdoc.[Ch]:
1368         * output_plaintext.[Ch]:
1369         * paragraph.[Ch]:
1370         * paragraph_funcs.[Ch]:
1371         * paragraph_pimpl.[Ch]:
1372         * rowpainter.C:
1373         * tabular.[Ch]:
1374         * text.C:
1375         * text2.C:
1376         * toc.C:
1377         * undo.[Ch]: adjust
1378
1379         * frontends/controllers/ControlDocument.C:
1380         * frontends/controllers/ControlErrorList.C:
1381         * frontends/controllers/ControlSpellchecker.C:
1382         * insets/inset.C:
1383         * insets/inset.h:
1384         * insets/insetbase.h:
1385         * insets/insetbibitem.C:
1386         * insets/insetbox.C:
1387         * insets/insetbranch.C:
1388         * insets/insetcaption.C:
1389         * insets/insetcharstyle.C:
1390         * insets/insetcharstyle.h:
1391         * insets/insetcollapsable.C:
1392         * insets/insetcollapsable.h:
1393         * insets/insetert.C:
1394         * insets/insetfloat.C:
1395         * insets/insetfoot.C:
1396         * insets/insetmarginal.C:
1397         * insets/insetnote.C:
1398         * insets/insetoptarg.C:
1399         * insets/insettabular.C:
1400         * insets/insettext.C:
1401         * insets/insettext.h:
1402         * insets/insetwrap.C:
1403         * mathed/math_mboxinset.C:
1404         * mathed/math_nestinset.C:
1405         * mathed/math_scriptinset.C:
1406         * mathed/math_scriptinset.h:
1407         * support/types.h:
1408
1409 2004-03-24  Angus Leeming  <leeming@lyx.org>
1410
1411         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1412         deal with any child processes that have finished but are waiting to
1413         communicate this fact to the rest of LyX.
1414
1415 2004-03-24  Angus Leeming  <leeming@lyx.org>
1416
1417         64-bit compile fixes.
1418
1419         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1420         (c-tor): pass lyx::pos_types rather than ints.
1421
1422         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1423         lyx::pos_type.
1424
1425         * text.C (Delete): compile fix.
1426         (getPar): ensure that function declaration is the same as that in
1427         the header file.
1428
1429 2004-03-23  Angus Leeming  <leeming@lyx.org>
1430
1431         * ispell.C (LaunchIspell):
1432         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1433         a boost::shred_ptr rather than a std::auto_ptr.
1434
1435 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1436
1437         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1438         handle LFUN_FILE_INSERT_*
1439
1440         * lyxrc.C (setDefaults, getDescription, output, read):
1441         * lyxrc.h: remove ps_command
1442
1443 2004-03-22  Angus Leeming  <leeming@lyx.org>
1444
1445         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1446         Ensure that error_handler is processed once only and that all data
1447         is saved before attempting to output any warning messages.
1448
1449         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1450
1451 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1452
1453         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1454
1455 2004-03-19  André Pönitz  <poenitz@gmx.net>
1456
1457         * cursor.[Ch] (reset): take main text inset as argument
1458
1459         * BufferView: adjust
1460         * BufferView_pimpl.C: adjust
1461
1462         * paragraph.[Ch]: fix completely broken operator=()
1463
1464 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1465
1466         * LColor.C (getFromLyXName): make sure that the color name is used
1467         as lowercase.
1468
1469 2004-03-17  Angus Leeming  <leeming@lyx.org>
1470
1471         * lfuns.h:
1472         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1473
1474         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1475         dialog and to kill a forked process.
1476
1477 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1478
1479         * text2.C (setCursorFromCoordinates): fix font problem
1480
1481 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1482
1483         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1484         bogus "rebuild cursor" code
1485
1486 2004-03-11  André Pönitz  <poenitz@gmx.net>
1487
1488         * buffer.[Ch]: use InsetText instead of LyXText as container for
1489         the main lyx text.
1490
1491         * dociterator.[Ch]: drop the BufferView * member which is not needed
1492         anymore after the change to buffer.C
1493
1494         * paragraph_funcs.C:
1495         * text.C:
1496         * text2.C:
1497         * BufferView.[Ch]:
1498         * BufferView_pimpl.[Ch]:
1499         * cursor.[Ch]:
1500         * cursor_slice.[Ch]: adjust
1501
1502         * text3.C: fix bug in mathDispatch
1503
1504 2004-03-08  André Pönitz  <poenitz@gmx.net>
1505
1506         * undo.[Ch]: use 'StableDocumentIterator' as base for
1507         the Undo struct.
1508
1509 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1510
1511         * LaTeXFeatures.C:
1512         * bufferparams.[Ch]: add jurabib support and param.
1513
1514         * LaTeX.C: add FIXME/comment.
1515
1516 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1517
1518         * buffer.C: increment file format to 230.
1519
1520 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1521
1522         * cursor.C (dispatch): avoid infinite loops
1523
1524 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1525
1526         * rowpainter.C (paintSelection): fix x coordinates
1527
1528 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1529
1530         * text.C (rowBreakPoint): fix breaking before displayed insets
1531
1532 2004-03-01  André Pönitz  <poenitz@gmx.net>
1533
1534         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1535
1536         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1537
1538         * Makefile.am:
1539         * BufferView.C:
1540         * BufferView_pimpl.C:
1541         * buffer.C:
1542         * lyxfind.C:
1543         * lyxfunc.C:
1544         * text.C:
1545         * text2.C:
1546         * text3.C: adjust
1547
1548 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1549
1550         * lyxtext.h:
1551         * text.C:
1552         * text2.C:
1553         * rowpainter.C:
1554         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1555         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1556
1557 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1558
1559         * Bidi.[Ch] (computeTables): const correctness
1560         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1561         fill_hfill, fill_label_hfill and x from Row
1562         * lyxtext.h: prepareToPrint returns a RowMetrics
1563         * rowPainter.C: adjust
1564         * text.C (prepareToPrint): use width, not textWidth. adjust
1565         (redoParagraphInternal, cursorX): adjust
1566         * text2.C (getColumnNearX): adjust
1567         (init): put a default value to the top LyXText::width
1568
1569 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1570
1571         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1572
1573 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1574
1575         * lyxtext.h: add FontIterator class
1576
1577         * text.C (FontIterator, operator*, operator->, operator++): add
1578         (rowBreakPoint, setRowWidth): adjust (fixing a
1579         rebreaking bug)
1580
1581 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1582
1583         * BufferView_pimpl.C (workAreaDispatch): allow also
1584         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1585
1586 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1587
1588         * text.C (rowBreakPoint): fix a bug showing with very large insets
1589
1590 2004-02-25  André Pönitz  <poenitz@gmx.net>
1591
1592         * text3.C:
1593         * cursor.[Ch]: move some mathed specific code to mathed
1594
1595 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1596
1597         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1598         use_tempdir in preferences
1599         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1600         tempfile creation
1601         * lyx_main.C: ensure that tempdir is valid
1602         * lyxlex.h: correct typo
1603         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1604         * paragraph.[Ch] (isMultiLingual): make const
1605         * cursor.[Ch] (openable): make const
1606
1607 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1608
1609         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1610
1611 2004-02-20  André Pönitz  <poenitz@gmx.net>
1612
1613         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1614
1615         * cursor.[Ch]: prepare for localized getStatus()
1616
1617         * lyxtext.h:
1618         * tabular.C:
1619         * text.C:
1620         * text2.C:
1621         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1622
1623 2004-02-20  André Pönitz  <poenitz@gmx.net>
1624
1625         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1626
1627 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1628
1629         * text2.C (setCursorFromCoordinates): switch to absolute coords
1630         (cursorUp): adjust
1631         (cursorDown): adjust
1632         * text3.C (dispatch): adjust
1633
1634 2004-02-16  André Pönitz  <poenitz@gmx.net>
1635
1636         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1637           insets/ChangeLog)
1638
1639         * cursor_slice.[Ch]: remove unneeded acessor function
1640
1641         * lyxtext.h: rename rtl() to isRTL()
1642
1643         * rowpainter.C:
1644         * tabular.C:
1645         * text.C:
1646         * text2.C:
1647         * text3.C: adjust
1648
1649 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1650
1651         * rowpainter.C (paintSelection): coord fix
1652
1653 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1654
1655         * Spacing.C: compile fix
1656
1657 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1658
1659         * cursor.C (dispatch): restore current_ before returning
1660
1661 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1662
1663         * text2.C (cursorUp, cursorDown): fix coords
1664         (moveUp): fix crash
1665
1666 2004-02-12  André Pönitz  <poenitz@gmx.net>
1667
1668         * lyxtext.h:
1669         * text.C:
1670         * text2.C:
1671         * text3.C: add LCursor & parameter to most cursor movement functions
1672           remove usage of LyXText::cursorRow() and cursorPar()
1673
1674         * cursor.[Ch]: add textRow() needed members
1675
1676         * BufferView.C:
1677         * BufferView_pimpl.C:
1678         * paragraph.[Ch]:
1679         * BufferView.C:
1680         * BufferView_pimpl.C: adjust
1681
1682 2004-02-11  André Pönitz  <poenitz@gmx.net>
1683
1684         * lyxfunc.C:
1685         * BufferView.[Ch]:
1686         * BufferView_pimpl.C: shift undo/redo handling
1687
1688         * cursor.[Ch]: fix mathed crash
1689
1690         * lyxfind.C:
1691         * lyxtext.h: move selectionAsText to LCursor
1692
1693         * output_latex.C:
1694         * paragraph.C:
1695         * text.C:
1696         * text2.C:
1697         * text3.C: adjust
1698
1699         * rowpainter.C: fix excessive drawing
1700
1701 2004-02-06  André Pönitz  <poenitz@gmx.net>
1702
1703         * BufferView.[Ch]:
1704         * BufferView_pimpl.[Ch]:
1705         * text3.C: move some text specific LFUN handling
1706
1707 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1708
1709         * text3.C (checkInsetHit): adjust coords
1710         * text2.C (getColumnNearX): adjust coords
1711         (edit): adjust coords
1712         * text.C (getRowNearY): add two asserts
1713
1714 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1715
1716         * converter.C:
1717         * format.C: add using std::distance to compile on gcc 2.95/stlport
1718
1719 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1720
1721         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1722
1723 2004-02-04  André Pönitz  <poenitz@gmx.net>
1724
1725         * BufferView.[Ch] (insertInset):
1726         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1727
1728         * text2.C:
1729         * text3.C: adjust
1730
1731 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1732
1733         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1734         on the default clause of the switch
1735         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1736         wasn't catched by LCursor::dispatch
1737
1738 2004-02-03  André Pönitz  <poenitz@gmx.net>
1739
1740         * BufferView.C:
1741         * cursor.[Ch]: some additional asserts
1742
1743         * undo.[Ch]: remove LyXText dependency in interface
1744
1745         * lyxfunc.C: adjust
1746
1747         * lyxtext.h (firstPar, lastPar): remove dead functions
1748
1749         * text.C:
1750         * text2.C:
1751         * text3.C:
1752         * paragraph.[Ch]: adjust
1753
1754 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1755
1756         * lyxfind.C (find): fix argument order in call to ::find
1757
1758 2004-02-02  André Pönitz  <poenitz@gmx.net>
1759
1760         * cursor.[Ch]: remove direct access to anchor
1761
1762         * text.C: remove findText() hack
1763
1764 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1765
1766         * iterators.[Ch] (lockPath): remove in favour of...
1767         * BufferView.[Ch] (setCursor): this addition
1768         * BufferView.C (putSelectionAt): adjust
1769         * undo.C (performUndoOrRedo): adjust
1770         * lyxfunc.C (dispatch): adjust
1771
1772 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1773
1774         * iterators.C (lockPath): add a missing slice
1775         * undo.C (performUndoOrRedo): remove redundant positioning code
1776
1777 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1778
1779         * vc-backend.C (scanMaster): ";" -> ';'
1780
1781 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1782
1783         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1784         std::binary_function
1785
1786         * lyxtextclass.C (compare_name): rename to...
1787         (LayoutNamesEqual): ...this
1788
1789         * lyxlex_pimpl.C (compare_tags): inherit from
1790         std::binary_function, put back into anon namespace
1791
1792         * lyxfind.C (MatchString): inherig from std::binary_function
1793         (findChange): use empty() istead of !size()
1794
1795         * format.C (FormatNamesEqual): new functor
1796         (getFormat): use it
1797         (getNumber): use it
1798         (add): use it
1799         (erase): use it
1800         (setViewer): use it
1801
1802         * converter.C (compare_Converter): rename to...
1803         (ConverterEqual): ...this, and fixup a bit.
1804         (getConverter): use it, and make function const
1805         (getNumber): use it, and make function const
1806         (add): use it
1807         (erase): use it:
1808
1809         * bufferlist.C: add using boost::bind
1810
1811         * MenuBackend.C (MenuNamesEqual): new functor
1812         (hasMenu): use it, and make function const
1813         (hasSubmenu): use nested bind to get rid of compare_memfun.
1814
1815 2004-01-30  André Pönitz  <poenitz@gmx.net>
1816
1817         * BufferView_pimpl.C:
1818         * cursor.C:
1819         * cursor.h:
1820         * cursor_slice.[Ch]:
1821         * lyxfunc.C:
1822         * lyxtext.h:
1823         * paragraph_funcs.C:
1824         * paragraph_funcs.h:
1825         * rowpainter.C:
1826         * text.C:
1827         * text2.C:
1828         * text3.C: move some of the edit(x,y) handling to the insets
1829         some coordinate changes.
1830
1831 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1832
1833         * text.C: add using statements for std::advance and std::distance
1834
1835         * paragraph.C: add using statement for std::distance
1836
1837         * lyxfind.C: add using statement for std::advance
1838
1839         * cursor.C (region): remove std:: from swap
1840         (openable): use nucleus in stead of operator->
1841
1842         * BufferView.C: add using statements for std::distance and std::swap
1843
1844 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1845
1846         * iterators.C: Remove the pimple, move the needed structures to
1847         the header file. Create accessor for the positions stack.
1848         (asPosIterator): remove function
1849
1850         * PosIterator.C (PosIterator): move constructors to top of file
1851         (PosIterator): reimplement the constructor taking a ParIterator in
1852         terms of setFrom.
1853         (setFrom): new function
1854         (operator!=): inline it
1855
1856 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1857
1858         * lyxfind.C (replaceAll): use std::advance
1859
1860         * iterators.h: inherit from std::iterator.
1861
1862         * PosIterator.C (advance, distance): remove
1863         * PosIterator.h: interit from std::iterator.
1864
1865 2004-01-26  André Pönitz  <poenitz@gmx.net>
1866
1867         * BufferView.[Ch]:
1868         * BufferView_pimpl.[Ch]:
1869         * InsetList.[Ch]:
1870         * PosIterator.[Ch]:
1871         * buffer.h:
1872         * bufferview_funcs.C:
1873         * cursor.[Ch]:
1874         * cursor_slice.h:
1875         * factory.[Ch]:
1876         * iterators.[Ch]:
1877         * lyxfind.C:
1878         * lyxfunc.C:
1879         * lyxtext.h:
1880         * output_docbook.C:
1881         * output_latex.C:
1882         * output_linuxdoc.C:
1883         * output_plaintext.C:
1884         * paragraph.[Ch]:
1885         * paragraph_funcs.[Ch]:
1886         * paragraph_pimpl.[Ch]:
1887         * rowpainter.C:
1888         * tabular.C:
1889         * tabular.h:
1890         * text.C:
1891         * text2.C:
1892         * text3.C: more IU:  dumps most of the rest of the mathcursor
1893     implementation into cursor.[Ch]; "globalize" a bit of it.
1894
1895 2004-01-25  Angus Leeming  <leeming@lyx.org>
1896
1897         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1898
1899 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1900
1901         * LaTeXFeatures.h: add nice_ and nice() const
1902         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1903
1904 2004-01-20  André Pönitz  <poenitz@gmx.net>
1905
1906         * BufferView.[Ch]:
1907         * BufferView_pimpl.C:
1908         * PosIterator.C:
1909         * bufferview_funcs.C:
1910         * cursor.[Ch]:
1911         * cursor_slice.[Ch]:
1912         * factory.C:
1913         * iterators.C:
1914         * lyx_cb.C:
1915         * lyxfind.C:
1916         * lyxfunc.C:
1917         * lyxtext.h:
1918         * rowpainter.C:
1919         * text.C:
1920         * text2.C:
1921         * text3.C:
1922         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1923           LCursor and mathcursor parts to LCursor and InsetBase.
1924
1925 2004-01-15  André Pönitz  <poenitz@gmx.net>
1926
1927         * cursor_slice.[Ch]: add a few covienience functions
1928
1929         * funcrequest.[Ch]: remove BufferView * member
1930
1931         * BufferView_pimpl.C:
1932         * cursor.C:
1933         * factory.[Ch]:
1934         * lyxfind.[Ch]:
1935         * lyxfunc.C:
1936         * lyxtext.h:
1937         * text3.C:
1938         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1939
1940 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1941
1942         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1943         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1944
1945 2004-01-13  André Pönitz  <poenitz@gmx.net>
1946
1947         * textcursor.[Ch]:
1948         * lyxtext.h: hide cursor and selection anchor behind accessor function
1949
1950         * BufferView.C:
1951         * BufferView_pimpl.[Ch]:
1952         * PosIterator.C:
1953         * bufferview_funcs.C:
1954         * cursor.h:
1955         * lyxfind.C:
1956         * lyxfunc.C:
1957         * text.C:
1958         * text2.C:
1959         * text3.C:
1960         * undo.C: adjust
1961
1962         * cursor.h:
1963         * cursor_slice.[Ch]: some integer type changes for inset unification
1964
1965         * lyxcursor.[hC]: remove, it's CursorSlice now.
1966
1967         * Makefile.am:
1968         * BufferView_pimpl.[Ch]:
1969         * bufferview_funcs.C:
1970         * cursor_slice.C:
1971         * lyxtext.h:
1972         * text.C:
1973         * text2.C:
1974         * text3.C:
1975         * textcursor.[Ch]: adjust
1976
1977 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1978
1979         * text2.C (undoSpan): add and use
1980         * text.C (breakParagraph): use undoSpan (fix bug 578)
1981         * lyxtext.h: adjust
1982
1983 2004-01-08  Angus Leeming  <leeming@lyx.org>
1984
1985         * BufferView_pimpl.C (MenuInsertLyXFile):
1986         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1987         * lyxfunc.C (menuNew, open, doImport):
1988         FileFilterList change to the FileDialog open and save functions.
1989
1990 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1991
1992         * ShareContainer.h: make isEqual and isUnique adaptable
1993
1994         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1995
1996 2004-01-07  Angus Leeming  <leeming@lyx.org>
1997
1998         * LyXAction.C:
1999         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2000
2001         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2002
2003         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2004         functions replacing find, replace and replaceAll.
2005
2006         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2007         LFUN_WORDFIND(FORWARD|BACKWARD).
2008
2009 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2010
2011         * text.C (breakParagraph): remove an outdated #warning
2012
2013 2004-01-07  André Pönitz  <poenitz@gmx.net>
2014
2015         * lyxfind.C: somewhat clearer logic
2016
2017         * text.C: prevent crash in cursorX on unitialized row cache
2018
2019 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2020
2021         * lyxcursor.[Ch] (operator>): add
2022         * textcursor.C (selStart, selEnd): use std::min and std::max
2023
2024 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2025
2026         * Chktex.C: include boost/format.hpp
2027
2028 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2029
2030         * InsetList.C: replace functor MathcIt with adaptable functor
2031         InsetTablePosLess
2032         (insetIterator): modify accordingly
2033
2034         * BranchList.h: move the BranchNamesEqual functor here from...
2035         * BranchList.C: ... to here
2036
2037         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2038         SameName and match.
2039         (add): replace a finding loop with std::find_if.
2040
2041 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2042
2043         * output_docbook.C: moving LatexParam functionality into
2044         .layout files
2045
2046 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2047
2048         * buffer.C: increment format to 229.
2049
2050 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2051
2052         * LaTeXFeatures.C:
2053         * lyx_sty.[Ch]: remove minipageindent_def
2054
2055         * LyXAction.C:
2056         * factory.C:
2057         * lfuns.h:
2058         * lyxfunc.C:
2059         * text3.C: remove LFUN_INSET_MINIPAGE
2060
2061 2003-12-28  Angus Leeming  <leeming@lyx.org>
2062
2063         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2064
2065 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2066
2067         * text2.C (setParagraph): fix off-by-one crash
2068
2069 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2070
2071         * output_docbook.C: header stuff for AGU
2072
2073 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2074
2075         * text2.C (redoCursor): remove
2076         * text.C:
2077         * text3.C:
2078         * BufferView_pimpl.C: remove calls to redoCursor and
2079         setCursor(cursor.par(), cursor.pos()) all around
2080
2081 2003-12-15  Angus Leeming  <leeming@lyx.org>
2082
2083         * buffer.C: up the format to 228.
2084
2085 2003-12-15  André Pönitz  <poenitz@gmx.net>
2086
2087         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2088         slices
2089
2090         * Makefile.am:
2091
2092         * BufferView_pimpl.C:
2093         * cursor.[Ch]:
2094         * lyxcursor.[Ch]:
2095         * rowpainter.[Ch]:
2096         * lyxtext.h:
2097         * text.C:
2098         * text2.C:
2099         * text3.C: adjust
2100
2101 2003-12-15  Angus Leeming  <leeming@lyx.org>
2102
2103         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2104         than getFromGUIName to manipulate the color.
2105
2106 2003-12-14  Angus Leeming  <leeming@lyx.org>
2107
2108         * BranchList.[Ch]: minimize the API.
2109         (Branch::getBranch, getColor): now return a 'const &'.
2110         (Branch::setSelected) now returns a bool set to true if the
2111         selection status changes.
2112         (BranchList::clear, size, getColor, setColor, setSelected,
2113         allBranches, allSelected, separator): removed.
2114         (BranchList::find): new functions, returning the Branch with
2115         the given name.
2116         (BranchList::add, remove): return a bool indicating that
2117         the operation was successful.
2118
2119         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2120         new InsetBranch::isBranchSlected member function.
2121
2122         * LColor.[Ch]: mimimize the API.
2123         (fill): renamed as addColor and made private.
2124         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2125         versions of these functions taking a string arg have been removed.
2126
2127         * bufferparams.C (readToken):
2128         * lyxfunc.C (dispatch):
2129         * lyxrc.C (read): changes due to the altered BranchList and
2130         LColor APIs.
2131
2132         * factory.C (createInset, readInset): changes due to altered
2133         InsetBranch c-tor.
2134
2135 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2136
2137         * factory.C:
2138         * lyxfunc.C: remove insetminipage. "minipage-insert"
2139         now produces a frameless minipage box inset.
2140
2141 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2142
2143         * textcursor.[Ch] (selStart,selEnd): add new methods
2144         remove selection::start, end, use LyXCursor::operator<
2145         * lyxcursor.[Ch] (operator<): add
2146         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2147         * BufferView.[Ch] (unsetXSel): add
2148         * text2.C (clearSelection): use unsetXSel,adjust
2149         * text.C: adjust
2150         * text3.C: adjust
2151         * rowpainter.C: adjust
2152         * bufferview_funcs.C (put_selection_at): adjust
2153
2154 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2155
2156         * BufferView_pimpl.C: small coord. correction
2157
2158 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2159
2160         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2161         dragging over the splash screen.
2162
2163 2003-12-11  Angus Leeming  <leeming@lyx.org>
2164
2165         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2166         as it is now handled in LyXText::dispatch.
2167
2168         * text3.C (doInsertInset): remove a level of nesting.
2169
2170 2003-12-11  Angus Leeming  <leeming@lyx.org>
2171
2172         * factory.C (createInset): changes due to the changed interface to
2173         InsetCommandMailer::string2params.
2174
2175 2003-12-10  Angus Leeming  <leeming@lyx.org>
2176
2177         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2178         'dialog-show-new-inset <inset name>'
2179
2180 2003-12-10  Angus Leeming  <leeming@lyx.org>
2181
2182         * buffer.C: up the format to 227.
2183
2184         * factory.C: the box inset is now identified simply by 'Box'.
2185
2186 2003-12-10  Angus Leeming  <leeming@lyx.org>
2187
2188         * buffer.C: up the format to 226.
2189
2190         * factory.C: the note inset is now identified simply by 'Note'.
2191
2192 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2193
2194         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2195         when a pit is enough. Standarize a couple of loops.
2196
2197 2003-12-05  Angus Leeming  <leeming@lyx.org>
2198
2199         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2200         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2201         data to the re-worked "log" dialog.
2202
2203 2003-12-03  André Pönitz  <poenitz@gmx.net>
2204
2205         * PosIterator.C:
2206         * iterators.C:
2207         * lyxtext.h:
2208         * output_latex.C:
2209         * paragraph_funcs.C:
2210         * text.C:
2211         * text2.C: use Inset::getText instead of Inset::getParagraph
2212
2213 2003-12-03  André Pönitz  <poenitz@gmx.net>
2214
2215         * buffer.[Ch]:
2216         * lyxtext.h:
2217         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2218         InsetText::read() as LyXText::read()
2219
2220 2003-12-02  Angus Leeming  <leeming@lyx.org>
2221
2222         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2223         type. Add a comment in the implementation that the function uses
2224         the stream's bad() function rather than fail() as the std::streams
2225         would do.
2226
2227 2003-12-02  André Pönitz  <poenitz@gmx.net>
2228
2229         * lyxlex.[Ch]: make interface more similar to std::stream
2230
2231         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2232
2233 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2234
2235         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2236
2237 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2238
2239         * vspace.[Ch]: remove VSpace::NONE
2240
2241 2003-12-01  André Pönitz  <poenitz@gmx.net>
2242
2243         * buffer.[Ch]:
2244         * lyxtext.h: move ParagraphList member to LyXText
2245         rename LyXText::ownerParagraphs to LyXText::paragraph
2246
2247         * CutAndPaste.C:
2248         * bufferview_funcs.C:
2249         * iterators.[Ch]:
2250         * lyx_cb.C:
2251         * paragraph.C:
2252         * rowpainter.C:
2253         * tabular.C:
2254         * text.C:
2255         * text2.C:
2256         * text3.C: adjust
2257
2258         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2259
2260         * undo.C: fix cursor positioning
2261
2262 2003-12-01  John Levon  <levon@movementarian.org>
2263
2264         * BufferView_pimpl.C: fix a crash on exit with
2265         a buffer open
2266
2267 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2268
2269         * BranchList.C: fix setSelected() method.
2270
2271 2003-11-28  André Pönitz  <poenitz@gmx.net>
2272
2273         * ParagraphParameters.[Ch]:
2274         * ParameterStruct.h: remove space above/below from Paragraph to
2275          InsetVSpace
2276
2277         * BufferView_pimpl.C:
2278         * factory.C:
2279         * lyxfunc.C:
2280         * lyxtext.h:
2281         * output_latex.C:
2282         * paragraph.C:
2283         * paragraph_funcs.C:
2284         * rowpainter.[Ch]:
2285         * text.C:
2286         * text2.C:
2287         * text3.C: adjust
2288
2289 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2290
2291         * factory.C: Syntax change for CharStyles
2292
2293 2003-11-28  André Pönitz  <poenitz@gmx.net>
2294
2295         * BufferView.[Ch]:
2296         * BufferView.[Ch]:
2297         * buffer.[Ch]:
2298         * buffer.[Ch]: move LyXText member
2299
2300 2003-11-28  André Pönitz  <poenitz@gmx.net>
2301
2302         * BufferView.[Ch]: make LyXText * text a private member
2303
2304         * BufferView_pimpl.C:
2305         * cursor.C:
2306         * iterators.C:
2307         * lyx_cb.C:
2308         * lyxfind.C:
2309         * lyxtext.h:
2310         * rowpainter.[Ch]:
2311         * text.C:
2312         * text2.C:
2313         * undo.C: adjust
2314
2315         * output_plaintext.C: cleanup
2316
2317 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2318
2319         * buffer.C:
2320         * lyxtextclass.[Ch]: parametrize SGML document header
2321
2322 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2323
2324         * converter.[Ch]:
2325         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2326         getFlavor().
2327
2328 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2329
2330         * text2.C (setFont): rework using PosIterator (no more recursive)
2331         (setCharFont): no more needed
2332         (setLayout): no more selection cursors fiddling (done by redoCursor)
2333         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2334         destroy remaining ones)
2335
2336 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2337
2338         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2339         * lyxtext.h: ditto
2340         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2341         selection cursors
2342         * lyxfunc.C: adjust
2343         * text3.C: adjust + re-allow multi par depth changes
2344         * textcursor.C: simplify a bit
2345
2346 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2347
2348         * src/buffer.C:
2349         * src/lyxlayout.C:
2350         * src/lyxlayout.h:
2351         * src/lyxtext.h:
2352         * src/output_docbook.C:
2353         * src/output_latex.C:
2354         * src/paragraph.C:
2355         * src/paragraph.h:
2356         * src/sgml.C:
2357         * src/sgml.h:
2358         * src/text2.C: Introducing a number of tags parametrizing various
2359         XML formats that we may want to support
2360
2361 2003-11-25  André Pönitz  <poenitz@gmx.net>
2362
2363         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2364
2365         * lyxtext.h (leftMargin/rightMargin): simplify interface
2366
2367         * rowpainter.C:
2368         * text.C:
2369         * text2.C:
2370         * text3.C: adjust
2371
2372 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2373
2374         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2375         master file to any child files. Fixes bug 546.
2376
2377 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2378
2379         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2380
2381 2003-11-24  André Pönitz  <poenitz@gmx.net>
2382
2383         * rowpainter.C: simplification
2384
2385         * text2.C (updateCounters): remove call to redoParagraph on
2386         changed labels as this is far too expensive.
2387
2388 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2389
2390         * converter.C (convert): fix a crash: this function gets
2391         called with buffer == 0 from importer code.
2392
2393 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2394
2395         * text3.C (cursorPrevious): make sure that we do not compare
2396         iterators form different containers.
2397         (cursorNext): ditto
2398
2399         * rowpainter.C (paintSelection): make sure that we do not compare
2400         iterators from different containers.
2401
2402         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2403         iterators from different ParagraphList containers.
2404         [NEXT] ditto
2405
2406         * text2.C (LyXText): change order of initialization slightly
2407         (operator=): new function. copy all variables except cache_par_
2408         (moveUp): make sure that we do not compare iterators from
2409         different ParagraphList constainers.
2410         (moveDown): ditto
2411
2412         * text.C (firstPar): new function
2413         (lastPar): new function
2414         (endPar): new function
2415
2416         * lyxtext.h: move things around and group public functions, public
2417         variables, private functions, private variables
2418
2419 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2420
2421         * factory.C: change call to InsetERT constructor to avoid
2422         additional invocation of method status
2423         * text2.C (toggleInset): remove redundant update() call
2424         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2425         instead of a Bufferview pointer
2426
2427 2003-11-21  André Pönitz  <poenitz@gmx.net>
2428
2429         * rowpainter.C: simplification
2430
2431 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2432
2433         * text3.C (dispatch): make possible to extend a word/row selection
2434         with the mouse
2435
2436 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2437
2438         * lyxtext.h: x0_,y0_ -> xo_,yo_
2439         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2440         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2441         * rowpainter.C (paintRows): paint full paragraphs
2442
2443 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2444
2445         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2446         screen coordinates)
2447
2448 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2449
2450         * lyxtext.h: add x0_, y0_
2451         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2452         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2453
2454 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2455
2456         * text2.C (setCursorIntern): move the x_target update here *
2457         * text3.C: change some bv() to true/false in calls to
2458         cursorUp/Down/Right/Left
2459         * cursor.C: use helper function.
2460
2461 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2462
2463         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2464         * paragraph_funcs.[Ch]: correct comment
2465         * rowpainter.C: do not paint selections away from bv->cursor()
2466         Fix a long standing selection painting bug.
2467         * text3.C: generalize mouse-selection code to LyXTexts other that
2468         top one
2469         * textcursor.C: do not use y coords if we can use par offsets
2470
2471 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2472
2473         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2474         cursor position after e.g. inset insert)
2475
2476 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2477
2478         * lyxfind.C (replace): adjust to locking removal + some
2479         code simplification
2480
2481 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2482
2483         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2484         of the path
2485
2486 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2487
2488         * lyxlayout.[Ch]:
2489         * output_docbook.C: XML sanitation: new layout
2490         parameters InnerTag and CommandDepth
2491
2492 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2493
2494         * BufferView_pimpl.C:
2495         * factory.C:
2496         * text3.C: Fix the insertion and modification of button-style
2497         insets
2498
2499 2003-11-13  André Pönitz  <poenitz@gmx.net>
2500
2501         * InsetList.[Ch]: remove deleteLyXText
2502
2503         * paragraph.[Ch]: cache beginOfBody position
2504
2505         * Bidi.C:
2506         * text.C:
2507         * text2.C:
2508         * text3.C: remove superfluous update() calls
2509
2510         * vspace.C: cleanup
2511
2512 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2513
2514         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2515         * BufferView.C (fitLockedInsetCursor): remove
2516         * cursor.[Ch] (getDim): add
2517         * text.C (getRowNearY): add faster version
2518         * text3.C: remove some update calls
2519
2520 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2521
2522         * LaTeXFeatures.C:
2523         * LyXAction.C:
2524         * MenuBackend.C:
2525         * MenuBackend.h:
2526         * dispatchresult.h:
2527         * factory.C:
2528         * lfuns.h:
2529         * lyxfunc.C:
2530         * lyxtextclass.C:
2531         * lyxtextclass.h:
2532         * text3.C: The Character Style /XML short element patch.
2533
2534 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2535
2536         * text3.C:
2537         * factory.C: Small step to solving 'unable to insert some insets'
2538         problem
2539
2540 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2541
2542         * cursor.[Ch] (updatePos): new function for updating the y
2543         position of the tip inset
2544         * bufferview_funcs.C (put_selection_at):
2545         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2546
2547 2003-11-11  André Pönitz  <poenitz@gmx.net>
2548
2549         * text.C: remove big comment on invalid Paragraph pointers as it is
2550         not valid anymore
2551
2552 2003-11-11  André Pönitz  <poenitz@gmx.net>
2553
2554         * text_funcs.[Ch]: merge with ...
2555
2556         * text.C: ... this
2557
2558         * lyxtext.h:
2559         * text2.C:
2560         * text3.C: adjust
2561
2562         * Makefile.am: remove text_funcs.[Ch]
2563
2564 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2565
2566         * cursor.C (getPos): return absolute cached y coord
2567
2568         * BufferView_pimpl.C (fitCursor): new simplistic code
2569         (workAreaDispatch): add a fitCursor call
2570
2571 2003-11-10  André Pönitz  <poenitz@gmx.net>
2572
2573         * BufferView.[Ch]:
2574         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2575
2576 2003-11-10  André Pönitz  <poenitz@gmx.net>
2577
2578         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2579         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2580         indicate that the cursor needs to leave an inset
2581
2582         * lyxtext.h: remove inset locking
2583
2584         * cursor.[Ch]: re-implement functionality provided by inset locking
2585
2586         * BufferView.[Ch]:
2587         * BufferView_pimpl.[Ch]:
2588         * LyXAction.C:
2589         * bufferview_funcs.[Ch]:
2590         * factory.C:
2591         * funcrequest.[Ch]:
2592         * iterators.C:
2593         * lyx_cb.C:
2594         * lyxfind.C:
2595         * lyxfunc.C:
2596         * text.C:
2597         * text2.C:
2598         * text3.C:
2599         * undo.C: adjust
2600
2601 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2602
2603         * PosIterator.[Ch]: replace the stack with a vector, add inset
2604         accesor
2605         * iterators.[C]: adjust
2606
2607 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2608
2609         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2610         replaced
2611         * paragraph_funcs.C (readParToken): put the correct id in the
2612         error item, not the id of the top paragraph
2613
2614 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2615
2616         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2617         * bufferview_funcs.C (put_selection_at): use the above
2618
2619 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2620
2621         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2622
2623 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2624
2625         * output_linuxdoc.h:
2626         * output_plaintext.h:
2627         * output.h:
2628         * output_docbook.h: add #include statements
2629
2630 2003-11-05  José Matos  <jamatos@lyx.org>
2631
2632         * output_docbook.[Ch]:
2633         * output_latex.[Ch]:
2634         * output_linuxdoc.[Ch]:
2635         * output_plaintext.[Ch]: New files for output formats.
2636         * output.[Ch]: New file for helper functions.
2637
2638         * buffer.[Ch]:
2639         * paragraph_funcs.[Ch]: output functions moved to new files.
2640
2641         * outputparams.h: rename of latexrunparams.h
2642
2643         * LaTeX.[Ch]:
2644         * buffer.[Ch]:
2645         * bufferlist.[Ch]:
2646         * converter.[Ch]:
2647         * exporter.C:
2648         * paragraph.[Ch]:
2649         * paragraph_funcs.[Ch]:
2650         * paragraph_pimpl.[Ch]:
2651         * tabular.[Ch]: rename ascii to plaintext
2652         and LatexRunParams to OutputParams.
2653
2654 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2655
2656         * iterators.[Ch] (text): require bv argument
2657         * undo.C (recordUndo):
2658         * lyxfunc.C (dispatch):
2659         * bufferview_funcs.C (put_selection_at): adjust
2660
2661 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2662
2663         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2664
2665 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2666
2667         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2668         nestings
2669
2670 2003-11-04  André Pönitz  <poenitz@gmx.net>
2671
2672         * cursor.[Ch]: restructure
2673
2674         * BufferView.[Ch]:
2675         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2676
2677         * iterators.[Ch] (asCursor): remove
2678
2679         * lfuns.h: remove LFUN_INSET_EDIT
2680
2681         * lyxfunc.C:
2682         * tabular.C:
2683         * text.C:
2684         * text2.C:
2685         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2686
2687 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2688
2689         * lyxfind.[Ch]: complete overhaul
2690         * BufferView_pimpl.C:
2691         * lyxfunc.C: adjust
2692         * paragraph.[Ch] (insert): add
2693
2694 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2695
2696         * BufferView.[Ch]:
2697         * lyxtext.h:
2698         * text.C: remove dead spellcheck code
2699
2700 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2701
2702         * dispatchresult.h: add a val setter
2703
2704         * cursor.C (dispatch): use a tempvar for data_[i]
2705
2706 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2707
2708         * PosIterator.[Ch]: compile fix
2709
2710 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2711
2712         * text.C (cursorPar): deactivate the cursor cache
2713
2714 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2715
2716         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2717
2718 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2719
2720         * text3.C (dispatch): adjust for new DisptchResult semantics.
2721
2722         * lyxfunc.C (dispatch): handle update when return from
2723         Cursor::dispatch, adjust for new DispatchResult semantics.
2724
2725         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2726         DispatchResult(true) mean to not update. Add class functions for
2727         setting dispatched and update, as well as reading.
2728
2729         * cursor.C (dispatch): don't handle update here
2730
2731 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2732
2733         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2734         * trans_mgr.C: adjust
2735
2736         * paragraph_funcs.C (readParToken): exception safety
2737
2738         * lyxvc.h: store the vcs pointer in a scoped_ptr
2739         * lyxvc.C: adjust
2740
2741         * lyxsocket.C (serverCallback): exception safety
2742
2743         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2744
2745         * ispell.C (clone): make it return a auto_ptr
2746
2747         * factory.C (createInset): exception safety
2748         (readInset): exception safety
2749
2750         * bufferlist.C (newBuffer): exception safety
2751
2752         * Thesaurus.C (Thesaurus): use initialization for aik_
2753
2754         * MenuBackend.C (expandToc): exception safety.
2755
2756 2003-11-03  André Pönitz  <poenitz@gmx.net>
2757
2758         * buffer.C:
2759         * buffer.h:
2760         * bufferview_funcs.C: remove getInsetFromId()
2761
2762         * lyxcursor.[Ch]:
2763         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2764
2765         * lyxfunc.C:
2766         * text2.C:
2767         * text3.C: adjust
2768
2769 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2770
2771         * PosIterator.C (distance, advance): new
2772         * bufferview_funcs.[Ch] (put_selection_at): new
2773         * iterators.[Ch] (lockPath): new
2774
2775 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2776
2777         * iterators.[Ch] (asPosIterator): added
2778         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2779         * PosIterator.[Ch]: added
2780
2781 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2782
2783         * text3.C:
2784         * lyxfunc.C:
2785         * cursor.C (dispatch):
2786         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2787
2788         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2789         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2790         contructor, add a class function dispatched. Remove operator>=
2791
2792 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2793
2794         * debug.C: only use the default constructor for debugstream
2795         (lyxerr) here.
2796
2797         * main.C (main): include debug.h and setup the lyxerr streambuf
2798         here.
2799
2800 2003-10-31  José Matos  <jamatos@lyx.org>
2801
2802         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2803
2804         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2805         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2806         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2807         * paragraph_pimpl.C (simpleTeXSpecialC):
2808         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2809         add LatexRunParams argument.
2810
2811         * exporter.C (Export): change call accordingly.
2812
2813         * latexrunparams.h: add new member to take care of the other backends.
2814 2003-10-30  José Matos  <jamatos@lyx.org>
2815
2816         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2817         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2818         factorise code for paragraph output.
2819         * buffer.[Ch]:
2820         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2821         move functions.
2822
2823 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2824
2825         * text3.C (dispatch):
2826         * lyxfunc.C (dispatch):
2827         * cursor.C (dispatch):
2828         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2829
2830         * dispatchresult.h: make the dispatch_result_t ctor explicit
2831
2832 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2833
2834         * sgml.[Ch]:
2835         * buffer.C: small refactoring of docbook stuff
2836
2837 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2838
2839         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2840         meaning.
2841
2842 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2843
2844         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2845         operator dispatch_result_t, and operators for == != and >=
2846
2847         * cursor.C (dispatch): adjust for operator dispatch_result_t
2848         removal. comment out call to update
2849
2850         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2851
2852 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2853
2854         * text3.C:
2855         * text2.C:
2856         * text.C:
2857         * lyxtext.h:
2858         * lyxfunc.C:
2859         * cursor.C:
2860         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2861         (dispatch):
2862
2863         * dispatchresult.h: new file, DispatchResult broken out of
2864         insets/insetbase.h
2865
2866         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2867
2868 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2869
2870         * text.C (rowBreakPoint): put a hack inside #if 0
2871
2872 2003-10-28  André Pönitz  <poenitz@gmx.net>
2873
2874         * lyxtext.h:
2875         * metricsinfo.C:
2876         * paragraph_funcs.C:
2877         * rowpainter.C:
2878         * text.C:
2879         * text2.C: general cleanup (lots of small stuff)
2880
2881 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2882
2883         * text2.C (cursorEnd): simple fix to the "end key goes to one
2884         before the end on last row" bug
2885
2886 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2887
2888         * text.C (backspace): fix the "zombie characters"
2889
2890 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2891
2892         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2893
2894 2003-10-27  André Pönitz  <poenitz@gmx.net>
2895
2896         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2897
2898         * factory.C: handle new InsetPagebreak, InsetLine
2899
2900         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2901         and move handling into new InsetPagebreak, InsetLine
2902
2903         * BufferView_pimpl.C:
2904         * LyXAction.C:
2905         * ParagraphParameters.C:
2906         * ParameterStruct.h:
2907         * lyxfunc.C:
2908         * lyxtext.h:
2909         * paragraph.C:
2910         * paragraph.h:
2911         * paragraph_funcs.C:
2912         * paragraph_pimpl.C:
2913         * rowpainter.C:
2914         * text.C:
2915         * text2.C:
2916         * text3.C: adjust
2917
2918 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2919
2920         * text.C:
2921         * lyxrow_funcs.[Ch]:
2922         * Bidi.C:
2923         * paragraph.C:
2924         * lyxtext.h:
2925         * rowpainter.C:
2926         * text2.C:
2927         * text3.C: remove lastPos uses in favour of Row::endpos
2928
2929 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2930
2931         * undo.C (performUndoOrRedo): fix two crashes by setting a
2932         cursor by hand and reordering some calls. Use bv->lockInset instead
2933         of inset->edit because the latter loses cursor information
2934
2935 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2936
2937         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2938         by Martin
2939         (rowBreakPoint): fix width. change point to point + 1.
2940         Add a missing check.
2941
2942 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2943
2944         * MenuBackend.C:
2945         * lyxfunc.C: fix (at least partly) the problems
2946         with the Nav menu and headers inside branch insets
2947         reported by Kayvan
2948
2949 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2950
2951         * paragraph.C (getChar): add strong asserts
2952
2953         * lyxrow_funcs.C (lastPos): remove hideous hack
2954
2955         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2956         (fill): adjust to that (avoid an infinite loop)
2957
2958 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2959
2960         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2961
2962 2003-10-23  André Pönitz  <poenitz@gmx.net>
2963
2964         * RowList_fwd.h: change list<> to vector<> to gain speed
2965         after suggestion from Alfredo
2966
2967 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2968
2969         * lyxtext.h: move the bidi stuff from here...
2970         * text.C: and here
2971         * text2.C: and here
2972         * Bidi.[Ch]: ... to here
2973
2974 2003-10-23  André Pönitz  <poenitz@gmx.net>
2975
2976         * lyxtext.h:
2977         * text.C (isLastRow, isFirstRow): new functions
2978
2979         * paragraph.h: new width cache member
2980
2981         * rowpainter.C: replace RowList::iterator with Row & where possible
2982
2983         * lyxfunc.C: replace several view()->text with a single call
2984
2985         * toc.C: fix 'unused' warning
2986
2987 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2988
2989         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2990         when woring with stream::pos_type
2991         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2992
2993 2003-10-22  André Pönitz  <poenitz@gmx.net>
2994
2995         * lyxtext.h:
2996         * text.C: use Row & instead of RowList::iterator
2997
2998         * lyxrow.h: rename end() to endpos()
2999
3000         * rowpainter.C:
3001         * text.C:
3002         * text2.C: adjust
3003
3004 2003-10-22  Angus Leeming  <leeming@lyx.org>
3005
3006         * buffer.[Ch] (fully_loaded): new member function, returning true
3007         only when the file has been loaded fully.
3008         Used to prevent the premature generation of previews and by the
3009         citation inset to prevent computation of the natbib-style label.
3010
3011         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3012         templates are all set up.
3013
3014         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3015
3016 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3017
3018         * text.C: fixed an "oops" in the "is a bit silly"
3019         bug fix
3020
3021 2003-10-21  André Pönitz  <poenitz@gmx.net>
3022
3023         * FuncStatus.[Ch]: small stuff, whitespace
3024
3025         * lyxfont.[Ch]: operator<<() for debug reasons
3026
3027         * lyxfunc.C:
3028         * lyxrow_funcs.C:
3029         * lyxtext.h: whitespace, spelling
3030
3031         * paragraph.C: naming of variables
3032
3033         * text.C:
3034         * text2.C: small stuff
3035
3036
3037 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3038
3039         * text.C: (1) finish off the inset display() work;
3040         (2) fix the "is a bit silly" bug (accessing char
3041         past end of par).
3042
3043 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3044
3045         * text.C: re-introduce display() for insets, fixing the
3046         various bugs (stretch of line above, math inset
3047         positioning, ...)
3048
3049 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3050
3051         * text.C (rightMargin): remove spurious semicolon
3052
3053         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3054         1415)
3055
3056 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3057
3058         * text3.C: fix one crash due to wrong cursor def
3059
3060 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3061
3062         * vc-backend.C (scanMaster): make the regex static
3063
3064         * LaTeX.C (scanAuxFile): make the regexs static
3065
3066         * text3.C (doInsertInset, dispatch, dispatch):
3067         * text2.C (cursorUp, cursorDown):
3068         * text.C (selectNextWordToSpellcheck):
3069         * BufferView_pimpl.C (dispatch):
3070         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3071
3072 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3073
3074         * lyxsocket.C: include <cerrno>
3075
3076 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3077
3078         * lyxfunc.C (dispatch): remove textcache stuff
3079
3080         * bufferlist.C (release): remove textcache stuff
3081         (closeAll): ditto
3082
3083         * TextCache.C: delete file
3084         * TextCache.h: delete file
3085
3086         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3087
3088         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3089         delete of the bv_->text.
3090         (resizeCurrentBuffer): remove texcache stuff
3091         (workAreaResize): ditto
3092
3093 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3094
3095         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3096         action.
3097
3098 2003-10-16  André Pönitz  <poenitz@gmx.net>
3099
3100         * lyxrow.[Ch]:
3101         * paragraph.h:
3102         * rowpainter.C:
3103         * text.C:
3104         * text2.C:
3105         * text3.C: speed up by storing y positions per paragraph plus per-row
3106         offset instead of having a 'full' y position in the row.
3107
3108 2003-10-15  André Pönitz  <poenitz@gmx.net>
3109
3110         * iterators.[Ch]:
3111         * iterators.[Ch]:
3112         * undo.[Ch]: make undo aware of inner insets
3113
3114 2003-10-14  Angus Leeming  <leeming@lyx.org>
3115
3116         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3117         static member functions LyX::ref() and LyX::cref.
3118         (lastfiles): new accessor functions for the new lastfiles_ member var.
3119         (addLyXView, views_): add a new LyXView to the list of views_.
3120         (updateInset): loop over all LyXViews to call their own updateInset
3121         member function, returning a pointer to the Buffer owning the inset.
3122
3123         * BufferView_pimpl.C (loadLyXFile):
3124         * MenuBackend.C (expandLastfiles):
3125         * bufferlist.C (MenuWrite, QuitLyX):
3126         lastfiles is no longer a global variable.
3127         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3128
3129         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3130         static function. Access through LyX::cref().emergencyCleanup().
3131
3132 2003-10-14  André Pönitz  <poenitz@gmx.net>
3133
3134         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3135
3136         * undo.[Ch]: restoring part of 'undo in insets'
3137
3138         * Makefile.am:
3139         * undo_funcs.[Ch]: merge with undo.[Ch]
3140
3141         * tabular.C: small cleansing stuff
3142
3143 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3144
3145         * paragraph_funcs.C (readParToken): report unknown insets as error
3146         boxes. Use the outer paragraph as location (also for unknown
3147         tokens).
3148
3149         * factory.C (readInset): do not abort on reading an unknown inset.
3150         Eat it and return 0.
3151
3152 2003-10-13  Angus Leeming  <leeming@lyx.org>
3153
3154         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3155
3156         * lyxrc.C: displayTranslator is now a function,
3157         declared in GraphicsTypes.h.
3158
3159 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3160
3161         * format.C: new placeholder $$a to pass the socket address.
3162
3163         * bufferlist.[Ch]: new function getBufferFromTmp.
3164
3165         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3166           files in the temporary dir.
3167
3168 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3169
3170         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3171
3172         * Makefile.am: add lyxsocket.[Ch].
3173
3174         * lyx_main.C (error_handler): handle SIGPIPE.
3175
3176 2003-10-13  André Pönitz  <poenitz@gmx.net>
3177
3178         * BufferView_pimpl.C:
3179         * lyxtext.h:
3180         * text.C:
3181         * text2.C:
3182         * text3.C:
3183         * undo_funcs.[Ch]: use paroffset_type instead of
3184           ParagraphList::iterators to prevent multiple conversion
3185           (and get a more robust interface)
3186
3187 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3188
3189         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3190         * lyxtext.h: ditto
3191         * text3.C (dispatch): ditto
3192
3193 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3194
3195         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3196         move the onlyfile, use onlyfile instead of foundfile in a couple
3197         of places.
3198
3199         * DepTable.C (update): flush the error stream a bit more
3200
3201 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3202
3203         * lyxserver.C (callback): adjust
3204
3205         * lyxfunc.C (getStatus): add a missing brace in commented code
3206         (ensureBufferClean): reindent
3207         (dispatch): delete version taking a string
3208
3209 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3210
3211         * LaTeX.C (deplog): move found file handlig from here...
3212         (handleFoundFile): .. to new function here.
3213         (deplog): make sure to discover several files mentioned on the
3214         same log line.
3215
3216 2003-10-10  André Pönitz  <poenitz@gmx.net>
3217
3218         * lyxfunc.C:
3219         * lyxtext.h:
3220         * tabular.C:
3221         * text.C:
3222         * text2.C:
3223         * text3.C: fix some of the tabular crashes
3224
3225 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3226
3227         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3228
3229         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3230
3231 2003-10-09  André Pönitz  <poenitz@gmx.net>
3232
3233         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3234
3235         * BufferView.C:
3236         * BufferView_pimpl.C:
3237         * bufferview_funcs.C:
3238         * lyx_cb.C:
3239         * lyxcursor.C:
3240         * lyxfind.C:
3241         * lyxfunc.C:
3242         * lyxtext.h:
3243         * text.C:
3244         * text2.C:
3245         * text3.C:
3246         * text_funcs.[Ch]:
3247         * textcursor.[Ch]:
3248         * undo_funcs.C: adjust
3249
3250 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3251
3252         * text2.C (incrementItemDepth): new function, use a backtracking
3253         algorithm to discover the correct item depth.
3254         (resetEnumCounterIfNeeded): new function, use a backtracking
3255         algorithm to discover if counter reset is needed.
3256         (setCounter): use them. Simplify a bit. Add different labels for
3257         different item depths for itemize.
3258
3259         * paragraph.C (Paragraph): remove initialization of enumdepth
3260         (operator=): ditto
3261
3262         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3263         enumerate and itemize. Change the type of itemdepth to signed char.
3264
3265 2003-10-08  André Pönitz  <poenitz@gmx.net>
3266
3267         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3268           thing assignable.
3269         * text.C:
3270         * text2.C: adjust
3271
3272         * tabular.[Ch]: fix crash after 'row-insert'
3273
3274 2003-10-08  Angus Leeming  <leeming@lyx.org>
3275
3276         Fix doxygen warnings.
3277
3278         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3279         Remove CutAndPaste:: prefix from header file declaration.
3280
3281         * LColor.h (fill): remove LColor:: prefix from declaration.
3282
3283         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3284         use lyx::depth_type rather than Paragraph::depth_type so that
3285         header file and .C file match.
3286
3287         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3288
3289         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3290         * aspell.C: \file aspell_local.C -> \file aspell.C
3291         * gettext.C: \file gettext.C -> \file src/gettext.C
3292         * gettext.h: \file gettext.h -> \file src/gettext.h
3293         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3294         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3295         * text.C: \file text.C -> \file src/text.C
3296
3297         * toc.C: move comment so that doxygen is not confused.
3298
3299 2003-10-07  Angus Leeming  <leeming@lyx.org>
3300
3301         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3302
3303 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3304
3305         * aspell.C:
3306         * aspell_local.h: add forgotten std::string's.
3307
3308 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3309
3310         * LaTeXFeatures.C:
3311         * LyXAction.C:
3312         * factory.C:
3313         * lfuns.h:
3314         * lyxfunc.C:
3315         * text3.C: The Box patch. Fancybox support, minipage, parbox
3316
3317 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3318
3319         * CutAndPaste.h:
3320         * DepTable.h:
3321         * FloatList.h:
3322         * LaTeXFeatures.h:
3323         * ParagraphParameters.h:
3324         * TextCache.h:
3325         * Thesaurus.h:
3326         * bufferlist.h:
3327         * exporter.h:
3328         * importer.h:
3329         * lastfiles.h:
3330         * lyxfind.h:
3331         * lyxfont.h:
3332         * lyxlex.h:
3333         * lyxtextclasslist.h:
3334         * messages.h:
3335         * paragraph.h:
3336         * paragraph_pimpl.C:
3337         * textcursor.h: add <string> and other small fixes to make Lars'
3338         std::string patch compile with STLport.
3339
3340 2003-10-06  Angus Leeming  <leeming@lyx.org>
3341
3342         * LColor.h: Add missing #include <string>.
3343
3344 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3345
3346         * All most all file in all subdirs: Make <string> be the prefered
3347         way of getting to std::string, add using declarations.
3348
3349 2003-10-06  André Pönitz  <poenitz@gmx.net>
3350
3351         * metricsinfo.C: initialize LyXFont before changing attribute.
3352         (fixes the 'math in \emph is upright' bug)
3353
3354 2003-10-06  André Pönitz  <poenitz@gmx.net>
3355
3356         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3357
3358 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3359
3360         * graph.C:
3361         * paragraph_pimpl.C: Small fixes to build using STLport
3362
3363 2003-10-02  André Pönitz  <poenitz@gmx.net>
3364
3365         * lyxfunc.C:
3366         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3367
3368 2003-10-01  André Pönitz  <poenitz@gmx.net>
3369
3370         * factory.C: assert early
3371
3372 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3373
3374         * lyx_main.C: remove the global debug object
3375
3376         * debug.h: adjust for new debugstream
3377
3378         * debug.C: adjust for new debugstream and keep the global debug
3379         object here.
3380
3381 2003-09-22  Angus Leeming  <leeming@lyx.org>
3382
3383         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3384         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3385         an incomplete class LyXFont.
3386
3387 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3388
3389         * factory.C: bug fix in branches
3390
3391 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3392
3393         * lyxfunc.C (processKeySym): adjust
3394         (dispatch): adjust
3395         (dispatch): change arg name from ev to func, adjust
3396         (sendDispatchMessage): ditto
3397
3398         * lyx_main.C (defaultKeyBindings): adjust keybindings
3399         (deadKeyBindings): ditto
3400
3401         * kbsequence.C (addkey): return a FuncRequest
3402
3403         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3404
3405         * kbmap.C (bind): take a FuncRequest as arg, adjust
3406         (read): adjust
3407         (lookup): adjust
3408         (defkey): change to take a FuncRequest as arg, adjust
3409         (findbinding): take a FuncRequest as arg, adjust.
3410
3411         * funcrequest.h (operator=): added
3412
3413         * funcrequest.C (FuncRequest): default kb_action changed from
3414         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3415
3416         * buffer.C (dispatch): simplify
3417         (dispatch): adjust to take a FuncRequest as arg, adjust
3418
3419         * boost.C (assertion_failed): change assertion message slightly
3420
3421         * ToolbarBackend.C (read): simplify
3422
3423         * MenuBackend.C (binding): adjust call to findbinding, add a
3424         message if no binding is found.
3425         (read): simplify
3426         (expandToc): correct by adding a empty FuncRequest
3427
3428         * LyXAction.C: include <boost/assert.hpp>
3429         (isPseudoAction): delete function
3430         (LookupFunc): change name to...
3431         (lookupFunc): this. change return type to FuncRequest.
3432         (getActionName): take kb_action as arg, simplify
3433         (funcHasFlag): add an assert, simplify.
3434
3435 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3436
3437         * toc.C (action): return a FuncRequest, simplify
3438
3439         * lyxfunc.C (processKeySym): adjust
3440         (getStatus): delete version that takes an int.
3441         (getStatus): adjust
3442         (dispatch): delete version that takes action as int
3443         (dispatch): adjust
3444         (sendDispatchMessage): simplify and adjust
3445
3446         * funcrequest.C (getArg): take unsigned int as arg
3447
3448         * ToolbarBackend.C (read): adjust
3449         (add): delete version that takes func as a string.
3450         (getIton): take a FuncRequest as arg
3451
3452         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3453         action.
3454
3455         * MenuBackend.C (MenuItem): add a new construct that only takes a
3456         Kind, simplify the constructor use for submenus.
3457         (add): adjust
3458         (expandLastfiles): adjust
3459         (expandDocuments): adjust
3460         (expandFormats): adjust
3461         (expandFloatListInsert): adjust
3462         (expandFloatInsert): adjust
3463         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3464
3465         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3466         Remove class variables lyx_pseudo_map and lyx_arg_map
3467
3468         * LyXAction.C (searchActionArg): delete function
3469         (getPseudoAction): delete function
3470         (retrieveActionArg): delete function
3471         (LookupFunc): make it return kb_action, simplify.
3472         (getActionName): simplify
3473
3474         * factory.C (createInset): fix new bug
3475
3476 2003-09-19  Angus Leeming  <leeming@lyx.org>
3477
3478         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3479         masterFilename_ parameter in the include inset.
3480
3481         * factory.C (createInset): changes due to the changes to InsetInclude.
3482
3483 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3484
3485         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3486
3487 2003-09-18  Angus Leeming  <leeming@lyx.org>
3488
3489         * buffer.C:
3490         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3491         Inset::fillWithBibKeys.
3492         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3493
3494 2003-09-18  Angus Leeming  <leeming@lyx.org>
3495
3496         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3497         variables.
3498         (ctor): pass and store a 'Buffer const &'
3499         (buffer): new member function.
3500
3501         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3502         '*this' to the LaTeXFeatures ctor.
3503
3504 2003-09-18  Angus Leeming  <leeming@lyx.org>
3505
3506         * LColor.h:
3507         * lyxfont.C:
3508         * lyxfont.h:
3509         * lyxtext.h:
3510         * text.C: rename EnumLColor as LColor_color.
3511
3512 2003-09-18  Angus Leeming  <leeming@lyx.org>
3513
3514         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3515         remove #include "insets/insetbase.h" from cursor.h.
3516
3517 2003-09-18  Angus Leeming  <leeming@lyx.org>
3518
3519         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3520         InsetOld_code to remove #include "inset.h".
3521
3522         * iterators.C: add #include "insets/inset.h"
3523
3524 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3525
3526         * BufferView.C: remove more locking stuff that apparently doesn't
3527         do anything sensible.
3528
3529 2003-09-16  André Pönitz  <poenitz@gmx.net>
3530
3531         * paragraph.[Ch]:
3532         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3533           performance boost.
3534
3535 2003-09-16  Angus Leeming  <leeming@lyx.org>
3536
3537         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3538
3539         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3540         arg/return type.
3541
3542         * paragraph.h: remove #include "lyxfont.h". Forward declare
3543         LyXFont_size.
3544
3545 2003-09-16  Angus Leeming  <leeming@lyx.org>
3546
3547         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3548         of support/textutils.h.
3549         (isWord): move the contents of support/textutils.h's IsWordChar here.
3550
3551         * buffer.C:
3552         * lyxfind.C:
3553         * rowpainter.C:
3554         * text.C:
3555         * text2.C: add #include "paragraph.h".
3556
3557         * rowpainter.C:
3558         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3559
3560 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3561
3562         * main.C:
3563         * lyx_main.C:
3564         * lyx_cb.C:
3565         * buffer.C:
3566         * LaTeX.C: use namespace alias for lyx::support::os
3567
3568 2003-09-16  Angus Leeming  <leeming@lyx.org>
3569
3570         * bufferparams.C:
3571         * bufferview_funcs.C:
3572         * factory.C:
3573         * lyxfunc.C:
3574         * paragraph_pimpl.C:
3575         * rowpainter.C:
3576         * text.C: add #include "LColor.h".
3577
3578 2003-09-16  Angus Leeming  <leeming@lyx.org>
3579
3580         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3581         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3582         return LyXFont &.
3583         Store the FontBits::color variable as an int rather than as an
3584         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3585         file.
3586
3587         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3588         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3589         string calls together.
3590
3591         * lyxrc.C: add #include "LColor.h".
3592
3593 2003-09-15  Angus Leeming  <leeming@lyx.org>
3594
3595         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3596         a cow_ptr.
3597
3598 2003-09-15  Angus Leeming  <leeming@lyx.org>
3599
3600         * LColor.h: add an EnumLColor wrapper for LColor::color.
3601
3602         * lyxfont.[Ch] (color, setColor, realColor):
3603         * lyxtext.h, text.C (backgroundColor):
3604         pass EnumLColor args to/from the functions, rather than LColor::color
3605         ones.
3606
3607         * lyxfont.h:
3608         * lyxtext.h: forward declare EnumLColor.
3609
3610         * lyx_main.C: add #include "LColor.h".
3611
3612 2003-09-15  Angus Leeming  <leeming@lyx.org>
3613
3614         * .cvsignore: add lyx-gtk.
3615
3616 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3617
3618         * Chktex.C
3619         * LaTeX.C
3620         * LaTeXFeatures.C
3621         * ParagraphParameters.C
3622         * Spacing.C
3623         * buffer.C
3624         * bufferparams.C
3625         * bufferview_funcs.C
3626         * chset.C
3627         * counters.C
3628         * funcrequest.C
3629         * lyxfont.C
3630         * lyxgluelength.C
3631         * lyxlength.C
3632         * paragraph.C
3633         * paragraph_funcs.C
3634         * text3.C
3635         * vc-backend.C: remove usage of STRCONV
3636
3637 2003-09-15  Angus Leeming  <leeming@lyx.org>
3638
3639         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3640         explicitly define the color passed to the painter.
3641
3642 2003-09-15  Angus Leeming  <leeming@lyx.org>
3643
3644         * bufferparams.C (BufferParams): reorder member initializers to avoid
3645         compiler warning.
3646
3647 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3648
3649         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3650         * text.C (updateRowPositions): remove an unusual nop
3651
3652 2003-09-12  André Pönitz  <poenitz@gmx.net>
3653
3654         * BufferView_pimpl.C:
3655         * Bullet.C:
3656         * layout.h:
3657         * lyxfunc.C:
3658         * lyxlayout.[Ch]:
3659         * lyxtextclass.C:
3660         * rowpainter.C:
3661         * text.C:
3662         * text2.C:
3663         * Counters.[Ch]: finish the 'automatic counters' job
3664
3665 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3666
3667         * aspell.C: include <boost/assert.cpp> (compile fix)
3668
3669 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3670
3671         * boost.C (assertion_failed): use lyx::support::abort instead of
3672         assert.
3673
3674 2003-09-10  Angus Leeming  <leeming@lyx.org>
3675
3676         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3677         with their _fwd progeny.
3678
3679 2003-09-09  Angus Leeming  <leeming@lyx.org>
3680
3681         134 files throughtout the source tree: replace 'using namespace abc;'
3682         directives with the appropriate 'using abc::xyz;' declarations.
3683
3684 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3685
3686         * boost.C (emergencyCleanup): moved here from LAssert.c
3687         (assertion_failed): new function, called by BOOST_ASSERT
3688
3689         * several files: change Assert to BOOST_ASSERT
3690
3691 2003-09-09  Angus Leeming  <leeming@lyx.org>
3692
3693         * buffer.[Ch]: Add an Impl class and move Buffer's member
3694         variables into it. As a result move several header files out of
3695         buffer.h.
3696
3697         Add header files to lots of .C files all over the tree as a result.
3698
3699 2003-09-09  Angus Leeming  <leeming@lyx.org>
3700
3701         * buffer.[Ch]: make Buffer's member variables private. Add
3702         accessor functions.
3703
3704         Lots of changes all over the tree as a result.
3705
3706 2003-09-08  Angus Leeming  <leeming@lyx.org>
3707
3708         * graph.C: #include <config.h>.
3709
3710 2003-09-08  Angus Leeming  <leeming@lyx.org>
3711
3712         * BranchList.C:
3713         * BufferView.C:
3714         * BufferView_pimpl.C:
3715         * CutAndPaste.C:
3716         * DepTable.C:
3717         * LaTeX.C:
3718         * LaTeXFeatures.C:
3719         * LyXAction.C:
3720         * MenuBackend.C:
3721         * TextCache.C:
3722         * aspell.C:
3723         * buffer.C:
3724         * bufferlist.C:
3725         * changes.C:
3726         * chset.C:
3727         * converter.C:
3728         * counters.C:
3729         * debug.C:
3730         * graph.C:
3731         * ispell.C:
3732         * lyx_cb.C:
3733         * lyxfind.C:
3734         * lyxfunc.C:
3735         * lyxlex_pimpl.C:
3736         * lyxrc.C:
3737         * lyxrow.C:
3738         * paragraph.C:
3739         * rowpainter.C:
3740         * texrow.C:
3741         * text.C:
3742         * text2.C:
3743         * toc.C: remove redundant using directives.
3744
3745 2003-09-07  Angus Leeming  <leeming@lyx.org>
3746
3747         * LaTeXFeatures.h: remove #include "support/types.h".
3748         * ToolbarBackend.h: remove #include <algorithm>.
3749         * changes.h: remove #include <ctime>.
3750         * debug.h: remove #include <iosfwd>.
3751         * graph.h: remove #include "support/std_string.h".
3752         * lyx_main.h: remove #include <csignal>.
3753         * lyxlex_pimpl.h: remove #include <fstream>.
3754         * sgml.h: remove #include <algorithm>, <utility>.
3755         * toc.h: remove #include "support/std_ostream.h".
3756         Add #include <iosfwd>.
3757
3758 2003-09-07  Angus Leeming  <leeming@lyx.org>
3759
3760         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3761
3762         * converter.h: forward declare LatexRunParams.
3763         * encoding.h: remove #include "lyxrc.h".
3764         * lyxtext.h: remove #include "LColor.h".
3765         * lyxtextclass.h: remove #include "support/types.h".
3766         * trans.h: remove #include "tex-accent.h".
3767         * trans_mgr.h: remove #include "tex-accent.h".
3768         * insets/inset.h: remove #include "support/types.h", <vector>.
3769         * insets/insetcollapsable.h: remove #include "LColor.h".
3770         * insets/insetinclude.h: remove #include "dimension.h".
3771         * insets/insetlatexaccent.h: remove #include "dimension.h".
3772         * insets/insetoptarg.h:: remove #include "insettext.h".
3773         * insets/insettext.h: remove #include "dimension.h",
3774         <boost/shared_ptr.hpp>
3775
3776         * insets/renderers.h: add #include "dimension.h".
3777         * insets/updatableinset.h: add #include "support/types.h".
3778
3779         * many .C files: Associated changes.
3780
3781 2003-09-06  Angus Leeming  <leeming@lyx.org>
3782
3783         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3784         one, inside testInvariant.
3785
3786         * PrinterParams.C: new file.
3787         * PrinterParams.[Ch]: move the function bodies out of line.
3788
3789 2003-09-06  Angus Leeming  <leeming@lyx.org>
3790
3791         * ParagraphParameters.h: forward declare ParameterStruct rather than
3792         including its header file.
3793         (depth): moved out-of-line.
3794
3795 2003-09-06  Angus Leeming  <leeming@lyx.org>
3796
3797         * BufferView_pimpl.h:
3798         * kbmap.h:
3799         * kbsequence.h:
3800         * lyxfunc.h: forward declare LyXKeySym rather than
3801         #include "frontends/LyXKeySym.h".
3802
3803         * BufferView_pimpl.C:
3804         * kbmap.C:
3805         * kbsequence.C:
3806         * lyxfunc.C: associated changes.
3807
3808 2003-09-06  Angus Leeming  <leeming@lyx.org>
3809
3810         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3811         As a result, can remove the #include "insets/inset.h" from BufferView.h
3812
3813 2003-09-06  Angus Leeming  <leeming@lyx.org>
3814
3815         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3816         As a result, can remove the #include "insets/inset.h" from BufferView.h
3817
3818 2003-09-06  Angus Leeming  <leeming@lyx.org>
3819
3820         * buffer_funcs.C:
3821         * buffer.h:
3822         * bufferlist.C:
3823         * BufferView.C:
3824         * bufferview_funcs.C:
3825         * BufferView_pimpl.C:
3826         * CutAndPaste.C:
3827         * lyx_cb.C:
3828         * lyxfunc.C:
3829         * paragraph.h:
3830         * ParagraphParameters.C:
3831         * tabular.C:
3832         * text3.C:
3833         * toc.C:
3834         * undo_funcs.C:
3835         * frontends/controllers/ControlDocument.C:
3836         * insets/insetcaption.C: rearrange the #includes into some sort of
3837         coherent order.
3838
3839         * buffer.h: remove #includes ErrorList.h, undo.h
3840
3841 2003-09-06  Angus Leeming  <leeming@lyx.org>
3842
3843         * support/types.h: add a 'depth_type' typedef, used to store the
3844         nesting depth of a paragraph.
3845
3846         * paragraph.h:
3847         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3848         defining explicitly.
3849
3850         * buffer.h:
3851         * paragraph_funcs.h:
3852         * ParagraphParameters.h:
3853         * sgml.h: use lyx::depth_type rather than Paragraph or
3854         ParameterStruct's depth_type.
3855
3856         * buffer.h
3857         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3858
3859         * BufferView.C:
3860         * BufferView_pimpl.C:
3861         * CutAndPaste.C:
3862         * ParagraphParameters.C:
3863         * buffer_funcs.C:
3864         * bufferlist.C:
3865         * bufferview_funcs.C:
3866         * lyx_cb.C:
3867         * lyxfunc.C:
3868         * tabular.C:
3869         * text3.C:
3870         * toc.C:
3871         * undo_funcs.C:
3872         * frontends/LyXView.C:
3873         * frontends/controllers/ControlDocument.C:
3874         * frontends/controllers/ControlErrorList.C:
3875         * insets/insetbibitem.C:
3876         * insets/insetbranch.C:
3877         * insets/insetcaption.C:
3878         * insets/insetcollapsable.C:
3879         * insets/insetenv.C:
3880         * insets/insetert.C:
3881         * insets/insetfloat.C:
3882         * insets/insetfoot.C:
3883         * insets/insetfootlike.C:
3884         * insets/insetnewline.C:
3885         * insets/insetquotes.C:
3886         * insets/insettabular.C:
3887         * insets/insettext.C:
3888         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3889
3890         * frontends/controllers/ControlChanges.C: #include "changes.h".
3891
3892 2003-09-06  Angus Leeming  <leeming@lyx.org>
3893
3894         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3895         than #including paragraph.h.
3896
3897         * ParagraphList.h:
3898         * RowList.h: deleted. Superfluous.
3899
3900         * CutAndPaste.h:
3901         * iterators.h:
3902         * lyxcursor.h:
3903         * lyxtext.h:
3904         * text_funcs.h:
3905         * undo.h:
3906         * undo_funcs.h:
3907         * insets/inset.h:
3908         * insets/insettext.h: use ParagraphList_fwd.h rather than
3909         ParagraphList.h.
3910
3911         * paragraph.h: don't forward declare ParagraphList.
3912
3913         * buffer.h:
3914         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3915         rather than ParagraphList.h. paragraph.h is still needed for the
3916         Paragraph::depth_type parameters.
3917
3918         * textcursor.h: enable it to compile stand-alone in light of the
3919         above changes.
3920
3921         * bufferview_funcs.C:
3922         * iterators.C:
3923         * lyxfunc.C:
3924         * lyxrow_funcs.C:
3925         * paragraph.C:
3926         * rowpainter.C:
3927         * text.C:
3928         * text2.C:
3929         * text3.C:
3930         * text_funcs.C:
3931         * textcursor.C:
3932         * undo.C:
3933         * frontends/controllers/ControlParagraph.C:
3934         * frontends/controllers/ControlTabular.C:
3935         * insets/insetmarginal.C:
3936         * insets/insetminipage.C:
3937         * insets/insetnote.C:
3938         * insets/insetoptarg.C: add header files needed to compile again.
3939
3940 2003-09-06  Angus Leeming  <leeming@lyx.org>
3941
3942         * RowList_fwd.h: new file, forward-declaring Row rather than
3943         #including lyxrow.h.
3944
3945         * lyxrow_funcs.h:
3946         * lyxtext.h:
3947         * paragraph.h:
3948         * insets/insettext.h: use it instead of RowList.h
3949
3950         * bufferview_funcs.C:
3951         * lyxfunc.C:
3952         * lyxrow_funcs.C:
3953         * paragraph.C:
3954         * rowpainter.C:
3955         * text.C:
3956         * text2.C:
3957         * text3.C: #include "RowList.h".
3958
3959 2003-09-05  Angus Leeming  <leeming@lyx.org>
3960
3961         * factory.C (createInset):
3962         * vspace.C (c-tor): replace sscanf call with an istringstream.
3963         * ispell.C: re-add missing HP/UX headers.
3964         * lyxserver.C: re-add missing  os2 headers.
3965
3966 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3967
3968         * BranchList.C:
3969         * graph.C:
3970         * ispell.C:
3971         * lastfiles.C:
3972         * lyx_cb.C:
3973         * lyxserver.C:
3974         * texrow.C:
3975         * text3.C: re-add missing system headers, needed for 2.95.2.
3976
3977 2003-09-05  Angus Leeming  <leeming@lyx.org>
3978
3979         Changes most place everywhere due to the removal of using directives
3980         from support/std_sstream.h.
3981
3982 2003-09-05  Angus Leeming  <leeming@lyx.org>
3983
3984         Replace LString.h with support/std_string.h,
3985         Lsstream.h with support/std_sstream.h,
3986         support/LIstream.h with support/std_istream.h,
3987         support/LOstream.h with support/std_ostream.h.
3988
3989         Changes resulting throughout the tree.
3990
3991 2003-09-05  Angus Leeming  <leeming@lyx.org>
3992
3993         * sgml.h: ensure that the header file can be compiled stand-alone.
3994         * *.C: strip out redundant #includes. (320 in total.)
3995
3996 2003-09-04  Angus Leeming  <leeming@lyx.org>
3997
3998         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3999         here (from getPackages).
4000
4001         * debug.[Ch]: add a new EXTERNAL tag.
4002
4003 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4004
4005         * text2.C (cursorEnd): simplify
4006         (setCursor): adjust
4007         (getColumnNearX): adjust
4008
4009         * text.C (computeBidiTables): adjust
4010         (fill): adjust
4011
4012         * rowpainter.C (paintChars): adjust
4013         (paintSelection): adjust
4014         (paintChangeBar): adjust
4015         (paintText): adjust
4016
4017         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4018         lastPos instead.
4019         (numberOfSeparators): adjust
4020
4021 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4022
4023         * LyXAction.C:
4024         * box.[Ch]:
4025         * lfuns.h:
4026         * lyxfunc.C:
4027         * text3.C: Restricts the mouse click functionality
4028         of insets like bibtex, include, toc and floatlist to the visible
4029         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4030         up the dialogs. Cursor has to be in front of the inset (i.e.
4031         start of row) for this to function.
4032
4033 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4034
4035         * bufferview_funcs.C (currentState): output row information
4036
4037 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4038
4039         * bufferview_funcs.C (currentState): output paragraph position
4040
4041 2003-09-04  Angus Leeming  <leeming@lyx.org>
4042
4043         * FloatList.h: move out #include "Floating.h".
4044         * LaTeX.h: move out #include "DepTable.h".
4045         * LyXAction.h: move out #include "funcrequest.h".
4046         * buffer.h: move out #include "author.h", "iterators.h".
4047         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4048         * lyx_main.h: move out #include "errorlist.h".
4049         * lyxfunc.h: move out #include "FuncStatus.h".
4050         * lyxtext: move out #include "lyxcursor.h".
4051         * paragraph_pimpl.h: move out #include "counters.h".
4052
4053 2003-09-03  Angus Leeming  <leeming@lyx.org>
4054
4055         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4056         preamble_snippets list, enabling us to add snippets to the preamble
4057         only if the snippet was not there already.
4058
4059 2003-09-04  Angus Leeming  <leeming@lyx.org>
4060
4061         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4062
4063 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4064
4065         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4066         update
4067
4068 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4069
4070         * BranchList.C: point fix, earlier forgotten
4071
4072 2003-09-02  Angus Leeming  <leeming@lyx.org>
4073
4074         * box.C (contains): renamed from 'contained' after a fantastic
4075         amount of hot air.
4076
4077 2003-09-02  John Levon  <levon@movementarian.org>
4078
4079         * BufferView.C:
4080         * lyxcursor.h:
4081         * lyxcursor.C:
4082         * lyxfunc.C:
4083         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4084
4085 2003-09-02  John Levon  <levon@movementarian.org>
4086
4087         * text2.C: simplification of cursorEnd(), including partial
4088         fix for bug 1376
4089
4090 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4091
4092         * buffer.C (readFile): add a space
4093
4094 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4095
4096         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4097
4098 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4099
4100         * buffer.C (readFile): new function, take a filename and a
4101         ParagraphList::iterator
4102         (readFile): adjust
4103         (readFile): adjust, make it private. don't use setStream, make
4104         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4105         always contain the filename.
4106
4107         * BufferView.C (insertLyXFile): simplify and make it work for
4108         gzipped files.
4109
4110 2003-08-30  John Levon  <levon@movementarian.org>
4111
4112         * Makefile.am: fix dist (from Kayvan)
4113
4114 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4115
4116         * most files: change to use const Buffer refs
4117
4118 2003-08-27  André Pönitz  <poenitz@gmx.net>
4119
4120         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4121         on top of ownerPar().
4122
4123 2003-08-27  John Levon  <levon@movementarian.org>
4124
4125         * funcrequest.C: properly initialise POD members
4126
4127 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4128
4129         * lyxtext.h (top_y): move top_y from here
4130         * text.C:
4131         * text2.C:
4132         * text3.C:
4133         * BufferView.[Ch]:
4134         * BufferView_pimpl.[Ch]: to here
4135         * frontends/screen.C:
4136         * insets/insettabular.C:
4137         * insets/insettext.C: adjust
4138         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4139
4140 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4141
4142         * BufferView.[Ch]:
4143         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4144
4145 2003-08-26  André Pönitz  <poenitz@gmx.net>
4146
4147         * paragraph_func.[Ch] (outerPar): new function
4148
4149         * paragraph.C:
4150         * paragraph_funcs.C:
4151         * paragraph_funcs.h:
4152         * paragraph_pimpl.C:
4153         * text2.C: remove Inset::par_owner
4154
4155 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4156
4157         * lyxrow_funcs.C:
4158         * lyxtext.h:
4159         * text.C:
4160         * text2.C: eliminates the needFullRow/display() stuff
4161         altogether, putting the logic in metrics/draw in the insets.
4162
4163 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4164
4165         * text2.C (redoParagraphInternal, redoParagraphs):
4166         * text.C (redoParagraph): add a call to updateRowPositions at the
4167         end of each 'metrics-like' call. Remove all others.
4168         (getRow): remove the 'y-computing' version.
4169         (getRowNearY): do not compute nor return the real y. Solve the
4170         'y < 0' problem and simplify.
4171
4172 2003-08-22  Angus Leeming  <leeming@lyx.org>
4173
4174         * *.[Ch]: clean-up of licence and author blurbs.
4175         Also move config.h out of a few .h files and into a few .C files.
4176
4177 2003-08-22  André Pönitz  <poenitz@gmx.net>
4178
4179         * lyxrow.[Ch]: add x_ and *fill_ members
4180
4181         * lyxtext.h:
4182         * text.C:
4183         * rowpainter.C:
4184         * text2.C: adjust/remove prepareToPrint() calls
4185
4186 2003-08-22  André Pönitz  <poenitz@gmx.net>
4187
4188         * lyxrow.[Ch]: add  end_ member
4189
4190         * lyxrow_funcs.C: use LyXRow::end_
4191
4192         * lyxtext.h (singleWidth): add LyXFont parameter
4193
4194         * rowpainter.C:
4195         * text2.C: adjust LyXText::singleWidth() calls
4196
4197         * text.C (redoParagraph): simplify row breaking logic
4198
4199
4200 2003-08-19  André Pönitz  <poenitz@gmx.net>
4201
4202         * funcrequest.C: initialize button_ member
4203
4204         * text3.C:
4205         * rowpainter.[Ch]: interface consolidation
4206
4207 2003-08-18  André Pönitz  <poenitz@gmx.net>
4208
4209         * BufferView.C:
4210         * BufferView_pimpl.C:
4211         * lyxfind.C:
4212         * paragraph_funcs.C:
4213         * rowpainter.C:
4214         * text3.C: remove LyXScreen::draw() and fitCursor calls
4215
4216         * BranchList.h: remove spurious semicolons
4217
4218         * MenuBackend.C: fix branchlist related crash
4219
4220 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4221
4222         * BranchList.[Ch]:
4223         * InsetList.[Ch]:
4224         * LColor.[Ch]:
4225         * LyXAction.C:
4226         * Makefile.am:
4227         * MenuBackend.[Ch]:
4228         * bufferparams.[Ch]:
4229         * factory.C:
4230         * lfuns.h:
4231         * lyxfunc.C:
4232         * text3.C: implements the 'branch inset'
4233         idea. This allows the output of various versions of a document
4234         from a single source version, selectively outputing or suppressing
4235         output of parts of the text.
4236         This implementation contains a 'branch list editor' in a separate
4237         tab of the document settings dialog. Branches are user definable
4238         and have a "display colour" to distinguish them on-screen.
4239
4240         ColorHandler was somewhat cleaned up.
4241         (1) make possible a dynamically growing LColor list by allowing
4242         the graphic context cache to grow along (vector);
4243         (2) eliminate an IMHO unnecessary step in colour allocation.
4244
4245 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4246
4247         * BufferView_pimpl.C: compile fix
4248
4249 2003-08-15  André Pönitz  <poenitz@gmx.net>
4250
4251         * rowpainter.C: remove extra metrics calls
4252
4253         * lyxtext.h: merge the two constructors into a single one,
4254           pass reference to owner's par list
4255
4256         * BufferView_pimpl.C:
4257         * text.C:
4258         * text2.C: adjust
4259
4260 2003-08-15  André Pönitz  <poenitz@gmx.net>
4261
4262         * lyxrow_funcs.[Ch]:
4263         * lyxtext.h:
4264         * paragraph.h:
4265         * paragraph_funcs.C:
4266         * rowpainter.C:
4267         * text.C:
4268         * text2.C:
4269         * text3.C:
4270         * text_funcs.C: split LyXText::rowlist_ into individual
4271         Paragraph::rows_ chunks
4272
4273         * BufferView.[Ch]:
4274         * BufferView_pimpl.[Ch]:
4275         * lyxfind.C:
4276         * lyxtext.h:
4277         * text3.C: remove toggleSelection()
4278
4279 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4280
4281         * bufferlist.C: beautify two alerts (shorter text of buttons)
4282         * buffer.C: Remove redundant ' ' from message
4283         * tabular.h:
4284         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4285         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4286         rename VALIGN_CENTER to VALIGN_MIDDLE
4287
4288 2003-08-11  André Pönitz  <poenitz@gmx.net>
4289
4290         * lyxtext.h (getPar):
4291         * text.C: new function
4292
4293 2003-08-11  André Pönitz  <poenitz@gmx.net>
4294
4295         * Makefile.am:
4296         * tracer.[Ch]: remove unneeded files
4297
4298         * InsetList.[Ch]: remove resizeInsetsLyXText()
4299
4300         * lyxtext.h:
4301         * text.C:
4302         * text2.C:
4303         * text3.C: merge insertParagraphs() and appendParagraph()
4304         remove breakAgain(), update()
4305
4306         * BufferView_pimpl.[Ch]:
4307         * bufferview_funcs.[Ch]:
4308         * lyxfunc.C:
4309         * paragraph.[Ch]:
4310         * rowpainter.C:
4311         * tabular.C: adjust after text & InsetList changes.
4312
4313 2003-08-08  André Pönitz  <poenitz@gmx.net>
4314
4315         * text.C (insertChar, backspace): replace rowlist fiddling
4316         with rebreak of full par
4317
4318         * lyxtext.h:
4319         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4320         checkParagraph, updateInset): removed
4321
4322 2003-08-07  André Pönitz  <poenitz@gmx.net>
4323
4324         * paragraph.C:
4325         * text3.C: merge some LFUN handlers, remove dead code
4326
4327 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4328
4329         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4330
4331 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4332
4333         * text2.C (DEPM): fix part of bug 1255 and 1256
4334
4335 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4336
4337         * BufferView_pimpl.C (workAreaDispatch): change to use
4338         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4339         that are no mouse related.
4340
4341 2003-08-05  André Pönitz  <poenitz@gmx.net>
4342
4343         * BufferView.[Ch]:
4344         * BufferView_pimpl.[Ch]:
4345         * bufferview_funcs.C:
4346         * text2.C:
4347         * text3.C: rip out "deep update"
4348
4349         * textcursor.[Ch] (last_sel_cursor): remove unused member
4350
4351 2003-08-04  André Pönitz  <poenitz@gmx.net>
4352
4353         * BufferView.[Ch]:
4354         * BufferView_pimpl.[Ch]:
4355         * ParagraphParameters.C:
4356         * bufferview_funcs.C:
4357         * lyx_cb.C:
4358         * lyxfind.C:
4359         * lyxfunc.C:
4360         * text.C:
4361         * text2.C:
4362         * text3.C: replace "complicated" BufferView::update(...) calls with
4363         simpler ones.
4364
4365         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4366
4367 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4368
4369         * Makefile.am (lyx_SOURCES): add paper.h
4370
4371 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4372
4373         * Makefile.am: move things around so that both lyx-qt and
4374         lyx-xforms can be built (according to --with-frontend). Then lyx
4375         is a symbolic link to lyx-[firstfrontend]
4376
4377 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4378
4379         * Always use std::endl with lyxerr
4380
4381 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4382
4383         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4384
4385 2003-08-01  André Pönitz  <poenitz@gmx.net>
4386
4387         * BufferView.[Ch]:
4388         * BufferView_pimpl.[Ch]:
4389         * lyxfunc.C:
4390         * text3.C: merge BufferView::repaint() and BufferView::update()
4391
4392 2003-08-01  José Matos  <jamatos@lyx.org>
4393
4394         * buffer.[Ch]: file_format is no longer a buffer data element.
4395
4396 2003-08-01  André Pönitz  <poenitz@gmx.net>
4397
4398         * BufferView.C:
4399         * lyxtext.h:
4400         * text.C:
4401         * text2.C: make redoParagraph more independent of current cursor
4402
4403         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4404         * text.C:
4405         * text2.C: remove unneeded members
4406
4407 2003-07-30  André Pönitz  <poenitz@gmx.net>
4408
4409         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4410
4411         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4412           create a single function...
4413
4414         * paragraph_funcs.C (moveItem): ... here.
4415
4416         * text.C:
4417           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4418
4419 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4420
4421         * LColor.[Ch]: Add comment and greyedout logical colors.
4422
4423 2003-07-30  André Pönitz  <poenitz@gmx.net>
4424
4425         * tabular.C: don't use Assert too heavily. This crashes where it
4426           shouldn't
4427
4428 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4429
4430         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4431         is disabled (bug 1232)
4432
4433 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4434
4435         * factory.C: limited 'arg' scope
4436
4437 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4438
4439         * factory.C: fixed Note submenu issues
4440
4441 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4442
4443         * factory.C: submenu for Note/Comment/Greyedout
4444
4445 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4446
4447         * lyx_main.C (LyX):
4448         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4449
4450 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4451
4452         * LaTeXFeatures.C:
4453         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4454         greyedout. Patch provided by Jürgen Spitzmüller.
4455
4456 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4457
4458         * kbmap.C (read): fix error message when reading bind files
4459
4460 2003-07-29  Angus Leeming  <leeming@lyx.org>
4461
4462         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4463         certainly does not do what it purports to do. I am doing it, and
4464         us, a favour by killing it.
4465
4466 2003-07-28  José Matos  <jamatos@lyx.org>
4467
4468         * buffer.C (readBody, do_writeFile):
4469         * paragraph.C(readParagraph): \end_document replaces \the_end.
4470
4471 2003-07-29  André Pönitz  <poenitz@gmx.net>
4472
4473         * BufferView.[Ch]:
4474         * BufferView_pimpl.[Ch]:
4475         * lyxfunc.C:
4476         * text2.C:
4477         * text3.C:
4478         * textcursor.[Ch]: remove toggleToggle & Co
4479
4480 2003-07-28  José Matos  <jamatos@fep.up.pt>
4481
4482         * buffer.C (readParagraph):
4483         * params_func (readParToken, readParagraph):
4484         * paragraph.C (write): \layout -> \begin_layout.
4485
4486 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4487
4488         * lyxlex_pimpl.C (setFile): clean up slightly.
4489
4490         * bufferparams.h: add compressed var
4491
4492         * buffer_funcs.C (readFile): adjust for LyXLex change
4493         (newFile): ditto + simplify
4494
4495         * buffer.C (writeFile): handle writing of compressed files
4496
4497         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4498         Check if the file is compressed and set a bufferparm if so.
4499
4500         * Makefile.am (lyx_LDADD): remove explicit -lz
4501
4502 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4503
4504         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4505         makeDocBookFile): put the real LyX version in the first line of
4506         the file
4507
4508         * version.h:
4509         * version.C.in: remove lyx_docversion
4510
4511         * tabular.C (write_attribute): add a template-based version to
4512         write enums properly
4513
4514 2003-07-28  André Pönitz  <poenitz@gmx.net>
4515
4516         * lyxtext.h:
4517         * text.C:
4518         * text2.C:
4519         * text3.C: use doubles again for x-coordinates. They are needed.
4520
4521 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4522
4523         * messages.C (getLocaleDir): use lyx_localedir()
4524
4525         * lyxlex_pimpl.C (setFile): compress stuff
4526
4527         * buffer.C (writeFile): add some compression stuff
4528         (do_writeFile): new func, dont call expliti close... will this
4529         breake anything?
4530
4531         * Makefile.am (lyx_LDADD): add -lz
4532
4533 2003-07-28  José Matos  <jamatos@fep.up.pt>
4534
4535         * buffer.C: increment file format.
4536         * paragraph_funcs (readParagraph, readParToken):
4537         * paragraph.C (readParagraph): add \end_layout.
4538
4539 2003-07-27  Angus Leeming  <leeming@lyx.org>
4540
4541         * Makefile.am: remove special casing for configure-time setting of
4542         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4543
4544         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4545         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4546
4547 2003-07-26  André Pönitz  <poenitz@gmx.net>
4548
4549         * paragraph_func.[Ch]:
4550         * paragraph.C (realizeFont): inline it whereever it is used
4551
4552         * rowpainter.C:
4553         * text.C:
4554         * text2.C:
4555         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4556
4557
4558 2003-07-26  André Pönitz  <poenitz@gmx.net>
4559
4560         *       lyxtext.h:
4561         * text.C:
4562         * text2.C: get rid of LyXText::need_break_row
4563
4564 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4565
4566         * toc.[Ch]: put namespace toc inside namespace lyx
4567
4568         * MenuBackend.C (expandToc2): adjust for lyx::toc
4569         (expandToc): ditto
4570
4571         * lyxfunc.C (dispatch): adjust for lyx::find
4572
4573         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4574         lyx::find instead. Reorganize a bit.
4575         (LyXReplace): rename to replace
4576         (LyXFind): rename to find
4577
4578         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4579         (dispatch): ditto
4580
4581 2003-07-26  André Pönitz  <poenitz@gmx.net>
4582
4583         * text.C (setHeightOfRow): restrict scope of temporary variable
4584
4585         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4586           code (never has been used?)
4587
4588 2003-07-27  Asger Alstrup  <alstrup@local>
4589
4590         * text.C (fill): Optimise algorithm to exploit that we can reuse
4591         the LyXFont for many characters.
4592         (setHeightOfRow): Same thing.
4593         (rowBreakPoint): Same thing.
4594
4595 2003-07-26  Asger Alstrup  <alstrup@local>
4596
4597         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4598
4599         * text.C (singleWidth): Spurious font copying in hot-spot
4600         singleWidth avoided. Reorder tests for arabic for efficiency.
4601
4602         * text.C (fill): handle empty paragraphs better.
4603
4604 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4605
4606         * ispell.C:
4607         * encoding.h: add includes
4608
4609         * lyxrc.C: remove reading of bind files
4610
4611         * lyx_main.C (init): setup bindings and menus only if we have a
4612         gui.
4613
4614         * kbmap.C (read): new method. Do the actual reading of bind
4615         files.
4616
4617         * converter.C (dvipdfm_options):
4618         * bufferparams.C:
4619         * lyxrc.C (read):
4620         (output): adapt PAPER_* enums.
4621
4622         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4623
4624         * bufferparams.h: remove paper-related enums from there
4625
4626         * paper.h: New file. A trivial header file to hold paper-related
4627         enums. It should later expand to contain many paper-related
4628         horrors access.
4629
4630         * lyxrc.C: declare extern displayTranslator
4631
4632 2003-07-27  José Matos  <jamatos@fep.up.pt>
4633
4634         * tabular.[Ch] (linuxdoc): add support for tables and figures
4635         (linuxdoc).
4636
4637 2003-07-27  José Matos  <jamatos@fep.up.pt>
4638
4639         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4640         consistency in both functions.
4641         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4642
4643 2003-07-26  Asger Alstrup  <alstrup@local>
4644
4645         * rowpainter.C (paintRows): Change algorithm to work directly on
4646         the insets rather than asking every character in the document
4647         whether its an inset.
4648
4649 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4650
4651         * buffer.C (openFileWrite): factorize some code
4652
4653 2003-07-26  Angus Leeming  <leeming@lyx.org>
4654
4655         * lyx_cb.C:
4656         * lyx_main.[Ch]: replace occurances of system_tempdir with
4657         os::getTmpDir().
4658
4659 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4660
4661         * rename Inset to InsetOld
4662
4663 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4664
4665         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4666         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4667         which I think is a bit clearer. EDIT is gone, since it was
4668         premature optimisation, and broken for mathed anyway.
4669         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4670         with cursor positioning in insets as well (math insets still do not
4671         work, but that's a different story anyway.) It mysteriously
4672         crashes sometimes with undo in the first paragraph, but I'm fairly
4673         confident that this is a compiler bug.
4674
4675 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4676
4677         * paragraph.C (Paragraph): adjust for new clone return type
4678         (operator==): ditto
4679         (copyIntoMinibuffer): ditto
4680
4681 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4682
4683         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4684         by not having a special case, and always doing a full rebreak of
4685         the document after undo.
4686
4687 2003-07-23  Angus Leeming  <leeming@lyx.org>
4688
4689         * factory.C (createInset): InsetExternal::setParams now takes a
4690         Buffer const * arg.
4691
4692 2003-07-23  Angus Leeming  <leeming@lyx.org>
4693
4694         * factory.C (createInset): changed interface to the external and
4695         graphics mailers' string2params functions.
4696
4697 2003-07-23  Angus Leeming  <leeming@lyx.org>
4698
4699         * factory.C (createInset): pass a
4700         Buffer const * parameter to InsetExternalMailer's string2params.
4701
4702 2003-07-22  John Levon  <levon@movementarian.org>
4703
4704         * Thesaurus.h: include the right aiksaurus header
4705
4706 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4707
4708         * MenuBackend.C (expand): check menu shortcuts unconditionally
4709
4710 2003-07-21  Angus Leeming  <leeming@lyx.org>
4711
4712         * factory.C (createInset): pass a
4713         buffer_path parameter to InsetGraphicsMailer's string2params.
4714
4715 2003-07-21  Angus Leeming  <leeming@lyx.org>
4716
4717         * BufferView_pimpl.C (buffer):
4718         * buffer.C (d-tor):
4719         * lyx_main.C (LyX):
4720         * lyxfunc.C (dispatch):
4721         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4722         rather than the grfx shortcut.
4723
4724 2003-07-21  André Pönitz  <poenitz@gmx.net>
4725
4726         * rowpainter.C: remove unused variables
4727
4728         * tabular_funcs.C:
4729         * tabular_funcs.h: move to tabular.C
4730         * Makefile.am: adjust
4731
4732         * tabular.[Ch]: basic optical cleaning
4733
4734         * author.h: pass references, not values
4735
4736 2003-07-18  André Pönitz  <poenitz@gmx.net>
4737
4738         * lyxtext.h:
4739         * metricsinfo.C:
4740         * metricsinfo.h:
4741         * rowpainter.C:
4742         * text.C:
4743         * text2.C:
4744         * text3.C: two-phase drawing for InsetText and InsetTabular
4745         some float -> int changes.
4746
4747 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4748
4749         * lyx_main.C: fix the fix
4750
4751 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4752
4753         * lyx_main.C: fix a crash in batch mode if no files specified
4754         * converter.C: ws
4755
4756 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4757
4758         * format.[Ch] (papersize): moved to BufferParams
4759         * converter.[Ch] (dvips_options): moved to BufferParams
4760         (dvipdfm_options): moved to anon namespace
4761         * bufferparams.[Ch]: added above functions.
4762
4763 2003-07-17  André Pönitz  <poenitz@gmx.net>
4764
4765         * lyxtext.h:
4766         * rowpainter.C:
4767         * text2.C: don't call inset->update() anymore
4768
4769         * metricsinfo.[Ch]: add convenience constructor
4770
4771 2003-07-16  André Pönitz  <poenitz@gmx.net>
4772
4773         * lyxcursor.[Ch]:
4774         * lyxfunc.[Ch]:
4775         * text.C:
4776         * text2.C: replace the LyXCursor::irow_ member with
4777          on-demand computation of the value
4778
4779 2003-07-16  John Levon  <levon@movementarian.org>
4780
4781         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4782
4783 2003-07-15  André Pönitz  <poenitz@gmx.net>
4784
4785         * text.C:
4786         * text2.C: remove no more needed refresh_row
4787
4788 2003-07-15  André Pönitz  <poenitz@gmx.net>
4789
4790         * lyxtext.h:
4791         * rowpainter.C:
4792         * text2.C:
4793         * text3.C: refresh_status tristate -> need_update bool
4794
4795 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4796
4797         * lyxtext.h (init): remove reinit argument (act as if always true)
4798         * text2.C: adjust to that
4799
4800 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4801
4802         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4803         * text3.C: use it to delete selections in some cases
4804         (bugs 441, 673, 702, 954).
4805
4806 2003-07-14  André Pönitz  <poenitz@gmx.net>
4807
4808         * rowpainter.[Ch]: reduce interface
4809
4810 2003-07-14  André Pönitz  <poenitz@gmx.net>
4811
4812         * BufferView_pimpl.C:
4813         * text2.C: adjust after removing unused BufferView * argument
4814
4815 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4816
4817         * text2.C (init): fix a crash fired on resize
4818
4819 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4820
4821         * buffer.[Ch]: added new closing signal
4822         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4823         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4824         BufferView::Pimpl via the closing the signal
4825
4826 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4827
4828         * buffer.[Ch]: take out all bv-related from buffer
4829         * BufferView.C:
4830         * BufferView_pimpl.[Ch]: connect to new signals
4831         * CutAndPaste.C: removed useless asserts
4832         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4833         * lyxvc.[Ch]:
4834         * vc-backend.[Ch]:
4835         * lyxfunc.C: moved view-related funciontality from vc here
4836         * paragraph.C: removed outdated comments
4837         * text.C: ws
4838
4839 2003-07-10  André Pönitz  <poenitz@gmx.net>
4840
4841         * BufferView_pimpl.C:
4842         * tabular.h:
4843         * tabular_funcs.C:
4844         * text.C:
4845         * text2.C: remove InsetText::InnerCache, clean up consequences
4846
4847 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4848
4849         * ispell.C: fix two typos in error messages
4850
4851 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4852
4853         * Extend Note inset to other forms of annotation like Comment
4854         and Greyedout. Right button click gives dialog.
4855
4856         Files modified or added (+):
4857
4858         * insetnote.[Ch]
4859         * FormNote.[Ch]      +
4860         * ControlNote.[Ch]   +
4861         * form_note.fd       +
4862         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4863         frontends/controllers
4864         * xforms/Dialogs.C
4865         * factory.C
4866
4867 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4868
4869         * aspell.C: add missing namespace lyx::support
4870
4871 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4872
4873         * BufferView.[Ch] (newFile): Add
4874         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4875         * LaTeX.[Ch] (message): added this signal and use it
4876         * buffer.[Ch] (busy, message): added these signals and use them
4877         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4878         * converter.C:
4879         * exporter.C:
4880         * format.C:
4881         * importer.C: use buffer signals instead of direct bv calling
4882         * lyx_cb.[Ch] (ShowMessage): removed
4883         * lyx_main.C:
4884         * lyxfunc.C:
4885         * paragraph_funcs.C:
4886         * text2.C: use buffer signals
4887
4888 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4889
4890         * introduce namespace lyx::graphics
4891
4892 2003-07-02  André Pönitz  <poenitz@gmx.net>
4893
4894         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4895
4896 2003-07-01  André Pönitz  <poenitz@gmx.net>
4897
4898         * text.C:
4899         * text2.C:
4900         * text3.C:
4901         * text_funcs.[Ch]:
4902         * textcursor.h:
4903         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4904           text*.C to text_func.C
4905
4906 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4907
4908         * introduce namespace lyx::support
4909
4910 2003-06-30  André Pönitz  <poenitz@gmx.net>
4911
4912         * Chktex.C:
4913         * funcrequest.C:
4914         * lyxtext.h:
4915         * text.C: re-enable --with-included-string
4916
4917 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4918
4919         * textcursor.C: add <config.h>
4920
4921         * text.C (getWord): remove const from word_location arg
4922
4923         * lyxvc.C (getLogFile): fix const type order
4924
4925         * lyxtext.h: remove const from word_location arg, add arg name
4926
4927         * lyxlayout.h: currect type on labeltype.
4928
4929         * importer.C: correct \file
4930
4931         * converter.C (intToFormat): use std:: on ret val, ws changes
4932
4933         * bufferlist.h: correct \file
4934
4935         * buffer.C (makeLinuxDocFile): fix const type order
4936         (makeDocBookFile): ditto
4937         (fillWithBibKeys): use std:: on stdlib args.
4938
4939         * CutAndPaste.C: fix authors.
4940         (availableSelections): use std:: on return vector
4941
4942 2003-06-27  André Pönitz  <poenitz@gmx.net>
4943
4944         * BufferView_pimpl.C:
4945         * bufferview_funcs.C:
4946         * lyxcursor.C:
4947         * lyxcursor.h:
4948         * lyxfunc.C:
4949         * lyxtext.h:
4950         * rowpainter.C:
4951         * text.C:
4952         * text2.C:
4953         * text3.C: remove LyXCursor::row_ member
4954
4955         * lyxtext.h:
4956         * text.C: rename fullRebreak() to partialRebreak() and implement
4957           a fullRebreak() that really bereks fully
4958
4959         * textcursor.h: new struct for cursor-related data
4960
4961 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4962
4963         * lyx_main.C (LyX): get full path of document loaded on the
4964         command line
4965
4966 2003-06-26  André Pönitz  <poenitz@gmx.net>
4967
4968         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4969           remove unused/broken operator>,<,>=.
4970
4971         *       text.C: remove only use of broken operator<= in an Assert().
4972
4973 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4974
4975         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4976         moved errorlist_.clear to showErrorList
4977
4978 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4979
4980         * converter.C (scanLog, runLaTeX):
4981         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4982         move the bv->showErrorList call to the callers
4983         * lyxfunc.C: i.e. here...
4984         * text2.C: and here
4985         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4986         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4987         namespace, the second to...
4988         * buffer_funcs (BufferFormat, parseErrors): added
4989         * errorlist.C (ErrorList(TeXErrors const &)): removed
4990
4991 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4992
4993         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4994
4995 2003-06-24  "Garst R. Reese" <reese@isn.net>
4996
4997         * debug.C: fix typo
4998
4999 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5000
5001         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5002
5003         * version.C.in: change docversion to 1.4
5004
5005 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5006
5007         * buffer.C: fix a bug just introduced
5008
5009 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5010
5011         * buffer.[Ch]: added the parseError signal and use it, removed
5012         sgmlError
5013         * BufferView.[Ch] (addError): moved to ...
5014         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5015         to the Buffer::parseError signal to catch (guess what) parse errors
5016         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5017
5018 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5019
5020         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5021         ability to create a buffer and to return an existing one from
5022         the list. Moved these functions to...
5023         * buffer_funcs.[Ch]: added
5024         * BufferView.[Ch] (loadLyXFile): added
5025         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5026         job removed from bufferlist::loadLyXFile.
5027         * buffer.C (setReadOnly): make it work without view
5028         (i.e added an if (users))
5029
5030 2003-06-19  Angus Leeming  <leeming@lyx.org>
5031
5032         * lfuns.h:
5033         * LyXAction.C (init):
5034         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5035         with LFUN_DIALOG_SHOW <name> <data>.
5036
5037 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5038
5039         * CutAndPaste.C (availableSelections): small compilation fix for
5040         ancient (gcc 2.9x) compilers
5041
5042 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5043
5044         * text3.C (cursorNext): add tmp var
5045
5046         * text2.C (updateCounters): for function calling out of for clause
5047         (replaceSelectionWithString): ditto
5048         (insertStringAsParagraphs): ditto
5049         (getColumnNearX): add tmp var
5050         (setCursorFromCoordinates): add tmp var
5051         (cursorDownParagraph): add tmp var
5052         (deleteEmptyParagraphMechanism): add tmp var
5053
5054         * text.C (insertChar): add tmp var
5055
5056         * rowpainter.C (paintDepthBar): add tmp var
5057
5058         * CutAndPaste.C (availableSelections): potentially check all
5059         paragraphs in a cut to fill the shown strings.
5060
5061 2003-06-18  André Pönitz  <poenitz@gmx.net>
5062
5063         * kbmap.[Ch]: use vector<> instead of list<>
5064
5065 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5066
5067         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5068         pasteSelection with index
5069
5070         * text2.C (pasteSelection): modify, call pasteSelection with index
5071
5072         * paragraph.C (asString): reimplement version with no interval to
5073         call the one with interval.
5074
5075         * lyxtext.h: add index arg to pasteSelection
5076
5077         * MenuBackend.C (MenuItem): handle PasteRecent
5078         (Menu::read::Menutags): add md_pasterecent
5079         (read): handle it
5080         (expandPasteRecent): new function
5081         (expand): use it
5082
5083         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5084
5085         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5086         the limited stack
5087         (availableSelections): new function
5088
5089 2003-06-17  Angus Leeming  <leeming@lyx.org>
5090
5091         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5092
5093 2003-06-17  Angus Leeming  <leeming@lyx.org>
5094
5095         * lfuns.h:
5096         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5097
5098         * lyxfunc.C (dispatch): invoke it.
5099
5100 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5101
5102         * iterators.C (operator++, ParPosition): reintroduce some
5103         const_cast for the benefit of older compilers.
5104
5105 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5106
5107         * text3.C (dispatch): do not modify clipboard when doing
5108         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5109         LFUN_DELETE_SKIP on a selection selection
5110
5111 2003-06-16  André Pönitz  <poenitz@gmx.net>
5112
5113         * BufferView.C:
5114         * buffer.C:
5115         * buffer.h:
5116         * paragraph.C:
5117         * tabular.[Ch]: IU of clone() and getLabelList();
5118
5119 2003-06-13  André Pönitz  <poenitz@gmx.net>
5120
5121         * tabular.h: compactification
5122
5123 2003-06-12  André Pönitz  <poenitz@gmx.net>
5124
5125         * tabular.C:
5126         * tabular.h:
5127         * tabular_funcs.h: some renaming plus whitespace
5128
5129 2003-06-12  André Pönitz  <poenitz@gmx.net>
5130
5131         * BufferView.C:
5132         * BufferView_pimpl.C:
5133         * CutAndPaste.C:
5134         * buffer.C:
5135         * iterators.[Ch]:
5136         * lyxfunc.C:
5137         * text.C:
5138         * toc.C: Return a Paragraph & for ParIterator::operator*()
5139
5140 2003-06-11  John Levon  <levon@movementarian.org>
5141
5142         * lyx_main.C:
5143         * ToolbarBackend.h:
5144         * ToolbarBackend.C: add "Toolbars" section and
5145         put the flags there
5146
5147 2003-06-10  Angus Leeming  <leeming@lyx.org>
5148
5149         * lfuns.h:
5150         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5151
5152         * lyxfunc.C (dispatch): invoke it.
5153
5154 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5155
5156         * main.C: protect <ios> with HAVE_IOS
5157         (main): protect sync_with_stdio with HAVE_IOS
5158
5159 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5160
5161         * text2.C (cutSelection): adjust
5162         (pasteSelection): adjust
5163
5164         * messages.C: handle get of empty string
5165
5166         * main.C (main): use sync_with_stdio(false)
5167
5168         * lyxfunc.C (dispatch): adjust
5169
5170         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5171         (WriteAs): remove unneeded BufferView arg.
5172
5173         * bufferparams.h: use correct types on papersize, papersize2 and
5174         paperpackage.
5175
5176         * bufferparams.C (readToken): adjust for type
5177         (writeLaTeX): add missing cases to switch.
5178
5179         * bufferlist.C (quitWriteBuffer): adjust
5180         (close): adjust
5181
5182         * buffer.C (asciiParagraph): remove some commented code.
5183
5184         * CutAndPaste.C: remove current_view extern variable.
5185         (cutSelection): add BufferParams arg.
5186         (eraseSelection): add BufferParams arg.
5187         (pasteSelection): add Buffer const & arg
5188
5189 2003-06-07  John Levon  <levon@movementarian.org>
5190
5191         * buffer.C:
5192         * paragraph_funcs.C:
5193         * paragraph_pimpl.C:
5194         * text.C:
5195         * text2.C:
5196         * paragraph.h:
5197         * paragraph.C: allow InsetERT to freely space lines,
5198         and some consolidation of code
5199
5200 2003-06-06  José Matos  <jamatos@fep.up.pt>
5201
5202         * buffer.C (makeDocBookFile): fix bug #821
5203
5204 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5205
5206         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5207
5208 2003-06-04  Angus Leeming  <leeming@lyx.org>
5209
5210         * buffer.C: bump format to 224.
5211
5212 2003-06-05  André Pönitz  <poenitz@gmx.net>
5213
5214         * text2.C (redoParagraphs): remove two const_cast<>
5215
5216 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5217
5218         * ParagraphList.h: remove last remnants of NO_STD_LIST
5219
5220 2003-06-03  Angus Leeming  <leeming@lyx.org>
5221
5222         * factory.C (createInset): small change to the way InsetExternal's params
5223         are set.
5224
5225 2003-06-04  André Pönitz  <poenitz@gmx.net>
5226
5227         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5228
5229         * paragraph_pimpl.h:
5230         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5231
5232         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5233
5234         * undo_funcs.C: make some simple cases of undo work again
5235
5236 2003-06-03  John Levon  <levon@movementarian.org>
5237
5238         * ispell.C: HPUX doesn't have sys/select.h
5239         (from Albert Chin)
5240
5241 2003-06-03  John Levon  <levon@movementarian.org>
5242
5243         * CutAndPaste.C: update tabular and include inset
5244         buffer references
5245
5246         * buffer.h:
5247         * paragraph.h:
5248         * paragraph.C: remove owningBuffer(), don't pass Buffer
5249         to clone()
5250
5251         * factory.C: insetGraphicsParams changed
5252
5253 2003-06-02  John Levon  <levon@movementarian.org>
5254
5255         * LyXAction.C:
5256         * factory.C:
5257         * lfuns.h:
5258         * lyxfunc.C:
5259         * text3.C: remove insetparent
5260
5261 2003-06-02  John Levon  <levon@movementarian.org>
5262
5263         * buffer.h:
5264         * buffer.C: fix inset_iterator.end(), move out of line
5265         (bug 1149)
5266
5267 2003-06-01  John Levon  <levon@movementarian.org>
5268
5269         * text3.C: use a proper cut/paste when doing inset
5270         insert (from Jürgen Spitzmüller)
5271
5272 2003-06-01  John Levon  <levon@movementarian.org>
5273
5274         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5275
5276 2003-05-30  André Pönitz  <poenitz@gmx.net>
5277
5278         * rowpainter.C: unify second drawing phase
5279
5280 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5281
5282         * trans_mgr.C: remove one case of current_view
5283
5284         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5285
5286         * paragraph_funcs.h: remove paragraph.h include
5287
5288         * paragraph.h: delete NO_STD_LIST stuff
5289
5290         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5291
5292         * buffer.h: remove paragraph.h include
5293
5294         * ParagraphList.C: delete file
5295
5296         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5297
5298         * toc.C (getTocList): adjust
5299
5300         * paragraph_pimpl.C (validate): adjust
5301
5302         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5303
5304         * paragraph.C (Paragraph): adjust
5305         (getPositionOfInset): use const_iterator, adjust
5306         (bibitem): use const_iterator, adjust
5307         (setInsetOwner): adjust
5308
5309         * iterators.C (operator++): adjust
5310
5311         * InsetList.[Ch]: Replace selfmade iterator with standard
5312         vector::iterator also introduce const_iterator. Remove getPos,
5313         getInset and setInset from InsetTable. Adjust accordingly.
5314
5315         * BufferView.C (lockInset): adjust
5316         (ChangeInsets): adjust
5317
5318         * tabular.[Ch]: delete commented same_id functions
5319
5320 2003-05-28  John Levon  <levon@movementarian.org>
5321
5322         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5323
5324 2003-05-28  André Pönitz  <poenitz@gmx.net>
5325
5326         * metricsinfo.[Ch]: remove 'fullredraw' member
5327
5328 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5329
5330         * lyxtextclass.C (operator): remove caching.
5331
5332 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5333
5334         * text3.C: adjust
5335
5336         * text2.C (cursorBottom): adjust
5337         (setCounter): use ParagraphList::find, adjust
5338
5339         * text.C (workWidth): use ParagraphList::find, adjust
5340
5341         * lyxcursor.C (LyXCursor): adjust
5342
5343         * buffer.C (inset_iterator): adjust
5344
5345         * ParagraphList.h: make iterator(value_type) private, make
5346         ParagraphList a friend of iterator.
5347
5348         * ParagraphList.C (find): new function
5349
5350         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5351
5352 2003-05-27  André Pönitz  <poenitz@gmx.net>
5353
5354         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5355
5356 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5357
5358         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5359
5360 2003-05-26  John Levon  <levon@movementarian.org>
5361
5362         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5363
5364 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5365
5366         * remove same_id from function signatures, adjust.
5367
5368 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5369
5370         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5371
5372         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5373
5374         * paragraph.C (Paragraph): get rid of same_ids parameter
5375
5376         * ParagraphList.C (insert): adjust
5377         (push_back): adjust
5378
5379 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5380
5381         * paragraph_funcs.C (breakParagraph): adjust
5382         (breakParagraphConservative): adjust
5383
5384         * buffer.C (readParagraph): adjust
5385
5386         * ParagraphList.C (insert): take a reference instead of a pointer
5387         (insert): adjust
5388
5389         * paragraph.[Ch] (id): new function
5390
5391         * bufferlist.C (newFile): adjust
5392
5393         * ParagraphList.C (ParagraphList): adjust
5394         (assign): adjust
5395         (push_back): take a reference instead of a pointer.
5396
5397         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5398
5399         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5400         instead.
5401
5402         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5403         set else use old code.
5404
5405         * ParagraphList.C: remove all NO_NEXT code and only compile this
5406         code of NO_STD_LIST is set.
5407
5408 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5409
5410         * BufferView_pimpl.C:
5411         * TextCache.C:
5412         * TextCache.h:
5413         * bufferlist.C:
5414         * errorlist.h:
5415         * format.C:
5416         * format.h:
5417         * graph.C:
5418         * lyxfunc.C:
5419         * lyxrc.C:
5420         * graphics/GraphicsConverter.C:
5421         * graphics/PreviewLoader.C: header adjustment
5422
5423 2003-05-23  Angus Leeming  <leeming@lyx.org>
5424
5425         * LaTeXFeatures.[Ch] (useBabel): new method.
5426         * bufferparams.C (writeLaTeX): use it.
5427
5428 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5429
5430         * ParagraphList.h (set): remove unused function.
5431
5432 2003-05-23  André Pönitz  <poenitz@gmx.net>
5433
5434         * BufferView.C:
5435         * BufferView_pimpl.C:
5436         * buffer.C:
5437         * buffer.h:
5438         * lyxfunc.C:
5439         * undo_funcs.C: setUndo reworked
5440
5441         * iterators.[Ch]: add access to topmost ParagraphList
5442
5443         * lyxtext.[Ch] (workWidth): add a const
5444
5445 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5446
5447         * texrow.[Ch] (increasePos): remove function
5448         * exporter.C (export): removed unused var and outdated comment
5449
5450 2003-05-23  Angus Leeming  <leeming@lyx.org>
5451
5452         * latexrunparams.h: rename fragile as moving_arg.
5453         * paragraph.C (simpleTeXOnePar): ditto.
5454         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5455
5456 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5457
5458         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5459         (createUndo): ditto
5460         (textUndoOrRedo): comment out a currently unused var.
5461
5462         * paragraph.h (NO_NEXT): enable NO_NEXT
5463
5464         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5465
5466         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5467
5468         * exporter.C (Export): adjust for removeAutoInsets removal.
5469
5470         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5471
5472         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5473
5474         * BufferView.[Ch] (removeAutoInsets): delete function
5475
5476 2003-05-22  Angus Leeming  <leeming@lyx.org>
5477
5478         * latexrunparams.h: add a free_spacing variable.
5479
5480         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5481         to pass moving_arg, as the data is stored in runparams.fragile.
5482
5483         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5484         to Inset::latexOptional or to simpleTeXOnePar.
5485
5486         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5487         free_spacing arg to Inset::latexOptional.
5488
5489         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5490         free_spacing arg.
5491
5492 2003-05-22  Angus Leeming  <leeming@lyx.org>
5493
5494         * latexrunparams.h: add fragile and use_babel variables.
5495
5496         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5497         * buffer.C (makeLaTeXFile): store this returned value in
5498         runparams.use_babel, thus passing it to the inset::latex methods.
5499
5500         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5501         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5502
5503         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5504         longer has a fragile arg, as it is stored in runparams.fragile.
5505
5506         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5507         moving_arg parameter as the data is stored in runparams.fragile.
5508
5509         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5510         a fragile parameter as the data is stored in runparams.fragile.
5511
5512 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5513
5514         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5515
5516 2003-05-22  Angus Leeming  <leeming@lyx.org>
5517
5518         * latexrunparams.h: add a 'bool nice' which defaults to false.
5519
5520         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5521         now encapsulated within runparams.
5522
5523         * bufferlist.C (updateIncludedTeXfiles):
5524         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5525
5526 2003-05-22  Angus Leeming  <leeming@lyx.org>
5527
5528         * latexrunparams.h: new file containing struct LatexRunParams.
5529         * Makefile.am: add new file.
5530
5531         * LaTeX.[Ch] (c-tor, run):
5532         * buffer.[Ch] (makeLaTeXFile):
5533         * bufferlist.[Ch] (updateIncludedTeXfiles):
5534         * converter.C (convert, scanLog):
5535         * converter.[Ch] (runLaTeX):
5536         * exporter.C (Export):
5537         * paragraph.[Ch] (simpleTeXOnePar):
5538         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5539         * paragraph_funcs.[Ch] (latexParagraphs):
5540         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5541         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5542         pass around a LatexRunParams parameter.
5543
5544 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5545
5546         * paragraph.[Ch]: remove unused constructor
5547
5548         * ParagraphList.C (erase): new function, taking two iterators
5549
5550 2003-05-22  André Pönitz  <poenitz@gmx.net>
5551
5552         * undo_funcs.C: remove duplicated code
5553
5554         * iterator.[Ch]: operator=
5555
5556 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5557
5558         * tabular.C (SetMultiColumn): ws changes
5559
5560         * rowpainter.C (paintFirst): get rid of a ->previous
5561
5562         * lyx_cb.C (getPossibleLabel): parlist simplification
5563
5564         * BufferView.C (ChangeInsets): simplify slightly.
5565
5566 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5567
5568         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5569         * lfuns.h: new LFUN_SPACE
5570         * lyxfunc.C: protected space has a new lfun
5571         * paragraph_funcs.C: read new space insets
5572         * text3.C:
5573         * factory.C: handle new space insets
5574
5575 2003-05-22  André Pönitz  <poenitz@gmx.net>
5576
5577         * BufferView.C:
5578         * BufferView_pimpl.C:
5579         * buffer.[Ch]:
5580         * lyxfunc.C:
5581         * undo_funcs.C: return a ParIterator from getParFromID.
5582
5583         * iterators.[Ch]: add two const's
5584
5585 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5586
5587         * toc.C (getTocList): adjust
5588
5589         * iterators.[Ch]: rework for parlist
5590
5591         * buffer.C (par_iterator_begin): adjust
5592         (par_iterator_end): adjust
5593
5594         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5595
5596         * BufferView.C (removeAutoInsets): adjust
5597         (ChangeInsets): adjust
5598
5599 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5600
5601         * text.C (top_y): fix bug 1110
5602
5603 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5604
5605         * errorlist.[Ch]: added
5606         * buffer.C:
5607         * BufferView.[Ch]:
5608         * BufferView_pimpl.C:
5609         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5610         instead
5611
5612 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5613
5614         * Makefile.am: ensure that lyx is relinked upon changes to the
5615         various "convenience" libs.
5616
5617 2003-05-20  Angus Leeming  <leeming@lyx.org>
5618
5619         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5620         files are compiled in alphabetical order again.
5621
5622         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5623
5624 2003-05-19  Angus Leeming  <leeming@lyx.org>
5625
5626         * gettext.[Ch]: remove "char const * _(char const *)".
5627
5628 2003-05-19  André Pönitz  <poenitz@gmx.net>
5629
5630         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5631
5632         * Makefile.am:
5633         * BufferView.C:
5634         * DepTable.h:
5635         * LaTeXFeatures.C:
5636         * buffer.C:
5637         * lyxfont.C:
5638         * lyxlex.h:
5639         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5640
5641 2003-05-19  André Pönitz  <poenitz@gmx.net>
5642
5643         * buffer.C:
5644         * lyxlayout.[Ch]:
5645         * lyxtextclass.[Ch]:
5646         * paragraph.C:
5647         * paragraph_funcs.[Ch]:
5648         * text2.C:
5649         * text3.C: more insetenv work
5650
5651 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5652
5653         * ParagraphParameters.C (params2string): small bug fixed
5654
5655 2003-05-16  André Pönitz  <poenitz@gmx.net>
5656
5657         * debug.C:
5658         * bufferview_funcs.C: patch from Kornel Benko to prevent
5659           crash when _(...) is called twice in a statement
5660
5661 2003-05-16  André Pönitz  <poenitz@gmx.net>
5662
5663         * BufferView.C:
5664         * lyxfunc.C:
5665         * text.C:
5666         * text2.C:
5667         * text3.C:
5668         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5669
5670 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5671
5672         * lyx_main.C (init): remove spurious static_cast
5673
5674 2003-05-14  André Pönitz  <poenitz@gmx.net>
5675
5676         * BufferView.C: fix format string
5677
5678 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5679
5680         * BufferView.[Ch] (insertErrors): removed
5681         * BufferView.[Ch] (showErrorList): added
5682         * buffer.C (runChkTeX):
5683         * converter.C (scanLog): call showErrorList instead of inserterrors
5684
5685 2003-05-13  André Pönitz  <poenitz@gmx.net>
5686
5687         * BufferView_pimpl.C:
5688         * buffer.C:
5689         * bufferview_func.C:
5690         * MenuBackend.C:
5691         * lyxfunc.C:
5692         * lyxrc.C:
5693         * tex-accent.C:
5694         * text3.C:
5695         * toc.C:
5696         * tabular_funcs.h: tostr() from its own header
5697
5698         * ParagraphParameters.C:
5699         * ToolbarBackend.C:
5700         * bufferparams.C:
5701         * format.C:
5702         * lyxlex_pimpl.C:
5703         * text3.C: STRCONV()
5704
5705 2003-05-12  André Pönitz  <poenitz@gmx.net>
5706
5707         * BufferView.C:
5708         * BufferView_pimpl.C:
5709         * CutAndPaste.C:
5710         * LaTeX.C:
5711         * LaTeXFeatures.C:
5712         * ParagraphParameters.C:
5713         * buffer.C:
5714         * bufferlist.C:
5715         * bufferparams.C:
5716         * bufferview_funcs.C:
5717         * converter.C:
5718         * counters.C:
5719         * debug.C:
5720         * exporter.C:
5721         * format.C:
5722         * importer.C:
5723         * lyx_cb.C:
5724         * lyx_main.C:
5725         * lyxfont.C:
5726         * lyxfunc.C:
5727         * lyxvc.C:
5728         * paragraph.C:
5729         * paragraph_funcs.C:
5730         * tabular.C:
5731         * tabular_funcs.C:
5732         * text2.C:
5733         * text3.C:  boost::format -> bformat  all over the place
5734
5735
5736 2003-05-09  André Pönitz  <poenitz@gmx.net>
5737
5738         * LColor.[Ch]: Pimpl the #include <map> away
5739
5740 2003-05-09  John Levon  <levon@movementarian.org>
5741
5742         * bufferlist.C: never remove emergency saves
5743
5744 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5745
5746         * Makefile.am: better lib building
5747
5748 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5749
5750         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5751         instead.
5752         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5753         (simpleTeXSpecialChars): adjust
5754         (simpleTeXSpecialChars): adjust
5755         * paragraph.C (simpleTeXOnePar): adjust
5756         * buffer.C (makeLaTeXFile): adjust
5757
5758         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5759
5760         * text2.C (changeDepth): parlist cleanup
5761         (getColumnNearX): ditto
5762
5763         * rowpainter.C (getLabelFont): parlist cleanup
5764
5765         * bufferlist.C (newFile): parlist cleanup
5766
5767         * CutAndPaste.C (eraseSelection): parlist cleanup
5768
5769         * BufferView_pimpl.C (trackChanges): parlist cleanup
5770         (dispatch): ditto
5771
5772         * BufferView.C (lockInset): parlist cleanup.
5773         (ChangeInsets): ditto
5774
5775 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5776
5777         * CutAndPaste.h: Update file header.
5778
5779         * CutAndPaste.C: Update file header.
5780         Store the parts cut out of the Document in a limited_stack.
5781         (copySelection): adjust
5782         (pasteSelection): new function, takes the index in the limited stack.
5783         (nrOfParagraphs): adjust
5784         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5785         simplify error inset insertion.
5786         (checkPastePossible): adjust
5787
5788 2003-05-06  John Levon  <levon@movementarian.org>
5789
5790         * text2.C: don't cast wrap inset to float
5791
5792 2003-05-05  André Pönitz  <poenitz@gmx.net>
5793
5794         * iterator.C:
5795         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5796
5797         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5798           few naked Paragraph *.
5799
5800 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5801
5802         * bufferparams.C: Output warning if a document with missing
5803         TeX document class is loaded
5804         * exporter.C: Disable TeX exports if the document class is missing
5805         * lyxtextclass.C:
5806         * lyxtextclass.h:
5807         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5808         isTeXClassAvailable()
5809
5810 2003-05-03  John Levon  <levon@movementarian.org>
5811
5812         * BufferView.h:
5813         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5814         explicit cursor show/hide
5815
5816         * BufferView_pimpl.h:
5817         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5818         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5819
5820         * lyxfunc.C: hide cursor before dispatching.
5821
5822         * lyx_cb.C:
5823         * lyxfind.C:
5824         * text.C:
5825         * text3.C: remove explicit cursor hides
5826
5827 2003-05-02  André Pönitz  <poenitz@gmx.net>
5828
5829         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5830
5831         * undo_funcs.C:
5832         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5833           linked lists
5834
5835         * text2.C: tiny whitespace
5836
5837 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5838
5839         * undo_funcs.C: almost only ws changes.
5840
5841         * ParagraphList.C (splice): just return if pl is empty.
5842
5843 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5844
5845         * ParagraphList.C (splice): new function.
5846
5847         * CutAndPaste.C (pasteSelection): use it
5848
5849 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5850
5851         * CutAndPaste.C (pasteSelection): remove the last next and
5852         previous from this file.
5853
5854 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5855
5856         * CutAndPaste.C (pasteSelection): more clean up, user proper
5857         ParagraphList functions for pasteing.
5858
5859         * ParagraphList.C (insert): new function, three arg insert
5860
5861 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5862
5863         * ParagraphList.C (insert): new function, three arg insert
5864
5865         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5866         not on paragraphs.
5867
5868 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5869
5870         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5871
5872 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5873
5874         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5875
5876 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5877
5878         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5879         (copySelection): clean up a bit.
5880         (pasteSelection): use make_pair
5881
5882         * ParagraphList.C (ParagraphList): implement copy constructor
5883         (operator=): implement, base on copy constructor.
5884         (assign): new func
5885
5886         * paragraph.C (erase): return a bool
5887
5888         * paragraph_pimpl.C (erasePos): remove function, move contents...
5889         (erase): ... here. Return a bool.
5890         (erase): call erase instead of erasePos.
5891
5892 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5893
5894         * ParagraphList.h: define PitPosPair
5895         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5896         ParagraphList, fix a bug on pasting multiple pars
5897         * text2.C: change interface to C&P
5898
5899 2003-04-30  André Pönitz  <poenitz@gmx.net>
5900
5901         * undo_func.C: revert part of yesterday's patch 2
5902
5903 2003-04-30  John Levon  <levon@movementarian.org>
5904
5905         * LColor.C: s/tabular/table/
5906
5907 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5908
5909         * text3.C (dispatch): do not convert iterator -> pointer
5910         * undo_funcs.C (setCursorParUndo): ditto
5911         * text_funcs.C (transposeChars): ditto
5912
5913         * text2.C (setLayout): ws changes only
5914
5915         * text.C (breakParagraph): do not convert iterator -> pointer
5916         (insertChar): ditto
5917         (acceptChange): ditto
5918         (rejectChange): ditto
5919         (changeCase): ditto
5920         (Delete): ditto
5921         (backspace): ditto
5922
5923         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5924         pointer
5925
5926 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5927
5928         * text3.C (gotoInset): YABG (yet another bad getChar)
5929
5930 2003-04-29  André Pönitz  <poenitz@gmx.net>
5931
5932         * paragraph.h: make operator= private unimplemented as long as
5933           it is unusable
5934
5935         * ParagraphList.C: whitespace
5936
5937         * paragraph.[Ch]:
5938         * paragraph_pimpl.[Ch]:
5939         * paragraph_funcs.C:
5940         * CutAndPaste.C:
5941         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5942
5943         * text2.C:
5944           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5945
5946 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5947
5948         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5949         * paragraph.[Ch] (erase):
5950         * paragraph_pimpl.[Ch] (erase): change return type and value
5951         * text2.C (cutSelection): some rework
5952
5953 2003-04-28  John Levon  <levon@movementarian.org>
5954
5955         * bufferlist.C: changes for unsaved changes dialog
5956
5957 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5958
5959         * bufferlist.C (newFile): set language (messages_) for new
5960         documents also.
5961
5962         * buffer.C (readFile): ws changes only.
5963
5964 2003-04-28  André Pönitz  <poenitz@gmx.net>
5965
5966         * undo_funcs.C:
5967         * lyxfunc.C:
5968         * buffer.[Ch]:
5969         * BufferView_pimpl.C:
5970         * BufferView.C: getParFromID related ParagraphList::iterator changes
5971
5972 2003-04-28  André Pönitz  <poenitz@gmx.net>
5973
5974         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5975           Changes
5976
5977 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5978
5979         * messages.C: remove one more localedir class variable.
5980
5981 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5982
5983         * messages.C (getLocaleDir): singleton generation function
5984         (Pimpl): use it.
5985         (Messages): add a default constructor.
5986
5987         * main.C (main): do not setup localedir here, do not call
5988         gettext_init.
5989
5990         * gettext.C (_): use it.
5991         (gettext_init): delete funciton
5992
5993 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5994
5995         * gettext.C (getLyXMessages): new singleton generating function.
5996
5997         * buffer.C (updateDocLang): adjust
5998
5999         * Makefile.am (messages.o): add target
6000         (main.o): remove target
6001
6002 2003-04-27  John Levon  <levon@movementarian.org>
6003
6004         * bufferlist.C:
6005         * lyx_cb.C:
6006         * lyxfunc.C:
6007         * lyxvc.C: specify cancel button in Alert::prompt
6008
6009 2003-04-26  John Levon  <levon@movementarian.org>
6010
6011         * text3.C:
6012         * lyxfunc.C:
6013         * lfuns.h:
6014         * LyXAction.C: add LFUN_INSET_SETTINGS
6015
6016         * lyxfunc.C: don't enable tabular-feature when there's
6017         just any locking inset
6018
6019 2003-04-26  John Levon  <levon@movementarian.org>
6020
6021         * bufferlist.C: re-add Cancel to buffer close question
6022
6023         * lyxfunc.C: fix import UI a bit
6024
6025 2003-04-25  John Levon  <levon@movementarian.org>
6026
6027         * gettext.C: remove the broken asserts for now
6028
6029 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6030
6031         * messages.C: make case where setlocale cannot comply work better.
6032
6033         * buffer.C (updateDocLang): new function
6034         (changeLanguage): use it
6035         (readFile): use it
6036
6037         * text2.C (setCounter): use B_ a bit.
6038
6039         * lyxlayout.C (Read): be sure to trim the label strings.
6040
6041         * messages.C (Messages): fix typo in comment
6042
6043         * buffer.C (readFile): set message_ after file is loaded.
6044         (makeDocBookFile): remove double return
6045         (changeLanguage): reset message_ upon language change.
6046         (B_): new func, use this to get translated buffer strings.
6047
6048         * main.C: add myself and Jean Marc as authors.
6049
6050 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6051
6052         * messages.[hC]: pimplify Messages, and three different pimpls to be
6053         used in different circumstances.
6054
6055         * gettext.[Ch]: change for use with new message code.
6056
6057 2003-04-24 André Pönitz <poenitz@gmx.net>
6058
6059         * factory.C: support for eqref
6060
6061 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6062
6063         * messages.[Ch]: add missing char
6064
6065         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6066
6067         * messages.[Ch]: New files
6068
6069 2003-04-18  John Levon  <levon@movementarian.org>
6070
6071         * BufferView.h:
6072         * BufferView.C:
6073         * BufferView_pimpl.C:
6074         * lfuns.h:
6075         * LyXAction.C:
6076         * lyxtext.h:
6077         * text2.C: remove layout-copy/paste (bug 778)
6078
6079 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6080
6081         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6082
6083 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6084
6085         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6086         if they succeed. Act accordingly.
6087
6088 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6089
6090         * text2.C (setCharFont): adjust
6091         (setCounter): adjust
6092         (insertStringAsLines): adjust
6093
6094         * text.C (leftMargin): adjust
6095         (setHeightOfRow): adjust
6096
6097         * rowpainter.C (paintFirst): adjust
6098         (paintLast): adjust
6099
6100         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6101         (outerHook): ditto
6102         (isFirstInSequence): ditto
6103         (getEndLabel): ditto
6104         (outerFont): adjust
6105
6106         * paragraph.C (getParLanguage): comment out some hard stuff.
6107
6108         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6109         (sgmlError): ditto
6110         (simpleDocBookOnePar): ditto
6111         (makeDocBookFile): use ParagraphList::iterator
6112
6113         * CutAndPaste.C (pasteSelection): adjust
6114
6115 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6116
6117         * text2.C (getFont): adjust
6118         (getLayoutFont): adjust
6119         (getLabelFont): adjust
6120
6121         * paragraph_funcs.C (TeXOnePar): adjust
6122
6123         * buffer.C (simpleLinuxDocOnePar): adjust
6124         (simpleDocBookOnePar): adjust
6125
6126         * CutAndPaste.C (pasteSelection): adjust
6127
6128         * BufferView.C (getEncoding): adjust
6129
6130         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6131
6132 2003-04-16  John Levon  <levon@movementarian.org>
6133
6134         * lyxfind.C: use parlist stuff for search/changes
6135
6136 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6137
6138         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6139
6140         * text2.C (deleteEmptyParagraphMechanism): adjust
6141
6142         * text2.[Ch] (ownerParagraph): delete func (both of them
6143
6144 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6145
6146         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6147
6148 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6149
6150         * ParagraphList.C: prepare for NO_NEXT
6151
6152 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6153
6154         * text2.C (getFont): adjust
6155         (getLayoutFont): adjust
6156         (getLabelFont): adjust
6157
6158         * paragraph.C (getFont): adjust
6159         (getLabelFont): adjust
6160         (getLayoutFont): adjust
6161
6162         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6163
6164 2003-04-15  John Levon  <levon@movementarian.org>
6165
6166         From Angus Leeming
6167
6168         * lyx_main.C: handle Include in .ui files
6169
6170 2003-04-15  John Levon  <levon@movementarian.org>
6171
6172         * MenuBackend.C: make the doc files length shorter
6173
6174         * ToolbarBackend.h:
6175         * ToolbarBackend.C: handle toolbar placement flags,
6176         Minibuffer
6177
6178 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6179
6180         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6181         adjust
6182
6183         * paragraph_funcs.C (TeXOnePar): adjust
6184
6185         * paragraph.C (getLabelFont): add outerfont arg, adjust
6186         (getLayoutFont): ditto
6187         (simpleTeXOnePar): adjust
6188
6189         * paragraph_pimpl.C (realizeFont): delete func
6190
6191 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6192
6193         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6194         row argument, constify cur argument.
6195
6196 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6197
6198         * text2.C (getFont): adjust
6199         (getLayoutFont): adjust
6200         (getLabelFont): adjust
6201
6202         * paragraph_funcs.C (TeXOnePar): adjust
6203         (outerFont): new func...
6204         (realizeFont): ...moved out from here, changed this to facilitate
6205         transition
6206
6207         * paragraph.C (getFont): take outerfont as arg, adjust
6208         (simpleTeXOnePar): add outerfont arg, adjust
6209
6210         * buffer.C (simpleLinuxDocOnePar): adjust
6211         (simpleDocBookOnePar): adjust
6212
6213         * CutAndPaste.C (pasteSelection): adjust
6214
6215         * BufferView.C (getEncoding): adjust
6216
6217 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6218
6219         * text2.C (setCharFont): adjust
6220         (setCounter): adjust
6221
6222         * text.C (leftMargin): adjust
6223         (setHeightOfRow): adjust
6224
6225         * rowpainter.C (paintFirst): adjust
6226         (paintLast): adjust
6227
6228         * paragraph_pimpl.C (realizeFont): adjust
6229
6230         * paragraph.C (isFirstInSequence): move from here...
6231         * paragraph_funcs.C (isFirstInSequence): ...to here
6232
6233         * paragraph.C (outerHook): move from here...
6234         * paragraph_funcs.C (outerHook): ...to here
6235
6236         * paragraph.C (depthHook): move from here...
6237         * paragraph_funcs.C (depthHook): ...to here
6238
6239         * paragraph.C (getEndLabel): move from here...
6240         * paragraph_funcs.C (getEndLabel): ...to here
6241
6242         * text2.C (realizeFont): move from here...
6243         * paragraph_funcs.C (realizeFont): ...to here
6244
6245 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6246
6247         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6248
6249 2003-04-14  Angus Leeming  <leeming@lyx.org>
6250
6251         * LColor.[Ch]: scrap LColor mathcursor.
6252
6253 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6254
6255         * lyxlex.[Ch] (text): delete function
6256         * trans.C (Load): adjust
6257         * paragraph_funcs.C (readParToken): adjust
6258
6259 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6260
6261         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6262         vector<char> instead of a char[].
6263
6264         * lyxlex_pimpl.C (getString): adjust
6265         (next): adjust
6266         (lex): use getString
6267         (eatLine): adjust
6268         (nextToken): adjust
6269
6270         * lyxlex.C (text): use pimpl_->getString()
6271         (getBool): ditto
6272         (findToken): ditto
6273
6274 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6275
6276         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6277         (makeFontEntriesLayoutSpecific): temp var for par.size()
6278         (setLayout): temp var for ownerParagraphs().end()
6279         (fullRebreak): temp var for rows().end()
6280         (selectionAsString): temp var for boost::next(startpit), realize
6281         that the while really is a regular for loop.
6282         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6283         setCursor in one place.
6284         (setParagraph): temp vr for ownerParagraphs().end()
6285         (updateCounters): make the while loop a for loop
6286         (cutSelection): temp var for ownerParagraphs().end()
6287         (updateInset): make the do {} while() a regular for loop
6288         (getCursorX): use temp vars
6289         (setCurrentFont): use temp vars
6290         (getColumnNearX): use temp vars
6291
6292 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6293
6294         * text.C (transformChar): use temp var for getChar
6295         (computeBidiTables): use temp var for row->par()
6296         (fill): move temp vars for row->par() and pit->layout() earlier in
6297         the function.
6298         (labelFill): use temp var for row->par()
6299         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6300         asc and desc, realize that pit never changes and that firstpit is
6301         just a duplicate and not needed. Exchange rit->par() with pit in a
6302         lot of places.
6303         (breakAgain): use a temp var for boost::next(rit)
6304         (breakAgainOneRow): ditto
6305         (breakParagraph): use a temp var for rows().begin()
6306         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6307         (cursorRightOneWord): use temp var for cursor.par() and
6308         cursor.pos(), remove usage of tmpcursor.
6309         (cursorLeftOneWord): use temp var for cursor.par() and
6310         cursor.pos() only set cur at end of function.
6311
6312 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6313
6314         * text.C, text2.C: exchange all usage of Paragraph::next with
6315         boost::next(ParagraphList::iterator)
6316
6317         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6318
6319         * text2.C (cursorTop): simplify implementation
6320         (cursorBottom): ditto
6321         (setParagraph): use ParagraphList::iterator
6322         (setCurrentFont): adjust
6323         (getColumnNearX): adjust
6324         (cursorRight): adjust
6325         (cursorLeft): remove usage of Paragraph::previous
6326         (cursorUpParagraph): ditto
6327         (deleteEmptyParagraphMechanism): slight cleanup
6328
6329         * text.C (isBoundary): take a Paragraph const & instead of a
6330         pointer as arg.
6331         (addressBreakPoint): ditto
6332         (leftMargin): remove usage of Paragraph::previous.
6333         (setHeightOfRow): ditto
6334         (cursorLeftOneWord): ditto
6335         (selectNextWordToSpellcheck): ditto
6336         (Delete): ditto
6337         (backspace): ditto
6338         (breakParagraph): remove one usage of Paragraph::next
6339         (redoParagraph): ditto
6340         (acceptChange): ditto
6341         (insertChar): adjust
6342         (rowBreakPoint): adjust
6343
6344         * bufferview_funcs.C (toggleAndShow): adjust
6345
6346 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6347
6348         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6349         methods to access it.
6350         * lyxtext.h:
6351         * text.C: Added updateRowPositions to compute all row positions.
6352         Make top_y and getRowNearY() to use the cached y position
6353
6354 2003-04-11  John Levon  <levon@movementarian.org>
6355
6356         * text.C (rowBreakPoint): reintroduce the labelEnd
6357         checks, code copied from the row fill stuff. Deep voodoo.
6358
6359         * text.C (fill): add a comment and debugging for the
6360         next poor soul.
6361
6362 2003-04-11  John Levon  <levon@movementarian.org>
6363
6364         * text.C: make sure fullrow insets get wrapped to the next line,
6365         even when they're in a manual label
6366
6367 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6368
6369         * text2.C (insertParagraph): make it take ParagraphList::iterator
6370         as arg.
6371         (setLayout): make it return ParagraphList::iterator
6372         (redoParagraphs): ditto
6373         (setCounter): ditto
6374         (checkParagraph): ditto
6375
6376         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6377
6378         * text2.C: adjust several funcs.
6379         (realizeFont): take a ParagraphList::iterator as arg.
6380         (getLayoutFont): ditto
6381         (getLabelFont): ditto
6382         (setCharFont): ditto
6383
6384         * text.C: adjust several funcs.
6385
6386 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6387
6388         * text.C (selectNextWordToSpellcheck): don't accidentally
6389         skip insets
6390
6391 2003-04-10  John Levon  <levon@movementarian.org>
6392
6393         * ToolbarBackend.C (getIcon): special handling for
6394         LFUN_MATH_DELIM
6395
6396 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6397
6398         * text2.C (cursorRight): a getChar assert fixed
6399
6400 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6401
6402         * text2.C (getFont): change to take a ParagraphList::iterator
6403         instead of Paragraph*
6404         Adjust several functions.
6405
6406         * text.C (transformChar): change to take a ParagraphList::iterator
6407         instead of Paragraph*
6408         (singleWidth): ditto
6409         Adjust several functions.
6410
6411         * rowpainter.C: adjust several functions
6412         * rowpainter.h:store a ParagraphList::iterator and not a
6413         Paragraph&.
6414
6415
6416 2003-04-09  John Levon  <levon@movementarian.org>
6417
6418         * lyxfunc.C:
6419         * lfuns.h:
6420         * LyXAction.h:
6421         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6422         and the "help" bits as well
6423
6424 2003-04-09  John Levon  <levon@movementarian.org>
6425
6426         * ToolbarBackend.h:
6427         * ToolbarBackend.C: allow multiple toolbars
6428
6429 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6430
6431         * undo_funcs.C (setCursorParUndo): adjust
6432
6433         * text_funcs.C (transposeChars): adjust
6434
6435         * text3.C (gotoNextInset): adjust
6436         (dispatch): adjust
6437
6438         * text2.C (setLayout): adjust
6439         (changeDepth): adjust
6440         (setFont): adjust
6441         (redoParagraphs): adjust
6442         (selectionAsString): adjust
6443         (setParagraph): adjust
6444         (insertInset): adjust
6445         (cutSelection): adjust
6446         (copySelection): adjust
6447         (pasteSelection): adjust
6448         (insertStringAsLines): adjust
6449         (updateInset): adjust
6450         (setCursor): change to take a ParagraphList::iterator parameter
6451         (setCursorIntern): change to take a ParagraphList::iterator parameter
6452         (setCurrentFont): adjust
6453         (cursorLeft): adjust
6454         (cursorRight): adjust
6455         (deleteEmptyParagraphMechanism): adjust
6456
6457         * text.C (breakParagraph): adjust
6458         (insertChar): adjust
6459         (acceptChange): adjust
6460         (rejectChange): adjust
6461         (selectNextWordToSpellcheck): adjust
6462         (changeCase): adjust
6463         (Delete): adjust
6464         (backspace): adjust
6465
6466         * lyxfind.C (SearchForward): adjust
6467         (SearchBackward): adjust
6468         (nextChange): adjust
6469
6470         * lyxcursor.C (par): adjust
6471
6472         * lyxcursor.h: store a ParagraphList::iterator instead of a
6473         Paragraph*
6474
6475         * lyx_cb.C (getPossibleLabel): adjust
6476
6477         * bufferview_funcs.C (toggleAndShow): adjust
6478
6479         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6480         (dispatch): adjust
6481
6482         * BufferView.C (removeAutoInsets): adjust
6483         (lockedInsetStoreUndo): adjust
6484
6485 2003-04-09  John Levon  <levon@movementarian.org>
6486
6487         * ToolbarBackend.C: try icon without argument
6488         if with argument fails
6489
6490 2003-04-08  John Levon  <levon@movementarian.org>
6491
6492         * ToolbarBackend.h:
6493         * ToolbarBackend.C: add getIcon(), handle tooltip,
6494         and change from "Icon" to "Item".
6495
6496 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6497
6498         * BufferView.C (lockInset): another bad getchar crunched
6499
6500 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6501
6502         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6503         again)
6504
6505 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6506
6507         * lyxfind.C (searchForward, searchBackwards): bug 782
6508
6509 2003-04-07  John Levon  <levon@movementarian.org>
6510
6511         * paragraph.C: remove dead comment
6512
6513         * text.C: remove troublesome depth-fiddling code
6514         in leftMargin() and rightMargin() (bug 1017)
6515
6516         * text.C: fix breaking of rows in nested lists
6517         (bug 1004)
6518
6519         * text2.C (updateCounters): fix up depth values
6520         (bug 1013)
6521
6522 2003-04-07  John Levon  <levon@movementarian.org>
6523
6524         * BufferView_pimpl.C: clear message when doc finishes resizing,
6525         and after a mouse event
6526
6527         * lyxfunc.C: clear message after exiting inset
6528
6529 2003-04-07  John Levon  <levon@movementarian.org>
6530
6531         * bufferview_funcs.C: show math status not outside
6532         status in the statusbar
6533
6534 2003-04-07  John Levon  <levon@movementarian.org>
6535
6536         * lyxfunc.C: note status changed after a depth change
6537
6538 2003-04-04  Angus Leeming  <leeming@lyx.org>
6539
6540         * LaTeX.h: move AuxInfo operator==, != out of line.
6541         Remove LaTeX virtual destructor; nothing derives from it.
6542         Move operator()() out of public area and rename it startscript().
6543         Change protected for private.
6544
6545 2003-04-04  Angus Leeming  <leeming@lyx.org>
6546
6547         * lyxfunc.C:
6548         * text2.C: remove unneeded #includes.
6549
6550 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6551
6552         * text2.C (dEPM): fix the heigth of the next row
6553
6554 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6555
6556         * text.C: squashed an invalid getChar requester + some ws changes
6557
6558 2003-04-03  John Levon  <levon@movementarian.org>
6559
6560         * bufferview_funcs.h:
6561         * bufferview_funcs.C:
6562         * lyxfunc.C:
6563         * lyxtext.h:
6564         * text2.C: make getStatus work for the env depth lfuns
6565
6566 2003-04-03  John Levon  <levon@movementarian.org>
6567
6568         * bufferview_funcs.h:
6569         * bufferview_funcs.C:
6570         * lyxfunc.C:
6571         * lyxtext.h:
6572         * text2.C: parlistize decDepth(), by merging it with incDepth()
6573
6574 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6575
6576         * lyxrow.h: store a ParagraphList::iterator instead of a
6577         Paragraph* and adjust other class functions to suit.
6578
6579         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6580         above.
6581
6582 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6583
6584         * text2.C (setCursor): do not anchor to cursor row for the time being
6585
6586 2003-04-02  John Levon  <levon@movementarian.org>
6587
6588         * LyXAction.C:
6589         * lfuns.h:
6590         * lyx_main.C:
6591         * lyxtext.h:
6592         * text.C:
6593         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6594
6595 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6596
6597         * paragraph.h: make ParagraphList and ParagraphList::iterator
6598         friends of Paragraph.
6599
6600         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6601
6602         * ParagraphList.C: Use the private next_ and previous_ from
6603         Paragraph.
6604
6605 2003-04-01  John Levon  <levon@movementarian.org>
6606
6607         * ToolbarBackend.h:
6608         * ToolbarBackend.C:
6609         * Makefile.am: rename, remove defaults gunk
6610
6611         * MenuBackend.h:
6612         * MenuBackend.C: remove defaults gunk
6613
6614         * Languages.h:
6615         * Languages.C: remove defaults gunk
6616
6617         * lyx_main.h:
6618         * lyx_main.C: error out if files couldn't be found.
6619
6620 2003-04-02  John Levon  <levon@movementarian.org>
6621
6622         * text2.C: make incDepth() use parlist
6623
6624 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6625
6626         * undo_funcs.C (firstUndoParagraph): adjust
6627
6628         * text3.C (gotoInset): adjust
6629         (dispatch): adjust, and rewrite loop.
6630
6631         * text2.C (init): adjust, and rewrite loop.
6632         (redoParagraphs): adjust
6633         (updateInset): adjust, and rewrite loop.
6634         (deleteEmptyParagraphMechanism): adjust
6635
6636         * tabular.C (LyXTabular): adjust
6637         (SetMultiColumn): adjust
6638         (TeXRow): adjust
6639
6640         * lyxtext.[Ch] (ownerParagraph): delete function
6641         (ownerParagraphs): new function returns a ParagraphList.
6642
6643         * BufferView.C (removeAutoInsets): adjust
6644         (insertErrors): adjust
6645         (setCursorFromRow): adjust
6646
6647 2003-04-01  Angus Leeming  <leeming@lyx.org>
6648
6649         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6650         in the frontends.
6651
6652 2003-04-02  John Levon  <levon@movementarian.org>
6653
6654         * lyxtext.h:
6655         * text.C:
6656         * Makefile.am:
6657         * text_funcs.h:
6658         * text_funcs.C: make transposeChars a free function
6659
6660         * lyxrow_funcs.C: remove wrong comment
6661
6662 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6663
6664         * lyxtext.h: adjust
6665         * rowpainter.C: adjust
6666         * text.C: adjust
6667         * text2.C: adjust
6668         * text3.C: adjust
6669
6670         * lyxrow_funcs. [Ch]: new files
6671
6672         * lyxrow.[Ch]: remove next and previous pointers
6673         (next,previous): remove accessor functions
6674         (isParEnd): move to lyxrow_funcs
6675         (lastPos): move to lyxrow_funcs
6676         (nextRowIsAllInset): move to lyxrow_funcs
6677         (lastPrintablePos): move to lyxrow_funcs
6678         (numberOfSeparators): move to lyxrow_funcs
6679         (numberOfHfills): move to lyxrow_funcs
6680         (numberOfLabelHfills): move to lyxrow_funcs
6681         (hfillExpansion): move to lyxrow_funcs
6682
6683         * lyxfunc.C: adjust
6684
6685         * bufferview_funcs.C (toggleAndShow): adjust
6686
6687         * RowList.h: Remove class RowList from file leave just a
6688         std::list<Row>.
6689
6690         * RowList.C: delete file
6691
6692         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6693         and lyxrow_funcs.h
6694
6695 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6696
6697         * text3.C (cursorPrevious): adjust
6698         (cursorNext): adjust
6699         (dispatch): adjust
6700
6701         * text2.C (redoHeightOfParagraph): adjust
6702         (redoDrawingOfParagraph): adjust
6703         (setCursor): adjust
6704
6705         * text.C (breakParagraph): adjust
6706         (insertChar): adjust
6707         (backspace): adjust
6708
6709         * rowpainter.C (RowPainter): adjust
6710         (leftMargin): simplify and adjust
6711         (most rowpainter functions): adjust.
6712
6713         * rowpainter.h: store the row as RowList::iterator not as Row*
6714
6715         * lyxcursor.C (row): taka RowList::iterator as arg
6716         (irow): ditto
6717
6718         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6719         of Row*.
6720
6721 2003-04-01  Angus Leeming  <leeming@lyx.org>
6722
6723         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6724         stuff like bool Bool.
6725
6726 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6727
6728         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6729         rewrite a loop
6730
6731 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6732
6733         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6734         RowList::iterator.
6735
6736         * lyxtext.h (rows): drop one version and leve a const variant that
6737         returns a RowList::iterator.
6738
6739 2003-03-31  Angus Leeming  <leeming@lyx.org>
6740
6741         * text.C (fill): ensure that the signature is the same as that in the
6742         header file.
6743
6744 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6745
6746         * text2.C (redoParagraphs): adjust
6747         (updateCounters): adjust
6748         (checkParagraph): adjust
6749         (getColumnNearX): adjust and reformat a bit.
6750
6751         * text.C (top_y): adjust
6752         (workWidth): adjust
6753         (leftMargin): adjust
6754         (prepareToPrint): adjust
6755         (getRow): adjust
6756         (getRowNearY): adjust
6757
6758         * lyxtext.h: make rowlist_ mutable.
6759
6760         * RowList.h: add const_iterator
6761         * RowList.C: adjust for RowList::const_iterator.
6762
6763         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6764         adjust.
6765
6766 2003-03-31  John Levon  <levon@movementarian.org>
6767
6768         * lyxrc.h:
6769         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6770
6771         * lyx_main.C: set default fonts from using lyx_gui funcs
6772
6773         * exporter.C: pdf_mode moved from lyxrc
6774
6775         * lyx_cb.C:
6776         * lyxfunc.C: changes from above
6777
6778 2003-03-31  John Levon  <levon@movementarian.org>
6779
6780         * lyx_main.C: fix to the last fix
6781
6782 2003-03-31  John Levon  <levon@movementarian.org>
6783
6784         * bufferlist.C: "Load original" -> "Load Original"
6785
6786         * converter.C:
6787         * exporter.C:
6788         * importer.C:
6789         * lyx_main.C:
6790         * format.C: more Alert cleanups
6791
6792 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6793
6794         * text2.C (removeParagraph): make it take a RowList::iterator as
6795         arg, adjust.
6796         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6797         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6798
6799         * text.C (anchor_row): make it take a RowList::iterator as arg,
6800         adjust.
6801         (computeBidiTables): make it take a const reference to Row instead
6802         of Row pointer, adjust.
6803         (leftMargin): make it take a RowList::iterator as arg, adjust.
6804         (rowBreakPoint): adjust
6805         (breakAgainOneRow): make it take a RowList::iterator as arg,
6806         adjust.
6807         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6808
6809         * bufferview_funcs.C (toggleAndShow): adjust
6810
6811 2003-03-30  John Levon  <levon@movementarian.org>
6812
6813         * Makefile.am:
6814         * BoostFormat.h:
6815         * boost-inst.C: moved to support
6816
6817         * several files: changes as a result
6818
6819 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6820
6821         * text2.C (LyXText): adjust.
6822         (init): adjust
6823         (removeRow): make it take a RowList::iterator as arg, adjust.
6824         (fullRebreak): adjust
6825         (deleteEmptyParagraphMechanism): adjust
6826         (clearPaint): adjust
6827         (postPaint): adjust
6828
6829         * text.C (top_y): adjust
6830         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6831         (breakAgain): make it take a RowList::iterator as arg, adjust.
6832         (breakParagraph): adjust
6833         (insertChar): adjust
6834         (backspace): adjust
6835
6836         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6837         need_break_row, and refresh_row.
6838
6839         * text3.C (dispatch): adjust
6840
6841         * text2.C (checkParagraph): adjust
6842         (setCursor): adjust
6843         (setCursorFromCoordinates): adjust
6844
6845         * text.C (top_y): adjust
6846         (workWidth): adjust
6847         (getRow): make it return a RowList::iterator, adjust
6848         (getRowNearY): make it return a RowList::iterator, adjust
6849
6850         * text2.C (init): adjust
6851         (insertRow): remove function
6852         (insertParagraph): adjust
6853         (redoParagraphs): adjust
6854         (fullRebreak): adjust
6855         (updateCounters): adjust
6856
6857         * text.C (top_y): rewrite to use RowList iterators.
6858         (top_y): adjust
6859         (setHeightOfRow): rewrite to sue RowList iterators.
6860         (appendParagraph): adjust
6861         (breakAgain): adjust
6862         (breakAgainOneRow): adjust
6863         (breakParagraph): adjust
6864         (getRow): adjust
6865         (getRowNearY): adjust, and remove commented code.
6866
6867         * lyxtext.h (firstRow): delete function
6868         (lastRow): delete function
6869         (rows): new function (const and non-const versions.)
6870         (insertRow): delete function
6871
6872         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6873
6874 2003-03-29  John Levon  <levon@movementarian.org>
6875
6876         * BufferView_pimpl.C: always update scrollbar top
6877         because pasting text when we're anchored could mean we
6878         miss an update altogether
6879
6880 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6881
6882         * text2.C (init): use rowlist_.end() and not 0.
6883         (insertRow): change to take a RowList::iterator as arg, adjust
6884         for this.
6885         (insertParagraph): change to take a RowList::iterator as arg,
6886         adjust for this.
6887         (redoParagraphs): remove some debug msgs.
6888
6889         * text.C (appendParagraph): change to take a RowList::iterator
6890         arg, adjust for this.
6891         (breakAgain): add an assert
6892         (breakAgainOneRow): ditto
6893
6894 2003-03-29  John Levon  <levon@movementarian.org>
6895
6896         * text2.C: do not clear selection after inc/decDepth
6897         (bug 550)
6898
6899 2003-03-29  John Levon  <levon@movementarian.org>
6900
6901         * BufferView.C:
6902         * buffer.C: fix broken strerrors according to Lars
6903
6904 2003-03-29  John Levon  <levon@movementarian.org>
6905
6906         * converters.C: more Alert cleanups
6907
6908 2003-03-29  John Levon  <levon@movementarian.org>
6909
6910         * bufferview_funcs.C: remove pointless Alert
6911
6912         * buffer.C: fix confusing error message when
6913         a template is chmoded 000
6914
6915 2003-03-29  John Levon  <levon@movementarian.org>
6916
6917         * BufferView.C:
6918         * BufferView.h:
6919         * BufferView_pimpl.C: Alert fixes
6920
6921         * Makefile.am:
6922         * tabular.C:
6923         * tabular-old.C: remove unused table compat reading
6924
6925 2003-03-29  John Levon  <levon@movementarian.org>
6926
6927         * BufferView.C:
6928         * buffer.C:
6929         * lyx_cb.h:
6930         * lyx_cb.C: more Alert cleanups
6931
6932         * lyxfunc.C: don't allow chktex if not latex document
6933
6934 2003-03-29  John Levon  <levon@movementarian.org>
6935
6936         * lyx_cb.C:
6937         * BufferView.C:
6938         * buffer.C: warnings pushed down from support/,
6939         kill err_alert
6940
6941 2003-03-29  John Levon  <levon@movementarian.org>
6942
6943         * lyxfunc.C: safety check for C-r (revert)
6944
6945 2003-03-29  John Levon  <levon@movementarian.org>
6946
6947         * bufferlist.h:
6948         * bufferlist.C: several UI fixes using Alert::prompt.
6949         Fix the pointless looping quit code. Fix stupid revert
6950         behaviour (bug 938)
6951
6952         * lyxvc.h:
6953         * lyxvc.C:
6954         * lyx_cb.C: use Alert::prompt
6955
6956         * lyx_main.C: remove a silly question
6957
6958         * lyxfunc.C: remove a couple of silly questions,
6959         use Alert::prompt
6960
6961 2003-03-28  John Levon  <levon@movementarian.org>
6962
6963         * text2.C: fix bug 974 (End on empty par)
6964
6965 2003-03-28  John Levon  <levon@movementarian.org>
6966
6967         * BufferView_pimpl.C:
6968         * LyXAction.C:
6969         * lfuns.h: remove do-nothing math greek lfuns
6970
6971 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6972
6973         * lyxgluelength.h (isValidGlueLength): add default arg on
6974         parameter 2. Remove default arg from friend in class.
6975
6976         * lyxlength.h (isValidLength): add default arg on parameter 2.
6977         Remove default arg from friend in class.
6978
6979         * text2.C (LyXText): adjust, initialize refresh_row.
6980         (init): adjust
6981         (removeRow): adjust
6982         (insertRow): adjust
6983         (insertParagraph): adjst
6984         (redoParagraphs): adjust
6985         (fullRebreak): adjust
6986         (updateCounters): adjust
6987         (deleteEmptyParagraphMechanism): first attempt at fixing a
6988         crashing bug.
6989
6990         * text.C (top_y): adjust
6991         (setHeightOfRow): adjust
6992         (getRow): adjust
6993         (getRowNearY): adjust
6994
6995         * lyxtext.h: include RowList.h
6996         (~LyXText): not needed anymore, deleted.
6997         (firstRow): modify for RowList
6998         (lastRow): new function
6999         Delete firstrow and lastrow class variables, add a Rowlist
7000         rowlist_ class variable.
7001
7002         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7003         paragraph is empty.
7004
7005         * RowList.C (insert): fix case where it == begin().
7006
7007 2003-03-26  Angus Leeming  <leeming@lyx.org>
7008
7009         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7010         the thesaurus dialog.
7011
7012 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7013
7014         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7015
7016         * RowList.[Ch]: new files
7017
7018         * ParagraphList.C (erase): handle the case where it == begin
7019         correctly.
7020
7021 2003-03-25  John Levon  <levon@movementarian.org>
7022
7023         * Makefile.am:
7024         * aspell_local.h:
7025         * aspell.C: add new aspell support
7026
7027         * lyxrc.h:
7028         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7029         have it accessible.
7030
7031 2003-03-25  Angus Leeming  <leeming@lyx.org>
7032
7033         * lfuns.h:
7034         * LyXAction.C (init): new LFUN_INSET_INSERT.
7035
7036         * BufferView_pimpl.C (dispatch): split out part of the
7037         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7038
7039         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7040         LFUN_INSET_APPLY.
7041
7042 2003-03-25  Angus Leeming  <leeming@lyx.org>
7043
7044         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7045
7046 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7047
7048         * text2.C:
7049         * text3.C: remove useless row->height(0)
7050
7051 2003-03-25  John Levon  <levon@movementarian.org>
7052
7053         * lyxtext.h:
7054         * text2.C:
7055         * text3.C: rename the refreshing stuff to better names
7056
7057 2003-03-24  John Levon  <levon@movementarian.org>
7058
7059         * BufferView_pimpl.h:
7060         * BufferView_pimpl.C: update layout choice on a mouse
7061         press/release
7062
7063 2003-03-23  John Levon  <levon@movementarian.org>
7064
7065         * Makefile.am: fix commandtags.h reference
7066
7067 2003-03-22  John Levon  <levon@movementarian.org>
7068
7069         * BufferView_pimpl.C:
7070         * lyxtext.h:
7071         * rowpainter.C:
7072         * rowpainter.h:
7073         * text.C:
7074         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7075
7076 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7077
7078         * lyxtext.h:
7079         * text.C: take the rtl methods out of line
7080
7081 2003-03-21 André Pönitz <poenitz@gmx.net>
7082
7083         * metricsinfo.[Ch]: new files containing structures to be passed around
7084         during the two-phase-drawing...
7085
7086 2003-03-21 André Pönitz <poenitz@gmx.net>
7087
7088         * lyxtextclass.C: read 'environment' tag.
7089
7090 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7091
7092         * text2.C (removeRow): fix bug 964
7093
7094 2003-03-20  John Levon  <levon@movementarian.org>
7095
7096         * rowpainter.C:
7097         * text.C:
7098         * text2.C: paint cleanups. Inset::update() dropped font
7099         parameter
7100
7101 2003-03-19  John Levon  <levon@movementarian.org>
7102
7103         * lyxfunc.C: only fitcursor/markDirty if available()
7104
7105 2003-03-19  John Levon  <levon@movementarian.org>
7106
7107         * commandtags.h: rename to ...
7108
7109         * lfuns.h: ... this, and renumber / cleanup
7110
7111 2003-03-19  John Levon  <levon@movementarian.org>
7112
7113         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7114         fit the cursor after an lfun
7115
7116         * BufferView.h:
7117         * BufferView.C:
7118         * BufferView_pimpl.h:
7119         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7120
7121         * LyXAction.C: layout-character should have ReadOnly
7122
7123         * ParagraphParameters.C:
7124         * buffer.C:
7125         * bufferview_funcs.C:
7126         * lyx_cb.C:
7127         * lyxfind.C:
7128         * lyxtext.h:
7129         * text.C:
7130         * text2.C:
7131         * text3.C:
7132         * undo_funcs.C: changes from above
7133
7134 2003-03-18  John Levon  <levon@movementarian.org>
7135
7136         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7137         remove it from update()
7138
7139         * lyxfunc.C: update layout choice after an lfun
7140
7141         * text3.C: remove extra updateLayoutChoice()s
7142
7143 2003-03-18  John Levon  <levon@movementarian.org>
7144
7145         * text.C: top_y change means full repaint, fix
7146         a drawing bug with cursor movement
7147
7148 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7149
7150         * lyxtext.h:
7151         * text.C:
7152         * text2.C: anchor row on setCursor
7153
7154 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7155
7156         * lyxtext.h: remove almost all mutable keywords
7157         * text.C:
7158         * text2.C:
7159         * text3.C: remove const keywords accordingly
7160
7161 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7162
7163         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7164         anon namespace
7165         (TeXEnvironment): ditto
7166         (TeXOnePar): ditto
7167
7168 2003-03-17  John Levon  <levon@movementarian.org>
7169
7170         * text.C (rowBreakPoint): remove attempt to fix displayed
7171         math insets inside a manual label
7172
7173 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7174
7175         * lyxtext.h: remove BufferView* as first arg from almost all class
7176         functions.
7177         * other files: adjust.
7178
7179 2003-03-17  John Levon  <levon@movementarian.org>
7180
7181         * lyxtext.h:
7182         * undo_funcs.C:
7183         * text2.C: more paint cleanups
7184
7185         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7186
7187         * rowpainter.h:
7188         * rowpainter.C: remove "smart" background painting code
7189
7190 2003-03-16  John Levon  <levon@movementarian.org>
7191
7192         * lyxtext.h:
7193         * text.C:
7194         * text2.C:
7195         * text3.C: add helper functions for setting refresh_row/y
7196
7197 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7198
7199         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7200         newline inset which *can* get inserted in the pass_thru layouts.
7201         This is primarily for literate documents.
7202
7203 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7204
7205         * buffer.C: increment LYX_FORMAT to 223
7206
7207 2003-03-14 André Pönitz <poenitz@gmx.net>
7208
7209         * textclass.h: prepare for environment handling, ws changes
7210         * lyxlayout.C: read latexheader and latexfooter tags
7211
7212 2003-03-14  John Levon  <levon@movementarian.org>
7213
7214         * text2.C: rewrite ::status() a bit
7215
7216 2003-03-13  John Levon  <levon@movementarian.org>
7217
7218         * lyxtext.h: add some docs
7219
7220 2003-03-13  John Levon  <levon@movementarian.org>
7221
7222         * lyxtext.h:
7223         * text.C:
7224         * text2.C:
7225         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7226
7227 2003-03-13  John Levon  <levon@movementarian.org>
7228
7229         * text3.C: fix appendix redrawing
7230
7231 2003-03-13  John Levon  <levon@movementarian.org>
7232
7233         * text.C (setHeightOfRow):
7234         * rowpainter.h:
7235         * rowpainter.C: make appendix mark have the text
7236           "Appendix" so the user knows what it is
7237
7238         * LColor.h:
7239         * LColor.C: s/appendixline/appendix/ from above
7240
7241 2003-03-13  John Levon  <levon@movementarian.org>
7242
7243         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7244
7245         * text.C: fix a getChar(pos) bug properly
7246
7247 2003-03-13  Angus Leeming  <leeming@lyx.org>
7248
7249         * commandtags.h:
7250         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7251         Probably only temporary. Let's see how things pan out.
7252
7253         * BufferView.C (unlockInset):
7254         * BufferView_pimpl.C (fitCursor):
7255         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7256
7257         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7258         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7259
7260         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7261         new functions that convert ParagraphParameters to and from a string.
7262
7263         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7264         BufferView::Pimpl's dispatch.
7265         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7266
7267 2003-03-13 André Pönitz <poenitz@gmx.net>
7268
7269         * lyxfunc.C:
7270         * text3.C:
7271         * factory.C: make it aware of InsetEnv
7272
7273 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7274
7275         * text2.C (setCursor): never ask for one past last
7276         (setCursor): add some debugging messages.
7277
7278         * text.C (singleWidth): never ask for one past last
7279         (singleWidth): ditto
7280         (leftMargin): ditto
7281         (rightMargin): ditto
7282         (rowBreakPoint): ditto
7283         (setHeightOfRow): ditto
7284         (prepareToPrint): ditto
7285
7286         * rowpainter.C (paintBackground): never ask for one past last
7287         (paintText): never ask for one past last
7288
7289         * paragraph_pimpl.C (getChar): make the assert stricter, never
7290         allow the one past last pos to be taken
7291
7292         * paragraph.C (getChar): ws changes only
7293
7294         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7295         (numberOfSeparators): ditto
7296         (numberOfHfills): ditto
7297
7298 2003-03-12  John Levon  <levon@movementarian.org>
7299
7300         * author.h:
7301         * author.C:
7302         * bufferparams.h:
7303         * bufferparams.C:
7304         * paragraph_funcs.C: fix per-buffer authorlists
7305
7306 2003-03-12  John Levon  <levon@movementarian.org>
7307
7308         * text.C: fix newline in right address
7309
7310 2003-03-12  Angus Leeming  <leeming@lyx.org>
7311
7312         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7313         duplicate those in LyXFunc::dispatch.
7314
7315         * commandtags.h:
7316         * LyXAction.C:
7317         * ToolbarDefaults.C:
7318         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7319         Add LFUN_FONTFREE_UPDATE.
7320
7321         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7322         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7323
7324         * bufferview_func.[Ch]: several new functions to facilliate
7325         transfer of data to and from the character dialog.
7326
7327 2003-03-12  John Levon  <levon@movementarian.org>
7328
7329         * buffer.C:
7330         * paragraph.h:
7331         * paragraph.C:
7332         * paragraph_funcs.C:
7333         * paragraph_pimpl.C:
7334         * sgml.C:
7335         * tabular.C:
7336         * text.C:
7337         * text3.C: remove META_NEWLINE in favour of an inset
7338
7339         * rowpainter.h:
7340         * rowpainter.C: remove paintNewline (done by inset)
7341
7342 2003-03-12  John Levon  <levon@movementarian.org>
7343
7344         * paragraph_pimpl.C: complain about bad getChar()s
7345         for a while at least
7346
7347 2003-03-12  John Levon  <levon@movementarian.org>
7348
7349         * buffer.h:
7350         * buffer.C: move paragraph read into a separate function,
7351         a little renaming to reflect that.
7352
7353         * bufferparams.h:
7354         * bufferparams.C: remove the author_ids map, not necessary now
7355
7356         * factory.h:
7357         * factory.C: moved Buffer::readInset to here
7358
7359         * paragraph_funcs.h:
7360         * paragraph_funcs.C: readParagraph free function moved from
7361         buffer.C
7362
7363         * tabular.C: name change
7364
7365 2003-03-12  John Levon  <levon@movementarian.org>
7366
7367         * buffer.C:
7368         * ParagraphParameters.C: move par params input to
7369         a read() method
7370
7371         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7372         behave like a normal read from the stream wrt reading
7373         a line vs. a \\token
7374
7375 2003-03-12  John Levon  <levon@movementarian.org>
7376
7377         * paragraph.C:
7378         * ParagraphParameters.h:
7379         * ParagraphParameters.C: move output code to a
7380         ::write() method
7381
7382 2003-03-12  John Levon  <levon@movementarian.org>
7383
7384         * BufferView.C (insertLyXFile):
7385         * buffer.h:
7386         * buffer.C:
7387         * tabular.C: use a parlist iterator for creating the
7388           document.
7389
7390 2003-03-12  John Levon  <levon@movementarian.org>
7391
7392         * buffer.C: make current_change static local not
7393           static file-scope
7394
7395 2003-03-12  John Levon  <levon@movementarian.org>
7396
7397         * buffer.C: fix insertStringAsLines for change tracking
7398
7399 2003-03-12  John Levon  <levon@movementarian.org>
7400
7401         * BufferView.C:
7402         * tabular.C:
7403         * buffer.h:
7404         * buffer.C:
7405         * bufferparams.h:
7406         * bufferparams.C: move author list into params. Rename some
7407           functions. Move the header reading into a separate token
7408           loop. Move the header token reading into BufferParams.
7409
7410 2003-03-12  John Levon  <levon@movementarian.org>
7411
7412         * changes.C: put debug inside lyxerr.debugging() checks
7413
7414 2003-03-11 André Pönitz <poenitz@gmx.net>
7415
7416         * factory.C: make it aware of InsetHFill
7417
7418 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7419
7420         * buffer.C (latexParagraphs): move function from here...
7421         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7422         args.
7423
7424 2003-03-10  Angus Leeming  <leeming@lyx.org>
7425
7426         * LyXAction.C (init): fix bug in poplating array with multiple entries
7427         with the same LFUN (spotted by JMarc).
7428
7429 2003-03-10  John Levon  <levon@movementarian.org>
7430
7431         * text.C:
7432         * text2.C: move getColumnNearX() near its
7433         only call site
7434
7435 2003-03-10  John Levon  <levon@movementarian.org>
7436
7437         * text.C: fix break before a minipage
7438
7439 2003-03-10  John Levon  <levon@movementarian.org>
7440
7441         * text.C: fix the last commit
7442
7443 2003-03-09  John Levon  <levon@movementarian.org>
7444
7445         * lyxtext.h:
7446         * text.C:
7447         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7448         bug 365 (don't break before insets unless needed). Don't
7449         return a value > last under any circumstances.
7450
7451 2003-03-09  Angus Leeming  <leeming@lyx.org>
7452
7453         * BufferView_pimpl.C (trackChanges, dispatch): call
7454         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7455
7456 2003-03-09  Angus Leeming  <leeming@lyx.org>
7457
7458         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7459         than Dialogs::showAboutlyx().
7460
7461 2003-03-09  Angus Leeming  <leeming@lyx.org>
7462
7463         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7464         than Dialogs::showTabularCreate().
7465
7466 2003-03-09  John Levon  <levon@movementarian.org>
7467
7468         * lyxtext.h:
7469         * text.C:
7470         * text2.C: 3rd arg to nextBreakPoint was always the same.
7471           Use references.
7472
7473 2003-03-08  John Levon  <levon@movementarian.org>
7474
7475         * lyxrow.C:
7476         * paragraph.C:
7477         * paragraph.h:
7478         * rowpainter.C:
7479         * text.C:
7480         * text2.C: Remove the "main" bit from the "main body"
7481           notion.
7482
7483 2003-03-08  John Levon  <levon@movementarian.org>
7484
7485         * text.C (leftMargin): The left margin of an empty
7486         manual label paragraph should not include the label width
7487         string length.
7488
7489         * text.C (prepareToPrint): don't attempt to measure hfills
7490         for empty manual label paragraphs - the answer should be 0
7491
7492 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7493
7494         * CutAndPaste.C: remove commented code and reindent.
7495
7496 2003-03-08  John Levon  <levon@movementarian.org>
7497
7498         * lyxfunc.h:
7499         * lyxfunc.C: move reloadBuffer()
7500
7501         * BufferView.h:
7502         * BufferView.C: to here
7503
7504         * lyxvc.C: add comment
7505
7506         * vc-backend.h:
7507         * vc-backend.C: call bv->reload() to avoid
7508           getStatus() check on MENURELOAD
7509
7510 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7511
7512         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7513         to an old format .dep file.
7514
7515 2003-03-07  Angus Leeming  <leeming@lyx.org>
7516
7517         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7518         when the LFUN_MOUSE_RELEASE should have been handled by
7519         inset->localDispatch.
7520
7521 2003-03-07  Angus Leeming  <leeming@lyx.org>
7522
7523         * BufferView_pimpl.C (dispatch):
7524         * LyXAction.C (init):
7525         * ToolbarDefaults.C (init):
7526         * commandtags.h:
7527         * lyxfunc.C (getStatus):
7528         remove LFUN_INSET_GRAPHICS.
7529
7530         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7531
7532 2003-03-07  Angus Leeming  <leeming@lyx.org>
7533
7534         * commandtags.h:
7535         * LyXAction.C (init):
7536         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7537
7538         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7539
7540         * commandtags.h:
7541         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7542
7543         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7544         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7545
7546 2003-03-07  Angus Leeming  <leeming@lyx.org>
7547
7548         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7549         remove "ert".
7550
7551 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7552
7553         * ParagraphList.C (front): new function
7554         (back): implement
7555
7556 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7557
7558         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7559         and top_row_offset_. removed var first_y.
7560         * text.C (top_y):
7561         * text2.C (LyXText, removeRow):
7562         * text3.C:
7563         * BufferView_pimpl.C:
7564         use these methods instead of using first_y
7565
7566 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7567
7568         * text2.C (pasteSelection): adjust for checkPastePossible
7569
7570         * CutAndPaste.C: remove Paragraph * buf and replace with
7571         ParagraphList paragraphs.
7572         (DeleteBuffer): delete
7573         (cutSelection): change the tc type to textclass_type
7574         (copySelection): change the tc type to textclass_type
7575         (copySelection): adjust for ParagraphList
7576         (pasteSelection): change the tc type to textclass_type
7577         (pasteSelection): adjust for Paragraphlist
7578         (nrOfParagraphs): simplify for ParagraphList
7579         (checkPastePossible): simplify for ParagraphList
7580         (checkPastePossible): remove unused arg
7581
7582         * ParagraphList.C (insert): handle the case where there are no
7583         paragraphs yet.
7584
7585         * CutAndPaste.h: make CutAndPaste a namespace.
7586
7587         * text3.C (dispatch): adjust
7588
7589         * text.C (breakParagraph): add a ParagraphList as arg
7590
7591         * paragraph_funcs.C (breakParagraph): change to take a
7592         BufferParams and a ParagraphList as args.
7593         (breakParagraphConservative): ditto
7594         (mergeParagraph): ditto
7595         (TeXDeeper): add a ParagraphList arg
7596         (TeXEnvironment): ditto
7597         (TeXOnePar): ditto
7598
7599         * buffer.C (readLyXformat2): adjust
7600         (insertStringAsLines): adjust
7601         (latexParagraphs): adjust
7602
7603         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7604         (cutSelection): adjust
7605         (pasteSelection): adjust
7606
7607         * BufferView_pimpl.C (insertInset): adjust
7608
7609 2003-03-05  Angus Leeming  <leeming@lyx.org>
7610
7611         * commandtags.h:
7612         * LyXAction.C (init):
7613         * BufferView_pimpl.C (dispatch):
7614         * lyxfunc.C (getStatus):
7615         remove LFUN_CHILD_INSERT.
7616
7617         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7618
7619 2003-03-05  Angus Leeming  <leeming@lyx.org>
7620
7621         * commandtags.h:
7622         * LyXAction.C (init):
7623         * src/factory.C (createInset):
7624         * lyxfunc.C (getStatus):
7625         * text3.C (dispatch):
7626         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7627
7628         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7629
7630 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7631
7632         * ParagraphList.C (insert): handle insert right before end()
7633         (erase): fix cases where it can be first or last paragraph.
7634
7635 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7636
7637         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7638         Paragraph::next and Paragraph::previous
7639         (TeXOnePar): ditto
7640
7641         * text.C (breakParagraph): adjust
7642
7643         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7644         BufferParams& as arg.
7645         (breakParagraph): use ParagraphList::insert
7646         (breakParagraphConservative): take a Buffer* instead of a
7647         BufferParams& as arg.
7648         (breakParagraphConservative): use ParagraphList::insert.
7649
7650         * buffer.C (insertStringAsLines): un-const it
7651         (insertStringAsLines): adjust
7652
7653         * ParagraphList.C (insert): new function
7654
7655         * CutAndPaste.C (pasteSelection): adjust
7656
7657         * text.C (backspace): adjust
7658
7659         * tabular.C (SetMultiColumn): adjust
7660
7661         * CutAndPaste.C (cutSelection): adjust
7662         (pasteSelection): adjust
7663
7664         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7665         Buffer const * as arg
7666
7667         * ParagraphList.C (erase): new function
7668         * paragraph_funcs.C (mergeParagraph): use it
7669         (mergeParagraph): make it take a Buffer* instead of a
7670         BufferParams* as arg
7671
7672         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7673         as arg
7674         (breakParagraphConservative): ditto
7675
7676         * paragraph.h: remove the breakParagraph friend
7677
7678         * paragraph.C (eraseIntern): new function
7679         (setChange): new function
7680
7681         * paragraph_funcs.C (mergeParagraph): make it take a
7682         ParagraphList::iterator instead of a Paragraph *, adjust
7683         accordingly.
7684
7685         * paragraph.h: move an #endif so that the change tracking stuff
7686         also works in the NO_NEXT case.
7687
7688 2003-03-04  Angus Leeming  <leeming@lyx.org>
7689
7690         * commandtags.h:
7691         * LyXAction.C: new LFUN_INSET_MODIFY.
7692
7693         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7694         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7695
7696 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7697
7698         * several files: ws changes only
7699
7700         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7701         (TeXEnvironment): ditto
7702         (TeXDeeper): ditto
7703
7704         * buffer.C (makeLaTeXFile): adjust
7705         (latexParagraphs): make it take ParagraphList::iterator as args
7706
7707 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7708
7709         * buffer.C (latexParagraphs): adjust
7710
7711         * paragraph.C (TeXOnePar): move function...
7712         (optArgInset): move function...
7713         (TeXEnvironment): move function...
7714         * paragraph_pimpl.C (TeXDeeper): move function...
7715         * paragraph_funcs.C: ...here
7716
7717         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7718
7719 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7720
7721         * buffer.C (readInset): remove compability code for old Figure and
7722         InsetInfo insets
7723
7724 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7725
7726         * buffer.C: ws changes
7727         (readInset):
7728
7729         * BufferView_pimpl.C: ditto
7730         * author.C: ditto
7731         * buffer.h: ditto
7732         * bufferlist.h: ditto
7733         * changes.h: ditto
7734         * lyxfunc.C: ditto
7735
7736 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7737
7738         * converter.[Ch]: split into itself +
7739         * graph.[Ch]
7740         * format.[Ch]
7741         * Makefile.am: += graph.[Ch] + format.[Ch]
7742         * MenuBackend.C
7743         * buffer.C
7744         * exporter.C
7745         * importer.C
7746         * lyx_main.C
7747         * lyxfunc.C
7748         * lyxrc.C: added #include "format.h"
7749
7750 2003-02-27  Angus Leeming  <leeming@lyx.org>
7751
7752         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7753           a label.
7754
7755         * factory.C (createInset): add "label" to the factory.
7756
7757         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7758           string and do no more.
7759
7760 2003-02-27  Angus Leeming  <leeming@lyx.org>
7761
7762         * commandtags.h:
7763         * LyXAction.C (init):
7764         * factory.C (createInset):
7765         * BufferView_pimpl.C (dispatch):
7766           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7767
7768         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7769
7770         * lyxfunc.C (dispatch):
7771         * text3.C (dispatch): pass name to params2string.
7772
7773 2003-02-26  Angus Leeming  <leeming@lyx.org>
7774
7775         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7776           blocks together.
7777           Rearrange the ~includes. Strip out the unnecessary ones.
7778
7779         * factory.C (createInset): reformat.
7780           create new insets for the various LFUN_XYZ_APPLY lfuns.
7781
7782 2003-02-26  John Levon  <levon@movementarian.org>
7783
7784         * lyxrow.h:
7785         * lyxrow.C: add isParStart,isParEnd helpers
7786
7787         * paragraph.h: make isInserted/DeletedText take refs
7788
7789         * paragraph_funcs.h:
7790         * paragraph_funcs.C: remove #if 0'd code
7791
7792         * lyxtext.h:
7793         * text3.C:
7794         * text2.C:
7795         * text.C: use lyxrow helpers above.
7796           Move draw and paint routines to RowPainter.
7797           Make several methods use refs not pointers.
7798           Make backgroundColor() const.
7799           Add markChangeInDraw(), isInInset().
7800           Merge changeRegionCase into changeCase.
7801           Make workWidth() shouldn't-happen code into an Assert.
7802
7803         * rowpainter.h:
7804         * rowpainter.C: new class for painting a row.
7805
7806         * vspace.h:
7807         * vspace.C: make inPixels take a ref
7808
7809 2003-02-26  Angus Leeming  <leeming@lyx.org>
7810
7811         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7812         LFUN_REF_APPLY.
7813
7814 2003-02-25  John Levon  <levon@movementarian.org>
7815
7816         * ispell.C: give the forked command a more accurate name
7817
7818 2003-02-22  John Levon  <levon@movementarian.org>
7819
7820         * toc.h:
7821         * toc.C: make TocItem store an id not a Paragraph *
7822           (bug #913)
7823
7824 2003-02-21  Angus Leeming  <leeming@lyx.org>
7825
7826         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7827           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7828           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7829           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7830           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7831           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7832
7833         * BufferView_pimpl.C (dispatch):
7834         * LyXAction.C (init):
7835         * factory.C (createInset):
7836         * lyxfunc.C (getStatus, dispatch):
7837         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7838
7839 2003-02-21  Angus Leeming  <leeming@lyx.org>
7840
7841         * BufferView_pimpl.C (MenuInsertLyXFile):
7842         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7843         * lyxfunc.C (menuNew, open, doImport):
7844           no longer pass a LyXView & to fileDlg.
7845
7846 2003-02-21  Angus Leeming  <leeming@lyx.org>
7847
7848         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7849         * LyXAction.C: change, BIBKEY to BIBITEM.
7850         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7851         Change InsetBibKey to InsetBibitem.
7852         Change BIBKEY_CODE to BIBITEM_CODE.
7853         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7854         * factory.C: replace insetbib.h with insetbibitem.h.
7855         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7856         * paragraph.C: replace insetbib.h with insetbibitem.h.
7857         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7858         Change bibkey() to bibitem().
7859         * text.C: remove insetbib.h.
7860         * text2.C: replace insetbib.h with insetbibitem.h.
7861         change bibkey() to bibitem().
7862         * text3.C: remove insetbib.h.
7863         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7864
7865 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7866
7867         * lyxrc.C (output): enclose user email in quotes (in case there are
7868         several words)
7869
7870 2003-02-18  John Levon  <levon@movementarian.org>
7871
7872         * buffer.h: add std::
7873
7874 2003-02-17  John Levon  <levon@movementarian.org>
7875
7876         * SpellBase.h:
7877         * ispell.h:
7878         * ispell.C:
7879         * pspell.h:
7880         * pspell.C: reworking. Especially in ispell, a large
7881           number of clean ups and bug fixes.
7882
7883         * lyxfunc.C: fix revert to behave sensibly
7884
7885 2003-02-17 André Pönitz <poenitz@gmx.net>
7886
7887         * LyXAction.C:
7888         * commandtags.h: new LFUN_INSERT_BIBKEY
7889
7890         * layout.h:
7891         * lyxlayout.C:
7892         * buffer.C:
7893         * factory.C:
7894         * text.C:
7895         * text2.C:
7896         * text3.C:
7897         * paragraph.[Ch]:
7898         * paragraph_func.C: remove special bibkey handling
7899
7900 2003-02-17  John Levon  <levon@movementarian.org>
7901
7902         * text.C (Delete): fix case where delete at the end of
7903           the very first paragraph would not merge the pars
7904
7905 2003-02-17  John Levon  <levon@movementarian.org>
7906
7907         * lyxrow.C: fix lastPrintablePos()
7908
7909 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7910
7911         * bufferparams.C (writeLaTeX): add a std:here
7912
7913         * buffer.C: and remove a using directive there
7914
7915 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7916
7917         * buffer.C (makeLaTeXFile): move the code that generates the
7918           preamble...
7919
7920         * bufferparams.C (writeLaTeX): ... in this new method
7921
7922         * LaTeXFeatures.C (getEncodingSet): make const
7923           (getLanguages): make const
7924
7925         * MenuBackend.C (binding): returns the binding associated to this
7926           action
7927           (add): sets the status of each item by calling getStatus. Adds
7928           some intelligence.
7929           (read): add support for OptSubMenu
7930           (expand): remove extra separator at the end of expanded menu
7931
7932 2003-02-15  John Levon  <levon@movementarian.org>
7933
7934         * BufferView.C:
7935         * BufferView_pimpl.C:
7936         * bufferlist.h:
7937         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7938           inset code that had no actual effect. Remove unneeded status
7939           code.
7940
7941 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7942
7943         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7944           in preamble
7945
7946 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7947
7948         * text.C (drawLengthMarker): also draw an arrow marker for
7949           symbolic lengths (medskip...)
7950
7951 2003-02-14  John Levon  <levon@movementarian.org>
7952
7953         * tabular.h:
7954         * tabular.C: better method names
7955
7956 2003-02-14  John Levon  <levon@movementarian.org>
7957
7958         * BufferView_pimpl.C:
7959         * bufferlist.C:
7960         * buffer.C:
7961         * converter.C:
7962         * lyx_cb.C:
7963         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7964           it's a more accurate name. Remove some pointless uses.
7965
7966 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7967
7968         * text2.C (LyXText): change order of initilizers to shut off
7969           warnings
7970
7971 2003-02-14  John Levon  <levon@movementarian.org>
7972
7973         * buffer.C: use ParIterator for getParFromID()
7974
7975         * paragraph.h:
7976         * paragraph.C:
7977         * paragraph_pimpl.h:
7978         * paragraph_pimpl.C: remove unused getParFromID()
7979
7980 2003-02-14  John Levon  <levon@movementarian.org>
7981
7982         * buffer.C: remove some very old #if 0'd parse code
7983
7984 2003-02-13  John Levon  <levon@movementarian.org>
7985
7986         * text.h:
7987         * text.C:
7988         * text2.C: move hfillExpansion(), numberOfSeparators(),
7989           rowLast(), rowLastPrintable(), numberofHfills(),
7990           numberOfLabelHfills() ...
7991
7992         * lyxrow.h:
7993         * lyxrow.C: ... to member functions here.
7994
7995         * paragraph.h:
7996         * paragraph.C:
7997         * lyxtext.h:
7998         * text.C: remove LyXText::beginningOfMainBody(), and call
7999           p->beginningOfMainBody() directly. Move the check for
8000           LABEL_MANUAL into the latter.
8001
8002         * text.h:
8003         * text.C:
8004         * text2.C:
8005         * vspace.C:
8006         * BufferView.h:
8007         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8008
8009         * text.h:
8010         * text.C:
8011         * text2.C:
8012         * text3.C:
8013         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8014           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8015
8016 2003-02-13  John Levon  <levon@movementarian.org>
8017
8018         * CutAndPaste.C: remove debug
8019
8020 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8021
8022         * paragraph.C (asString): remove two unused variables
8023
8024         * lyxtextclass.C (readTitleType):
8025           (Read):
8026           (LyXTextClass): handle new members titletype_ and titlename_
8027
8028         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8029
8030 2003-02-09  John Levon  <levon@movementarian.org>
8031
8032         * buffer.h:
8033         * buffer.C: replace hand-coded list with a map for the dep clean
8034
8035 2003-02-08  John Levon  <levon@movementarian.org>
8036
8037         * LaTeX.C: consolidate code into showRunMessage() helper
8038
8039 2003-02-08  John Levon  <levon@movementarian.org>
8040
8041         * lyxfind.C:
8042         * lyxtext.h:
8043         * text2.C:
8044         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8045           and pass the size in explicitly
8046
8047         * BufferView_pimpl.h:
8048         * BufferView_pimpl.C:
8049         * BufferView.h:
8050         * BufferView.C: add getCurrentChange()
8051
8052         * BufferView_pimpl.h:
8053         * BufferView_pimpl.C: handle change lfuns
8054
8055         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8056           for changes. Mark pasted paragraphs as new.
8057
8058         * support/lyxtime.h:
8059         * support/lyxtime.C:
8060         * DepTable.C: abstract time_t as lyx::time_type
8061
8062         * LColor.h:
8063         * LColor.C: add colours for new text, deleted text, changebars
8064
8065         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8066           package use "usenames" option.
8067
8068         * commandtags.h:
8069         * lyxfunc.C:
8070         * LyXAction.C: add change lfuns
8071
8072         * Makefile.am:
8073         * author.h:
8074         * author.C: author handling
8075
8076         * buffer.h:
8077         * buffer.C: add a per-buffer author list, with first entry as
8078           current author. Handle new .lyx tokens for change tracking. Output
8079           author list to .lyx file. Output dvipost stuff to .tex preamble.
8080           Bump lyx format to 222.
8081
8082         * bufferlist.h:
8083         * bufferlist.C: add setCurrentAuthor() to reset current author details
8084           in all buffers.
8085
8086         * bufferparams.h:
8087         * bufferparams.C: add param for tracking
8088
8089         * bufferview_funcs.C: output change info in minibuffer
8090
8091         * Makefile.am:
8092         * changes.h:
8093         * changes.C: add change-tracking structure
8094
8095         * debug.h:
8096         * debug.C: add CHANGES debug flag
8097
8098         * lyxfind.h:
8099         * lyxfind.C: add code for finding the next change piece
8100
8101         * lyxrc.h:
8102         * lyxrc.C: add user_name and user_email
8103
8104         * lyxrow.h:
8105         * lyxrow.C: add a metric for the top of the text line
8106
8107         * lyxtext.h:
8108         * text.C: implement accept/rejectChange()
8109
8110         * lyxtext.h:
8111         * text.C: paint changebars. Paint new/deleted text in the chosen
8112         colours. Strike through deleted text.
8113
8114         * paragraph.h:
8115         * paragraph.C:
8116         * paragraph_pimpl.h:
8117         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8118           in the current change to the insert functions. Rework erase to
8119           mark text as deleted, adding an eraseIntern() and a range-based
8120           erase(). Implement per-paragraph change lookup and
8121           accept/reject.
8122
8123         * paragraph_funcs.C: Fixup paste for change tracking.
8124
8125         * tabular.C: mark added row/columns as new.
8126
8127         * text.C: fix rowLast() to never return -1. Don't allow
8128           spellchecking of deleted text. Track transpose changes. Don't
8129           allow paragraph break or merge where appropriate.
8130
8131         * text2.C: leave cursor at end of selection after a cut.
8132
8133 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8134
8135         * text.C (getLengthMarkerHeight):
8136         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8137         visible on screen too.
8138
8139 2003-02-07  John Levon  <levon@movementarian.org>
8140
8141         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8142
8143 2003-02-05  Angus Leeming  <leeming@lyx.org>
8144
8145         * lyxserver.C (read_ready): revert my patch of 11 September last year
8146         as it sends PC cpu through the roof. Presumably this means that
8147         the lyxserver will no longer run on an Alpha...
8148
8149 2003-01-30  Angus Leeming  <leeming@lyx.org>
8150
8151         * factory.C (createInset): create an InsetCommandParam of type "index"
8152         and use it to 'do the right thing'.
8153
8154         * text2.C (getStringToIndex): ensure that cursor position is always
8155         reset to the reset_cursor position.
8156
8157 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8158
8159         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8160         disabled.
8161
8162 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8163
8164         * bufferview.C:
8165         * lyxcb.C:
8166         * lyxfunc.C: Output messages with identical spelling, punctuation,
8167         and spaces
8168
8169 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8170
8171         * MenuBackend.C (expandFormats): List only viewable export formats
8172         in "View" menu
8173
8174         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8175         message
8176
8177         * lyxfunc.C (getStatus): Make sure that formats other than
8178         "fax" can also be disabled
8179
8180 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8181
8182         * text3.C (dispatch): put the lfuns that insert insets in 3
8183         groups, and call doInsertInset with appropriate arguments.
8184         (doInsertInset): new function, that creates an inset and inserts
8185         it according to some boolean parameters.
8186
8187 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8188
8189         * buffer.C (readFile): remember to pass on 'par' when calling
8190         readFile recursively.
8191
8192 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8193
8194         * MenuBackend.C (expandFormats): add "..." to import formats.
8195
8196 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8197
8198         * paragraph.C (asString): Remove XForms RTL hacks.
8199
8200 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8201         * buffer.C: fix typo
8202
8203 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8204
8205         * Makefile.am (LIBS): delete var
8206         (lyx_LDADD): add @LIBS@ here instead.
8207
8208 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8209
8210         * Clarify the meaning of "wheel mouse jump"
8211
8212 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8213
8214         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8215         tabular in a float
8216
8217 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8218
8219         * importer.C (Loaders): do not preallocate 3 elements in the
8220         vector, since one ends up with 6 elements otherwise
8221
8222 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8223
8224         * DepTable.C (write): write the file name as last element of the
8225         .dep file (because it may contain spaces)
8226         (read): read info in the right order
8227
8228 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8229
8230         * paragraph_pimpl.C (simpleTeXBlanks):
8231         (simpleTeXSpecialChars):
8232         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8233
8234         * tabular.C (latex): add some missing case statements. Reindent.
8235
8236         * MenuBackend.C (expandToc): remove unused variable.
8237
8238 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8239
8240         * LColor.C:
8241         * LaTeX.C:
8242         * LyXAction.C:
8243         * MenuBackend.C:
8244         * buffer.C:
8245         * exporter.C:
8246         * lyxfunc.C:
8247         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8248         and the like.
8249
8250 2003-01-05  John Levon  <levon@movementarian.org>
8251
8252         * BufferView.h:
8253         * BufferView.C: add getEncoding()
8254
8255         * kbsequence.h:
8256         * kbsequence.C: do not store last keypress
8257
8258         * lyxfunc.h:
8259         * lyxfunc.C: store last keypress here instead. Pass encoding
8260           to getISOEncoded()
8261
8262 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8263
8264         * lyx_main.C (init): remove annoying error message when following
8265         symbolic links (bug #780)
8266
8267 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8268
8269         * text.C (insertChar):
8270         * lyxrc.C (getDescription): remove extra spaces
8271
8272 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8273
8274         * lyxrc.C (getDescription): remove extra spaces
8275
8276 2002-12-20  John Levon  <levon@movementarian.org>
8277
8278         * text3.C: hack fix for page up/down across tall rows
8279
8280 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8281
8282         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8283         not been invoked
8284
8285 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8286
8287         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8288         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8289         thesaurus is not compiled in
8290
8291 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8292
8293         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8294
8295 2002-12-16  Angus Leeming  <leeming@lyx.org>
8296
8297         * lyxrc.[Ch]:
8298         * lyx_main.C (init): remove override_x_deadkeys stuff.
8299
8300 2002-12-12  John Levon  <levon@movementarian.org>
8301
8302         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8303           insert. Only remove shift modifier under strict
8304           circumstances.
8305
8306 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8307
8308         * MenuBackend.C (expandToc): fix crash.
8309
8310 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8311
8312         * MenuBackend.C (expandToc): gettext on float names.
8313
8314 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8315
8316         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8317         implement bool empty() [bug 490]
8318
8319 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8320
8321         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8322
8323 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8324
8325         * several files: ws changes
8326
8327 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8328
8329         * text2.C (setCounter): clean up a bit, use boost.format.
8330         (updateCounters): initialize par upon declaration.
8331
8332         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8333         if the layout exists. We do not just store the layout any more.
8334         (SwitchLayoutsBetweenClasses): use boost.format
8335
8336 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8337
8338         * converter.C (convert): if from and to files are the same, use a
8339         temporary files as intermediary
8340
8341 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8342
8343         * commandtags.h:
8344         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8345
8346 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8347
8348         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8349
8350 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8351
8352         * tabular.C (asciiPrintCell): use string(size, char) instead of
8353         explicit loop.
8354
8355         * sgml.C (openTag): fix order of arguments to string constructor
8356         (closeTag): ditto
8357
8358         * lyxfunc.C (dispatch): use boost.format
8359
8360         * lots of files: change "c" -> 'c'
8361
8362 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8363
8364         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8365
8366 2002-11-25  Angus Leeming  <leeming@lyx.org>
8367
8368         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8369
8370         * lyx_main.C (init): compile fix.
8371
8372 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8373
8374         * lyx_cb.C (start): boost.formatify
8375         do not include <iostream>
8376
8377         * lengthcommon.C: ws only
8378
8379         * boost-inst.C,BoostFormat.h: add more explict instantations
8380
8381 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8382
8383         * lots of files: handle USE_BOOST_FORMAT
8384
8385 2002-11-21  John Levon  <levon@movementarian.org>
8386
8387         * pspell.C: fix compile
8388
8389 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8390
8391         * lyxfunc.C (dispatch): use boost::format
8392         (open): ditto
8393         (doImport): ditto
8394
8395         * lyxfont.C (stateText): use boost::format
8396
8397         * lyx_main.C (LyX): use boost::format
8398         (init): ditto
8399         (queryUserLyXDir): ditto
8400         (readRcFile): ditto
8401         (parse_dbg): ditto
8402         (typedef boost::function): use the recommened syntax.
8403
8404         * importer.C (Import): use boost::format
8405
8406         * debug.C (showLevel): use boost::format
8407
8408         * converter.C (view): use boost::format
8409         (convert): ditto
8410         (move): ditto
8411         (scanLog): ditto
8412
8413         * bufferview_funcs.C (currentState): use boost::format
8414
8415         * bufferlist.C (emergencyWrite): use boost::format
8416
8417         * buffer.C (readLyXformat2): use boost::format
8418         (parseSingleLyXformat2Token): ditto
8419
8420         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8421
8422         * LaTeX.C (run): use boost::format
8423
8424         * Chktex.C (scanLogFile): use boost::format
8425
8426         * BufferView_pimpl.C (savePosition): use boost::format
8427         (restorePosition): ditto
8428         (MenuInsertLyXFile): ditto
8429
8430         * BoostFormat.h: help file for explicit instation.
8431
8432 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8433
8434         * tabular.C (latex): Support for block alignment in fixed width
8435         columns.
8436
8437 2002-11-17  John Levon  <levon@movementarian.org>
8438
8439         * BufferView_pimpl.C:
8440         * lyx_cb.C:
8441         * lyxfunc.C: split filedialog into open/save
8442
8443 2002-11-08  Juergen Vigna  <jug@sad.it>
8444
8445         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8446         by my last patch (hopefully).
8447
8448 2002-11-08  John Levon  <levon@movementarian.org>
8449
8450         * iterators.h:
8451         * iterators.C:
8452         * buffer.h:
8453         * buffer.C:
8454         * paragraph.h:
8455         * paragraph.C:
8456         * toc.h:
8457         * toc.C: ParConstIterator, and use it (from Lars)
8458
8459 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8460
8461         * lyxtextclass.[Ch]: revise and add doxygen comments
8462
8463 2002-11-07  John Levon  <levon@movementarian.org>
8464
8465         * text.C: fix progress value for spellchecker
8466
8467         * toc.C: fix navigate menu for insetwrap inside minipage
8468
8469         * paragraph_funcs.C: added FIXME for suspect code
8470
8471 2002-11-07  John Levon  <levon@movementarian.org>
8472
8473         * BufferView_pimpl.C: fix redrawing of insets
8474           on buffer switch
8475
8476 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8477
8478         * text2.C (updateCounters): fix bug 668
8479
8480 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8481
8482         * text3.C (dispatch): Do not make the buffer dirty when moving the
8483         cursor.
8484
8485 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8486
8487         * vc-backend.C: STRCONV
8488         (scanMaster): ditto
8489
8490         * text2.C (setCounter): STRCONV
8491
8492         * paragraph.C (asString): STRCONV
8493
8494         * lyxlength.C (asString): STRCONV
8495         (asLatexString): ditto
8496
8497         * lyxgluelength.C (asString): STRCONV
8498         (asLatexString): ditto
8499
8500         * lyxfunc.C (dispatch): STRCONV
8501         (open): ditto
8502
8503         * lyxfont.C (stateText): STRCONV
8504
8505         * importer.C (Import): STRCONV
8506
8507         * counters.C (labelItem): STRCONV
8508         (numberLabel): ditto
8509         (numberLabel): remove unused ostringstream o
8510
8511         * chset.C: STRCONV
8512         (loadFile): ditto
8513
8514         * bufferview_funcs.C (currentState): STRCONV
8515
8516         * buffer.C (readFile): STRCONV
8517         (asciiParagraph): ditto
8518         (makeLaTeXFile): ditto
8519
8520         * Spacing.C (writeEnvirBegin): STRCONV
8521
8522         * LaTeXFeatures.C (getLanguages): STRCONV
8523         (getPackages): ditto
8524         (getMacros): ditto
8525         (getBabelOptions): ditto
8526         (getTClassPreamble): ditto
8527         (getLyXSGMLEntities): ditto
8528         (getIncludedFiles): ditto
8529
8530         * LaTeX.C: STRCONV
8531         (run): ditto
8532         (scanAuxFile): ditto
8533         (deplog): ditto
8534
8535         * LString.h: add the STRCONV macros
8536
8537         * BufferView_pimpl.C (savePosition): STRCONV
8538         (restorePosition): ditto
8539         (MenuInsertLyXFile): ditto
8540
8541         * vc-backend.C (scanMaster): change from submatch[...] to
8542         submatch.str(...)
8543
8544         * funcrequest.C: include config.h
8545
8546         * factory.C: include config.h
8547
8548         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8549
8550         * box.C: include config.h
8551
8552         * LaTeX.C (scanAuxFile): change from submatch[...] to
8553         submatch.str(...)
8554         (deplog): ditto
8555
8556 2002-10-25  Angus Leeming  <leeming@lyx.org>
8557
8558         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8559
8560         * ispell.[Ch] (setError): new method.
8561         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8562         Use setError() insetead of goto END.
8563
8564         * lyx_cb.C (AutoSave): move out child process into new class
8565         AutoSaveBuffer.
8566
8567 2002-10-30  John Levon  <levon@movementarian.org>
8568
8569         * text3.C: make start appendix undoable
8570
8571 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8572
8573         * lyxlength.C (inPixels): Fix returned value.
8574
8575         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8576         environment.
8577
8578 2002-10-24  Angus Leeming  <leeming@lyx.org>
8579
8580         * lyxgluelength.h: no need to forward declare BufferParams
8581         or BufferView, so don't.
8582
8583 2002-10-21  John Levon  <levon@movementarian.org>
8584
8585         * BufferView.C: menuUndo ->undo, redo
8586
8587         * BufferView.h: document, remove dead, make some methods private
8588
8589         * paragraph_funcs.h:
8590         * paragraph_funcs.C:
8591         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8592
8593         * buffer.h:
8594         * buffer.C:
8595         * sgml.h:
8596         * sgml.C: move sgml open/close tag into sgml.C
8597
8598         * bufferview_funcs.h: unused prototype
8599
8600         * lyxfunc.h:
8601         * lyxfunc.C: remove unused
8602
8603         * lyxtext.h:
8604         * text.C: remove unused
8605
8606 2002-10-21  John Levon  <levon@movementarian.org>
8607
8608         * BufferView.h:
8609         * BufferView.C:
8610         * BufferView_pimpl.h:
8611         * BufferView_pimpl.C: fix mouse wheel handling based on
8612           patch from Darren Freeman
8613
8614 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8615
8616         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8617
8618 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8619
8620         * lyxlength.C (inPixels): Fix hanfling of negative length.
8621         Fix LyXLength::MU case.
8622
8623 2002-10-16  John Levon  <levon@movementarian.org>
8624
8625         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8626
8627 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8628
8629         * converter.C (view): add support for $$i (file name) and $$p
8630         (file path) for the viewer command. If $$i is not specified, then
8631         it is appended to the command (for compatibility with old syntax)
8632
8633 2002-10-14  Juergen Vigna  <jug@sad.it>
8634
8635         * undo_funcs.C (textHandleUndo): alter the order in which the
8636         new undopar is added to the LyXText, as we have to set first
8637         the right prev/next and then add it as otherwise the rebuild of
8638         LyXText is not correct. Also reset the cursor to the right paragraph,
8639         with this IMO we could remove the hack in "redoParagraphs()".
8640
8641 2002-10-09  Angus Leeming  <leeming@lyx.org>
8642
8643         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8644         to turn off an optimisation if a new inset is to be inserted.
8645
8646 2002-10-11 André Pönitz <poenitz@gmx.net>
8647
8648         * lyxtext.h: make some functions public to allow access
8649         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8650
8651 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8652
8653         * text3.C (dispatch): when changing layout, avoid an infinite loop
8654         [bug #652]
8655
8656 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8657
8658         * lyxrc.C (read): treat a viewer or converter command of "none" as
8659         if it were empty.
8660
8661         * MenuBackend.C (expandFormats): for an update, also allow the
8662         formats that are not viewable
8663
8664         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8665         script if it is newer than the lyxrc.defaults in user directory
8666
8667 2002-10-07 André Pönitz <poenitz@gmx.net>
8668
8669         * text.C: Vitaly Lipatov's small i18n fix
8670
8671 2002-09-25  Angus Leeming  <leeming@lyx.org>
8672
8673         * ispell.h: doxygen fix.
8674
8675 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8676
8677         * buffer.h (readFile): Add a new argument to the method, to allow
8678         reading of old-format templates.
8679
8680 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8681
8682         * toc.C (getTocList): Get TOC from InsetWrap.
8683
8684 2002-09-16  John Levon  <levon@movementarian.org>
8685
8686         * lyxfunc.C: check tabular for cut/copy too
8687
8688 2002-09-12  John Levon  <levon@movementarian.org>
8689
8690         * LyXAction.C: tidy
8691
8692         * factory.h:
8693         * factory.C: add header
8694
8695         * paragraph_funcs.h:
8696         * paragraph_funcs.C: cleanup
8697
8698 2002-09-11  John Levon  <levon@movementarian.org>
8699
8700         * PrinterParams.h: odd/even default to true
8701
8702 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8703
8704         * PrinterParams.h: update printer parameters for new xforms dialog
8705
8706 2002-09-11  Angus Leeming  <leeming@lyx.org>
8707
8708         * lyxserver.C (read_ready): re-write to make it more transparent
8709         and to make it work in coherent fashion under Tru64 Unix.
8710
8711 2002-09-11  André Pönitz <poenitz@gmx.net>
8712
8713         * commandtags.h:
8714         * LyXAction.C:
8715         * text3.C: implement LFUN_WORDSEL
8716
8717 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8718
8719         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8720         make floatlist_ a boost::shared_ptr<FloatList>
8721
8722         * lyxtextclass.C: include FloatList.h
8723         (LyXTextClass): initialize floatlist_
8724         (TextClassTags): add TC_NOFLOAT
8725         (Read): match "nofloat" to TC_NOFLOAT and use it.
8726         (readFloat): modify call to floatlist_
8727         (floats): ditto
8728         (floats): ditto
8729
8730         * FloatList.[Ch] (FloatList): remove commented out float
8731         initialization.
8732         (erase): new function
8733
8734 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8735
8736         * MenuBackend.C (expandToc): fix crash when there is no document
8737         open
8738
8739 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8740
8741         * many files: Add insetwrap.
8742
8743 2002-09-09  John Levon  <levon@movementarian.org>
8744
8745         * text2.C: remove confusing and awkward depth wraparound
8746
8747 2002-09-09  John Levon  <levon@movementarian.org>
8748
8749         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8750
8751         * buffer.h:
8752         * buffer.C: remove getIncludeonlyList()
8753
8754         * paragraph.C:
8755         * lyxfunc.C: remove headers
8756
8757 2002-09-09  Juergen Vigna  <jug@sad.it>
8758
8759         * text.C (getColumnNearX): fix form Michael this is most
8760         probably a cut&paste bug.
8761
8762 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8763
8764         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8765
8766         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8767         references, ws changes.
8768
8769         * text2.C (init): update counters after init
8770         (insertParagraph): no need to set counter on idividual paragraphs.
8771         (setCounter): access the counters object in the textclass object
8772         on in the buffer object.
8773         (updateCounters): ditto
8774
8775         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8776         shared_ptr<Counters> to avoid loading counters.h in all
8777         compilation units.
8778         (LyXTextClass): initialize ctrs_
8779         (TextClassTags): add TC_COUNTER, and ...
8780         (Read): use it here.
8781         (CounterTags): new tags
8782         (readCounter): new function
8783         (counters): new funtion
8784         (defaultLayoutName): return a const reference
8785
8786         * counters.C (Counters): remove contructor
8787         (newCounter): remove a couple of unneeded statements.
8788         (newCounter): simplify a bit.
8789         (numberLabel): some small formatting changes.
8790
8791         * buffer.[Ch]: remove all traces of counters, move the Counters
8792         object to the LyXTextClass.
8793
8794 2002-09-06  Alain Castera  <castera@in2p3.fr>
8795
8796         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8797         package to set the horizontal alignment on fixed width columns.
8798
8799         * lyx_sty.C:
8800         * lyx_sty.h: added tabularnewline macro def.
8801
8802         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8803
8804 2002-09-06  John Levon  <levon@movementarian.org>
8805
8806         * LyXAction.C: tooltips for sub/superscript
8807
8808         * MenuBackend.C: a bit more verbose
8809
8810         * lyxfunc.C: tiny clean
8811
8812         * undo_funcs.C: document undo_frozen
8813
8814 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8815
8816         * counters.C (Counters): add missing algorithm counter.
8817
8818         * text2.C (setCounter): lookup the counter with layouts latexname
8819         instead of by section number.
8820         (setCounter): use a hackish way to lookup the correct enum
8821         counter.
8822         a float name->type change
8823         reset enum couners with counter name directly instead of depth value.
8824
8825         * counters.C (Counters): remove the push_backs, change to use the
8826         float type not the float name.
8827         (labelItem): remove unused string, float name->type change
8828
8829         * counters.h: don't include vector, loose the enums and sects vectors
8830
8831 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8832
8833         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8834         (Read): add float->TC_FLOAT to textclassTags
8835         (Read): and handle it in the switch
8836         (readFloat): new function
8837
8838         * FloatList.C (FloatList): comment out the hardcoded float
8839         definitions.
8840
8841         * lyxlayout.h: ws change.
8842
8843 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8844
8845         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8846
8847 2002-09-03  Angus Leeming  <leeming@lyx.org>
8848
8849         * BufferView_pimpl.h: qualified name is not allowed in member
8850         declaration: WorkArea & Pimpl::workarea() const;
8851
8852         * factory.C: added using std::endl directive.
8853
8854         * text3.C: added using std::find and std::vector directives.
8855
8856 2002-08-29  André Pönitz <poenitz@gmx.net>
8857
8858         * lyxtext.h:
8859         * text2.C: remove unused member number_of_rows
8860
8861         * Makefile.am:
8862         * BufferView2.C: remove file, move contents to...
8863         * BufferView.C: ... here
8864
8865         * BufferView_pimpl.C:
8866         * factory.C: move more inset creation to factory
8867
8868         * vspace.C: avoid direct usage of LyXText, ws changes
8869
8870         * BufferView.[Ch]:
8871                 don't provide direct access to WorkArea, use two simple
8872                 acessors haveSelction() and workHeight() instead
8873
8874
8875 2002-08-29  John Levon  <levon@movementarian.org>
8876
8877         * BufferView_pimpl.C (dispatch): do not continue when
8878           no buffer
8879
8880 2002-08-28  André Pönitz <poenitz@gmx.net>
8881
8882         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8883
8884         * BufferView.h:
8885         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8886
8887 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8888
8889         * buffer.C: increment LYX_FORMAT to 221
8890
8891         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8892         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8893
8894         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8895
8896         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8897
8898 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8899
8900         * factory.C (createInset): use LyXTextClass::floats
8901
8902         * MenuBackend.C (expandFloatListInsert):
8903         (expandFloatInsert):
8904         (expandToc):
8905
8906         * text2.C (setCounter):
8907
8908         * LaTeXFeatures.C (useFloat):
8909         (getFloatDefinitions):
8910
8911         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8912
8913         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8914         floatlist_, with accessor floats().
8915
8916         * FloatList.h: remove global FloatList
8917
8918 2002-08-26  André Pönitz <poenitz@gmx.net>
8919
8920         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8921
8922         * BufferView.h:
8923         * BufferView2.C:
8924         * BufferView_pimpl.C:
8925         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8926
8927 2002-08-25  John Levon  <levon@movementarian.org>
8928
8929         * LyXAction.C: fix margin note description
8930
8931 2002-08-24  John Levon  <levon@movementarian.org>
8932
8933         * buffer.C:
8934         * bufferlist.C:
8935         * bufferview_funcs.C:
8936         * lyxfont.C:
8937         * undo_funcs.C: cleanups
8938
8939         * lyxfunc.C: disable CUT/COPY when no selection
8940
8941 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8942
8943         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8944         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8945
8946         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8947         Add backward compatibility to "mono", "gray" and "no".
8948
8949 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8950
8951         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8952         (and file_format >= 200).
8953
8954 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8955
8956         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8957
8958 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8959
8960         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8961
8962 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8963
8964         * BufferView_pimpl.C:
8965         * LyXAction.C:
8966         * buffer.C:
8967         * commandtags.h:
8968         * lyxfunc.C:
8969         * paragraph.[Ch]:
8970         * text2.C:
8971         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8972         inset and code to make it  work with the paragraph code. The inset
8973         can be anywhere in the paragraph, but will only do the expected
8974         thing in LaTeX if the layout file contains the parameter line
8975                         OptionalArgs    1
8976         (or more generally, a nonzero value) for that layout.
8977
8978 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8979
8980         * paragraph.h: remove the declaration of undefined counters class
8981         function.
8982
8983 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8984
8985         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8986         Dr. Richard Hawkins.
8987
8988 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8989
8990         * paragraph_funcs.h: remove some unneeded includes
8991
8992         * text.C (backspace): pasteParagraph now in global scipe
8993
8994         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8995         (pasteSelection): ditto
8996
8997         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8998         * paragraph_funcs.C (pasteParagraph): ... here
8999
9000 2002-08-20  André Pönitz <poenitz@gmx.net>
9001
9002         * commandtags.h: new LFUNs for swapping/copying table row/colums
9003
9004         * LyXAction.C:
9005         * lyxfunc.C: support for new lfuns
9006
9007 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9008
9009         * tabular.C:
9010         * buffer.[Ch]: remove NO_COMPABILITY stuff
9011
9012 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9013
9014         * boost.C (throw_exception): new file, with helper function for
9015         boost compiled without exceptions.
9016
9017         * paragraph.h:
9018         * lyxlength.C:
9019         * buffer.C:
9020         * ParameterStruct.h:
9021         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9022
9023         * bufferlist.C (emergencyWriteAll): use boost bind
9024
9025         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9026
9027         * text.C: include paragraph_funcs.h
9028         (breakParagraph): breakParagraph is now in global scope
9029
9030         * paragraph_funcs.[Ch]: new files
9031
9032         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9033         global scope
9034
9035         * buffer.C: include paragraph_funcs.h
9036         (insertStringAsLines): breakParagraph is now in global scope
9037
9038         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9039         paragraph_funcs.C
9040
9041         * CutAndPaste.C: include paragraph_funcs.h
9042         (cutSelection): breakParagraphConservative is now in global scope
9043         (pasteSelection): ditto
9044
9045         * buffer.h: declare oprator== and operator!= for
9046         Buffer::inset_iterator
9047
9048         * bufferlist.C (emergencyWrite): don't use fmt(...)
9049
9050         * text3.C: add using std::endl
9051
9052         * BufferView.C (moveCursorUpdate): remove default arg
9053
9054 2002-08-20  André Pönitz <poenitz@gmx.net>
9055
9056         * buffer.[Ch]: move inline functions to .C
9057
9058         * BufferView2.C:
9059         * BufferView_pimpl.C:
9060         * text.C:
9061         * buffer.[Ch]: use improved inset_iterator
9062
9063         * buffer.C:
9064         * paragraph.[Ch]: write one paragraph at a time
9065
9066 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9067
9068         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9069         style if style is not specified.
9070
9071 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9072
9073         * text2.C (setCounter): when searching for right label for a
9074         caption, make sure to recurse to parent insets (so that a caption
9075         in a minipage in a figure float works) (bug #568)
9076
9077 2002-08-20  André Pönitz <poenitz@gmx.net>
9078
9079         * text3.C: new file for LyXText::dispatch() and helpers
9080
9081         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9082
9083         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9084
9085 2002-08-19  André Pönitz <poenitz@gmx.net>
9086
9087         * lyxtext.h:
9088         * text.C: new LyXText::dispatch()
9089
9090         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9091
9092 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9093
9094         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9095
9096         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9097         Hebrew text.
9098
9099 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9100
9101         * Makefile.am: use $(variables) instead of @substitutions@
9102
9103 2002-08-15  André Pönitz <poenitz@gmx.net>
9104
9105         * lyxfunc.C:
9106         * BufferView_pimpl.C: streamlining mathed <-> outer world
9107         interaction
9108
9109         * commandtags.h:
9110         * LyXAction.C: remove unused LFUN_MATH
9111
9112 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9113
9114         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9115
9116 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9117
9118         * paragraph.C (Paragraph): reformat a bit
9119         (cutIntoMinibuffer): use builtin InsetList function instad of
9120         doing it manually.
9121         (getInset): ditto
9122
9123         * buffer.C: include boost/bind.hpp, add using std::for_each
9124         (writeFileAscii): use ParagraphList iterators
9125         (validate): use for_each for validate traversal of paragraphs
9126         (getBibkeyList): use ParagraphList iterators
9127         (resizeInsets): use for_each to resizeInsetsLyXText for all
9128         paragraphs.
9129         (getParFromID): use ParagraphList iterators
9130
9131         * BufferView2.C (lockInset): use paragraph list and iterators
9132
9133 2002-08-14  John Levon  <levon@movementarian.org>
9134
9135         * lyxserver.C: remove spurious xforms include
9136
9137 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9138
9139         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9140
9141 2002-08-13  André Pönitz <poenitz@gmx.net>
9142
9143         * LyXAction.[Ch]:
9144         * lyxfunc.C: further cleaning
9145
9146 2002-08-13  André Pönitz <poenitz@gmx.net>
9147
9148         * funcrequest.h: new constructor
9149
9150         * funcrequest.C: move stuff here from .h
9151
9152         * Makefile.am:
9153         * BufferView_pimpl.C:
9154         * LyXAction.C:
9155         * toc.C:
9156         * lyxfunc.C: subsequent changes
9157
9158         * lyxfunc.h: new view() member function
9159
9160         * lyxfunc.C: subsequent changes
9161
9162 2002-08-13  Angus Leeming  <leeming@lyx.org>
9163
9164         * BufferView2.C:
9165         * BufferView_pimpl.C:
9166         * buffer.C:
9167         * converter.C:
9168         * importer.C:
9169         * lyxfunc.C:
9170         * lyxvc.C:
9171         * toc.C:
9172         * vc-backend.C:
9173         changes due to the changed LyXView interface that now returns references
9174         to member variables not pointers.
9175
9176 2002-08-13  Angus Leeming  <leeming@lyx.org>
9177
9178         * WordLangTuple (word, lang_code): return references to strings,
9179         not strings.
9180
9181         * BufferView.h:
9182         * SpellBase.h:
9183         * lyxtext.h: forward-declare WordLangTuple.
9184
9185         * BufferView2.C:
9186         * ispell.C:
9187         * pspell.C:
9188         * text.C: #include "WordLangTuple.h".
9189
9190         * lyxtext.h:
9191         * text.C: (selectNextWordToSpellcheck): constify return type.
9192
9193 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9194
9195         * buffer.C:
9196         * buffer.h:
9197         * lyxtext.h:
9198         * paragraph.C:
9199         * paragraph_pimpl.h:
9200         * text.C:
9201         * text2.C:
9202         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9203         suggested by Angus.
9204         Made updateCounter always count from start of buffer, and removed
9205         second argument (par).
9206         Reverted floats number display to '#'. Perhaps I'll try again when the
9207         code base is sanitized a bit.
9208
9209 2002-08-12  Angus Leeming  <leeming@lyx.org>
9210
9211         * buffer.[Ch] (getLabelList): constify.
9212
9213 2002-08-07  André Pönitz <poenitz@gmx.net>
9214
9215         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9216
9217         * funcrequest.h: extension to keep mouse (x,y) position
9218
9219 2002-08-12  Juergen Vigna  <jug@sad.it>
9220
9221         * BufferView2.C (insertErrors): forbid undo when inserting error
9222         insets.
9223
9224         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9225
9226 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9227
9228         * ParagraphList.[Ch]: new files
9229
9230         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9231
9232         * BufferView2.C (lockInset): ParagraphList changes
9233         * toc.C: ditto
9234         * text2.C: ditto
9235         * bufferlist.C: ditto
9236         * buffer.h: ditto
9237         * buffer.C: ditto
9238
9239 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9240
9241         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9242         unused class variable counter_,
9243
9244         * paragraph.[Ch] (getFirstCounter): delete unused function
9245
9246         * counters.C: include LAssert.h
9247         (reset): add a new function with no arg, change other version to
9248         not have def. arg and to not allow empty arg.
9249
9250         * text2.C (setCounter): remove empty arg from call to Counters::reset
9251
9252 2002-08-11  John Levon  <levon@movementarian.org>
9253
9254         * Makefile.am: add WordLangTuple.h
9255
9256 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9257
9258         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9259         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9260
9261         * insets/insettext.C: InsetList changes
9262
9263         * graphics/GraphicsSupport.C (operator()): InsetList changes
9264
9265         * toc.C (getTocList): InsetList changes
9266
9267         * paragraph_pimpl.[Ch]: InsetList changes
9268
9269         * paragraph.[Ch]: InsetList changes
9270
9271         * buffer.C (inset_iterator): InsetList changes
9272         (setParagraph): ditto
9273         * buffer.h (inset_iterator): ditto
9274         * iterators.C (operator++): ditto
9275         * iterators.h: ditto
9276
9277         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9278
9279         * InsetList.[Ch]: new files, most InsetList handling moved out of
9280         paragraph.C.
9281
9282         * BufferView2.C (removeAutoInsets): InsetList changes
9283         (lockInset): ditto
9284         (ChangeInsets): ditto
9285
9286 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9287
9288         * paragraph_pimpl.h (empty): new function
9289
9290         * paragraph.[Ch] (empty): new function
9291
9292         * other files: use the new Paragraph::empty function
9293
9294 2002-08-09  John Levon  <levon@movementarian.org>
9295
9296         * lyxtext.h: remove unused refresh_height
9297
9298 2002-08-09  John Levon  <levon@movementarian.org>
9299
9300         * Makefile.am:
9301         * sgml.h:
9302         * sgml.C:
9303         * buffer.C:
9304         * paragraph.h:
9305         * paragraph.C: move sgml char escaping out of paragraph
9306
9307         * paragraph.h:
9308         * paragraph.C: remove id setter
9309
9310         * buffer.C:
9311         * paragraph.C:
9312         * paragraph_pimpl.C: remove dead tex_code_break_column
9313
9314         * bufferview_funcs.C: small cleanup
9315
9316         * lyxfunc.C: remove dead proto
9317
9318         * lyxtext.h: make some stuff private. Remove some dead stuff.
9319
9320         * lyxgluelength.C: make as[LyX]String() readable
9321
9322 2002-08-08  John Levon  <levon@movementarian.org>
9323
9324         * LyXAction.h:
9325         * LyXAction.C:
9326         * MenuBackend.C:
9327         * ToolbarDefaults.C:
9328         * lyxfunc.C:
9329         * lyxrc.C:
9330         * toc.C: lyxaction cleanup
9331
9332 2002-08-08  John Levon  <levon@movementarian.org>
9333
9334         * BufferView2.C: small cleanup
9335
9336         * lyxfind.h:
9337         * lyxfind.C: move unnecessary header into the .C
9338
9339 2002-08-08  John Levon  <levon@movementarian.org>
9340
9341         * funcrequest.h: just tedious nonsense
9342
9343         * lyx_main.h:
9344         * lyx_main.C: cleanups
9345
9346         * buffer.C:
9347         * vspace.C: remove dead header lyx_main.h
9348
9349 2002-08-07  Angus Leeming  <leeming@lyx.org>
9350
9351         * Paragraph.[Ch]:
9352         * paragraph_pimpl.h:
9353         Forward declare class Counters in paragraph.h by moving the ctrs member
9354         variable into Paragraph::Pimpl.
9355         (counters): new method, returning a reference to pimpl_->ctrs.
9356
9357         * text2.C: ensuing changes.
9358
9359 2002-08-07  John Levon  <levon@movementarian.org>
9360
9361         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9362
9363         * BufferView_pimpl.C: announce X selection on double/triple
9364           click
9365
9366         * lyx_main.C: use correct bool in batch dispatch
9367
9368         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9369
9370 2002-08-07  André Pönitz <poenitz@gmx.net>
9371
9372         * funcrequest.h: new class to wrap a kb_action and its argument
9373
9374         * BufferView.[Ch]:
9375         * BufferView_pimpl[Ch]:
9376         * LaTeX.C:
9377         * LyXAction.[Ch]:
9378         * lyxfunc.[Ch]:
9379         * lyxrc.C: subsequent changes
9380
9381
9382 2002-08-07  John Levon  <levon@movementarian.org>
9383
9384         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9385           document options change.
9386
9387 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9388
9389         * counters.[Ch]
9390         * text2.C
9391         * paragraph.[Ch]
9392         * makefile.am: move counters functionality over from
9393         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9394
9395 2002-08-06  John Levon  <levon@movementarian.org>
9396
9397         * WordLangTuple.h: new file for word + language code tuple
9398
9399         * SpellBase.h:
9400         * pspell.h:
9401         * pspell.C:
9402         * ispell.h:
9403         * ispell.C:
9404         * lyxtext.h:
9405         * text.C:
9406         * text2.C:
9407         * BufferView.h:
9408         * BufferView2.C: use WordLangTuple
9409
9410         * layout.h:
9411         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9412
9413 2002-08-06  John Levon  <levon@movementarian.org>
9414
9415         * lyx_main.C: fix cmdline batch handling
9416
9417 2002-08-06  André Pönitz <poenitz@gmx.net>
9418
9419         * lyxrc.C: set default for show_banner to true
9420
9421 2002-08-06  John Levon  <levon@movementarian.org>
9422
9423         * pspell.C: fix a crash, and allow new aspell to work
9424
9425 2002-08-06  John Levon  <levon@movementarian.org>
9426
9427         * lyxfunc.C:
9428         * kbmap.C: small cleanup
9429
9430         * vspace.h:
9431         * vspace.C: add const
9432
9433 2002-08-05  John Levon  <levon@movementarian.org>
9434
9435         * LyXAction.C: back to tabular-insert
9436
9437 2002-08-04  John Levon  <levon@movementarian.org>
9438
9439         * BufferView.h:
9440         * BufferView.C: cosmetic change
9441
9442         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9443
9444         * bufferlist.C:
9445         * buffer.h:
9446         * buffer.C:
9447         * lyxcb.h:
9448         * lyxcb.C:
9449         * lyxserver.C:
9450         * lyxvc.C:
9451         * vc-backend.C:
9452         * BufferView2.C: purge all "Lyx" not "LyX" strings
9453
9454         * lyxcursor.h:
9455         * lyxcursor.C: attempt to add some documentation
9456
9457         * lyxfunc.C:
9458         * commandtags.h:
9459         * LyXAction.C:
9460         * ToolbarDefaults.C:
9461         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9462           merge with LFUN_TABULAR_INSERT
9463
9464         * Makefile.am:
9465         * SpellBase.h:
9466         * ispell.h:
9467         * ispell.C:
9468         * pspell.h:
9469         * pspell.C: split up i/pspell implementations into separate
9470           files, many cleanups
9471
9472         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9473
9474         * text2.C: some cleanup
9475
9476         * lyxfunc.C: don't check for isp_command == "none" any more, it
9477           didn't make any sense
9478
9479 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9480
9481         * counters.[Ch]
9482         * text2.C
9483         * paragraph.[Ch]
9484         * makefile.am: move counters functionality over
9485         from text2.C/paragraph.[Ch] to counters.[Ch], and
9486         make proper C++.
9487 2002-08-02  John Levon  <levon@movementarian.org>
9488
9489         * buffer.C: s/lyxconvert/lyx2lyx/
9490
9491 2002-08-02  Angus Leeming  <leeming@lyx.org>
9492
9493         * lyxlex.C: revert John's change as it breaks reading of the user
9494         preamble.
9495
9496 2002-08-02  Angus Leeming  <leeming@lyx.org>
9497
9498         * importer.C (Import):
9499         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9500         changes due to LyXView::view() now returning a boost::shared_ptr.
9501
9502 2002-08-02  John Levon  <levon@movementarian.org>
9503
9504         * lyxlex.C: small cleanup
9505
9506 2002-08-02  John Levon  <levon@movementarian.org>
9507
9508         * text2.C (status): small cleanup, no logic change
9509
9510 2002-08-01  John Levon  <levon@movementarian.org>
9511
9512         * buffer.h:
9513         * buffer.C (writeFile): don't output alerts, caller
9514           handles this
9515
9516         * bufferlist.C:
9517         * lyx_cb.C: from above
9518
9519         * lyxfunc.C: allow to open non-existent files
9520
9521 2002-07-31  John Levon  <levon@movementarian.org>
9522
9523         * lyxserver.C: don't let incidental errors get
9524           in the way (errno)
9525
9526 2002-07-30  John Levon  <levon@movementarian.org>
9527
9528         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9529
9530 2002-07-30  John Levon  <levon@movementarian.org>
9531
9532         * lyxserver.h:
9533         * lyxserver.C: remove I/O callback too
9534
9535 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9536
9537         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9538         log.
9539
9540 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9541
9542         * many files: strip,frontStrip -> trim,ltrim,rtrim
9543
9544 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9545
9546         * PrinterParams.h: remove extern containsOnly, and include
9547         support/lstrings.h instead.
9548
9549         * LaTeX.C (scanAuxFile): modify because of strip changes
9550         (deplog): ditto
9551         * buffer.C (makeLaTeXFile): ditto
9552         * bufferparams.C (writeFile): ditt
9553         * lyxfont.C (stateText): ditto
9554         * lyxserver.C (read_ready): ditto
9555         * vc-backend.C (scanMaster): ditto
9556
9557         * BufferView_pimpl.h: ws changes
9558
9559         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9560
9561 2002-07-26  André Pönitz <poenitz@gmx.net>
9562
9563         * kb_sequence.C: remove unnedred usings
9564
9565 2002-07-26  Juergen Vigna  <jug@sad.it>
9566
9567         * lyxfind.C (LyXReplace): we have to check better if the returned
9568         text is not of theLockingInset()->getLockingInset().
9569
9570 2002-07-25  Juergen Vigna  <jug@sad.it>
9571
9572         * lyxfind.C (LyXReplace): don't replace if we don't get the
9573         right LyXText.
9574
9575         * undo_funcs.C (createUndo): remove debugging code.
9576
9577 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9578
9579         * buffer.C (parseSingleLyXformat2Token): Use default placement
9580         when reading old floats.
9581
9582         * FloatList.C (FloatList): Change the default placement of figure
9583         and tables to "tbp".
9584
9585 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9586
9587         * MenuBackend.C: using std::max
9588
9589 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9590
9591         * MenuBackend.C (expandToc):
9592         (expandToc2): code moved from xforms menu frontend. It is now
9593         generic and TOCs are transparent to menu frontends.
9594
9595 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9596
9597         * toc.C (getTocList): protect against buf=0
9598
9599         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9600         Menu as first parameter. Now, this calls itself recursively to
9601         expand a whole tree (this will be useful for TOC handling)
9602         (expandFloatInsert): remove 'wide' version of floats
9603
9604         * MenuBackend.h (submenuname): returns the name of the submenu.
9605         (submenu): returns the submenu itself, provided it has been
9606         created by MenuBackend::expand
9607
9608 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9609
9610         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9611         insets which have noFontChange == true. (bug #172)
9612
9613 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9614
9615         * BufferView_pimpl.C: add connection objects and use them...
9616         (Pimpl): here.
9617
9618 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9619
9620         * MenuBackend.C (expandLastfiles):
9621         (expandDocuments):
9622         (expandFormats):
9623         (expandFloatListInsert):
9624         (expandFloatInsert):
9625         (expand): split expand in parts
9626
9627 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9628
9629         * lyx_gui.C: use lyx_gui::exit()
9630
9631 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9632
9633         * LyXAction.C: show the failing pseudo action
9634
9635 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9636
9637         * buffer.C (readFile): Run the lyxconvert script in order to read
9638         old files.
9639
9640 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9641
9642         * LyXAction.C:
9643         * commandtags.h:
9644         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9645
9646 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9647
9648         * LyXAction.C:
9649         * commandtags.h:
9650         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9651
9652 2002-07-22  Herbert Voss  <voss@lyx.org>
9653
9654         * lengthcommon.C:
9655         * lyxlength.[Ch]: add support for the vertical lengths
9656
9657 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9658
9659         * toc.[Ch]: std:: fixes
9660
9661 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9662
9663         * lyxrc.C: do not include lyx_main.h
9664
9665         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9666         for layouts
9667
9668         * lyxrc.C:
9669         * encoding.C:
9670         * bufferlist.C:
9671         * BufferView2.C: include "lyxlex.h"
9672
9673         * tabular.h:
9674         * bufferparams.h: do not #include "lyxlex.h"
9675
9676         * lyxtextclasslist.C (Add): remove method
9677         (classlist): renamed to classlist_
9678
9679         * paragraph_pimpl.C:
9680         * paragraph.C:
9681         * text2.C:
9682         * CutAndPaste.C:
9683         * bufferview_funcs.C:
9684         * bufferlist.C:
9685         * text.C:
9686         * LaTeXFeatures.C:
9687         * buffer.C:
9688         * toc.C (getTocList): use BufferParams::getLyXTextClass
9689
9690         * toc.C (getTocList): use InsetFloat::addToToc
9691
9692         * toc.[Ch]: new files, containing helper functions to handle table
9693         of contents
9694
9695         * lyxfunc.C (dispatch): no need to remove spaces around command
9696         given as a string
9697         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9698         first command of the sequence; it is not very clever, but I do not
9699         have a better idea, actually
9700
9701         * LyXAction.C (LookupFunc): make sure to remove space at the
9702         beginning and end of the command
9703
9704 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9705
9706         * MenuBackend.C (getMenubar): new method: return the menubar of
9707         this menu set
9708         (read): treat differently reading of menu and menubar (in
9709         particular, the menubar has no name now)
9710         (Menu::menubar): remove
9711
9712         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9713         saving is finished
9714
9715 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9716
9717         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9718         a bibitem inset in a RTL paragraph.
9719
9720 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9721
9722         * paragraph_pimpl.C: constify
9723
9724         * BufferView_pimpl.C:
9725         * LaTeX.C:
9726         * lyxfunc.C: fix dispatch in a nicer way
9727
9728 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9729
9730         * lyxfunc.C (dispatch):
9731         * BufferView_pimpl.C:
9732         * BufferView_pimpl.h:
9733         * BufferView.C:
9734         * BufferView.h: rename Dispatch() to dispatch()
9735
9736         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9737
9738         * lyxlayout.C (Read): honor DependsOn tag
9739
9740         * lyxlayout.[Ch] (depends_on): new method
9741
9742         * version.C.in: update lyx_docversion
9743
9744         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9745
9746         * paragraph.C (validate): remove from here...
9747         * paragraph_pimpl.C (validate): ... and move here
9748         (isTextAt): make it const
9749
9750         * buffer.C (getLists): ws cleanup
9751
9752 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9753
9754         * language.C (read): Use iso8859-1 encoding in latex_lang
9755         (this prevents LyX from crashing when using iso10646-1 encoding).
9756
9757 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9758
9759         * text2.C (toggleInset): if cursor is inside an inset, close the
9760         inset and leave cursor _after_ it
9761
9762 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9763
9764         * lyxfunc.C: move minibuffer completion handling out of here
9765
9766 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9767
9768         * BufferView_pimpl.C:
9769         * LaTeX.C: fix dispatch calls
9770
9771 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9772
9773         * text.C (drawChars): Fix Arabic text rendering.
9774
9775 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9776
9777         * LyXAction.C:
9778         * commandtags.h:
9779         * lyxfunc.C: remove message-push/pop
9780
9781         * lyxserver.C:
9782         * lyxfunc.h:
9783         * lyxfunc.C: rationalise some code by removing verboseDispatch
9784           in favour of a bool argument to dispatch()
9785
9786 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9787
9788         * lyx_main.C (init): make sure to read symlinks as absolute paths
9789
9790 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9791
9792         * lyxfunc.h:
9793         * lyxfunc.C: no need for commandshortcut to be a member
9794
9795 2002-07-15  André Pönitz <poenitz@gmx.net>
9796
9797         * converter.C: add support for $$s (scripts from lib/scripts dir)
9798         * lyx_main.C: white space
9799
9800 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9801
9802         * bufferlist.C:
9803         * lyxrc.h:
9804         * lyxrc.C: remove second exit confirmation
9805
9806 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9807
9808         * BufferView.h:
9809         * BufferView.C:
9810         * BufferView2.C:
9811         * BufferView_pimpl.h:
9812         * BufferView_pimpl.C:
9813         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9814
9815 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9816
9817         * MenuBackend.C (expand): add numeric shortcuts to document menu
9818
9819         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9820
9821 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9822
9823         * lyxfont.C (setLyXFamily):
9824         (setLyXSeries):
9825         (setLyXShape):
9826         (setLyXSize):
9827         (setLyXMisc):
9828         (lyxRead):
9829         * debug.C (value):
9830         * buffer.C (asciiParagraph): use ascii_lowercase
9831
9832 2002-07-15  Mike Fabian  <mfabian@suse.de>
9833
9834         * lyxlex_pimpl.C (search_kw):
9835         * lyxlex.C (getLongString):
9836         * converter.h (operator<):
9837         * converter.C (operator<):
9838         * buffer.C (parseSingleLyXformat2Token):
9839         (asciiParagraph):
9840         * ToolbarDefaults.C (read):
9841         * MenuBackend.C (checkShortcuts):
9842         (read):
9843         * LColor.C (getFromGUIName):
9844         (getFromLyXName): use the compare_ascii_no_case instead of
9845         compare_no_case, because in turkish, 'i' is not the lowercase
9846         version of 'I', and thus turkish locale breaks parsing of tags.
9847
9848 2002-07-16  Angus Leeming  <leeming@lyx.org>
9849
9850         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9851         now takes a Buffer const & argument.
9852
9853 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9854
9855         * BufferView.C (resize): check there's a buffer to resize
9856
9857 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9858
9859         * lyxfunc.C: remove dead code
9860
9861         * lyxserver.h:
9862         * lyxserver.C: use lyx_guii::set_read_callback
9863
9864 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9865
9866         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9867         an inset in a RTL paragraph.
9868
9869 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9870
9871         * lyxfunc.C: repaint after a font size update
9872
9873 2002-07-15  André Pönitz <poenitz@gmx.net>
9874
9875         * lyxlength.C: inBP should be able to return negative values
9876
9877 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9878
9879         * lyxfunc.C: use lyx_gui::update_fonts()
9880
9881 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9882
9883         * lyxfunc.C: use lyx_gui::update_color()
9884
9885 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9886
9887         * bufferlist.C:
9888         * lyxfunc.h:
9889         * lyxfunc.C:
9890         * lyxrc.h:
9891         * lyxrc.C: remove file->new asks for name option, and let
9892           buffer-new take an argument
9893
9894 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * BufferView_pimpl.C: remove unneeded extra repaint()
9897
9898 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9899
9900         * LyXAction.C: allow command-sequence with NoBuffer
9901
9902         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9903
9904 2002-07-10  Angus Leeming  <leeming@lyx.org>
9905
9906         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9907
9908 2002-07-09  Angus Leeming  <leeming@lyx.org>
9909
9910         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9911
9912 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9913
9914         * lengthcommon.h: whitespace
9915
9916         * lyxfunc.C: update scrollbar after goto paragraph
9917
9918         * lyxtext.h: factor out page break drawing, and fix it so
9919           page break/added space paints as selected nicely
9920
9921 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9922
9923         * BufferView_pimpl.C: add FIXMEs, clean up a little
9924
9925 2002-07-09  André Pönitz <poenitz@gmx.net>
9926
9927         * lyxfont.[Ch]: support for wasy symbols
9928
9929 2002-07-08  André Pönitz <poenitz@gmx.net>
9930
9931         * BufferView_pimpl.C: apply John's patch for #93.
9932
9933 2002-07-05  Angus Leeming  <leeming@lyx.org>
9934
9935         * BufferView_pimpl.C (buffer): generate previews if desired.
9936
9937         * LColor.h: add "preview" to the color enum.
9938
9939         * LColor.C (LColor): add a corresponding entry to the items array.
9940
9941         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9942         with this buffer.
9943
9944 2002-07-05  Angus Leeming  <leeming@lyx.org>
9945
9946         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9947         The body of the code is now in the method that is passed an ostream &
9948         rather than a file name.
9949         Pass an additional only_preamble parameter, useful for the forthcoming
9950         preview stuff.
9951
9952 2002-07-03  André Pönitz <poenitz@gmx.net>
9953
9954         * lyxfunc.C: simplify getStatus() a bit for math stuff
9955
9956 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9957
9958         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9959
9960 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9961
9962         * text.C (changeRegionCase): do not change case of all the
9963         document when region ends at paragraph end (bug #461)
9964
9965 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9966
9967         * paragraph.C (startTeXParParams):
9968         (endTeXParParams): add \protect when necessary
9969
9970 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9971
9972         * BufferView_pimpl.C (workAreaExpose): remove warning
9973
9974 2002-06-27  Angus Leeming  <leeming@lyx.org>
9975
9976         * Makefile.am: add lyxlayout_ptr_fwd.h.
9977
9978 2002-06-26  André Pönitz <poenitz@gmx.net>
9979
9980         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9981
9982 2002-06-25  Angus Leeming  <leeming@lyx.org>
9983
9984         * lyxfunc.C (dispatch): Comment out the call to
9985         grfx::GCache::changeDisplay. The method no longer exists now that the
9986         pixmap generation part of the graphics loader has been moved into
9987         InsetGraphics.
9988
9989 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9990
9991         * text2.C: layout as layout
9992
9993         * text.C: layout as layout
9994
9995         * tabular.C (OldFormatRead): layout as layout
9996
9997         * paragraph_pimpl.C (TeXDeeper): layout as layout
9998         (realizeFont): layout as layout
9999
10000         * paragraph.C (writeFile): layout as layout
10001         (validate): layout as layout
10002         (getFont): layout as layout
10003         (getLabelFont): layout as layout
10004         (getLayoutFont): layout as layout
10005         (breakParagraph): layout as layout
10006         (stripLeadingSpaces): layout as layout
10007         (getEndLabel): layout as layout
10008         (getMaxDepthAfter): layout as layout
10009         (applyLayout): layout as layout
10010         (TeXOnePar): layout as layout
10011         (simpleTeXOnePar): layout as layout
10012         (TeXEnvironment): layout as layout
10013         (layout): layout as layout
10014         (layout): layout as layout
10015
10016         * lyxtextclass.C (compare_name): new functor to work with
10017         shared_ptr, layout as layout
10018         (Read): layout as layout
10019         (hasLayout): layout as layout
10020         (operator): layout as layout
10021         (delete_layout): layout as layout
10022         (defaultLayout): layout as layout
10023
10024         * lyxlayout_ptr_fwd.h: new file
10025
10026         * lyxlayout.C (Read): layout as layout
10027
10028         * lyx_cb.C (MenuInsertLabel): layout as layout
10029
10030         * bufferlist.C (newFile): layout as layout
10031
10032         * buffer.C (readLyXformat2): layout as layout
10033         (parseSingleLyXformat2Token): layout as layout
10034         (insertStringAsLines): layout as layout
10035         (asciiParagraph): layout as layout
10036         (latexParagraphs): layout as layout
10037         (makeLinuxDocFile): layout as layout
10038         (simpleLinuxDocOnePar): layout as layout
10039         (makeDocBookFile): layout as layout
10040         (simpleDocBookOnePar): layout as layout
10041         (getLists): layout as layout
10042
10043         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10044
10045         * CutAndPaste.C (cutSelection): layout as layout
10046         (pasteSelection): layout as layout
10047         (SwitchLayoutsBetweenClasses): layout as layout
10048
10049         * BufferView_pimpl.C (Dispatch): layout as layout
10050         (smartQuote): layout as layout
10051
10052         * BufferView2.C (unlockInset): layout as layout
10053
10054 2002-06-24  André Pönitz <poenitz@gmx.net>
10055
10056         * lyxfunc.C: fix #487
10057
10058 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10059
10060         * lyxrc.h:
10061         * lyxrc.C:
10062         * lyxfunc.C: remove display_shortcuts, show_banner
10063
10064 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10065
10066         * Buffer_pimpl.C: oops, update on resize
10067
10068 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10069
10070         * buffer.C:
10071         * converter.C:
10072         * exporter.C:
10073         * lyxfunc.C:
10074         * BufferView.h:
10075         * BufferView.C: use repaint()
10076
10077         * BufferView_pimpl.h:
10078         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10079           as it's a clearer description. Remove superfluous
10080           redraws.
10081
10082 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10083
10084         * text.C: fix bug 488. Not ideal, but getting
10085           getWord() to work properly for the insets that
10086           matter is more difficult ...
10087
10088 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10089
10090         * BufferView_pimpl.C:
10091         * LyXAction.C:
10092         * commandtags.h:
10093         * lyxfunc.C: remove the six million index lyxfuncs to just
10094           one, and DTRT (bug 458)
10095
10096 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10097
10098         * BufferView.h:
10099         * BufferView.C:
10100         * BufferView_pimpl.h:
10101         * BufferView_pimpl.C: clean up resize() stuff,
10102           and unnecessary updateScreen()s
10103
10104 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10105
10106         * BufferView.h:
10107         * BufferView.C:
10108         * BufferView_pimpl.h:
10109         * BufferView_pimpl.C:
10110         * lyxfind.h:
10111         * lyxfind.C:
10112         * minibuffer.C: remove focus management of workarea,
10113           not needed. Use screen's greyOut()
10114
10115 2002-06-17  Herbert Voss  <voss@lyx.org>
10116
10117         * converter.C: (convert) do not post a message, when converting
10118         fails, let the calling function decide what to do in this case
10119
10120 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10121
10122         * lyxfunc.C: tidy up a little
10123
10124 2002-06-16    <alstrup@diku.dk>
10125
10126         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10127         Got rid of FORMS_H_LOCATION include. Now we are
10128         GUII.
10129
10130 2002-06-15  LyX Development team  <lyx@rilke>
10131
10132         * buffer.[Ch] (sgmlOpenTag):
10133         (sgmlCloseTag): Added support for avoiding pernicious mixed
10134         content. Return number of lines written.
10135
10136         (makeLinuxDocFile):
10137         (makeDocBookFile): Fixed calls to sgml*Tag.
10138         Simple white space clean.
10139
10140         (simpleDocBookOnePar): Simple white space clean.
10141
10142         * tabular.[Ch] (docBook): Renamed to docbook and got another
10143         argument to related with the pernicious mixed content.
10144
10145         (docbookRow): Fixed calls for docbook inset method.
10146
10147 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10148
10149         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10150         so it's X11 independent.
10151
10152         * kb*.[Ch]: ditto.
10153
10154         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10155
10156 2002-06-15  Lyx Development team  <lyx@electronia>
10157
10158         * intl.h: Renamed getTrans to getTransManager.
10159
10160 2002-06-14  Angus Leeming  <leeming@lyx.org>
10161
10162         * Makefile.am: nuke forgotten stl_string_fwd.h.
10163
10164 2002-06-12  Angus Leeming  <leeming@lyx.org>
10165
10166         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10167
10168 2002-06-13  Angus Leeming  <leeming@lyx.org>
10169
10170         * LaTeX.C:
10171         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10172
10173 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10174
10175         * kbmap.C (getiso): add support for cyrillic and greek
10176
10177 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10178
10179         * BufferView.h:
10180         * BufferView.C:
10181         * BufferView_pimpl.h:
10182         * BufferView_pimpl.C: move bogus scrolling logic
10183           to xforms
10184
10185 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10186
10187         * lyxfunc.C:
10188         * BufferView_pimpl.C: view->resize() change
10189
10190 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10191
10192         * BufferView_pimpl.C: topCursorVisible
10193           prototype change
10194
10195 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10196
10197         * Makefile.am:
10198         * lyx_gui.h:
10199         * lyx_gui.C: move to frontends/
10200
10201         * main.C:
10202         * lyx_main.h:
10203         * lyx_main.C: changes from above
10204
10205 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10206
10207         * intl.C:
10208         * intl.h:
10209         * kbmap.C:
10210         * kbsequence.C:
10211         * lyx_cb.C:
10212         * lyx_main.C: minor tidy
10213
10214 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10215
10216         * BufferView_pimpl.h:
10217         * BufferView_pimpl.C:
10218         * BufferView.h:
10219         * BufferView.C: make painter() const,
10220           remove dead code
10221
10222         * BufferView2.C: use screen() accessor
10223
10224         * lyx_main.h:
10225         * lyx_main.C: some minor cleanup
10226
10227 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10228
10229         * BufferView_pimpl.h:
10230         * BufferView_pimpl.C: remove enter/leaveView,
10231           use workHeight()
10232
10233 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10234
10235         * BufferView.h:
10236         * BufferView.C:
10237         * BufferView2.C:
10238         * BufferView_pimpl.h:
10239         * BufferView_pimpl.C: only construct screen once,
10240           rename
10241
10242         * lyxrc.C: remove pointless comment
10243
10244 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10245
10246         * BufferView.h:
10247         * BufferView.C: remove active() and belowMouse()
10248
10249         * BufferView_pimpl.h:
10250         * BufferView_pimpl.C: use workarea() not workarea_,
10251           and make it use a scoped_ptr instead
10252
10253 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10254
10255         * lyx_gui.C: add debug message on BadWindow
10256
10257 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10258
10259         * sp_spell.C: fdopen is not part of the C++ standard.
10260
10261         * paragraph.C (InsetIterator): use >= instead of ==
10262
10263 2002-06-07  Angus Leeming  <leeming@lyx.org>
10264
10265         Fixes needed to compile with Compaq cxx 6.5.
10266         * BufferView_pimpl.C:
10267         * DepTable.C:
10268         * buffer.C:
10269         * converter.C:
10270         * encoding.C:
10271         * lyx_gui.C:
10272         * lyx_main.C:
10273         * lyxtextclasslist.C:
10274         * minibuffer.C:
10275         * sp_spell.C:
10276         * tabular_funcs.C:
10277         * vc-backend.C:
10278         all c-library variables have been moved into namespace std. Wrap
10279         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10280
10281         * lyxlength.C:
10282         * tabular-old.C:
10283         * tabular.C:
10284         Add a using std::abs declaration.
10285
10286         * kbmap.h (modifier_pair):
10287         * paragraph.h (InsetTable, InsetList):
10288         * lyxfont.h (FontBits):
10289         type definition made public.
10290
10291         * bufferlist.C (emergencyWriteAll): the compiler complains that
10292         there is more than one possible lyx::class_fun template to choose from.
10293         I re-named the void specialisation as lyx::void_class_fun.
10294
10295         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10296
10297         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10298         the compiler is is unable to find tostr in write_attribute.
10299
10300 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10301
10302         * buffer.C (sgmlError): hide #warning
10303
10304 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10305
10306         * xtl/*: get rid of xtl, which is not in use anyway
10307
10308         * LyXAction.C (init):
10309         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10310         were unimplemented xtl experimentation
10311
10312 2002-06-04  André Pönitz <poenitz@gmx.net>
10313
10314         * lyxfunc.C: disable array operation on simple formulae
10315
10316 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10317
10318         * converter.C: constify a bit
10319
10320 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10321
10322         * lyx_gui.C: check xforms version correctly
10323
10324 2002-04-30  Herbert Voss  <voss@lyx.org>
10325
10326         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10327         "keep" option
10328
10329 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10330
10331         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10332           attempt to register it with a VCS)
10333
10334 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10335
10336         * lyx_main.C (init): honor variables LYX_DIR_13x and
10337         LYX_USERDIR_13x
10338
10339 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10340
10341         * buffer.h:
10342         * buffer.C:
10343         * lyx_main.C: fix a crash on bad command line,
10344           and give a useful exit status on error
10345
10346         * lyxfunc.C (doImport): allow -i lyx to work
10347
10348 2002-03-30  André Pönitz <poenitz@gmx.net>
10349
10350         * lyxfunc.C: mathed font changes
10351
10352 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10353
10354         * LaTeX.C:
10355         * importer.h:
10356         * importer.C:
10357         * lyx_sty.h:
10358         * lyx_sty.C:
10359         * lyxlex.C:
10360         * lyxrow.h:
10361         * lyxtext.h:
10362         * paragraph.h:
10363         * paragraph.C:
10364         * texrow.h:
10365         * texrow.C:
10366         * text.C:
10367         * trans_mgr.h: srcdocs, and some minor cleanups
10368
10369 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10370
10371         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10372         call getFont all the time)
10373
10374 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10375
10376         * switch from SigC signals to boost::signals
10377
10378 2002-05-29  André Pönitz <poenitz@gmx.net>
10379
10380         * paragraph_pimpl.C (getChar): don't call size() too often...
10381
10382 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10383
10384         * paragraph_pimpl.C (insertChar): do not try to update tables when
10385         appending (pos == size())
10386
10387         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10388         in order to reduce drastically the number of comparisons needed to
10389         parse a large document
10390
10391 2002-05-29  André Pönitz <poenitz@gmx.net>
10392
10393         * text.C:
10394         * text2.C:
10395         * lyxtextclass.C:
10396         * sp_pspell.h:
10397         * textclasslist.[Ch]:
10398         * sp_ispell.h: whitespace change
10399
10400 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10401
10402         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10403         lyxaction directly now.
10404
10405 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10406
10407         * trans.C:
10408         * lyxfont.C:
10409         * lyxvc.C: remove unused headers
10410
10411 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10412
10413         * Makefile.am:
10414         * buffer.h:
10415         * undostack.h:
10416         * undostack.C:
10417         * undo_funcs.h:
10418         * undo_funcs.C: some cleanups. Use shared_ptr
10419           and a template for the undo stacks.
10420
10421 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10422
10423         * BufferView_pimpl.h:
10424         * BufferView_pimpl.C:
10425         * kbmap.h:
10426         * kbmap.C:
10427         * kbsequence.h:
10428         * kbsequence.C:
10429         * lyxfunc.h:
10430         * lyxfunc.C:
10431         * text2.C: use key_state/mouse_state
10432
10433 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10434
10435         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10436         and LSubstring
10437
10438         * chset.C: change include order
10439         (loadFile): use boost regex and get rid of LRegex and LSubstring
10440
10441         * Makefile.am (BOOST_LIBS): new variable
10442         (lyx_LDADD): use it
10443
10444         * LaTeX.C: change include order.
10445         (scanAuxFile): use boost regex and get rid of LRegex and
10446         LSubstring
10447         (deplog): ditto
10448
10449 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10450
10451         * ColorHandler.h:
10452         * ColorHandler.C:
10453         * FontInfo.h:
10454         * FontInfo.C: moved to frontends/xforms/
10455
10456         * FontLoader.h:
10457         * FontLoader.C: moved into frontends for GUIIzation
10458
10459         * Makefile.am:
10460         * lyx_gui.C:
10461         * lyxfont.C:
10462         * lyxfunc.C: changes from above
10463
10464 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10465
10466         * LColor.C: remove spurious X include
10467
10468         * BufferView_pimpl.C:
10469         * Makefile.am:
10470         * font.h:
10471         * font.C:
10472         * text.C:
10473         * text2.C: move font metrics to frontends/
10474
10475 2002-05-24  Juergen Vigna  <jug@sad.it>
10476
10477         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10478         setting the undo_cursor.
10479
10480         * ParagraphParameters.h: include local includes first.
10481
10482 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10483
10484         * BufferView_pimpl.C:
10485         * BufferView_pimpl.h:
10486         * Makefile.am:
10487         * WorkArea.h:
10488         * WorkArea.C:
10489         * screen.C: move WorkArea into frontends/
10490
10491         * lyxscreen.h:
10492         * screen.C:
10493         * text.C:
10494         * BufferView.C:
10495         * BufferView2.C: move LyXScreen into frontends/
10496
10497         * lyxlookup.h:
10498         * lyxlookup.C:
10499         * lyx_gui.C: move lyxlookup into frontends/xforms/
10500
10501 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10502
10503         * BufferView2.C:
10504         * BufferView_pimpl.C:
10505         * FontLoader.C:
10506         * LyXView.h:
10507         * LyXView.C:
10508         * Makefile.am:
10509         * WorkArea.C:
10510         * XFormsView.h:
10511         * XFormsView.C:
10512         * buffer.C:
10513         * bufferlist.C:
10514         * bufferview_funcs.C:
10515         * converter.C:
10516         * importer.C:
10517         * lyx_cb.C:
10518         * lyx_gui.C:
10519         * lyx_main.C:
10520         * lyx_find.C:
10521         * lyxfunc.C:
10522         * lyxvc.C:
10523         * minibuffer.C:
10524         * text.C:
10525         * text2.C:
10526         * trans.C:
10527         * vc-backend.C: move LyX/XFormsView into frontends/
10528
10529 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10530
10531         * Makefile.am:
10532         * PainterBase.C:
10533         * PainterBase.h:
10534         * Painter.C:
10535         * Painter.h:
10536         * WorkArea.C:
10537         * WorkArea.h:
10538         * screen.C:
10539         * tabular.C:
10540         * text.C:
10541         * text2.C: move Painter to frontends/
10542
10543 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10544
10545         * buffer.C: comment out some some code that depend upon lyx_format
10546         < 220
10547
10548         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10549         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10550
10551         * buffer.h (NO_COMPABILITY): turn off compability
10552
10553         * ColorHandler.C: include scoped_array.hpp
10554
10555         * font.C: Use more specific smart_ptr header.
10556         * Painter.C: ditto
10557         * gettext.C: ditto
10558         * ShareContainer.h: ditto
10559         * lyx_main.h: ditto
10560         * kbmap.h: ditto
10561         * FontInfo.h: ditto
10562         * BufferView_pimpl.h: ditto
10563         * ColorHandler.h: ditto
10564
10565         * kbmap.C (defkey): change call to shared_ptr::reset
10566
10567 2002-05-21  Juergen Vigna  <jug@sad.it>
10568
10569         * buffer.C (insertErtContents): fix to insert ert asis if it is
10570         non empty. Skip it completely if it contains only whitespaces.
10571
10572 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10573
10574         * BufferView_pimpl.C:
10575         * BufferView2.C: clear selection on paste (bug 393)
10576
10577 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10578
10579         * DepTable.C: include ctime
10580
10581 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10582
10583         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10584
10585 2002-05-14  Juergen Vigna  <jug@sad.it>
10586
10587         * text.C (breakParagraph): fixed function to honor the keepempty
10588         layout in the right maner and also to permit the right breaking
10589         algorithm on empty or non empyt keepempty paragraphs.
10590
10591         * paragraph.C (breakParagraph): we have to check also if the par
10592         is really empty (!size()) for isempty otherwise we do the wrong
10593         paragraph break.
10594
10595 2002-05-10  Juergen Vigna  <jug@sad.it>
10596
10597         * buffer.[Ch] : The following are only changes to the ert
10598         compatibility read reading old LaTeX layout and font stuff and
10599         convert it to ERTInsets.
10600
10601         * buffer.h: added isErtInset().
10602
10603         * buffer.C (struct ErtComp): add a fromlayout bool to check
10604         if we're inside a LaTeX layout.
10605         (isErtInset): new helper function.
10606         (insertErtContents): look for other ert insets before this one
10607         and insert the contents there, so that we don't have subsequent
10608         ERT insets with nothing between them. This way we create only one
10609         inset with multiple paragraphs. Also check if we don't insert only
10610         spaces ' ' as they are ignored anyway afterwards in the .tex file
10611         so if we have only spaces we will ignore this latex part in the
10612         new file.
10613         (parseSingleLyXformat2Token \\layout): better compatibility when
10614         reading layout-latex stuff.
10615         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10616         language tag.
10617         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10618         stuff after reading the inset only get the information back from
10619         the stack.
10620
10621 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10622
10623         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10624
10625         * LaTeXFeatures.C (getBabelOptions): New method.
10626
10627 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10628
10629         * BufferView_pimpl.C (Dispatch): work around missing argument for
10630         'layout'
10631
10632 2002-05-08  Juergen Vigna  <jug@sad.it>
10633
10634         * text.C (leftMargin): handle paragraph leftindent.
10635
10636         * paragraph.C (writeFile): write the new \\leftindent tag.
10637         (validate): handle leftindent code.
10638         (TeXEnvironment): handle paragraphleftindent code again.
10639
10640         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10641
10642         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10643         for paragrap_extra indent code and new token \\leftindent.
10644         (latexParagraphs): handle the leftindent as environment.
10645
10646         * ParameterStruct.h: added leftindent support.
10647
10648         * ParagraphParameters.C (leftIndent): added support functions for
10649         the paragraph left indent.
10650
10651         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10652         more appropriate.
10653
10654 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10655
10656         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10657         inside insetERT.
10658
10659         * text.C (computeBidiTables): No bidi in insetERT.
10660
10661         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10662         in RTL documents.
10663
10664 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10665
10666         * version.C.in: pre 5
10667
10668 2002-05-02  José Matos  <jamatos@fep.up.pt>
10669         * buffer.C (makeDocBookFile): white space changes, add newline to
10670         command styles.
10671         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10672
10673         * tabular.C (docBook): fix typo.
10674
10675 2002-05-03  Juergen Vigna  <jug@sad.it>
10676
10677         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10678         change in LyXText as we can not be sure it was not freed.
10679         (drawOneRow): remove unused code.
10680
10681         * text.C (drawInset): redo the calculation of the need_break_row as
10682         it could have a row which was already freed.
10683         (draw): look at the return value of drawInset and return false if
10684         it also returned false.
10685         (paintRowText): look at the return value of draw and return false if
10686         it also returned false.
10687
10688         * lyxtext.h: added bool return type to drawInset() and draw() so that
10689         if we have a change in the row so that the rowbreak has to be redone
10690         we abort drawing as it will be called again.
10691
10692 2002-05-02  Juergen Vigna  <jug@sad.it>
10693
10694         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10695         a change in the maintext also if we're inside an inset.
10696         (Dispatch): set the cursor again after a break line and after the
10697         screen has been updated as it could be we're in a different row.
10698
10699         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10700         to set the cursor behind the pargraph with > size().
10701         (setCursor): check also for the same paragraph when checking where
10702         to put the cursor if we have a NFR inset.
10703
10704         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10705         parts of layout read further up as it still was in the wrong
10706         position.
10707
10708 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10709
10710         * screen.C (drawFromTo): change sine fullRebreak always return
10711         true.
10712
10713         * buffer.C (parseSingleLyXformat2Token): reindent some
10714
10715         * BufferView_pimpl.C (update): change since fullRebreak always
10716         return true.
10717         (Dispatch): git rid of the last hardcoded "Standard"s.
10718
10719 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10720
10721         * text2.[Ch] (fullRebreak): make it return void now that we always
10722         returned true.
10723
10724 2002-04-30  Juergen Vigna  <jug@sad.it>
10725
10726         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10727         ert compatibility check for "latex" layout.
10728
10729 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10730
10731         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10732         minipages: use col% instead of p%, and also use the current font.
10733         (makeLaTeXFile): Fix use babel condition.
10734         (parseSingleLyXformat2Token): Correct font when reading old floats.
10735
10736 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10737
10738         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10739         inserting list of floats.
10740
10741 2002-04-25  Herbert Voss  <voss@lyx.org>
10742
10743         * MenuBackend.C (expand): don't add the graphics extensions to the
10744         export menu
10745
10746 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10747
10748         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10749         non-existing layout, do not complain if it was the default layout
10750         of the original class (bug #342)
10751
10752 2002-04-24  Juergen Vigna  <jug@sad.it>
10753
10754         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10755         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10756
10757 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10758
10759         * buffer.C (getBibkeyList): If using \bibliography, return the
10760         option field with the reference itself. Enables us to provide natbib
10761         support when using \bibliography.
10762
10763 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10764
10765         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10766
10767         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10768         natbib is provided by the LaTeX class.
10769
10770 2002-04-23  Juergen Vigna  <jug@sad.it>
10771
10772         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10773         Wakeup functions.
10774
10775         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10776
10777 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10778
10779         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10780
10781         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10782         ensuremath around textordmasculine, textordfeminine and
10783         textdegree.
10784
10785 2002-04-19  Juergen Vigna  <jug@sad.it>
10786
10787         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10788         reinitializing the buffer otherwise row-dimensions may be wrong.
10789         (update): reset also the selection cursors if they do exits otherwise
10790         their x/y positions may be wrong.
10791
10792         * text2.C (cursorDown): don't enter the inset if we came from a row
10793         above and are one row over the inset.
10794
10795         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10796         really leaving an inset.
10797
10798 2002-04-18  Juergen Vigna  <jug@sad.it>
10799
10800         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10801         of the selected paragraph does not have the selected layout also if
10802         the last one had!
10803
10804         * text2.C (setLayout): fixed bug which did not change last selected
10805         paragraph.
10806
10807         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10808         changed the read and substituted \\end_float with \\end_inset!
10809
10810         * BufferView_pimpl.C (cursorPrevious):
10811         (cursorNext): fixed to make it work with rows heigher than the work
10812         area without moving the cursor only the draw of the row.
10813         (workAreaMotionNotify): fix jumping over high rows.
10814
10815 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10816
10817         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10818         Ressler.
10819
10820 2002-04-16  Juergen Vigna  <jug@sad.it>
10821
10822         * text2.C (setCursor): set also the irow().
10823         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10824         (cursorUp):
10825         (cursorDown): support for locking an inset if the x_fix value goes
10826         inside it. That way I can transverse insets too with cursor up/down.
10827
10828         * lyxrow.h: added irow helper function same as other (i) functions.
10829
10830         * BufferView_pimpl.C (cursorPrevious):
10831         (cursorNext): fixed for insets!
10832
10833 2002-04-15  Juergen Vigna  <jug@sad.it>
10834
10835         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10836         position otherwise it is wrong in some cases.
10837
10838         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10839         inside the inset before the call.
10840
10841 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10842
10843         * buffer.[Ch] (getBibkeyList): make it const.
10844
10845 2002-04-12  Juergen Vigna  <jug@sad.it>
10846
10847         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10848
10849         * text2.C (getCursorX): new helper function
10850         (setCursor): compute also ix_
10851         (setCursorFromCoordinates): set also ix.
10852
10853         * lyxcursor.h: added ix_ and helper functions.
10854
10855         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10856
10857         * buffer.C (insertStringAsLines): dont break paragraph if the this
10858         paragraph is inside an inset which does not permit it!
10859
10860         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10861         also with no chars on this paragraph.
10862         (paintRowText): only paint stuff if it's inside the workarea!
10863
10864         * paragraph.C (breakParagraph): honor keepempty flag and break the
10865         paragraph always below not above.
10866
10867         * BufferView2.C (unlockInset): update the paragraph layout on inset
10868         unlock as we changed paragraph in such a case.
10869
10870         * lyxfind.C (LyXFind): clear the former selection if not found!
10871
10872         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10873         again called in insertChar().
10874
10875         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10876         an inset which uses the whole row!
10877         (rightMargin): ditto.
10878         (insertChar): force a rebreak if we inserted an inset!
10879
10880 2002-03-28  Herbert Voss  <voss@lyx.org>
10881
10882         * lyxlength.[Ch]: add inBP() to get the right PS-point
10883         units (BigPoint). With inPixels we have rounding errors
10884
10885 2002-04-11  Juergen Vigna  <jug@sad.it>
10886
10887         * text2.C (setCursorFromCoordinates): set iy to the right value.
10888         (setCursor): add check if row->previous exists!
10889
10890         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10891         an old float_type as this was the case in the old code!
10892
10893         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10894
10895         * BufferView2.C (showLockedInsetCursor): use iy
10896         (fitLockedInsetCursor): ditto
10897
10898         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10899         locked insets as there we have the right value now.
10900
10901         * lyxcursor.C: added iy_ variable and iy functions to set to the
10902         baseline of cursor-y of the locked inset.
10903
10904         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10905         (setCursor): fixed for insets which need a full row.
10906
10907         * text.C (rowLastPrintable): don't ignore the last space when before
10908         an inset which needs a full row.
10909         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10910         as last character of a row when before a inset which needs a full row.
10911
10912 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10913
10914         * version.C.in: update date
10915
10916         * text2.C (fullRebreak): try to always return true and see what
10917         happens...
10918
10919 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10920
10921         * MenuBackend.C (expand): use Floating::listName
10922
10923         * FloatList.C (FloatList): add listName argument to the built-in
10924         floats
10925
10926         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10927         text associated with the float.
10928
10929 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10930
10931         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10932
10933 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10934
10935         * ShareContainer.h: add a couple of missing typenames.
10936
10937 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10938
10939         * lyxrc.C (getDescription): use _() correctly rather than N_().
10940
10941 2002-03-28  Herbert Voss  <voss@lyx.org>
10942
10943         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10944         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10945
10946 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10947
10948         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10949         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10950
10951 2002-03-29  Juergen Vigna  <jug@sad.it>
10952
10953         * lyxfunc.C (dispatch): add a missing fitCursor call.
10954
10955         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10956         it was scrolled by a cursor move, so return the bool status.
10957
10958         * BufferView.C (fitCursor): return the bool flag also to the outside
10959         world as this is needed.
10960
10961         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10962
10963         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10964         call the edit() as it is not needed (and wrong) IMO.
10965         (workAreaButtonPress): set the screen_first variable before evt.
10966         unlock the inset as this may change screen_first and then we have
10967         a wrong y position for the click!
10968
10969 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10970
10971         * MenuBackend.C (expand): another translation that I missed
10972
10973 2002-03-28  Juergen Vigna  <jug@sad.it>
10974
10975         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10976
10977         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10978
10979 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10980
10981         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10982
10983         * MenuBackend.C (expand): fix export/view/update when there is no
10984         document open.
10985
10986 2002-03-27  Herbert Voss  <voss@lyx.org>
10987
10988         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10989         and text%
10990
10991 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10992
10993         * bufferview_funcs.C (currentState): only show paragraph number
10994         for is DEVEL_VERSION is set.
10995
10996         * lyxfunc.C (dispatch): put warning in INFO channel
10997
10998         * MenuBackend.C (expand): translate the name of floats
10999
11000         * FloatList.C (FloatList): mark the float names for translation
11001
11002         * converter.C (convert): use LibScriptSearch
11003
11004 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11005
11006         * MenuBackend.C (defaults): fix default menu (we might as well get
11007         rid of it...)
11008
11009 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11010
11011         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11012         directory.
11013
11014 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11015
11016         * lyxvc.C: reorder includes.
11017
11018 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11019
11020         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11021           properly
11022
11023 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11024
11025         * CutAndPaste.C: change layouts earlier on paste
11026           to avoid crashing when calling getFont()
11027
11028 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11029
11030         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11031         irritating #error.
11032
11033 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11034
11035         * WorkArea.C: remove 'Pending' debug message.
11036
11037         * most files: ws cleanup
11038
11039         * buffer.[Ch]: ws changes
11040
11041         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11042
11043 2002-03-21  Juergen Vigna  <jug@sad.it>
11044
11045         * tabular.C (SetMultiColumn): collapse also the contents of the
11046         cells and set the last border right. Added a Buffer const * param.
11047
11048 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11049
11050         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11051         linking or not.
11052
11053 2002-03-19  Juergen Vigna  <jug@sad.it>
11054
11055         * text2.C (clearSelection): reset also xsel_cache.
11056
11057         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11058         where it needs to be called (John tells us to do so too :)
11059         (selectionLost): reset sel_cache.
11060
11061         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11062
11063 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11064
11065         * text2.C (setCursorIntern): put debuging code in INSETS channel
11066
11067 2002-03-19  André Pönitz <poenitz@gmx.net>
11068
11069         * lyxfunc.C: tiny whitespace change
11070
11071 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11072
11073         * ToolbarDefaults.C (init):
11074         * LyXAction.C (init):
11075         * commandtags.h:
11076         * BufferView_pimpl.C (Dispatch):
11077         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11078
11079 2002-03-19  Allan Rae  <rae@lyx.org>
11080
11081         * exporter.C (Export): removeAutoInsets before doing anything else.
11082         While I've just introduced a dependency on BufferView this really is
11083         the best place to clean the buffer otherwise you need to cleanup in
11084         a dozen places before calling export or cleanup in a dozen functions
11085         that export calls.
11086
11087         * converter.C (runLaTeX):
11088         (scanLog): Better handling of removeAutoInsets and screen updates.
11089
11090         * lyxfunc.C (dispatch): small whitespace changes
11091
11092 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11093
11094         * WorkArea.C (C_WorkAreaEvent): return a value.
11095         (event_cb): return 1 if we handled the event, 0 otherwise.
11096
11097         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11098
11099 2002-03-18  Juergen Vigna  <jug@sad.it>
11100
11101         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11102         (GetAdditionalWidth): ditto.
11103         (RightLine): ditto.
11104         (LeftLine): ditto.
11105
11106         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11107         inset if we're there actually (probably not used right now but this
11108         is the direction to go for unifying code).
11109         (paste): disable code to clear the selection.
11110
11111         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11112         inside an InsetText and move the check further up as it is in the
11113         wrong place.
11114
11115         * text2.C (pasteSelection): set a selection over the pasted text.
11116
11117 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11118
11119         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11120         and libgraphics to build on Cygwin.
11121
11122 2002-03-15  Juergen Vigna  <jug@sad.it>
11123
11124         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11125         inserting an Inset into the paragraph. I know this is not the best
11126         fix but we already use current_view in CutAndPaste so we will remove
11127         all of it's using at the same time.
11128
11129         * buffer.C (sgmlError): deactivated function till it is rewritten in
11130         the right mode, now it can create problems.
11131
11132         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11133         before accessing it.
11134
11135 2002-03-14  Juergen Vigna  <jug@sad.it>
11136
11137         * undo_funcs.C (textHandleUndo): do the right thing when updating
11138         the inset after the undo/redo.
11139
11140         * text2.C (setCursor): just some testcode for #44 not ready yet.
11141
11142         * undo_funcs.C (textHandleUndo): set the next() and previous()
11143         pointers of the paragraph to 0 before deleting otherwise we have
11144         problems with the Paragraph::[destructor].
11145
11146         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11147         on a paragraph insertion.
11148
11149 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11150
11151         * buffer.C (asciiParagraph): use += operator for char append to
11152         string.
11153
11154         * paragraph.C (getFontSettings): compare >= not just >
11155         (highestFontInRange): ditto
11156         (setFont): ditto
11157
11158 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11159
11160         * paragraph.C: change several algorithm to be more appripriate for
11161         the problem domain. This is lookip in FontList and in the InsetList.
11162
11163 2002-03-13  André Pönitz <poenitz@gmx.net>
11164
11165         * commandtags.h:
11166         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11167
11168 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11169
11170         * commandtags.h:
11171         * LyXAction.C:
11172         * lyxfunc.C:
11173         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11174
11175 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11176
11177         * Painter.C (display): anon helper function, adjust code for this
11178         change.
11179         (pixmap): remove function.
11180
11181         * Painter.h: remove private display variable.
11182
11183         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11184
11185 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11186
11187         * WorkArea.[Ch]: remove figinset_canvas cruft.
11188
11189 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11190
11191         * lyxtextclass.C (operator): add one item cache optimization.
11192
11193         * bufferlist.h: doxy changes
11194
11195         * bufferlist.C: ws changes
11196
11197         * DepTable.[Ch] (ext_exist): place const in the right spot.
11198
11199         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11200         call resizeInsets.
11201         (workAreaExpose): call resizeInsets when the with BufferView changes.
11202         (Dispatch): adjust for protectedBlank removal
11203         (specialChar): call updateInset if the insert went ok.
11204
11205         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11206         specialChar instead.
11207
11208         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11209
11210         * BufferView.h: doxy change
11211
11212         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11213
11214         * lyxtextclass.C (operator[]): remove non-const version
11215         (defaultLayout): remove non-const version
11216
11217 2002-03-12  Juergen Vigna  <jug@sad.it>
11218
11219         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11220         did resize the LyXText too.
11221
11222         * buffer.C (readLyXformat2): set layout information on newly allocated
11223         paragraphs.
11224
11225         * tabular.C (OldFormatRead): set layout information on the paragraph.
11226
11227 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11228
11229         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11230
11231 2002-03-11  Juergen Vigna  <jug@sad.it>
11232
11233         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11234         plainly wrong.
11235         (resizeCurrentBuffer): force also the insets to resize themselfes.
11236         (moveCursorUpdate): fixed up for InsetText.
11237
11238 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11239
11240         * commandtags.h:
11241         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11242         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11243         value of Dialogs::tooltipsEnabled().
11244         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11245
11246 2002-03-08  Juergen Vigna  <jug@sad.it>
11247
11248         * BufferView_pimpl.C (updateInset): update inset inside inset also
11249         if it isn't inside theLockingInset().
11250
11251 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11252
11253         * buffer.C (asciiParagraph): redo some of the word and line length
11254         handling.
11255         (getLists): look for Caption instead of caption.
11256
11257 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11258
11259         * buffer.C (Buffer): initialize niceFile to true
11260         (makeLaTeXFile):
11261         (makeLinuxDocFile):
11262         (makeDocBookFile): make sure niceFile is true on exit
11263
11264 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11265
11266         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11267
11268 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11269
11270         * LyXSendto.C: remove.
11271         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11272         * lyx_gui.C: remove now-redundant comment.
11273         * ColorHandler.h: remove forward declaration of class WorkArea.
11274         * lyxfunc.C: remove #include "WorkArea.h".
11275
11276 2002-03-07  Juergen Vigna  <jug@sad.it>
11277
11278         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11279         got moved away with the DEPM and also set the inset_owner always
11280         right which before could have been omitted.
11281
11282 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11283
11284         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11285         wanted layout is not found.
11286
11287 2002-03-07  Juergen Vigna  <jug@sad.it>
11288
11289         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11290
11291 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11292
11293         * paragraph.C (breakParagraph): use default layout not layout of
11294         prev paragraph.
11295         (Paragraph): clear ParagraphParameters.
11296
11297 2002-03-06  Juergen Vigna  <jug@sad.it>
11298
11299         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11300         otherwise it would not be a valid lenght. Fixed a special case in
11301         the minipage compatibility read where we end the document with a
11302         minipage.
11303
11304         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11305         was set as it could be 0 for InsetTexts first entry.
11306
11307 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11308
11309         * paragraph.C (writeFile): if layout is empty write out
11310         defaultLayoutName().
11311
11312         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11313         file without named layout we set layout to defaultLayoutName().
11314
11315 2002-03-06  Juergen Vigna  <jug@sad.it>
11316
11317         * CutAndPaste.C (copySelection): set layout for new paragraph.
11318
11319         * text.C (prepareToPrint): leave ERT inset left aligned
11320         (leftMargin): don't indent paragraphs inside ERT insets
11321
11322 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11323
11324         * paragraph.C (breakParagraph): dont call clear do the work manually
11325
11326         * paragraph.[Ch] (clear): remove function
11327
11328 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11329
11330         * paragraph.C (Paragraph): dont call clear, the work has already
11331         been done.
11332
11333         * lyxtextclass.C (operator): assert if n is empty
11334
11335         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11336         work manually instead.
11337
11338 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11339
11340         * BufferView_pimpl.C: protect selectionLost against text == 0
11341
11342 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11343
11344         * text.C (breakParagraph): fix a setting layout to '0' problem.
11345
11346 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11347
11348         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11349         final location of file, for the included files, and graphics.
11350
11351 2002-03-05  Juergen Vigna  <jug@sad.it>
11352
11353         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11354
11355 2002-03-04  Juergen Vigna  <jug@sad.it>
11356
11357         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11358
11359         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11360         last column of multicolumn cells.
11361         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11362
11363 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11364
11365         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11366         file if it doesn't go to a temporary file.
11367
11368         * buffer.C (sgmlOpenTag):
11369         (sgmlCloseTag):  remove extra newline insertion.
11370
11371 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11372
11373         * text.C (getRowNearY): comment out debug msg
11374
11375 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11376
11377         * text2.C: first -> first_y
11378
11379         * text.C (getRowNearY): add some attemts at a possible
11380         optimization, not working.
11381
11382         * tabular.[Ch]: add BufferParams to several function so that newly
11383         created paragraph can be initialized to he default layotu for the
11384         buffers textclass.
11385
11386         * tabular-old.C (ReadOld): add buf->params to call of Init
11387
11388         * screen.C: rename text->first to text->first_y
11389
11390         * paragraph.C (breakParagraph): always set layout in the broken
11391         paragraph
11392
11393         * lyxtextclass.C (Read): remove lowercase
11394         (hasLayout): ditto
11395         (operator): ditto
11396         (delete_layout): ditto
11397
11398         * lyxtext.h: rename first -> first_y
11399
11400         * lyxlayout.C (Read): remove lowercase
11401         (name): ditto
11402         (setName): ditto
11403         (obsoleted_by): ditto
11404
11405         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11406
11407         * buffer.C (insertErtContents): add params are to InsetERT
11408         (parseSingleLyXformat2Token): add code to check if a paragraphs
11409         layout really exist.
11410         (parseSingleLyXformat2Token): add params to several inset
11411         constructors
11412         (asciiParagraph): remove lowercase, do the layout comparisons with
11413         no_case
11414
11415         * BufferView_pimpl.C (cursorNext): first -> first_y
11416         (resizeCurrentBuffer): first -> first_y
11417         (updateScrollbar): first -> first_y
11418         (scrollCB): first -> first_y
11419         (workAreaMotionNotify): first -> first_y
11420         (workAreaButtonPress): first -> first_y
11421         (checkInsetHit): first -> first_y
11422         (cursorPrevious): first -> first_y
11423         (cursorNext): first -> first_y
11424         (Dispatch): add buffer_->params to severl inset contructors
11425
11426 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11427
11428         * lyxlayout.C (Read): remove some debug info that I forgot.
11429
11430         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11431         clean up the code slightly.
11432         (makeLinuxDocFile): ditto
11433         (makeDocBookFile): ditto
11434
11435         * text2.C: layout as string
11436
11437         * text.C: layout as string
11438
11439         * paragraph_pimpl.C: layout as string
11440
11441         * paragraph.[Ch]: layout as string
11442
11443         * lyxtextclasslist.[Ch]: layout as string
11444
11445         * lyxtextclass.[Ch]: layout as string
11446
11447         * lyxtext.h: layout as string
11448
11449         * lyxlayout.[Ch]: layout as string
11450
11451         * lyx_cb.C: layout as string
11452
11453         * bufferview_funcs.C: layout as string
11454
11455         * bufferparams.C: layout as string
11456
11457         * buffer.C: layout as string
11458
11459         * LyXView.[Ch]: layout as string
11460
11461         * LaTeXFeatures.[Ch]: layout as string
11462
11463         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11464
11465         * BufferView_pimpl.C: change current_layout to string, remove
11466         lyx::layout_type.
11467         (Dispatch):
11468         (smartQuote):
11469         (insertInset):
11470         (workAreaButtonRelease): layout as string
11471
11472         * BufferView2.C (unlockInset): adjust
11473
11474         * vspace.C (asLatexCommand): use an explict temp variable.
11475
11476 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11477
11478         * Makefile.am: use FRONTEND_*
11479
11480 2002-03-01  Juergen Vigna  <jug@sad.it>
11481
11482         * tabular.C (SetWidthOfMulticolCell): changed to something better
11483         I hope but still work in progress.
11484         (recalculateMulticolumnsOfColumn): renamed function from
11485         recalculateMulticolCells as it is more appropriate now.
11486         (SetWidthOfCell): calculate multicols better.
11487
11488 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11489
11490         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11491
11492         * lyxfunc.C (processKeySym): print sequence also if it is
11493         `deleted' (complete)
11494
11495         * kbsequence.C (print): print sequence even if it is deleted
11496         (complete would be a better word, actually).
11497
11498         * lyxfunc.C (dispatch): print complete options after a prefix key
11499
11500         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11501
11502 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11503
11504         * text2.C (setCharFont): eliminate setCharFont code duplication.
11505
11506 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11507
11508         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11509         LFUN_TABULAR_FEATURE (bug #177)
11510
11511 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11512
11513         * Makefile.am: remove figure.h
11514
11515 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11516
11517         * Bufferview_pimpl.C:
11518         * CutAndPasteC:
11519         * LaTeX.C:
11520         * LyXSendto.C:
11521         * buffer.C:
11522         * bufferlist.C:
11523         * converter.C:
11524         * language.C:
11525         * lyxfunc.C:
11526         * lyxvc.C:
11527         * paragraph.C:
11528         * text.C:
11529         * text2.C: remove #include "lyx_gui_misc.h".
11530
11531         * LaTeX.C: added #include <cstdio>
11532
11533 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11534
11535         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11536         that the paragraph following this one can have.
11537
11538         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11539
11540         * vspace.C (asLatexCommand): fix bogus gcc warning
11541
11542         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11543
11544 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11545
11546         * text2.C (setLayout): get rid of redundant code
11547
11548 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11549
11550         * text2.C (incDepth): make sure depth cannot be increased beyond
11551         reasonable values.
11552
11553 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11554
11555         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11556         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11557
11558         * PainterBase.h (image):
11559         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11560         a LyXImage const *.
11561
11562 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11563
11564         * BufferView.C:
11565         * BufferView.h:
11566         * BufferView_pimpl.C:
11567         * BufferView_pimpl.h:
11568         * LaTeXFeatures.C:
11569         * LyXAction.C:
11570         * LyXView.C:
11571         * Makefile.am:
11572         * UpdateList.h:
11573         * UpdateList.C:
11574         * buffer.C:
11575         * figure.h:
11576         * figureForm.C:
11577         * figureForm.h:
11578         * figure_form.C:
11579         * figure_form.h:
11580         * lyx_cb.C:
11581         * lyx_gui.C:
11582         * lyx_gui_misc.C:
11583         * lyxfunc.C:
11584         * sp_base.h:
11585         * sp_ispell.h:
11586         * sp_pspell.h:
11587         * sp_spell.C: remove fig inset, and the crap house of
11588           cards that follows it
11589
11590 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11591
11592         * Makefile.am:
11593         * lyxserver.C:
11594         * os2_defines.h:
11595         * os2_errortable.h:
11596         * nt_defines.h: move .h into support/
11597
11598         * vms_defines.h: remove
11599
11600         * WorkArea.C: add space in debug output
11601
11602         * text2.C:
11603         * paragraph.C:
11604         * buffer.C: add WITH_WARNINGS
11605
11606         * vc-backend.h:
11607         * vc-backend.C:
11608         * bufferlist.C: s/retrive/retrieve/, add docs
11609
11610         * vspace.h:
11611         * vspace.C:
11612         * kbmap.h:
11613         * lyxlength.h:
11614         * lyxgluelength.h:
11615         * length_common.h:
11616         * chset.h:
11617         * chset.C: add docs
11618
11619         * lyxgui.C: add ID to X error handler
11620
11621         * lyxtestclass.c: fix typo
11622
11623 2002-02-26  Juergen Vigna  <jug@sad.it>
11624
11625         * tabular_funcs.C (write_attribute): changed so that some default
11626         attributes are not written at all.
11627         (getTokenValue): set default values before trying to read the
11628         value so we have the return value always set as default if we don't
11629         find the token we search for.
11630
11631         * tabular.C (Write): write bools as bools not as strings!
11632
11633 2002-02-22  Juergen Vigna  <jug@sad.it>
11634
11635         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11636         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11637
11638         * text.C (leftMargin): don't add an indent for paragraphs inside
11639         tabular cells (fix #208).
11640
11641 2002-02-21  José Matos  <jamatos@fep.up.pt>
11642
11643         * tabular.C (docBook): fixed support for long tables.
11644
11645 2002-02-20  Juergen Vigna  <jug@sad.it>
11646
11647         * text2.C (getFont): get the drawing font of the Inset if this
11648         paragraph is inside an inset (only important for InsetERT for now).
11649
11650         * buffer.C (insertErtContents): use new lanugage params in ERT
11651         constructor.
11652
11653         * CutAndPaste.C: commenting out seemingly uneeded code.
11654
11655 2002-02-19  Allan Rae  <rae@lyx.org>
11656
11657         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11658         Iterators might be simple to use but they also get invalidated.
11659         (removeAutoInsets): renamed saved cursor tracking variables and added
11660         some comments to clarify what everything does.
11661
11662 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11663
11664         * Chktex.C:
11665         * LaTeX.C:
11666         * LyXSendto.C:
11667         * converter.C:
11668         * lyx_cb.C:
11669         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11670         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11671
11672         * lyxfunc.C:
11673         * vc-backend.h: remove #include "support/syscall.h"
11674
11675         * LaTeX.C:
11676         * LyXSendto.C:
11677         * converter.C: rearrange #includes in Lars' approved fashion.
11678
11679         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11680         forward declare class Timeout in the header file.
11681
11682         * XFormsView.C: changes due to the above.
11683
11684         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11685         similar to LyXView.
11686
11687         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11688         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11689
11690 2002-02-18  José Matos  <jamatos@fep.up.pt>
11691
11692         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11693         insets contents.
11694
11695 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11696
11697         * a lot of small ws changes
11698         * add a lot of using std::XXX
11699         * use std construcs some places where approp.
11700         * use some exisint stuff from lyxfunctional where approp.
11701         * Make file changes to use partial linking (lets test this now...)
11702
11703 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11704
11705         * Chktex.C:
11706         * buffer.C:
11707         remove #include "support/syscontr.h" as it's redundant. Always has been.
11708
11709         * Chktex.C:
11710         * LaTeX.C:
11711         * LyXSendto.C:
11712         * converter.C:
11713         * lyx_cb.C:
11714         * vc-backend.C:
11715         change Systemcalls::System to Systemcalls::Wait and
11716         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11717         No change of functionality, just reflects the stripped down Systemcalls
11718         class.
11719
11720 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11721
11722         * debug.[Ch]: add a GRAPHICS type to the enum.
11723
11724 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11725
11726         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11727
11728         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11729         there is an inset.
11730
11731 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11732
11733         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11734         match the changes below.
11735
11736         * text2.C (toggleInset): if there is not editable inset at cursor
11737         position, try to see if cursor is _inside_ a collapsable inset
11738         and close it.
11739
11740 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11741
11742         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11743         document menu has a nice checkbox
11744
11745 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11746
11747         * lyxlength.C (asLatexString): change PW to output as percent of
11748         \textwidth.
11749
11750         * lengthcommon.C: change '%' to 't%'
11751
11752         * lyxfunc.C (dispatch): a few comments from Martin
11753
11754 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11755
11756         * WorkArea.h:
11757         * WorkArea.C:
11758         * BufferView_pimpl.h:
11759         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11760           the X selection.
11761
11762 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11763
11764         * vspace.C (inPixels): fix compiler warning
11765
11766 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11767
11768         * lyxfunc.C (getStatus): fix status message for disabled commands.
11769
11770 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11771
11772         * BufferView_pimpl.C: fix crash on close buffer
11773         during selection (#227)
11774
11775 2002-01-27  Herbert Voss  <voss@lyx.org>
11776
11777         * buffer.C: link old Figure to new graphic inset
11778
11779 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11780
11781         * FontLoader.C (getFontinfo): Change the latex font names in order
11782         to match the names of type1inst.
11783
11784 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11785
11786         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11787
11788         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11789         (extchanged): ditto
11790         (ext_exist): ditto
11791         (remove_files_with_extension): ditto
11792         (remove_file): ditto
11793         (write): ditto
11794
11795         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11796         document is smaller than the work area height. Do not initialize
11797         static variables to 0.
11798
11799 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11800
11801         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11802
11803         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11804         LFUN_LAYOUT_PARAGRAPHS.
11805
11806         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11807         tabular. It is possible to provide a possible cell, which will
11808         typically be the actcell from the corresponding insettabular
11809
11810         * lyxfunc.C (getStatus): small cleanup; disable
11811         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11812         true
11813
11814 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11815
11816         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11817
11818         * paragraph.C (startTeXParParams):
11819         (endTeXParParams): new methods. The LaTeX code to
11820         start/end paragraph formatting
11821         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11822         empty (fixes bug #200)
11823
11824         * vspace.C (inPixels): adapt to the change below
11825         (inPixels): [later] more cleanups (remove unused variables)
11826
11827         * lyxlength.C (inPixels): change to use a width and a height as
11828         parameter.
11829
11830 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11831
11832         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11833         Replaced with \paperwidth
11834
11835         * DepTable.C (insert): add std:: qualifier
11836
11837 2002-01-18  Allan Rae  <rae@lyx.org>
11838
11839         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11840         updated also?
11841
11842         * text.C (drawInset): Turned out I didn't know enough about how
11843         rebreaking worked.  This fixes most of the redraw problems.  I see
11844         an occasional cursor trail when a line is broken now and the cursor
11845         placement can seem out by a few pixels also after a rebreak.
11846
11847 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11848
11849         * buffer.C (parseSingleLyXformat2Token): update because minipage
11850         width is now a LyXLength
11851
11852         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11853
11854         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11855         math insets
11856
11857 2002-01-17  Juergen Vigna  <jug@sad.it>
11858
11859         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11860
11861         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11862         is set correctly and the inset is updated correctly.
11863
11864 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11865
11866         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11867         the beginning of the loop.
11868
11869 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11870
11871         * lyxrc.C: improve help for use_scalable_fonts
11872
11873 2002-01-17  Allan Rae  <rae@lyx.org>
11874
11875         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11876
11877 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11878
11879         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11880         make sure to set their inset_owner to the right value (bug #171)
11881
11882 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11883
11884         * DepTable.h
11885         * DepTable.C: Implement mtime checking to reduce time spent doing
11886         CRCs.
11887
11888 2002-01-16  Juergen Vigna  <jug@sad.it>
11889
11890         * tabular.C (GetAdditionalHeight): one of error fixed.
11891
11892         * lyxrc.C (output): small fix in writing use_pspell.
11893
11894 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11895
11896         * sp_base.h: #include LString.h
11897
11898 2002-01-16  Allan Rae  <rae@lyx.org>
11899
11900         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11901         Can someone check this please?
11902
11903         * text.C (drawInset): It was possible that p.row would be removed by
11904         breakAgainOneRow upsetting a few other settings.  There may be another
11905         small tweak possible by setting need_break_row = 0 when p.row has been
11906         removed but I don't know enough about the logic here.
11907
11908 2002-01-15  Allan Rae  <rae@lyx.org>
11909
11910         * text.C (insertChar): removed conditional truism.
11911
11912         * BufferView2.C (removeAutoInsets): More tweaks.
11913         cur_par_prev could be a stray pointer.  Check for trailing empty line
11914         in case last line was cur_par and only had an error inset on it.
11915
11916 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11917
11918         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11919         absolute
11920
11921         * vc-backend.C (most methods):
11922         * exporter.C (Export):
11923         * converter.C (convert):
11924         (runLaTeX):
11925         * LyXSendto.C (SendtoApplyCB):
11926         * lyxfunc.C (dispatch):
11927         (menuNew):
11928         (open):
11929         (doImport):
11930         * lyx_cb.C (AutoSave):
11931         (InsertAsciiFile):
11932         * BufferView_pimpl.C (MenuInsertLyXFile):
11933         * buffer.C (runChktex): use Buffer::filePath().
11934
11935         * buffer.h: rename filename to filename_; rename filepath to
11936         filepath_ and make it private
11937         (filePath): new method
11938
11939         * buffer.C (writeFile): use fileName()
11940         (getLatexName):
11941
11942         * lyx_main.C (init): fix starting  of LyX when the binary is a
11943         link from so,ewhere else.
11944
11945         * minibuffer.C: include <cctype> for isprint
11946
11947 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11948
11949         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11950         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11951         name clash with InsetCollapsable's width function.
11952
11953 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11954
11955         * lastfiles.C: include <iterator>
11956
11957 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11958
11959         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11960         std::count.
11961
11962         * buffer.C (makeLaTeXFile): ditto.
11963         Also make loop operation more transparent.
11964
11965 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11966
11967         * ToolbarDefaults.C: remove trailing comma closing namespace.
11968
11969         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11970
11971         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11972         as in WorkArea.
11973
11974         * trans.C (Load): comment out unused variable, allowed.
11975
11976 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11977
11978         * minibuffer.[Ch] (append_char): new method to recieve input from the
11979         drop-down completion browser. If a key was pressed, then recieve this
11980         char and append it to the existing string.
11981         (peek_event): modify the positioning data passed to the completion
11982         browser so that it can be placed above the minibuffer rather than below.
11983 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11984
11985         * LyXAction.C (init): alloe error-next for readonly documents.
11986
11987         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11988         count.
11989
11990 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11991
11992         * bufferlist.C (readFile): create the buffer _after_ checking that
11993         the file exists.
11994
11995         * lyxfunc.C (verboseDispatch): fix handling of arguments
11996
11997         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11998
11999         * lyxrc.C: use string::erase() instead of initializing to "".
12000
12001
12002 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12003
12004         * BufferView_pimpl.h:
12005         * BufferView_pimpl.C:
12006         * WorkArea.h:
12007         * WorkArea.C:
12008         * text2.C: tell X when we have made a selection for copying
12009
12010 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12011
12012         * BufferView_pimpl.C (MenuInsertLyXFile):
12013         * lyxfunc.C (menuNew):
12014         (open):
12015         (doImport): add shortcuts to directory buttons
12016
12017         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12018         open a float)
12019
12020         * lyxfunc.C (setStatusMessage):
12021         (getStatusMessage): new methods
12022         (getStatus):use setStatusMessage instead of setErrorMessage
12023         (dispatch): when function is disabled, set error message here
12024         [instead of in getStatus previously]
12025
12026         * BufferView_pimpl.C (workAreaButtonRelease): update
12027         toolbar/menubar here too.
12028
12029 2002-01-13  Allan Rae  <rae@lyx.org>
12030
12031         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12032         Now seems indestructible.  Remaining task is to audit all other
12033         code affected by deleteEmptyParagraphMechanism.  One small quirk
12034         left is that an empty document with an error in the preamble can
12035         be made to report an error but no error box appears.  I don't know
12036         where it goes.
12037         (removeAutoInsets): Improved comments.
12038
12039 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12040
12041         * Thesaurus.h:
12042         * Thesaurus.C: update for Aiksaurus 0.14
12043
12044 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12045
12046         * text2.C (firstParagraph): removed member function, all uses
12047         replaces with ownerParagraph
12048         (redoParagraphs): here
12049         (updateInset): here
12050         (toggleAppendix): here
12051         * BufferView2.C (insertErrors): here
12052         (setCursorFromRow): here
12053
12054 2002-01-13  Allan Rae  <rae@lyx.org>
12055
12056         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12057         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12058         There is still a way to segfault this although you may have to do this
12059         multiple times: Have an InsetERT with an unknown command in it.
12060         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12061         <down-arrow>, <Enter> again, View->DVI, BANG!
12062
12063         * text2.C (setCursor):
12064         (deleteEmptyParagraphMechanism):
12065         * lyxtext.h (setCursor):
12066         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12067         Making use of the return value may help fix other bugs.
12068
12069 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12070
12071         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12072
12073         * LyXView.C (updateMenubar): call MenuBar::update here
12074         (updateToolbar): but not here
12075         (showState): do not update toolbar/menubar
12076
12077         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12078         should need to care about that.
12079
12080         * lyxfunc.C (verboseDispatch): simplify a bit
12081         (getStatus): have a version which takes a pseudoaction, and
12082         another which requires a (kb_action,string).
12083
12084         * LyXAction.C (retrieveActionArg): make it work also when action
12085         is not a pseudo-action.
12086         (getActionName): simplify a bit
12087         (helpText):
12088
12089 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12090
12091         * lyxfunc.C (verboseDispatch): new families of methods with
12092         several ways to specify a command and a bool to indicate whether
12093         the command name and shortcut should be displayed in minibuffer
12094         (eventually, we could extend that to a finer bitmask like
12095         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12096         (dispatch): the pristine dispatch command which just, well,
12097         dispatchs! Note it still sets its result to minibuffer; I'm not
12098         sure we want that.
12099
12100         * lyxfunc.h: remove setHintMessage
12101
12102         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12103
12104 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12105
12106         * BufferView_pimpl.C (specialChar): delete new inset if we have
12107         not been able to insert it.
12108
12109         * kbmap.C: revert to using int instead of kb_action, since all we
12110         are dealing with is pseudo-actions.
12111
12112         * LyXAction.C (searchActionArg): change to return int instead of
12113         kb_action, since the result is a pseudoaction.
12114
12115 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12116
12117         * buffer.C (insertErtContents): Fix (partially) the font bug.
12118
12119 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12120
12121         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12122         as the other one is broken on my machine!
12123
12124 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12125
12126         * commandtags.h:
12127         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12128
12129 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12130
12131         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12132         reflect their actual use. Provide compatibility code for older lyxrc
12133         files.
12134
12135         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12136         FL_NORMAL_STYLE.
12137         change names of popup font variables in line with the changes to lyxrc.C
12138
12139 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12140
12141         * buffer.C (asciiParagraph): avoid outputing a word twice after
12142         an inset.
12143
12144         * lyxrc.C (getDescription): document that document_path and
12145         template_path can be empty.
12146
12147 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12148
12149         * LaTeXFeatures.C (getMacros):
12150         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12151
12152         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12153
12154         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12155         getPackages.
12156         (getPackages): rename feature "floats" to "float". Use an array to
12157         iterate over 'simple' features (i.e. just a \usepackage). Add
12158         handling of "amsmath" (renamed from "amsstyle").
12159
12160 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12161
12162         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12163         features list.
12164
12165 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12166
12167         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12168         FuncStaus::FuncStatus & FuncStaus::some_method().
12169
12170 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12171
12172         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12173         of the func_satus stuff. Edited and massaged in various ways by
12174         JMarc.
12175
12176         * lyxfunc.C (getStatus): use FuncStatus
12177
12178 2002-01-08  Juergen Vigna  <jug@sad.it>
12179
12180         * text.C (nextBreakPoint): use function Inset::isChar().
12181
12182         * paragraph.C (TeXOnePar): use function
12183         Inset::forceDefaultParagraphs.
12184
12185         * buffer.C (latexParagraphs): use function
12186         Inset::forceDefaultParagraphs.
12187
12188 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12189
12190         * lyx_gui.C (init): set the style of the menu popups to
12191         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12192
12193 2002-01-07  Juergen Vigna  <jug@sad.it>
12194
12195         * text.C (setHeightOfRow): small fix
12196         (prepareToPrint): don't look at alignment if we don't have the place
12197         for doing it.
12198
12199 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12200
12201         * box.C: New file. Move the Box methods and functions out of box.h,
12202         following Lars' suggestion.
12203
12204 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12205
12206         * box.h: #include "support/LOstream.h", needed for inlined function.
12207
12208         * lyxtextclass.C:
12209         * lyxtextclasslist.C: added some using std declarations.
12210
12211 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12212
12213         * box.h: make signed dimensions to allow insets wider than
12214           the screen (bug #162)
12215
12216         * BufferView_pimpl.C: add some insetHit debug
12217
12218 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12219
12220         * vc-backend.C: add FIXME
12221
12222 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12223
12224         * lyxfunc.C (getStatus): enable code for showing math font status
12225         in toolbar/menu.
12226
12227 2002-01-07  Juergen Vigna  <jug@sad.it>
12228
12229         * text.C (nextBreakPoint): removed debug output not needed anymore.
12230
12231 2002-01-06  Juergen Vigna  <jug@sad.it>
12232
12233         * text.C (nextBreakPoint): fixed up this function we had this bug
12234         since ever but now hopefully we break row better.
12235         (insertChar): we have to check if an inset is the next char as it
12236         could now happen that a large inset is causing a break.
12237
12238 2002-01-05  Juergen Vigna  <jug@sad.it>
12239
12240         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12241         if it doesn't like to be drawed.
12242
12243 2002-01-04  Juergen Vigna  <jug@sad.it>
12244
12245         * BufferView2.C (lockInset): forgot to set a cursor.
12246
12247         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12248
12249 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12250
12251         * FormMathsPanel.C:
12252         * FormMathsPanel.h
12253         * MathsSymbols.C:
12254         * form_maths_panel.C:
12255         * form_maths_panel.h:
12256         * form_maths_panel.fd: implemented sub- and super- buttons in math
12257         panel.
12258
12259         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12260         (or ^ space) to be used as in TeX (req'd by André).
12261
12262         * lyxfunc.C: Allow ^ and _ again to be used both as
12263         super/subscript (mathed) and as themselves (in text).
12264
12265 2002-01-03  Allan Rae  <rae@lyx.org>
12266
12267         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12268         "LyX" or the filename of the current buffer if it has one.  This is a
12269         modified form of John Levon's patch.
12270
12271         * XFormsView.C (setWindowTitle): also set icon title.
12272
12273         * LyXView.h (setWindowTitle): signature changed.
12274         * XFormsView.h (setWindowTitle): ditto.
12275
12276 2002-01-02  Juergen Vigna  <jug@sad.it>
12277
12278         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12279
12280 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12281
12282         * screen.C (topCursorVisible): introduce a temp var for
12283         text->cursor.row(), handle the case where this row is null. (kindo
12284         hachish)
12285
12286         * text2.C (setCursor): add a couple of asserts.
12287
12288         * paragraph.h (inset_iterator): add -> operator
12289
12290         * paragraph.[Ch] (autoDeleteInsets): remove member function
12291
12292         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12293         cursor pos correctly and handle inset deletion by itself.
12294         (insertErrors): move iterator declaration out of for expression
12295
12296         * lyxtextclass.C: add <algorithm>
12297
12298         * Makefile.am: added the new files to sources, removed layout.C
12299
12300         * layout.C: removed file
12301
12302         * layout.h: remove LYX_DUMMY_LAYOUT
12303
12304         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12305         layout.
12306
12307         * lyxlayout.[Ch]:
12308         * lyxtextclass.[Ch]:
12309         * lyxtextclasslist.[Ch]: new files
12310
12311         * include order changes to a lot of files, also changes because of
12312         the six new files.
12313
12314 2001-12-27  Juergen Vigna  <jug@sad.it>
12315
12316         * buffer.C (asciiParagraph): more fixes.
12317
12318         * tabular.C (ascii): make ascii export support export of only the
12319         data separated by a column-delimiter.
12320         (ascii): better support for ascii export.
12321
12322         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12323
12324 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12325
12326         * tabular_funcs.C: use a "using std::getline" instead of the
12327         previous fix from Angus (necessary for cxx + lyxstring)
12328
12329 2001-12-24  Juergen Vigna  <jug@sad.it>
12330
12331         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12332
12333         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12334         problems. First check a minipage also if we have some ert-contents
12335         (not only on par->size(), second set the right depth of the paragraph
12336         on the relink to the root-paragraph-list!
12337
12338         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12339         which then did not anymore update the main paragraphs on undo/redo!
12340
12341 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12342
12343         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12344         code. Support all font-changing funcs (even those which are not in
12345         menu currently). Support for reporting font settings in
12346         mathed (disabled until Andre provides a function on mathed's side).
12347
12348         * func_status.h (toggle): small helper function to set toggle
12349         state on a flag.
12350
12351 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12352
12353         * tabular_funcs.C: getline -> std::getline
12354
12355 2001-12-21  Juergen Vigna  <jug@sad.it>
12356
12357         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12358         accessed and could be 0 (I couldn't generate this but it seems
12359         Michael could!).
12360
12361 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12362
12363         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12364         * tabular_funcs.h: here and include iosfwd
12365
12366 2001-12-20  Juergen Vigna  <jug@sad.it>
12367
12368         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12369         inside inset but undo_par was.
12370
12371 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12372
12373         * Thesaurus.C: always include <config.h> in sources.
12374
12375         * Painter.h:
12376         * lyxlookup.h:
12377         * box.h: do not include <config.h> in header files
12378
12379         * text.C (paintLastRow): remove unused variable
12380
12381         * text.C (transformChar):
12382         (insertChar):
12383         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12384
12385         * Painter.C (text):
12386         * font.C (width): rewrite to use uppercase() instead of
12387         islower/toupper.
12388
12389         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12390
12391 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12392
12393         * lyxfind.C: clean up of find failure position change
12394
12395 2001-12-20  Juergen Vigna  <jug@sad.it>
12396
12397         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12398
12399         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12400         (TeXRow): added to LaTeX a single tabular row.
12401         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12402         (Latex): simplified and finally good LT-h/f support.
12403         (various_functions): just small adaptions for LT-h/f support.
12404
12405         * tabular_funcs.[hC]: added and moved here all not classfunctions
12406         of LyXTabular.
12407
12408 2001-12-19  Juergen Vigna  <jug@sad.it>
12409
12410         * tabular.[Ch]: better support for longtabular options (not finished
12411         yet!)
12412
12413 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12414
12415         * text.C (paintLastRow): use the label font instead of the font of
12416         the last character to compute the size of *_BOX. This makes more
12417         sense and avoids a crash with empty paragraphs.
12418         Use Painter::rectangle to draw EMPTY_BOX.
12419
12420 2001-12-19  Juergen Vigna  <jug@sad.it>
12421
12422         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12423         the paragraphs if the replaced paragraph is not the first one!
12424         Tried to delete not used paragraphs but does not work yet so for
12425         now it's inside #ifdef's and by default off!
12426
12427 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12428
12429         * MenuBackend.C: include "lyx_main.h" instead of declaring
12430         lastfiles (actually was declared as LastFiles* instead of a
12431         scoped_ptr).
12432
12433 2001-12-17  Juergen Vigna  <jug@sad.it>
12434
12435         * tabular.C (AppendColumn): applied John's fix
12436
12437 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12438
12439         * BufferView.h:
12440         * BufferView.C:
12441         * BufferView_pimpl.h:
12442         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12443
12444         * Makefile.am:
12445         * box.h: new start of class for above
12446
12447         * lyxfunc.C: ignore space-only minibuffer dispatches.
12448           Show the command name when it doesn't exist
12449
12450         * minibuffer.C: don't add empty lines to the history
12451
12452         * minibuffer.C: add a space on dropdown completion
12453
12454 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12455
12456         * text.C: fix line above/below drawing in insets
12457
12458 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12459
12460         * lyxlength.C (LyXLength): Initialize private variables.
12461
12462 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12463
12464         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12465         when inserting error insets.
12466
12467 2001-12-13  Juergen Vigna  <jug@sad.it>
12468
12469         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12470         actually sometimes the before-paragraph.
12471         (setUndo): don't clear the redostack if we're not actually undoing!
12472
12473 2001-12-06  Juergen Vigna  <jug@sad.it>
12474
12475         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12476         and fixed redoing of main paragraph, so we can use it now ;)
12477
12478         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12479
12480 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12481
12482         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12483         Juergen's request
12484
12485 2001-12-13  André Pönitz <poenitz@gmx.net>
12486
12487         * undostack.[Ch]:
12488         * undo_func.C: minor cleanup
12489
12490 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12491
12492         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12493         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12494         font in urw-fonts package which is marked as -urw-fontspecific and
12495         does not work (incidentally, changing the encoding in the
12496         fonts.dir of this package to -adobe-fontspecific fixes the
12497         problem).
12498
12499         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12500         is a crash when undoing first paragraph (Juergen, please take a
12501         look). THis does not mean the undo fix is wrong, just that it
12502         uncovers problems.
12503
12504         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12505         the (Paragraph*) version when needed instead of duplicating the
12506         code.
12507
12508         * text.C (workWidth): use Inset::parOwner to find out where the
12509         inset has been inserted. This is a huge performance gain for large
12510         documents with lots of insets. If Inset::parOwner is not set, fall
12511         back on the brute force method
12512
12513         * paragraph_pimpl.C (insertInset):
12514         * paragraph.C (Paragraph):
12515         (cutIntoMinibuffer): set parOwner of insets when
12516         inserting/removing them
12517
12518         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12519
12520 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12521
12522         * commandtags.h:
12523         * LyXAction.C:
12524         * lyx_main.C:
12525         * lyxfunc.C:
12526         * mathed/formulabase.C:
12527         * mathed/math_cursor.[Ch]:
12528         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12529
12530
12531 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12532
12533         * lyxlength.[Ch] (operator!=): new function
12534
12535 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12536
12537         * text.C (workWidth): use Inset::parOwner to find out where the
12538         inset has been inserted. This is a huge performance gain for large
12539         documents with lots of insets. If Inset::parOwner is not set, fall
12540         back on the brute force method
12541
12542         * paragraph_pimpl.C (insertInset):
12543         * paragraph.C (Paragraph):
12544         (cutIntoMinibuffer): set parOwner of insets when
12545         inserting/removing them
12546
12547         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12548
12549 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12550
12551         * tabular-old.C (getTokenValue):
12552         * tabular.C (getTokenValue):
12553         (write_attribute): new versions for LyXLength
12554         (everywhere): adjust the use of widths
12555
12556         * tabular.h: change the type of widths from string to LyXLength
12557
12558 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12559
12560         * paragraph.C: fixed missing line number count when exporting
12561         Environments to LaTeX file
12562
12563         * buffer.C: added informational message for checking line numbers.
12564
12565 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12566
12567         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12568         paragraph, do the 'double space' part, but not the 'empty
12569         paragraph' one.
12570
12571         * text.C (workWidth): small optimization
12572         (getLengthMarkerHeight): use minimal size for negative lengths.
12573
12574 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12575
12576         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12577
12578         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12579
12580 2001-12-11  André Pönitz <poenitz@gmx.net>
12581
12582         * FontLoader.C:
12583         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12584
12585 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12586
12587         * text2.C: keep selection on a setFont()
12588
12589 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12590
12591         * lyx_cb.C: another bv->text misuse, from insert label
12592
12593 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12594
12595         * kbsequence.h:
12596         * kbsequence.C: re-instate nmodifier mask
12597
12598 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12599
12600         * lyx_main.h: make lyxGUI private.
12601
12602 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12603
12604         * lyxfind.C: place the cursor correctly on failed search
12605
12606 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12607
12608         * text.C (getLengthMarkerHeight): for small heights, the arrows
12609         are not always on top/bottom of the text
12610         (drawLengthMarker): smaller arrows; take the left margin in
12611         account; draw also vfills.
12612         (paintFirstRow):
12613         (paintLastRow): remove special code for vfill and standard spaces,
12614         since everything is handled in drawLengthMarker now.
12615
12616 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12617
12618         * buffer.C (insertErtContents): try to handle font and language
12619         interaction a bit better.g
12620
12621         * ColorHandler.C (updateColor): change the hash to cover the whole
12622         LColor enum, ws cleanup
12623         (getGCLinepars): ditto
12624         (getGCLinepars): only lookup in the linecache once.
12625
12626 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12627
12628         * iterators.C (operator++): Make the iterator more robust
12629
12630         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12631         (John's patch)
12632         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12633
12634 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12635
12636         * lyxtext.h:
12637         * text.C: better added space drawing
12638
12639 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12640
12641         * LyXView.C:
12642         * BufferView2.C: fix layout combo update on inset unlock
12643
12644 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12645
12646         * Makefile.am: don't compile unused files
12647
12648 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12649
12650         * lyxfunc.C:
12651         * commandtags.h:
12652         * LyXAction.C: remove old LFUN_LAYOUTNO
12653
12654 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12655
12656         * paragraph_pimpl.h:
12657         * paragraph_pimpl.C: isTextAt() doesn't need font param
12658
12659 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12660
12661         * lyxlex.h:
12662         * lyxlex.C: little cleanup
12663
12664 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12665
12666         * BufferView_pimpl.C: fix insertAscii for insets
12667
12668 2001-12-05  Juergen Vigna  <jug@sad.it>
12669
12670         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12671         set the right font on the "multi" paragraph paste!
12672
12673 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12674
12675         * trans_decl.h:
12676         * trans_mgr.[Ch]:
12677         * trans.[Ch]:
12678         * lyxgluelength.C:
12679         * lyxlength.C: remove out-commented code.
12680
12681         * BufferView_pimpl:
12682         * CutAndPaste.C:
12683         * DepTable.C:
12684         * buffer.C:
12685         * chset.C:
12686         * lastfiles.C:
12687         * lyxlex.C:
12688         * lyxlex_pimpl.C:
12689         * lyxserver.C:
12690         * screen.C:
12691         * tabular-old.C:
12692         * tabular.C:
12693         * text.C:
12694         * trans_mgr.C:
12695         * vc-backend.C: change "while(" to "while ("
12696
12697         * lyxlength.[Ch]: add zero function to check if length is zero or
12698         not
12699         * lyxgluelength.C: use it
12700
12701 2001-12-05  Allan Rae  <rae@lyx.org>
12702
12703         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12704         Works for 2.95.3, from what I understand of Garst's reports this should
12705         work for other g++ versions.  We're screwed if the abs(int) definition
12706         changed between bugfix releases of gcc.
12707
12708 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12709
12710         * text.C: fix chapter label offset !
12711
12712 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12713
12714         * lyxtext.h:
12715         * text.C: fix hfill at end of line, clean up
12716
12717 2001-12-04  Juergen Vigna  <jug@sad.it>
12718
12719         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12720         that we force an update of the inset and it's owners if neccessary.
12721
12722 2001-12-03  Juergen Vigna  <jug@sad.it>
12723
12724         * text.C (rowLast): simplified code
12725
12726 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12727
12728         * lyxfunc.C: fix show options on timeout
12729
12730 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12731
12732         * screen.C (topCursorVisible): scroll half a page when the cursor
12733         reached top of bottom of screen
12734
12735 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12736
12737         * minibuffer.C: deactivate on loss of focus
12738
12739 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12740
12741         * vspace.[Ch] (operator!=): add operator.
12742
12743 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12744
12745         * BufferView_pimpl.C: refuse to open an inset when
12746         there's a selection.
12747
12748 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12749
12750         * BufferView_pimpl.C: allow to click on RHS of full row insets
12751
12752 2001-11-30  Juergen Vigna  <jug@sad.it>
12753
12754         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12755         insets for undo reasons.
12756
12757 2001-11-28  André Pönitz <poenitz@gmx.net>
12758
12759         * vspace.[Ch]: cosmetical changes
12760
12761 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12762
12763         * LyXAction.h:
12764         * LyXAction.C:
12765         * lyxfunc.h:
12766         * lyxfunc.C:
12767         * kbmap.h:
12768         * kbmap.C:
12769         * lyxrc.C:
12770         * kbsequence.h:
12771         * kbsequence.C: part re-write of old kb code
12772
12773         * Painter.C:
12774         * WorkArea.C: remove Lgb_bug_find_hack
12775
12776 2001-11-30  José Matos <jamatos@fep.up.pt>
12777
12778         * buffer.C (makeDocBookFile): add a comment to point a hack.
12779         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12780         Fixed a double write of labels.
12781
12782 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12783
12784         * LaTeX.C:
12785         * LaTeX.h Fixed bug in LaTeX class where it would not
12786         re-run latex if no depfiles were changed, but the .dvi was removed.
12787
12788 2001-11-28  André Pönitz <poenitz@gmx.net>
12789
12790         * all the files from the change on 2001/11/26:
12791         use lyx::layout_type instead of LyXTextClass::size_type
12792         use lyx::textclass_type instead of LyXTextClassList::size_type
12793
12794 2001-11-29  Juergen Vigna  <jug@sad.it>
12795
12796         * text.C: added support for paragraph::isFreeSpacing()
12797
12798         * buffer.C: same as above
12799
12800         * paragraph.h: inserted isFreeSpacing() function to enable
12801         FreeSpacing inside InsetERT.
12802
12803         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12804         of the paragraph's in the cut/copy buffer to 0!
12805
12806         * text2.C (removeRow): remove the assert as it can!
12807
12808         * lyxtext.h: added helper function firstRow returning firstrow and
12809         made firstrow private again.
12810
12811         * BufferView2.C (lockInset): don't relock if we're already locked!
12812
12813         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12814         the only paragraph.
12815         (removeRow): added Assert::(firstrow)
12816
12817         * debug.C: forgot to add INSETTEXT here.
12818
12819 2001-11-28  Juergen Vigna  <jug@sad.it>
12820
12821         * sp_spell.C (initialize): changed error text to more general
12822         spellchecker command use (not only ispell!)
12823
12824         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12825
12826         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12827
12828 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12829
12830         * vspace.C: initialise lyxgluelength on failure
12831
12832 2001-11-28  Allan Rae  <rae@lyx.org>
12833
12834         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12835         declaration & definition that looks like a function declaration.
12836
12837 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12838
12839         * BufferView2.C (copy):
12840         (copyEnvironment): do not clear the selection when doing a copy.
12841
12842         * text.C (paintFirstRow): compilation fix
12843
12844 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12845
12846         * tabular.C (Latex): correct line count when writing latex.
12847
12848 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12849
12850         * paragraph_pimpl.h:
12851         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12852           bug a bit
12853
12854 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12855
12856         * text.C:
12857         * LColor.h:
12858         * LColor.C: change vfillline->added_space
12859
12860         * text.C: add markers and text for added space
12861
12862         * vspace.C: fix comment
12863
12864 2001-11-28  André Pönitz <poenitz@gmx.net>
12865
12866         * paragraph.C: whitespace changes
12867         * all the other files from the change on 2001/11/26:
12868         change *::pos_type into lyx::pos_type
12869
12870 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12871
12872         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12873         language of the document when inserting error insets.
12874
12875 2001-11-26  André Pönitz <poenitz@gmx.net>
12876
12877         * BufferView_pimpl.[Ch]:
12878         *       CutAndPaste.C:
12879         * buffer.[Ch]:
12880         * lyxcursor.[Ch]:
12881         * lyxfind.C:
12882         * lyxfunc.C:
12883         * lyxrow.[Ch]:
12884         * paragraph.[Ch]:
12885         * paragraph_pimpl.[Ch]:
12886         * sp_spell.C:
12887         * text.C:
12888         * text2.C: reduce header dependencies, introduce type for positions
12889
12890 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12891
12892         * <various>: change to use Alert.h
12893
12894 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12895
12896         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12897         when encountering an unknown token.
12898         (readLyXformat2): Show an error message if there were unknown tokens.
12899
12900 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12901
12902         * BufferView2.C:
12903         * BufferView_pimpl.C:
12904         * buffer.C:
12905         * paragraph.h:
12906         * text.C:
12907         * text2.C: use par->isInset()
12908
12909 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12910
12911         * paragraph_pimpl.h:
12912         * paragraph_pimpl.C: cleanup
12913
12914 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12915
12916         * text2.C (removeRow):
12917         * text.C (setHeightOfRow): remove useless (and costly) call to
12918         getRow.
12919
12920 2001-11-20  Allan Rae  <rae@lyx.org>
12921
12922         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12923         Now need Inset*::checkInsertChar() to return true for appropriate
12924         cases so that the characters in the minibuffer will actually be
12925         inserted.
12926
12927 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12928
12929         * text.C: change the order of the includes.
12930         (workWidth): initialize it at once.
12931         (workWidth): make maxw unsigned
12932         (setHeightOfRow): remove unused variable (inset)
12933         (selectSelectedWord): remove unused variable (inset)
12934         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12935
12936 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12937
12938         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12939         server is not running.
12940         (openConnection):
12941         (closeConnection): add debug info when server is disabled.
12942
12943         * ColorHandler.C (getGCForeground): send debug message to GUI
12944         channel.
12945
12946         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12947
12948         * kbmap.C (bind): modify because return conventions of
12949         kb_sequence::parse have changed.
12950
12951         * kbsequence.C (parse): only ignore spaces and not any stupid
12952         control character. This avoids tests like s[i] <= ' ', which are
12953         guaranteed to fail with 8bit characters and signed chars.
12954         Change return code to string::npos when there have been no error
12955         (0 was a bad idea when error is at first character)
12956
12957 2001-11-14  José Matos  <jamatos@fep.up.pt>
12958
12959         * buffer.h:
12960         * buffer.C (simpleDocBookOnePar): removed unused argument.
12961
12962 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12963
12964         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12965         insets which are part of a word. Paragraph::isLetter takes care of
12966         that now. Use Paragraph::isInset to identify insets.
12967         (selectSelectedWord): do not test for hyphenation break.
12968
12969         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12970         that protected spaces are considered as spaces.
12971
12972         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12973         Inset::isLetter.
12974
12975 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12976
12977         * lyxserver.h:
12978         * lyxserver.C: fix it. and small cleanup.
12979
12980 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12981
12982         * BufferView_pimpl.C: use inline helpers
12983
12984         * LaTeXFeatures.h:
12985         * LaTeXFeatures.C: fix typos
12986
12987         * Spacing.h:
12988         * Spacing.C: move spacing_string into class
12989
12990         * ToolbarDefaults.C: move stuff into namespace anon
12991
12992         * layout.h: update enum
12993
12994         * lyxfunc.C: use better debug
12995
12996         * minibuffer.h: fix typo
12997
12998         * debug.h:
12999         * debug.C:
13000         * WorkArea.C: add and use Debug::WORKAREA
13001
13002         * lyxtext.h:
13003         * text.C:
13004         * text2.C: code re-organisation, inline helpers
13005
13006 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13007
13008         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13009         std::vector.empty().
13010
13011 2001-11-09  Allan Rae  <rae@lyx.org>
13012
13013         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13014         '\n's after tables.  Tabular and ERT inset work now makes this no
13015         longer necessary.
13016
13017 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13018
13019         * minibuffer.h:
13020         * minibuffer.C: fix crash, improve drop-down completion
13021
13022 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13023
13024         * lyxserver.h:
13025         * lyxserver.C: invalidate fd's when doing endPipe()
13026
13027 2001-11-08  José Matos  <jamatos@fep.up.pt>
13028
13029         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13030         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13031
13032         * paragraph.h:
13033         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13034
13035 2001-11-07  José Matos  <jamatos@fep.up.pt>
13036
13037         * buffer.h:
13038         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13039         const qualifier.
13040
13041         * buffer.C (sgmlOpenTag):
13042         * buffer.C (sgmlCloseTag): removed debug info.
13043
13044         * buffer.h (sgmlOpenTag):
13045         * buffer.h (sgmlCloseTag): made public.
13046
13047 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13048
13049         * buffer.C (saveParamsAsDefaults):
13050         * lyx_cb.C (MenuLayoutSave): remove
13051
13052         * LyXAction.C (init):
13053         * commandtags.h:
13054         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13055
13056 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13057
13058         * buffer.C (setPaperStuff): removed from here...
13059
13060         * bufferparams.C (setPaperStuff): ... and moved there.
13061
13062 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13063
13064         * minibuffer.h:
13065         * minibuffer.C:
13066         * XFormsView.C: add support for drop-down completion
13067
13068 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13069
13070         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13071         commands.
13072
13073 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13074
13075         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13076         disabled.
13077
13078 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13079
13080         * lyx_main.C: change ref to known bugs
13081
13082 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13083
13084         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13085         to work around older babel problems.
13086
13087 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13088
13089         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13090
13091 2001-10-24  Juergen Vigna  <jug@sad.it>
13092
13093         * tabular-old.C (ReadOld): below variable changes reflected.
13094
13095         * tabular.[Ch]: added ltType struct for longtable header/footer
13096         defines and changed all instances where they are used. Added
13097         future support for double top/bottom rows.
13098
13099 2001-10-24  José Matos  <jamatos@fep.up.pt>
13100
13101         * buffer.h (docbookHandleCaption):
13102         * buffer.C (docbookHandleCaption): removed unused function.
13103         (makeDocBookFile): moved docbook supported version to v4.1.
13104
13105 2001-10-24  José Matos  <jamatos@fep.up.pt>
13106
13107         * tabular.h:
13108         * tabular.C (docbookRow): new function to export docbook code of a row.
13109         (DocBook): now honors the longtable flags.
13110
13111 2001-10-23  José Matos  <jamatos@fep.up.pt>
13112
13113         * LaTeXFeatures.h:
13114         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13115         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13116
13117         * buffer.C (makeLinuxDocFile):
13118         (makeDocBookFile): reworked the preamble, more clean, and with
13119         support for lyx defined entities. Changed the document declaration
13120         to be more XML friendly.
13121
13122         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13123         if we need to output XML that should be done with a filter.
13124
13125 2001-10-22  Juergen Vigna  <jug@sad.it>
13126
13127         * sp_pspell.h (class PSpell): add alive function needed in the
13128         controller to see if the spellchecker could be started.
13129
13130 2001-10-22  Juergen Vigna  <jug@sad.it>
13131
13132         * buffer.C (insertStringAsLines): modify the font for inserting
13133         chars in certain conditions by calling checkInsertChar(font).
13134
13135 2001-10-19  Juergen Vigna  <jug@sad.it>
13136
13137         * text.C (workWidth): use getRow instead of wrong algorithm.
13138         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13139
13140 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13141
13142         * lyxserver.h:
13143         * lyxserver.C:
13144         * lyx_main.h:
13145         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13146
13147 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13148
13149         * text.C (workWidth): do not search for the exact row when
13150         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13151         optimization for big documents.
13152
13153 2001-10-18  Juergen Vigna  <jug@sad.it>
13154
13155         * text.C (workWidth): new function with added Inset * parameter.
13156
13157 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13158
13159         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13160
13161         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13162         change return type of getColumnNearX.
13163
13164
13165         * text.C (changeRegionCase): use uppercase/lowercase instead of
13166         toupper/tolower.
13167         (leftMargin):
13168         (rightMargin): simplify code by factoring out the uses of
13169         textclasslist.
13170         (labelFill):
13171         (numberOfHfills):
13172         (setHeightOfRow):
13173         (appendParagraph): use Paragraph::size_type
13174
13175 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13176
13177         * vspace.C (asLatexString): add a missing break
13178
13179 2001-10-15  Herbert Voss  <voss@perce.de>
13180
13181         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13182
13183 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13184
13185         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13186         is not available.
13187
13188 2001-10-10  André Pönitz <poenitz@gmx.net>
13189
13190         * lyxfunc.C: removed greek_kb_flag.
13191
13192 2001-10-10  Herbert Voss  <voss@perce.de>
13193
13194         * lyx_main.C: delete global string help_lyxdir.
13195
13196 2001-10-09  Herbert Voss  <voss@perce.de>
13197
13198         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13199
13200         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13201
13202         * lyx_main.C: added global string help_lyxdir.
13203
13204         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13205
13206 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13207
13208         * lyxrc.C (set_font_norm_type): support iso8859-4
13209
13210 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13211
13212         * LaTeX.C (deplog): add another regex for MikTeX
13213
13214 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13215
13216         * lyxrc.C (set_font_norm_type): support iso8859-3
13217
13218 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13219
13220         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13221
13222         * LaTeXFeatures.C: remove special case of french and index
13223
13224         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13225         before \begin{document}). This solves several incompatibilities.
13226
13227 2001-10-03  Garst Reese  <reese@isn.net>
13228
13229         * lyx_cb.C: change CheckTex error msg.
13230
13231 2001-10-03  José Matos  <jamatos@fep.up.pt>
13232
13233         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13234
13235 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13236
13237         * .cvsignore: update
13238
13239         * lyx_main.C (commandLineVersionInfo): use new style version info.
13240
13241         * buffer.C (writeFile):
13242         (makeLaTeXFile):
13243         (makeLinuxDocFile):
13244         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13245
13246         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13247
13248         * version.h: update to use stuff in version.C
13249
13250         * version.C.in: new file. Contains version information determined
13251         at compile time. This is a merging of version.h and
13252         version_info.h.in.
13253
13254 2001-10-03  Juergen Vigna  <jug@sad.it>
13255
13256         * BufferView_pimpl.C (update): don't change "dirty" status in
13257         updateInset call.
13258
13259 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13260
13261         * WorkArea.C (c-tor): re-position version string slightly.
13262
13263 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13264
13265         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13266         revert to previous code.
13267
13268         WorkArea.[Ch]: (show, destroySplash): methods removed.
13269
13270         WorkArea.C: rework code so that it's an amalgam of the codes before and
13271         after the splash screen was moved to WorkArea.
13272
13273 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13274
13275         * lyxrc.C (read):
13276         * vspace.C (inPixels):
13277         (lyx_advance):
13278         * kbmap.C (bind):
13279         * buffer.C (insertStringAsLines):
13280         (asciiParagraph): fix types to be large enough
13281
13282         * lyxlex_pimpl.h: change member status from short to int
13283
13284         * layout.h: fix type of endlabeltype
13285
13286         * kbmap.C (bind):
13287         * kbsequence.C (parse): change return type to string::size_type
13288
13289         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13290         variable
13291
13292         * Bullet.C (bulletSize):
13293         (bulletEntry): do not use short ints as parameters
13294
13295         * BufferView2.C (insertLyXFile): change a char to an int.
13296
13297         * WorkArea.C (WorkArea): remove unneeded floats in computation
13298
13299 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13300
13301         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13302
13303         * paragraph.C (asString): Do not ignore newline/hfill chars when
13304         copying to the clipboard.
13305
13306 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13307
13308         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13309         after a multi-line inset.
13310
13311 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13312
13313         * paragraph.C (validate): Set NeedLyXFootnoteCode
13314
13315 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13316
13317         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13318         and decrease-error to decrease.
13319
13320 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13321
13322         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13323         it more readable (should be equivalent)
13324
13325 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13326
13327         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13328
13329 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13330
13331         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13332         of a cursor (row, etc.) after a character has been deleted
13333         (deleteEmptyParagraphMechanism): call the method above on _all_
13334         cursors held by the LyXText when a double space has been
13335         detected/deleted.
13336
13337 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13338
13339         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13340         pixmap.
13341         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13342
13343         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13344         background. Use greyOut() and the new show() methods to toggle between
13345         the foreground and background. Add code to remove the splash after
13346         its initial showing.
13347
13348         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13349         (create_forms): no longer call Dialogs::showSplash.
13350
13351 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13352
13353         * .cvsignore: add version_info.h
13354
13355 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13356
13357         * version_info.h.in: new file
13358
13359         * Makefile.am: add version_info.h.in
13360
13361         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13362         version_info.h instead of VERSION_INFO
13363
13364 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13365
13366         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13367         The ERT inset now returns string().
13368
13369 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13370
13371         * lyxtext.h, text.C (selectNextWord): renamed as
13372         selectNextWordToSpellcheck.
13373
13374         * text.C (selectNextWordToSpellcheck): Modified to not select
13375         words inside an ERT inset.
13376
13377 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13378
13379         * lyx_cb.C (MenuLayoutSave): change a bit the question
13380
13381         * sp_base.h: include <sys/types.h>
13382
13383 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13384
13385         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13386
13387 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13388
13389         * several files: fix typos in user-visible strings
13390
13391 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13392
13393         * text2.C (pasteSelection): do not set the selection, since it
13394         will be cleared later. Actually, the intent was to fix the way the
13395         selection was set, but I figured rmoving the code was just as good.
13396
13397 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13398
13399         * FontLoader.C (available): Check if font is available without
13400         loading the font.
13401
13402 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13403
13404         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13405
13406 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13407
13408         * lyxrc.[Ch]: added display_graphics variable and associated code.
13409
13410 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13411
13412         * bufferparams.C (hasClassDefaults): new method. Returns true if
13413         the buffer parameters correspond to known class defaults
13414
13415 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13416
13417         * XFormsView.C (show): set minimum size to the main window.
13418
13419 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13420
13421         * text2.C (copySelection):
13422         (cutSelection):
13423         * lyxfind.C (LyXReplace):
13424         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13425         LyXText::selectionAsString.
13426
13427         * paragraph.C (asString): add "label" argument to the second form
13428
13429         * text2.C (selectionAsString): add "label" argument and pass it to
13430         Paragraph::asString.
13431
13432 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13433
13434         * lyx_main.C (commandLineHelp): remove version information
13435
13436 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13437
13438         * lyx_main.C: add -version commandline option
13439
13440 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13441
13442         * paragraph.h: make the optional constructor arg required instead.
13443         some modifications to other files because of this.
13444
13445         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13446
13447         * lyxserver.C (C_LyXComm_callback): make it static
13448
13449         * lyx_main.C (error_handler): make it static
13450
13451         * lyx_gui.C (LyX_XErrHandler): make it static
13452
13453         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13454
13455         * WorkArea.C: make the extern "C" methods static.
13456
13457         * Makefile.am (lyx_LDADD): simplify
13458
13459 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13460
13461         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13462         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13463
13464         * LyXAction.C (init):
13465         * lyxfunc.C (dispatch): associated code removal.
13466
13467 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13468
13469         * lyxfont.h (isSymbolFont): shut off warning
13470
13471         * text.C (setHeightOfRow):
13472         (getVisibleRow): fix crash with empty paragraphs which have a
13473         bottom line
13474
13475 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13476
13477         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13478         code.
13479
13480 2001-09-04  José Matos  <jamatos@fep.up.pt>
13481         * buffer.C
13482         * buffer.h
13483         * tabular.C (docbook): rename docBook method to docbook.
13484
13485 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13486
13487         * Makefile.am: add dependencies to main.o.
13488
13489 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13490
13491         * FontLoader.C (available): Return false if !lyxrc.use_gui
13492
13493 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13494
13495         * FontInfo.C (query):
13496         * converter.C (view):
13497         * importer.C (Import):
13498         * exporter.C (Export): Can not -> cannot.
13499
13500 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13501
13502         * BufferView_pimpl.C: allow to create index inset even if
13503           string is empty
13504
13505 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13506
13507         * buffer.C (getLists): replace boost::tie code with an explicit pair
13508         as boost::tie can break some compilers.
13509
13510         * iterators.h: Added a std:: declaration to the return type of
13511         ParIterator::size.
13512
13513 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13514
13515         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13516           case.
13517
13518 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13519
13520         * iterators.[Ch]: New files. Provide paragraph iterators.
13521
13522         * buffer.C (changeLanguage): Use paragraph iterators.
13523         (isMultiLingual): ditto
13524
13525         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13526
13527 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13528
13529         * FontLoader.C: Support for cmr font.
13530
13531 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13532
13533         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13534         (available): New method.
13535
13536         * FontInfo.C (getFontname): Use scalable fonts even when
13537         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13538         found.
13539
13540 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13541
13542         * converter.C (Formats::view): reverted! Incorrect fix.
13543
13544 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13545
13546         * converter.C (Formats::view): only output the -paper option
13547         if the dvi viewer is xdvi, thereby fixing bug #233429.
13548
13549 2001-08-23  Herbert Voss  <voss@perce>
13550
13551         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13552
13553 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13554
13555         * Spacing.h (Spacing): Set space to Default on in the default
13556         constructor.
13557
13558 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13559
13560         * vc-backend.h (RCS::versionString): add RCS to version
13561         (CVS::versionString): add CVS to version
13562
13563         * vc-backend.C (scanMaster): do not add CVS to version.
13564         (scanMaster): do not add RCS to version
13565
13566         * lyxvc.C (versionString): new method
13567
13568         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13569
13570 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13571
13572         * Spacing.C (set): initialize fval
13573
13574 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13575
13576         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13577         " or \.
13578
13579 2001-08-16  Juergen Vigna  <jug@sad.it>
13580
13581         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13582
13583 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13584
13585         * BufferView_pimpl.C:
13586         * figureForm.C:
13587         * lyxtext.h:
13588         * text2.C: setParagraph takes linespacing now
13589
13590 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13591
13592         * LyxAction.C: add internal LFUN_CITATION_INSERT
13593
13594         * LyXView.C: actually apply fix
13595
13596         * bufferlist.C: fix open non-existent file
13597
13598         * lyxfind.C: fix indentation
13599
13600         * lyxfunc.C: remove unneeded assert, fix typo
13601
13602 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13603
13604         * MenuBackend.C: use "Floatname List"
13605
13606 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13607
13608         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13609         when converting LaTeX layout to insetERT.
13610         Generate a non-collapsed float when reading old float
13611
13612 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13613
13614         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13615         ERT insets.
13616
13617 2001-08-13  Juergen Vigna  <jug@sad.it>
13618
13619         * text.C (fill): return 0 instead of 20 as this seems to be the more
13620         correct value.
13621
13622 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13623
13624         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13625         lyxrc.font_norm.
13626
13627 2001-08-13  Juergen Vigna  <jug@sad.it>
13628
13629         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13630         casesensitive off.
13631         (SearchBackward): comment out the unlocking of the inset_owner this
13632         should not be needed!
13633
13634 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13635
13636         * Many files: Remove inherit_language, and add latex_language
13637
13638         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13639         collapsible insets.
13640
13641 2001-08-10  Juergen Vigna  <jug@sad.it>
13642
13643         * text.C (prepareToPrint): fixed hfill-width in draw!
13644
13645         * BufferView2.C (selectLastWord): save the selection cursor as this
13646         now is cleared in the function LyXText::clearSelection!
13647
13648 2001-08-08  Juergen Vigna  <jug@sad.it>
13649
13650         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13651         BACKSPACE type functions.
13652
13653         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13654         is only cutted from the document but not put in the cut-buffer, where
13655         still the old stuff should be.
13656
13657         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13658
13659         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13660
13661         * tabular.C (SetWidthOfCell): fixed special case where the width
13662         was not updated!
13663         (LeftLine): handle '|' in align_special.
13664         (RightLine): ditto
13665         (LeftAlreadyDrawed): ditto
13666         (SetWidthOfCell): ditto
13667
13668 2001-08-07  Juergen Vigna  <jug@sad.it>
13669
13670         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13671
13672 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13673
13674         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13675         * lyxlex.[hC]: ditto
13676
13677 2001-08-06  Juergen Vigna  <jug@sad.it>
13678
13679         * text.C (getVisibleRow): fix up row clearing a bit.
13680
13681 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13682
13683         * minibuffer.C: make sure the X server sees the changes in the input.
13684
13685 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13686
13687         * paragraph.C (getFont): split into...
13688         (getLabelFont): this
13689         (getLayoutFont): and this
13690         * paragraph_pimpl.C (realizeFont): calling this
13691
13692         * text2.C (getFont): split into...
13693         (getLayoutFont): this
13694         (getLabelFont): and this
13695         (realizeFont): all three calling this
13696
13697         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13698         files where used.
13699
13700 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13701
13702         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13703
13704 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13705
13706         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13707         layouts from the Quote inset insertion.
13708
13709 2001-08-03  Juergen Vigna  <jug@sad.it>
13710
13711         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13712
13713         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13714         only if status not is already CHANGED_IN_DRAW (second level).
13715
13716         * text.C (draw): don't set the need_break_row when inside an
13717         InsetText LyXText.
13718
13719 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13720
13721         * buffer.C (parseSingleLyXformat2Token): handle more latex
13722         conversion cases.
13723
13724         * bufferview_funcs.[hC]: change function names to
13725         begin with small char, adjust other files.
13726
13727 2001-08-02  André Pönitz <poenitz@gmx.net>
13728
13729         * lyxfunc.C:
13730         BufferView_pimpl.C: remove broken special code for math-greek
13731
13732 2001-08-02  Juergen Vigna  <jug@sad.it>
13733
13734         * BufferView_pimpl.C (update): redone this function so that we
13735         update the text again if there was a CHANGE_IN_DRAW.
13736
13737         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13738         (drawFromTo): added a new internal bool which is used by draw() and
13739         redraw() function.
13740         (general): some cursor drawing problems fixed.
13741
13742 2001-08-01  Juergen Vigna  <jug@sad.it>
13743
13744         * lyxfind.C (LyXFind): fixed
13745         (SearchForward): ditto
13746         (SearchBackward): ditto
13747
13748         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13749         spurius drawing of the cursor in the main area.
13750
13751         * text2.C (status): small fix which could lead to a segfault!
13752         (clearSelection): remove unneeded BufferView param.
13753
13754 2001-08-01  André Pönitz <poenitz@gmx.net>
13755
13756         * lyxfunc.C: small change due to changed mathed interface
13757
13758 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13759
13760         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13761
13762 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13763
13764         * lyxfunc.c: fail gracefully if file doesn't exist
13765
13766         * LyXSendto.C:
13767         * buffer.C:
13768         * lyxfunc.C:
13769         * BufferView_pimpl.C: IsDirWriteable() proto changed
13770
13771         * LyXView.C: fix updateWindowTitle() to store the last title
13772
13773 2001-07-31  Juergen Vigna  <jug@sad.it>
13774
13775         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13776         the font (wrong since using of Paragraph::highestFontInRange).
13777
13778         * paragraph.C (highestFontInRange): added a default_size parameter.
13779
13780         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13781         (setHeightOfRow): reformat
13782
13783 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13784
13785         * converter.[hC] + affected files: move to (inital-char)lowercase
13786         function names.
13787
13788         * ParagraphParameters.C (ParagraphParameters): remove commented code
13789
13790         * PainterBase.[Ch]: remove commented code
13791
13792         * LaTeXFeatures.h: add "bool floats" for float.sty
13793
13794         * LaTeXFeatures.C (LaTeXFeatures): init floats
13795         (require): handle float
13796         (getPackages): do it with floats
13797
13798 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13799
13800         * BufferView_pimpl.C (Dispatch): improve handling of
13801         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13802
13803         * commandtags.h: #include lyxfont.h here temporarily to avoid
13804         keybinding bug.
13805
13806         * bufferlist.h: include LString.h here.
13807
13808 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13809
13810         * text2.C (getStringToIndex): new method.
13811
13812 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13813
13814         * *: Reduced header file dependencies all over.
13815
13816 2001-07-30  Baruch Even  <baruch@lyx.org>
13817
13818         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13819
13820 2001-07-29  Baruch Even  <baruch@lyx.org>
13821
13822         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13823
13824 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13825
13826         * ParameterStruct.h (endif): add a default constructor to make
13827         sure that all variables is initialized.
13828
13829         * ParagraphParameters.C (ParagraphParameters): adjust
13830
13831 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13832
13833         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13834         index; also, check that there is something to index, and that it
13835         does not span over several paragraphs.
13836         (doubleClick): use WHOLE_WORD_STRICT for double click.
13837
13838         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13839
13840         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13841         scheme.
13842
13843 2001-07-26  Baruch Even  <baruch@lyx.org>
13844
13845         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13846         an InsetFig figure, backwards compatible reading of old figure code.
13847
13848 2001-07-27  Juergen Vigna  <jug@sad.it>
13849
13850         * text2.C: font.realize function adaption.
13851
13852         * text.C (draw): add a warnings lyxerr text if needed.
13853
13854         * layout.C: font.realize function adaption.
13855
13856         * language.C: add inherit_language and implement it's handlings
13857
13858         * bufferview_funcs.C (StyleReset): remove language parameter from
13859         font creation (should be language_inherit now).
13860
13861         * bufferparams.C (writeFile): handle ignore_language.
13862
13863         * paragraph.C (getFontSettings): the language has to be resolved
13864         otherwise we have problems in LyXFont!
13865
13866         * lyxfont.C (lyxWriteChanges): added document_language parameter
13867         (update): removed unneeded language parameter
13868
13869         * paragraph.C (validate): fixed wrong output of color-package when
13870         using interface colors for certain fonts in certain environments,
13871         which should not seen as that on the final output.
13872
13873 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13874
13875         * BufferView_pimpl.C:
13876         * Thesaurus.h:
13877         * Thesaurus.C:
13878         * Makefile.am:
13879         * commandtags.h:
13880         * LyXAction.C: add thesaurus support
13881
13882         * lyxfind.h:
13883         * lyxfind.C: add "once" parameter, for thesaurus, to not
13884           move to the next match
13885
13886 2001-07-26  Juergen Vigna  <jug@sad.it>
13887
13888         * lyxfont.C (realize): honor ignore_language too!
13889         (resolved): ditto.
13890
13891         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13892
13893         * text.C (draw): one place more for ignore_language to not draw
13894         itself!
13895
13896 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13897
13898         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13899
13900 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13901
13902         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13903         the minipage conversion problem.
13904
13905 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13906
13907         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13908         insert an inset.
13909
13910 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13911
13912         * BufferView.h: don't forward declare WorkArea
13913
13914         * BufferView.C: don't include WorkArea.h
13915
13916 2001-07-25  André Pönitz <poenitz@gmx.net>
13917
13918         * commandtags.h:
13919         * LyXAction.C:
13920         * lyxfunc.C:  new LFUN 'math-space'
13921
13922         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13923
13924 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13925
13926         * text2.C (toggleInset): call open/close
13927
13928 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13929
13930         * lyxfunc.C (dispatch): add debug for the disabled case
13931
13932         * font.C (buttonText): make similar to rectText
13933
13934         * buffer.C (readInset): comment out parsing of insetlist and
13935         insttheorem
13936
13937         * PainterBase.C (rectText): small correction
13938
13939         * BufferView_pimpl.C: comment out insettheorem and insetlist
13940         * LyXAction.C: ditto
13941         * commandtags.h: ditto
13942
13943 2001-07-24  Juergen Vigna  <jug@sad.it>
13944
13945         * text.C (draw): honor the ignore_language.
13946
13947         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13948
13949 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13950
13951         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13952         char inset.
13953
13954 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13955
13956         * lyxtext.h: remove unused (and unimplemented) methods
13957
13958 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13959
13960         * text.C (getVisibleRow): honor background color
13961
13962         * PainterBase.h:
13963         * Painter.h: remove default color argument for fillRectangle
13964
13965         * text.C (backgroundColor): new method
13966
13967 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13968
13969         * text.C (getVisibleRow): adjust
13970
13971         * font.[Ch] (rectText): new method, metrics
13972         (buttonText): new method, metrics
13973
13974         * PainterBase.[hC]: make rectText and buttonText always draw and take
13975         fewer paramteres.
13976
13977 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13978
13979         * ToolbarDefaults.C (read):
13980         * MenuBackend.C (read): allow escaping in all strings
13981
13982         * BufferView_pimpl.C (insertAndEditInset): new method.
13983         (Dispatch): use insertAndEditInset whenever appropriate.
13984
13985         * BufferView_pimpl.C (insertNote): removed
13986
13987         * BufferView_pimpl.C (smartQuote): new method, moved from
13988         BufferView; if an insetquote cannot be inserted, insert a '"'
13989         character instead.
13990
13991         * BufferView2.C: remove insertCorrectQuote();
13992
13993         * lyxfunc.C (getStatus): Add support for all remaingin
13994         inset-insert lfuns.
13995
13996         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13997
13998         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13999         command (necessary to pass " as parameter of self-insert.
14000
14001         * text.C (selectWordWhenUnderCursor):
14002         (selectWord): add word_location parameter
14003         (selectWordWhenUnderCursor): same + remove special code for word
14004         boundary.
14005         (selectNextWord): use kind() to guess type of insetspecialchar,
14006         not latex().
14007
14008         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14009         (insertErtContents): create ert insets as collapsed.
14010         (readInset): better compatibility code for Info inset.
14011
14012 2001-07-20  Juergen Vigna  <jug@sad.it>
14013
14014         * lyxfunc.C (dispatch): use always LyXFind now!
14015
14016         * text2.C (init): add a reinit flag so that the LyXText can be
14017         reinited instead of deleted and reallocated (used in InsetText).
14018
14019         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14020
14021         * text.C: ditto
14022
14023         * text2.C: ditto
14024
14025 2001-07-18  Juergen Vigna  <jug@sad.it>
14026
14027         * text.C (selectNextWord): handle insets inside inset by calling
14028         always the bv->text functions so that we can go up the_locking_inset!
14029
14030         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14031         in strange locations when inside an inset!
14032
14033         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14034         handling to include insets.
14035
14036         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14037
14038 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14039
14040         * LyXAction.C (init):
14041         * commandtags.h:
14042         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14043         LIGATURE_BREAK, since the name is so stupid.
14044
14045 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14046
14047         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14048         InsetInfos.
14049
14050         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14051
14052         * sp_form.[Ch]: remove.
14053
14054         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14055
14056         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14057         InsetInfo.
14058
14059         * src/buffer.C (readInset): ditto.
14060
14061 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14062
14063         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14064         menuSeparator(), endOfSentenceDot(), ldots() and
14065         hyphenationPoint(), which are therefore removed.
14066         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14067
14068         * LyXAction.C (init):
14069         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14070
14071         * paragraph.C (getWord): removed.
14072
14073         * BufferView_pimpl.C (Dispatch): use last word or selection for
14074         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14075
14076         * lyx_main.C (queryUserLyXDir): do not ask before creating
14077         user_dir, except if it has been named explicitely.
14078
14079 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14080
14081         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14082         a document of zero size.
14083
14084 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14085
14086         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14087         approriately in the c-tor and in require().
14088         (getPackages): output the appropriate LaTeX for natbib support.
14089
14090         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14091         variables "use_natbib" and "use_numerical_citations" when reading the
14092         LyX file.
14093         (readInset): read the various natbib cite commands.
14094         (validate): white-space change.
14095
14096         * bufferparams.[Ch]: new variables "bool use_natbib" and
14097         "bool use_numerical_citations".
14098         (writeFile): output them in the LyX file.
14099
14100 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14101
14102         * lyxfunc.C (getStatus): add support for all the inset insertion
14103         commands.
14104
14105         * text2.C (insertInset):
14106         * paragraph.C (insetAllowed):
14107         * BufferView_pimpl.C (insertInset): update to take in account the
14108         renaming of insertInsetAllowed
14109
14110         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14111
14112         * text2.C (getInset): new method. returns inset at cursor position.
14113
14114         * BufferView_pimpl.C (Dispatch): changes because of this.
14115
14116         * LyXAction.C (init): rename open-stuff to inset-toggle.
14117
14118         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14119
14120         * text2.C (toggleInset): renamed from openStuff; use
14121         Inset::open().
14122
14123 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14124
14125         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14126
14127         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14128
14129 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14130
14131         * buffer.C (readLyXformat2): Add filename to the error dialog
14132
14133 2001-07-18  Juergen Vigna  <jug@sad.it>
14134
14135         * tabular.C (GetCellNumber): put an assert here instead of the check!
14136
14137 2001-07-17  Juergen Vigna  <jug@sad.it>
14138
14139         * BufferView_pimpl.C (toggleSelection): adapted too.
14140
14141         * text.C (selectNextWord): adapted for use with insets.
14142         (selectSelectedWord): ditto
14143
14144 2001-07-17  Juergen Vigna  <jug@sad.it>
14145
14146         * sp_spell.C (PSpell): fix initialitation order.
14147
14148 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14149
14150         * paragraph.C: spacing
14151
14152 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14153
14154         * sp_spell.C: repair language selection for pspell
14155
14156 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14157
14158         * lyxfunc.h: change more methods to begin with lower char.
14159
14160 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14161
14162         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14163         for unknown layouts.
14164
14165 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14166
14167         * buffer.C (readLyXformat2): Generate an error dialog if there are
14168         unknown layouts.
14169
14170 2001-07-16  Juergen Vigna  <jug@sad.it>
14171
14172         * sp_spell.C: always compile ISpell part.
14173
14174         * lyxrc.C: added use_pspell entry and it's handling.
14175
14176 2001-07-13  Juergen Vigna  <jug@sad.it>
14177
14178         * sp_spell.C: removed double includes.
14179
14180 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14181
14182         Consistent use of Lsstream.h:
14183         * Lsstream.h: added using std::stringstream for consistencies sake.
14184
14185         * buffer.C: removed using std::stringstream
14186
14187         * lyxfont.C (stateText):
14188         * paragraph.C (asString):
14189         * text.C (selectNextWord, selectSelectedWord):
14190         * text2.C (setCounter):
14191         * vspace.C (asString, asLatexString):
14192         std::ostringstream -> ostringstream.
14193
14194 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14195
14196         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14197         * commandtags.h: add LFUN_HELP_ABOUTLYX
14198         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14199
14200 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14201
14202         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14203         cursorToggle()
14204         * lyx_gui_misc.C: remove spellchecker
14205         * lyxfunc.C: showSpellchecker
14206         * sp_base.h: added
14207         * sp_ispell.h: added
14208         * sp_pspell.h: added
14209         * sp_spell.C: added
14210         * sp_form.[Ch]: removed
14211         * spellchecker.[Ch]: removed
14212
14213 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14214
14215         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14216         is set.
14217         (simpleTeXSpecialChars): Simply print the input character without
14218         any special translation if pass_thru is set.
14219
14220         * layout.h: Added bool pass_thru to layout class for being able to
14221         implement pass through of a paragraph for Literate Programming.
14222
14223         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14224         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14225         * layout.C (Read): add "passthru" to list of layout tags and add
14226         code to set the pass_thru boolean when it is read.
14227
14228 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14229
14230         * trans_decl.h: remove allowed from KmodInfo
14231
14232         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14233         remove allowed code
14234         (Load): adjust
14235
14236         * paragraph_pimpl.C (erase): use boost::prior
14237
14238         * Painter.C (text): use data() instead of c_str() when length is
14239         also provided.
14240         * WorkArea.C (putClipboard): ditto
14241         * font.h (width): ditto
14242
14243         * BufferView2.C: use it-> instead of (*it). for iterators
14244         * texrow.C: ditto
14245         * paragraph_pimpl.C: ditto
14246         * paragraph.C: ditto
14247         * minibuffer.C: ditto
14248         * language.C: ditto
14249         * kbmap.C: ditto
14250         * encoding.C: ditto
14251         * counters.C: ditto
14252         * converter.C: ditto
14253         * chset.C: ditto
14254         * Variables.C: ditto
14255         * TextCache.C: ditto
14256         * MenuBackend.C: ditto
14257         * LyXAction.C: ditto
14258         * LColor.C: ditto
14259         * FloatList.C: ditto
14260         * DepTable.C: ditto
14261         * ColorHandler.C (LyXColorHandler): ditto
14262
14263 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14264
14265         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14266
14267         * text2.C (openStuff): reintroduce this method (which had been
14268         nuked in NEW_INSETS frenzy).
14269
14270         * lyxfunc.C (Dispatch): when an action has not been handled, use
14271         its name in the error message, not its number.
14272
14273         * paragraph.C (inInset): change method name to begin with lowercase.
14274
14275         * undo_funcs.C:
14276         * text2.C: updates because of this.
14277
14278 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14279
14280         * ToolbarDefaults.C (add): add spaces in error message
14281
14282 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14283
14284         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14285         (readLyXformat2): rename return_par to first_par, use lyxlex's
14286         pushToken and remove the manual push handling.
14287         (parseSingleLyXformat2Token): add another ert comp. variable:
14288         in_tabular, rename return_par to first_par. handle newlines better
14289
14290 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14291
14292         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14293
14294 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14295
14296         * text2.C (getParFromID): removed
14297
14298         * buffer.C (getParFromID): new method moved form lyxtext.
14299         * BufferView2.C (insertErrors): adjust
14300         (setCursorFromRow): adjust
14301         * BufferView_pimpl.C (restorePosition): adjust
14302         * lyxfunc.C (Dispatch): adjust
14303         * undo_funcs.C (textUndo): adjust
14304         (textRedo): adjust
14305         (textHandleUndo): adjust
14306         (textHandleUndo): adjust
14307
14308 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14309
14310         * buffer.C: up' the LYX_FORMAT
14311
14312         * lyxfont.h: turn NO_LATEX on as default
14313
14314         * buffer.C (insertErtContents): new methods of tex style compability.
14315         (parseSingleLyXformat2Token): use it several places.
14316         * tabular.C (OldFormatRead): and here
14317
14318 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14319
14320         * text2.C: remove some commented code.
14321         reindent file.
14322
14323         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14324         * trans.C: changes because of the above.
14325
14326 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14327
14328         * text2.C (setCounter): Fix counters bug with bibliography layout.
14329
14330 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14331
14332         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14333         own member functions
14334         (simpleTeXSpecialChars): ditto
14335
14336 2001-07-06  Juergen Vigna  <jug@sad.it>
14337
14338         * a lot of files: changed the access to LyXText::status and the
14339         call of undo-functions.
14340
14341         * undo.[Ch]: added a inset_id to the undo informations.
14342
14343         * undo_funcs.[Ch]: added and moved here all undo functions.
14344
14345         * lyxtext.h: give the status enum a weight, made status_ a private
14346         variable and made accessor functions for it, removed the whole bunch
14347         of undo-functions as they are now in their own file, make some
14348         functions publically available. Added function ownerParagraph with
14349         int parameter.
14350
14351         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14352         made InInset() a const function, added getParFromID() function.
14353
14354         * buffer.[Ch]: added const version for inset_iterator functions,
14355         added getInsetFromID() function.
14356
14357         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14358         changed undo functions for new version.
14359
14360 2001-07-05  Juergen Vigna  <jug@sad.it>
14361
14362         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14363         unknow mechanism does not call the proper constructor but only this
14364         one also if I request the other!?
14365
14366 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14367
14368         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14369
14370         * text2.C (LyXText): use initialization lists.
14371
14372         * lyxtext.h (Selection): initialize set_ and mark_
14373         (init): remove method
14374
14375 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14376
14377         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14378
14379 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14380
14381         * screen.[Ch]: change method names to begin with lowercase
14382
14383         * BufferView_pimpl.C (updateScrollbar): simplify further and
14384         hopefully make it a bit faster.
14385
14386 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14387
14388         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14389         calling directly xforms functions.
14390
14391         * Painter.C (Painter):
14392         * lyx_cb.C (MenuWrite):
14393         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14394         fl_display.
14395
14396         * lyx_gui.C: remove bogus guiruntime extern declaration.
14397
14398 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14399
14400         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14401         in NEW_INSETS
14402         (redoDrawingOfParagraph): ditto
14403         (redoParagraphs): ditto
14404         (cutSelection): don't create a object for CutAndPaste use the
14405         static method directly
14406         (pasteSelection): ditto
14407
14408         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14409         LyXview (+ rename)
14410
14411 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14412
14413         * modifications to some other files because of this.
14414
14415         * Makefile.am (lyx_SOURCES): add XFormsView
14416
14417         * XFormsView.[Ch]: new files
14418
14419         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14420         the main window. Move the gui dependent stuff to XFormsView
14421
14422 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14423
14424         * tabular.C (GetCellInset): update cur_cell also in the row/col
14425         version of this function.
14426
14427         * lyxfunc.C: no need to include figure_form.h here.
14428
14429         * FontLoader.h:
14430         * lyxfunc.h:
14431         * lyxscreen.h:
14432         * text2.C:
14433         * lyxvc.C: no need to include forms.h here.
14434
14435 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14436
14437         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14438
14439         * lyxfunc.C (Dispatch):
14440         * Spacing.C (set):
14441         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14442         constructor argument.
14443
14444 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14445
14446         * paragraph.C (Paragraph): dont't clear, and just set layout.
14447         (makeSameLayout): use params's copy contructor.
14448
14449         * ParagraphParameters.[Ch] (makeSame): delete method
14450
14451 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14452
14453         * Variables.[Ch]: fix indentation, rename set to isSet
14454
14455 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14456
14457         * lyxfunc.C (Dispatch): fix typo
14458
14459 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14460
14461         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14462         upper_bound.
14463
14464         * bufferlist.C: include assert.h for emergencyWrite().
14465
14466 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14467
14468         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14469           give up at last (bug #425202) !
14470
14471 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14472
14473         * lyx_gui_misc.C:
14474         * sp_form.h:
14475         * sp_form.C:
14476         * spellchecker.h:
14477         * spellchecker.C: strip spellchecker options and bring up
14478           preferences tab instead
14479
14480 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14481
14482         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14483         the istringstream constructor
14484
14485 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14486
14487         * paragraph.C (getLayout): fix return value
14488
14489         * paragraph.h: do not declare getLayout as inline.
14490
14491         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14492
14493 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14494
14495         * lyxcursor.h (operator<): new func
14496         (operator>): new func
14497         (operator>=): new func
14498         (operator<=): new func
14499
14500         * text.C (changeCase): use selection.start and selection.end
14501         (changeRegionCase): require from to be <= to. Require par to be a
14502         valid paragraph.
14503
14504         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14505
14506 2001-06-27  Juergen Vigna  <jug@sad.it>
14507
14508         * text.C (cursorLeftOneWord): changed to return the cursor and added
14509         overlay with BufferView * parameter which calls this one.
14510         (getWord): added
14511         (selectWord): use new getWord function.
14512         (changeCase): renamed from changeWordCase as and extended to work
14513         also on selections.
14514
14515         * lyxtext.h: added enum word_location
14516
14517         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14518         changeCase as this operates now also on selections.
14519
14520 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14521
14522         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14523
14524         * many files: send debug output to Debug::INFO instead of
14525         Debug::ANY.
14526
14527         * converter.C (View):
14528         (Convert):
14529         (Move): send debug output to Debug::FILES instead of console.
14530
14531 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14532
14533         * lyxfunc.C (getStatus): use func_status
14534
14535         * func_status.h: new header, describing the results of
14536         LyXFunc::getStatus;
14537
14538         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14539         LFUN_MATH_HALIGN.
14540
14541 2001-06-25  The LyX Project  <jug@sad.it>
14542
14543         * buffer.C (sgmlOpenTag):
14544         (sgmlCloseTag):
14545         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14546
14547 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14548
14549         * text2.C: remove some dead code
14550
14551         * tabular.C (GetCellInset): store the last cell checked (gotten)
14552
14553         * tabular.h: add the helper for the speedup
14554
14555         * lyxtext.h: remove some dead code
14556
14557 2001-06-26  The LyX Project  <Asger>
14558
14559         * paragraph.C: Change export to LaTeX of alignment to
14560         \begin{center} and family for better roundtrip work with reLyX.
14561
14562         * Tune the math drawing a bit.
14563
14564 2001-06-25  The LyX Project  <Asger>
14565
14566         * LColor.C (LColor): New color for math background. New color
14567         for buttons.
14568
14569 2001-06-25  The LyX Project  <jug@sad.it>
14570
14571         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14572
14573         * lyxfunc.C (Open):
14574         * bufferlist.C (newFile): do not restrict to files ending with
14575         .lyx
14576
14577         * BufferView_pimpl.C (MenuInsertLyXFile):
14578
14579 2001-06-24  The LyX Project  <jug@sad.it>
14580
14581         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14582         of compare_no_case
14583
14584 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14585
14586         * lyxtext.h: rename most methods to begin with a small char.
14587         Lots of changes because of this.
14588
14589         * paragraph.C (Paragraph): do not call fitToSize
14590         (erase): call Pimpl::erase
14591         (insertChar): call Pimpl::insertChar
14592         (insertInset): call Pipl::insertInset
14593         (breakParagraph): do not call fitToSize
14594         (breakParagraphConservative): do not call fitToSize
14595         (fitToSize): remove method
14596
14597         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14598
14599 2001-06-24  The LyX Project  <Asger>
14600
14601         * Fix Qt compilation^2
14602
14603 2001-06-24  The LyX Project  <jug@sad.it>
14604
14605         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14606         depthHook(getDepth()-1).
14607
14608         * paragraph.h:
14609         * ParagraphParameters.h:
14610         * ParameterStruct.h: change type of depth to unsigned int ==
14611         depth_type. Many adaptations to other files before of that.
14612
14613 2001-06-24  The LyX Project  <Asger>
14614
14615         * Fix Qt compilation.
14616
14617 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14618
14619         * paragraph.h: renamed several methods to begin with small letter.
14620         several changes to many parts of the code because of this.
14621
14622 2001-06-23  The LyX Project  <jug@sad.it>
14623
14624         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14625         rewritten to discard all double spaces when KeepEmpty is off
14626         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14627         to only handle newlines but not fiddle with spaces and friends.
14628
14629         * lyxfunc.C (MenuNew): when doing 'new from template', use
14630         template_path as default directory
14631
14632 2001-06-23  The LyX Project  <Asger>
14633
14634         * Clean-up of header file includes all over
14635         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14636
14637 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14638
14639         * paragraph.h: renamed from lyxparagraph.h
14640
14641 2001-06-23  Asger  <lyx@violet.home.sad.it>
14642
14643         * Buffer.h: Removed Buffer::resize
14644         * BufferList.h: Removed BufferList::resize
14645         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14646         the document lazily when we change the width, or the font settings.
14647
14648 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14649
14650         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14651
14652 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14653
14654         * buffer.h: remove out of date comment
14655
14656 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14657
14658         * lyxscreen.h:
14659         * screen.C: fix "theoretical" GC leak
14660
14661 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14662
14663         * LaTeX.C (scanAuxFile):
14664         (deplog): remove trailing \r when reading stream (useful under
14665         win32)
14666
14667 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14668
14669         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14670         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14671         and BufferView::theLockingInset(Inset*), so should use them and not
14672         access bv_->text->the_locking_inset directly.
14673
14674         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14675
14676 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14677
14678         * Makefile.am:
14679         * tex-defs.h: remove old unused file
14680
14681 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14682
14683         * BufferView_pimpl.C: fix typo, remove minibuffer message
14684           when buffer has loaded
14685
14686 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14687
14688         * lyxfunc.C (Dispatch): use stringstream
14689         (MenuNew): use stringstream
14690         (Open): use stringstream
14691
14692         * importer.C (Import): use stringstream
14693
14694         * bufferview_funcs.C (CurrentState): use stringstream
14695
14696         * LaTeX.C (run): use stringstream
14697
14698         * BufferView_pimpl.C (savePosition): use stringstream
14699         (restorePosition): use stringstream
14700         (MenuInsertLyXFile): use stringstream
14701
14702 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14703
14704         * BufferView.C:
14705         * Bullet.C:
14706         * ColorHandler.C:
14707         * FontInfo.C:
14708         * FontLoader.C:
14709         * LColor.C:
14710         * LaTeXFeatures.C:
14711         * Painter.C:
14712         * gettext.C:
14713         * lyx_gui_misc.C:
14714         * lyxserver.C:
14715         * vspace.C: removed // -*- C++ -*- as first line.
14716
14717         * lyxfind.h:
14718         * version.h: added // -*- C++ -*- as first line.
14719
14720 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14721
14722         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14723
14724         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14725         of string
14726
14727 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14728
14729         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14730         of floats.
14731
14732 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14733
14734         * gettext.C: include LString.h even when --disable-nls is on.
14735
14736 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14737
14738         * converter.h (Get): changed argument type from int to
14739         FormatList::size_type to avoid unnecessary conversion.
14740
14741         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14742         before using it.
14743
14744 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14745
14746         * gettext.h: include LString.h even when --disable-nls is on.
14747
14748 2001-06-07  Juergen Vigna  <jug@sad.it>
14749
14750         * text.C (BreakAgain): subst spaces with tabs.
14751
14752         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14753         (resizeInsetsLyXText): set force on resizeLyXText.
14754
14755 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14756
14757         * gettext.h (gettext_init):
14758         (locale_init): use a real definition instead of a macro
14759
14760 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14761
14762         * Bufferview_pimpl.C:
14763         * LColor.h:
14764         * LColor.C: further lcolor tidies
14765
14766 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14767
14768         * BufferView_pimpl.C (updateScrollbar): simplify.
14769
14770         * BufferView2.C: don't include insets/insetinfo.h, change
14771         prototype for insertInset and call the Pimpl version. let
14772         updateInset call Pimpl version.
14773
14774         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14775         gotoInset to BufferView::Pimpl
14776
14777 2001-06-01  Juergen Vigna  <jug@sad.it>
14778
14779         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14780         inside a LockingInset (is the update needed at all?).
14781
14782 2001-05-31  Juergen Vigna  <jug@sad.it>
14783
14784         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14785         here not the old one otherwise how should we compare it afterwards
14786         if it's the same!
14787
14788 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14789
14790         * lyxfont.C:
14791         * tabular.C:
14792         * tabular-old.C:
14793         * FontInfo.C: bring C functions into global namespace when
14794         necessary
14795
14796 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14797
14798         * LString.h: make sure config.h has been loaded before LString.h.
14799
14800         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14801         (one for each char read by EatLine!).
14802
14803         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14804         variables.
14805
14806 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14807
14808         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14809         to the same as the par we break from
14810
14811 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14812
14813         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14814
14815         * MenuBackend.C (expand): also create menu entries for wide
14816         versions of the floats.
14817
14818         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14819
14820         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14821
14822         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14823         frontends/Makefile.am
14824
14825         * text2.C: adjust
14826         * text.C: adjust
14827
14828
14829         * tabular.C (getTokenValue): add std::
14830
14831         * tabular-old.C (getTokenValue): add std::
14832         (getTokenValue): ditto
14833         (getTokenValue): ditto
14834
14835         * screen.C (ToggleSelection): adjust
14836
14837         * lyxtext.h: put selection cursors inside a Selection struct.
14838
14839         * lyxfunc.C (moveCursorUpdate): adjust
14840
14841         * lyxfont.C (latexWriteStartChanges): add std::
14842
14843         * lyxfind.C: adjust
14844
14845         * font.h: delete with(char const *, LyXFont const &)
14846
14847         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14848
14849         * FontInfo.C (getFontname): add std::
14850
14851         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14852         (workAreaButtonPress): adjust
14853         (tripleClick): adjust
14854         (update): adjust
14855         (moveCursorUpdate): adjust
14856         (Dispatch): adjust
14857
14858         * BufferView2.C (gotoInset): adjust
14859
14860 2001-05-30  Juergen Vigna  <jug@sad.it>
14861
14862         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14863         to check pspell I add this as default as I now have new pspell
14864         libraries and they seem to use this.
14865
14866 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14867
14868         * text2.C (CutSelection): make the cursor valid before the call to
14869         ClearSelection.
14870
14871 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14872
14873         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14874         relied on 0 terminated strings and other horrors. Bug found due to
14875         the new assert in lyxstring!
14876
14877         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14878         KP_ keys.
14879
14880 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14881
14882         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14883         to latinkeys.bind.
14884
14885         * lyxfunc.C (processKeySym): change method of getting to the
14886         self-insert char.
14887
14888         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14889         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14890         * BufferView_pimpl.[Ch]: here as private methods.
14891
14892 2001-05-28  Juergen Vigna  <jug@sad.it>
14893
14894         * text.C (SetHeightOfRow): added the update() call again as it is
14895         needed to initialize inset dimensions!
14896
14897 2001-05-16  Juergen Vigna  <jug@sad.it>
14898
14899         * text2.C (SetCharFont): Add new function with BufferView * and
14900         bool toggleall parameters for setting insets internal fonts.
14901         (SetFont): Freeze the undo as we may change fonts in Insets and
14902         all this change should be inside only one Undo!
14903
14904         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14905         setting font's in insets as for them we have the SetFont function!
14906
14907 2001-05-15  Juergen Vigna  <jug@sad.it>
14908
14909         * text2.C (ClearSelection): to be sure we REALLY don't have any
14910         selection anymore!
14911
14912         * tabular.C (TeXCellPreamble): fixed the left border problem for
14913         multicolumn cells.
14914
14915 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14916
14917         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14918         dependancy file
14919
14920 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14921
14922         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14923         LFUN_BREAKPARAGRAPH.
14924
14925         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14926         help test to "internal only", similar for LFUN_INSERT_URL
14927
14928         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14929         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14930         auto_region_delete and deadkeys.
14931
14932 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14933
14934         * LColor.h:
14935         * LColor.C: remove some dead entries, tidy a little
14936
14937 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14938
14939         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14940         commented code.
14941         (Dispatch): implement LFUN_ESCAPE
14942
14943         * commandtags.h: add LFUN_ESCAPE
14944
14945         * LyXAction.C (init): add entry for LFUN_ESCAPE
14946
14947         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14948         Remove commented code.
14949         (insertNote): moved here
14950         (open_new_inset): moved here
14951
14952         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14953         BufferView_pimpl
14954
14955 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14956
14957         * kbmap.C (findbinding): clean it up and make it work correctly.
14958
14959         * lyx_main.C (init): do not pass argc and argv as parameters
14960
14961 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14962
14963         * buffer.C: fix path for OS/2 & Win32
14964
14965         * lyx_gui.C:
14966         * lyx_main:
14967         * lyx_main.C: Added os:: class.
14968
14969         * os2_defines.h: update
14970
14971 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14972
14973         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14974         better by trying again with reduced state.
14975
14976 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14977
14978         * lyxrc.C (read): print error about invalid key sequence only when
14979         debugging (because not all latinX keysyms are known to some X
14980         servers)
14981
14982         * kbsequence.C (getiso): add a few std:: qualifiers
14983         (getiso): comment out extra return statement.
14984
14985 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14986
14987         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14988         handling.
14989         (Dispatch): enhance the accent inset a bit. (not perfect)
14990
14991 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14992
14993         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14994
14995 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14996
14997         * bufferlist.C (emergencyWrite): fix assert() call
14998
14999 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15000
15001         * text.C (InsertChar): Added trivial patch to only send the "you
15002         can not do multiple spaces this way" message once during a
15003         session.
15004
15005 2001-05-08  Baruch Even  <baruch@lyx.org>
15006
15007         * Makefile.am: Changed order of libraries to get LyX to link properly
15008         with the gnome frontend.
15009
15010 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15011
15012         * LaTeXFeatures.h: add a std:: qualifier
15013
15014 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15015
15016         * paragraph.C (String): use stringstream
15017
15018 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15019
15020         * paragraph.C (writeFile): remove footflag arg
15021
15022         * buffer.C (makeLaTeXFile): use stringstream
15023         (latexParagraphs): remove footnot gurba
15024
15025         * LaTeXFeatures.C (getPackages): use stringstream
15026         (getMacros): likewise
15027         (getTClassPreamble): likewise
15028         (getFloatDefinitions): new method
15029
15030         * paragraph.C (writeFile): reindent
15031         (Erase): reindent
15032
15033         * WorkArea.h: revert the xpos + etc changes.
15034
15035         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15036
15037         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15038
15039         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15040         (pasteSelection): likewise
15041         * text2.C (CreateUndo): likewise
15042
15043 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15044
15045         * minibuffer.C (peek_event): temporarily reduce the functionality
15046         of the minibuffer (to allow args on lfuns)
15047
15048         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15049         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15050
15051         * buffer.C (readInset): add compability reading of old float
15052         lists, add reading of new style float list.
15053         (readInset): avoid reevaluation of inscmd.getCmdName()
15054         (getLists): reindent
15055
15056         * MenuBackend.C (MenuItem): implement parsing of
15057         md_floatlistinsert and md_floatinsert.
15058         (expand::LastFiles): move initalizaton of iterators out of loop,
15059         avoid reevaluation.
15060         (expand::Documents): introduce typdedef vector<string> Strings,
15061         and use it.
15062         (expand::ExportFormats): introduce typedef vector<Format const *>
15063         Formats, and use it.
15064         (expand): implement FloatListInsert and FloatInsert.
15065
15066         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15067         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15068         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15069
15070         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15071         handling.
15072         (Dispatch::LFUN_FLOAT_LIST): implement
15073
15074 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15075
15076         * LaTeX.C (run): Fix problem with --export code.
15077
15078 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15079
15080         * BufferView.[Ch] (workarea): removed.
15081         (getClipboard) new method; wrapper for workarea()->getClipboard()
15082
15083         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15084         bug.
15085
15086         * WorkArea.h (width, height, xpos, ypos): These methods all
15087         returned the dimensions of the work_area sub-area of WorkArea,
15088         resulting in a position error if the WorkArea were resized. Now
15089         return the dimensions of the entire WorkArea.
15090
15091         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15092
15093 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15094
15095         * LaTeX.C (deplog): correct the syntax of regex reg1
15096
15097 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15098
15099         * undo.C: remove !NEW_INSETS cruft
15100
15101 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15102
15103         * text2.C: remove !NEW_INSETS cruft
15104
15105         * text.C: remove !NEW_INSETS cruft
15106
15107         * tabular.C: remove !NEW_INSETS cruft
15108
15109         * spellchecker.C: remove !NEW_INSETS cruft
15110
15111         * lyxtext.h: remove !NEW_INSETS cruft
15112
15113         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15114
15115         * lyxfunc.C: remove !NEW_INSETS cruft
15116
15117         * lyxfind.C: remove !NEW_INSETS cruft
15118
15119         * lyx_cb.C: remove !NEW_INSETS cruft
15120
15121         * figureForm.C: remove  !NEW_INSETS cruft
15122
15123         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15124
15125         * buffer.[Ch]: remove !NEW_INSETS cruft
15126
15127         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15128
15129         * CutAndPaste.C: remove !NEW_INSETS cruft
15130
15131         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15132
15133         * BufferView2.C: remove !NEW_INSETS cruft
15134
15135         * BufferView.h: remove !NEW_INSETS cruft
15136
15137 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15138
15139         * Lsstream.h: include LString.h before the sstream headers to
15140         fix problem with gcc 2.95.3 and lyxstring
15141
15142 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15143
15144         * lyx_main.C: add using directives when needed for C functions
15145         declared in std:: namespace.
15146
15147 2001-04-27  Juergen Vigna  <jug@sad.it>
15148
15149         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15150         (SetHeightOfRow): comment out the update call should not be needed!
15151
15152 2001-04-13  Juergen Vigna  <jug@sad.it>
15153
15154         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15155         (LyXTabular): tried to minimize operator= operations (and realized
15156         hopfully Lars wish).
15157
15158 2001-04-27  Juergen Vigna  <jug@sad.it>
15159
15160         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15161
15162 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15163
15164         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15165
15166         * buffer.C (readInset): hack to make listof algorithm work
15167
15168         * BufferView_pimpl.C: hack to make listof algorithm work
15169
15170 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15171
15172         * LyXAction.C: removed all !NEW_INSETS cruft
15173         (init): moved lfun_item in method
15174
15175         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15176
15177 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15178
15179         * BufferView2.C (theLockingInset): white space.
15180
15181 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15182
15183         * minibuffer.C: include <iostream>
15184
15185         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15186
15187         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15188
15189         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15190
15191         * text.[Ch] (TransposeChars): new method
15192
15193 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15194
15195         * call message directly through LyXView instead of through LyXFunc
15196         * BufferView2.C: adjust
15197         * BufferView_pimpl.C: adjust
15198         * FontLoader.C: adjust
15199         * buffer.C: adjust
15200         * bufferview_funcs.C: adjust
15201         * converter.C: adjust
15202         * figureForm.C: adjust
15203         * importer.C: adjust
15204         * lyx_cb.C: adjust
15205         * lyx_gui_misc.C: adjust
15206         * lyxfunc.C: adjust
15207         * lyxvc.C: adjust
15208         * text2.C: adjust
15209         + more files in subdirs
15210
15211         * lyxparagraph.h (size): move up int file
15212         (GetLayout): ditto
15213
15214         * adjust all uses of Assert to lyx::Assert.
15215
15216         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15217         lyxfunctional in namespace lyx
15218         * layout.C (hasLayout): ditto
15219         (GetLayout): ditto
15220         (GetLayout): ditto
15221         (delete_layout): ditto
15222         (NumberOfClass): ditto
15223         * converter.C (GetFormat): ditto
15224         (GetNumber): ditto
15225         (Add): ditto
15226         (Delete): ditto
15227         (SetViewer): ditto
15228         * bufferlist.C (getFileNames): ditto
15229         (emergencyWriteAll): ditto
15230         (exists): ditto
15231         (getBuffer): ditto
15232         * MenuBackend.C (hasSubmenu): ditto
15233         (hasMenu): ditto
15234         (getMenu): ditto
15235         * BufferView_pimpl.C (getInsetByCode): ditto
15236
15237 2001-04-18  Juergen Vigna  <jug@sad.it>
15238
15239         * vspace.C (asLatexString): fixed the 100% problem.
15240
15241 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15242
15243         * lyxfunc.C (Dispatch):
15244         * minibuffer.C:
15245         * minibuffer.h: add a few std:: qualifiers
15246
15247 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15248
15249         * minibuffer.[Ch]: reimplement so that commands is initiated and
15250         run from lyxfunc, simplified som handling, and made the completion
15251         and history code for complete. wip.
15252
15253         * lyxfunc.C (processKeySym): call message
15254         (miniDispatch): new temporary method
15255         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15256         (LFUN_MESSAGE): implement
15257         (LFUN_MESSAGE_PUSH): implement
15258         (LFUN_MESSAGE_POP): implement
15259         (initMiniBuffer): the initial/defualt minibuffer message.
15260
15261         * lyxfont.[Ch]: inline some more getters
15262
15263         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15264
15265         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15266
15267         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15268         (AutoSave): use LFUN_MESSAGE
15269         (Reconfigure): ditto
15270
15271         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15272
15273         * figureForm.C: use LFUN_MESSAGE
15274
15275         * converter.C (runLaTeX): use LFUN_MESSAGE
15276
15277         * bufferview_funcs.C: use LFUN_MESSAGE
15278         (Melt): ditto
15279         (changeDepth): ditto
15280
15281         * bufferparams.h: use boost::
15282
15283         * bufferlist.h: inherit privately from noncopyable
15284
15285         * bufferlist.C (loadLyXFile): remove some commented code.
15286
15287         * buffer.C (runChktex): use LFUN_MESSAGE
15288
15289         * ShareContainer.h: inherit privately from noncopyable
15290
15291         * ParagraphParameters.[hC] (depth): inline it.
15292
15293         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15294         methods.
15295         (message): new method
15296         (messagePush): ditto
15297         (messagePop): ditto
15298         (show): init minibuffer
15299         (showState): direct call
15300
15301         * LaTeX.[Ch]: inherit privately from noncopyable
15302         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15303         instead of WriteStatus.
15304
15305         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15306
15307         * BufferView_pimpl.C (buffer): don't init minibuffer
15308         (workAreaButtonPress): use LFUN_MESSAGE
15309         (workAreaButtonRelease): ditto
15310         (savePosition): ditto
15311         (restorePosition): ditto
15312         (MenuInsertLyXFile): ditto
15313         (workAreaExpose): don't init minibuffer
15314         (update): remove commented code, simplify
15315
15316         * BufferView2.C (openStuff): use LFUN_MESSAGE
15317         (toggleFloat): ditto
15318         (menuUndo): ditto
15319         (menuRedo): ditto
15320         (copyEnvironment): ditto
15321         (pasteEnvironment): ditto
15322         (copy): ditto
15323         (cut): ditto
15324         (paste): ditto
15325         (gotoInset): ditto
15326         (updateInset): remove some commented code
15327
15328         * lastfiles.h: inherit privately from noncopyable
15329         * layout.h: ditto
15330         * lyx_gui.h: ditto
15331         * lyx_main.h: ditto
15332         * lyxlex.h: ditto
15333         * lyxlex_pimpl.h: ditto
15334
15335         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15336         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15337         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15338
15339         * LyXAction.h: inherit privately from noncopyable, add methods
15340         func_begin, func_end, returning iterators to the func map.
15341
15342         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15343         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15344         (func_begin): new method
15345         (func_end): new method
15346
15347         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15348         and not)
15349         (copySelection): ditto
15350         (pasteSelection): ditto
15351
15352         * BufferView.C: whitespace change
15353         * BufferView.h: inherit privately from noncopyable
15354
15355 2001-04-16  Allan Rae  <rae@lyx.org>
15356
15357         * tabular-old.C (l_getline):
15358         * spellchecker.C (sc_check_word):
15359         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15360         an unrecognised preprocessor directive.  So ensure they're wrapped.
15361
15362 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15363
15364         * src/exporter.C (Export): Give an error message when path to file
15365         contains spaces.
15366
15367 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15368
15369         * LaTeX.C (deplog): Always check that foundfile exists.
15370
15371 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15372
15373         * lyx_main.h:
15374         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15375
15376 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15377
15378         * tabular.[Ch] (getLabelList): implement new method
15379
15380         * minibuffer.h: comment ouf setTiimer
15381
15382         * minibuffer.C (ExecutingCB): constify res
15383         (peek_event): constify s
15384         (Set): constify ntext
15385         (Init): constify nicename
15386
15387         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15388
15389         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15390         (savePosition): use two params to Minibuffer::Set
15391         (restorePosition): ditto
15392
15393 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15394
15395         * lyx_main.C: include language.h
15396
15397         * Makefile.am (lyx_main.o): add language.h
15398
15399 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15400
15401         * exporter.C:
15402         * paragraph.C:
15403         * screen.C:
15404         * tabular.C:
15405         * CutAndPaste.C: include gettext.h
15406
15407         * lyxfont.h: remove old hack with ON and OFF.
15408
15409         * lyxparagraph.h:
15410         * lyxfont.h: do not include language.h...
15411
15412         * BufferView2.C:
15413         * LaTeXFeatures.C:
15414         * Painter.C:
15415         * bufferview_funcs.C:
15416         * font.C:
15417         * lyxfont.C:
15418         * text.C:
15419         * text2.C:
15420         * trans_mgr.C:
15421         * paragraph.C: ... but do it here instead
15422
15423 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15424
15425         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15426
15427         * tabular.C: small reformat
15428
15429         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15430         NEW_INSETS version
15431         (GetChar): ditto
15432         (BreakParagraph): ditto
15433         (SetOnlyLayout): ditto
15434         (SetLayout): ditto
15435
15436         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15437         with one arg less.
15438
15439         * lastfiles.C: removed most using decl, add std:: where needed
15440
15441         * buffer.C: ws changes
15442
15443         * MenuBackend.C (class compare_format): put into anon namespace
15444         (expand): constify label, names, action, action2
15445         (expand):
15446
15447         * text.C (SingleWidth): constify font
15448         (IsBoundary): constify rtl2
15449         (GetVisibleRow): constify ww
15450
15451         * LaTeX.C (deplog): constify logfile
15452
15453         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15454         start_x, end_x
15455         (workAreaExpose): constify widthChange, heightChange
15456
15457         * lyxrow.C (par): moved
15458         (height): moved
15459         (next): moved
15460         * lyxrow.h: as inlines here
15461
15462         * lyxfont.h (shape): moved from lyxfont.C
15463         (emph): moved from lyxfont.C
15464
15465         * lyxfont.C (LyXFont): use initialization list for all
15466         constructors
15467         (shape): move to lyxfont.h as inline
15468         (emph): move to lyxfont.h as inline
15469
15470
15471 2001-04-04  Juergen Vigna  <jug@sad.it>
15472
15473         * vspace.C: had to include stdio.h for use of sscanf
15474
15475 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15476
15477         * BufferView.h:
15478         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15479         independent of xforms.
15480
15481 2001-04-02  Juergen Vigna  <jug@sad.it>
15482
15483         * spellchecker.C: fixed namespace placing!
15484
15485 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15486
15487         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15488         the LyXParagraph * is 0.
15489
15490 2001-03-29  Juergen Vigna  <jug@sad.it>
15491
15492         * vspace.C: added support for %, c%, p%, l%.
15493         (stringFromUnit): added helper function.
15494         (asLatexString): changed to give right results for the %-values.
15495
15496         * buffer.C: convert the widthp in a width%.
15497
15498 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15499
15500         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15501         figureForm.[Ch].
15502
15503         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15504         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15505
15506         * lyx_cb.[Ch]: see above.
15507
15508         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15509         form1.[Ch].
15510
15511         * form1.[Ch]:
15512         * lyx.[Ch]: replaced by figure_form.[Ch].
15513
15514         * lyx_gui.C:
15515         * lyx_gui_misc.C:
15516         * lyxfunc.C: changed headers associated with above changes.
15517
15518 2001-03-27  Juergen Vigna  <jug@sad.it>
15519
15520         * BufferView_pimpl.C: set the temporary cursor right!
15521
15522 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15523
15524         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15525
15526 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15527
15528         * LString.h: removed "using std::getline"!
15529
15530         * BufferView_pimpl.C (Dispatch): changes due to changes in
15531         InsetInclude::Params.
15532
15533         * buffer.C (tag_name): removed redundant break statements as they were
15534         producing lots of warnings with my compiler.
15535
15536 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15537
15538         * LString.h: add "using std::getline" when using the real <string>.
15539
15540 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15541
15542         * buffer.C: removed bitset usage.
15543         PAR_TAG moved to an anonymous name space.
15544         (tag_name): new funtion, also in the anonymous namespace.
15545         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15546         (makeDocBookFile): clean code. Completed transition from string arrays
15547         to string vectors.
15548         (SimpleDocBookOnePar): code clean.
15549
15550 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15551
15552         * tabular.C: add some comments.
15553
15554 2001-03-22  Juergen Vigna  <jug@sad.it>
15555
15556         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15557         compatibility read a bit and fixed bug with minipage in different
15558         depth.
15559
15560 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15561
15562         * buffer.C (pop_tag): removed.
15563         (push_tag): removed.
15564         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15565         array replaced with vector. Added support for CDATA sections.
15566         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15567         at any nest level.
15568         (makeDocBookFile): XML conformant declaration of CDATA section,
15569         fixed bug related to <emphasis> in the first paragraph char.
15570         (sgmlOpenTag): exclude empty tags.
15571         (sgmlCloseTag): ditto.
15572
15573         * buffer.h (pop_tag): removed.
15574         (push_tag): removed.
15575
15576 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15577
15578         * language.h (Languages): added size_type and size().
15579
15580 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15581
15582         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15583         response on compability reading of minipages. One probliem is that
15584         the old usage of minipages was «flertydig»
15585
15586         * several files here and in subdirs: don't use static at file
15587         scope use anon namespaces instead.
15588
15589 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15590
15591         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15592         LaTeX output. This is necessary for Literate document
15593         processing.
15594
15595 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15596
15597         * buffer.C: insert hfill when needed.
15598
15599         * tabular.C (l_getline): use string::erase, small whitespace change.
15600
15601         * BufferView_pimpl.C: try the anon namespace.
15602         * WorkArea.C: ditto
15603
15604 2001-03-16  Juergen Vigna  <jug@sad.it>
15605
15606         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15607         otherwise it won't open options-dialogs.
15608
15609         * buffer.C: honor pextraWidth(p) on converting minipages.
15610
15611         * tabular.C (l_getline): changed the functions to strip trailing \r.
15612
15613 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15614
15615         * BufferView_pimpl.C:
15616         * minibuffer..C: added "using SigC::slot" declaration.
15617
15618 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15619
15620         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15621
15622         * text2.C: ditto
15623
15624         * text.C: ditto
15625
15626         * paragraph.C: ditto
15627
15628         * lyxtext.h: NO_PEXTRA
15629
15630         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15631
15632         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15633         * ParameterStruct.h: ditto
15634         * ParagraphParameters.h: ditto
15635         * lyxparagraph.h: ditto
15636
15637 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15638
15639         * buffer.C: add compability for minipage alignment.
15640         (latexParagraphs): remove unwanted pextra check.
15641
15642         * several files: remove CXX_WORKING_NAMESPACES
15643
15644         * buffer.C (pop_tag): tie is in namespace boost
15645
15646         * BufferView.h: noncopyable is in namespace boost
15647         * lyxlex.h: ditto
15648         * lyx_main.h: ditto
15649         * lyx_gui.h: ditto
15650         * layout.h: ditto
15651         * lastfiles.h: ditto
15652         * bufferlist.h: ditto
15653         * ShareContainer.h: ditto
15654         * LyXView.h: ditto
15655         * LyXAction.h: ditto
15656         * LaTeX.h: ditto
15657
15658 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15659
15660         * Merging changes from BRANCH_MVC back into HEAD.
15661
15662         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15663
15664 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15665
15666         * BufferView_pimpl.C: change from intl.C
15667
15668         * combox.h:
15669         * combox.C:
15670         * Makefile.am: move combox.*
15671
15672         * form1.h:
15673         * form1.C:
15674         * lyx_gui.C:
15675         * intl.h:
15676         * intl.C: remove dialog (covered by prefs)
15677
15678 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15679
15680         * lyxfunc.C (Dispatch): removed redundant break statement.
15681
15682 2001-03-14  Juergen Vigna  <jug@sad.it>
15683
15684         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15685
15686 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15687
15688         * buffer.C: add hack to fix compability reading of minipages.
15689
15690 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15691
15692         * buffer.C (getLists): Cleanup.
15693
15694 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15695
15696         * lyxfont.C (update): don't honor toggleall on font size.
15697
15698 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15699
15700         * bmtable.c:
15701         * bmtable.h:
15702         * Makefile.am: moved to frontends/xforms/
15703
15704         * lyx_gui_misc.C:
15705         * lyxfunc.C:
15706         * BufferView_pimpl.C: changes for moved mathpanel
15707
15708 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15709
15710         * gettext.h: fix gettext_init() in --disable-nls
15711
15712 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15713
15714         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15715
15716 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15717
15718         * lyx.C:
15719         * lyx.h: strip external form
15720
15721 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15722
15723         * BufferView_pimpl.C: add comment, destroySplash()
15724
15725 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15726
15727         * BufferView_pimpl.C:
15728         * LyXAction.C:
15729         * buffer.C:
15730         * commandtags.h:
15731         * lyxfunc.C: use re-worked insetinclude
15732
15733 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15734
15735         * buffer.C: add using std::stringstream.
15736
15737         * lyx_cb.C: readd using std::ios.
15738
15739         * buffer.C: add using std::map.
15740
15741         * BufferView_pimpl.C: add using std::vector.
15742
15743         * ShareContainer.h: add std:: to swap.
15744
15745         * buffer.h: add some typedefs
15746         * buffer.C (getLists): use them
15747         (getLists): renamed from getTocList.
15748         add a counter for the different float types and use it in the
15749         generated string.
15750         (getLists): use the same counter for the NEW_INSETS and the "non"
15751         NEW_INSETS
15752
15753         * lyx_cb.h: remove unused items, includes, using etc.
15754
15755         * ShareContainer.h: remove some commented code, add more comments
15756         and "documentation".
15757
15758 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15759
15760         * buffer.C (getTocList): make the list also when NEW_INSETS is
15761         defined.
15762
15763         * buffer.h: remove TocType
15764
15765         * buffer.C (getTocList): change to return a map<string,
15766         vector<TocItem> >, implement for dynamic number of list.
15767
15768         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15769         * text2.C (PasteSelection): adjust
15770         * CutAndPaste.C (pasteSelection): adjust
15771
15772         * FloatList.C (FloatList): update from the new_insets branch.
15773         * Floating.[Ch]: ditto
15774         * LaTeXFeatures.C: ditto
15775         * buffer.C: ditto
15776         * lyxlex_pimpl.C: ditto
15777
15778         * paragraph.C (Last): remove when NEW_INSETS is defined.
15779
15780         * other file: changes because of the above.
15781
15782 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15783
15784         * lyxparagraph.h: rename next to next_, previous to previous_,
15785         make them private for NEW_INSETS. Rename Next() to next(),
15786         Previous() to previous().
15787
15788         * other files: changes because of the above.
15789
15790 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15791
15792         * BufferView.h:
15793         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15794         problem.
15795
15796 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15797
15798         * main.C (main): pass lyx_localedir to gettext_init().
15799
15800         * gettext.h: remove locale_init and gettext_init macros
15801
15802         * gettext.C (locale_init): new function
15803         (gettext_init): new function
15804
15805         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15806         setlocale().
15807
15808 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15809
15810         * Moved credits to frontends:
15811         * credits.[Ch]: removed
15812         * credits_form.[Ch]: removed
15813         * lyx_gui_misc.C: remove credits stuff
15814         * Makefile.am:
15815
15816 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15817
15818         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15819
15820         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15821         unneeded destructor.
15822
15823         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15824         a standalone pointer again.
15825
15826         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15827
15828 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15829
15830         * Makefile.am:
15831         * filedlg.h:
15832         * filedlg.C:
15833         * LyXAction.C:
15834         * ToolbarDefaults.C:
15835         * bufferlist.C:
15836         * commandtags.h:
15837         * form1.C:
15838         * form1.h:
15839         * lyx_cb.C:
15840         * lyx_cb.h:
15841         * lyxfunc.h:
15842         * lyxfunc.C:
15843         * BufferView_pimpl.C: use new file dialog in GUII
15844
15845         * lyx_cb.h:
15846         * lyx_cb.C: remove LayoutsCB to Toolbar
15847
15848 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15849
15850         * ShareContainer.h (get): add std:: qualifier
15851
15852 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15853
15854         * ShareContainer.h: define a proper ShareContainer::value_type
15855         type (and use typename to please compaq cxx)
15856
15857 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15858
15859         * lyxparagraph.h: move serveral local vars to
15860         ParameterStruct/ParagraphParameters., use ShareContainer in
15861         FontTable., make vars in FontTable private and add getter and
15862         setter.
15863
15864         * paragraph.C: changes because of the above.
15865
15866         * lyxfont.h: remove copy constructor and copy assignment. (the
15867         default ones is ok), move number inside FontBits. move inlines to
15868         lyxfont.C
15869
15870         * lyxfont.C: add number to initializaton of statics, move several
15871         inlines here. constify several local vars. some whitespace
15872         cleanup. Dont hide outerscope variables.
15873
15874         * Spacing.h: add two new constructors to match the set methods.
15875
15876         * ShareContainer.h: new file, will perhaps be moved to support
15877
15878         * ParameterStruct.h: new file
15879
15880         * ParagraphParameters.h: new file
15881
15882         * ParagraphParameters.C: new file
15883
15884         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15885         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15886
15887         * BufferView_pimpl.C: ParagraphParameter changes.
15888         * buffer.C: Likewise.
15889         * bufferview_funcs.C: Likewise.
15890         * text.C: Likewise.
15891         * text2.C: Likewise.
15892
15893 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15894
15895         * lyxfind.C (LyXReplace): do not redefine default argument in
15896         implementation.
15897         (IsStringInText): ditto
15898         (SearchForward): ditto
15899         (SearchBackward): ditto
15900
15901 2001-03-06  Juergen Vigna  <jug@sad.it>
15902
15903         * lyxfind.C (IsStringInText): put parentes around expressions.
15904
15905 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15906
15907         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15908
15909 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15910
15911         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15912
15913         * stl_string_fwd.h: add comment
15914
15915         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15916
15917         * tabular.h:
15918         * tabular.C: remove unused DocBook methods
15919
15920         * intl.C:
15921         * language.C:
15922         * paragraph.C:
15923         * buffer.C:
15924         killed DO_USE_DEFAULT_LANGUAGE
15925
15926 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15927
15928         * lyx_gui.C: do not include language.h.
15929
15930         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15931         arguments in function implementation.
15932
15933 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15934
15935         * BufferView_pimpl.C: add <ctime>
15936
15937 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15938
15939         * BufferView_pimpl.C: add using std::find_if
15940
15941 2001-02-27  José Matos  <jamatos@fep.up.pt>
15942
15943         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15944         by OnlyPath.
15945
15946 2001-02-11  José Matos  <jamatos@fep.up.pt>
15947
15948         * buffer.C (makeDocBookFile): command styles now have a parameter as
15949         "title" by default.
15950
15951 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15952
15953         * layout_forms.[Ch]: removed
15954         * lyx_cb.[Ch]: out character
15955         * lyx_gui.C: out character
15956         * lyx_gui_misc.C: out character
15957         * bufferview_funcs.C: : out character,
15958         added toggleall as parameter in ToggleAndShow
15959
15960 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15961
15962         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15963
15964         * text2.C (SetCurrentFont): Disable number property at boundary.
15965
15966 2001-02-26  Juergen Vigna  <jug@sad.it>
15967
15968         * lyxfunc.C (getStatus): added a string argument override function so
15969         that this is correctly called from LyXFunc::Dispatch if it contains a
15970         do_not_use_argument which is used!
15971         (Dispatch): added check for "custom" export and call appropriate func.
15972
15973 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15974
15975         * lyxrc.C: Add language_command_local, language_use_babel and
15976         language_global_options.
15977
15978         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15979
15980         * buffer.C (makeLaTeXFile): Use language_use_babel and
15981         language_global_options.
15982
15983 2001-02-23  Juergen Vigna  <jug@sad.it>
15984
15985         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15986         which works with LyXText and putted it inside BufferView. Here now we
15987         only call for that part the BufferView::Dispatch() function.
15988
15989         * BufferView.C (Dispatch): added.
15990
15991         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15992         functions which needs to use a LyXText over from LyXFunc.
15993         (MenuInsertLyXFile): added
15994         (getInsetByCode): added
15995         (moveCursorUpdate): added
15996         (static TEXT): added
15997
15998 2001-02-22  Juergen Vigna  <jug@sad.it>
15999
16000         * BufferView_pimpl.C (update): call a status update to see if LyXText
16001         needs it.
16002
16003 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16004
16005         * vc-backend.C (revert): implement for CVS
16006         (getLog): implement for CVS
16007
16008 2001-02-20  Juergen Vigna  <jug@sad.it>
16009
16010         * text2.C (ClearSelection): added BufferView param for inset_owner call
16011
16012         * lyxfunc.C (TEXT): added this function and use it instead of
16013         directly owner->view()-text of getLyXText().
16014
16015 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16016
16017         * src/layout_forms.C: out preamble
16018         * src/layout_forms.h: out preamble
16019         * src/lyx_cb.C: out preamble
16020         * src/lyx_cb.h: out preamble
16021         * src/lyx_gui.C: out preamble
16022         * src/lyx_gui_misc.C: out preamble
16023         * src/lyxfunc.C: connect with guii preamble
16024
16025 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16026
16027         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16028
16029 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16030
16031         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16032         whether to run bibtex.
16033
16034 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16035
16036         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16037
16038 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16039
16040         * Makefile.am (lyx_SOURCES): removed bibforms.h
16041
16042         * vspace.h: doxygen
16043
16044         * text.C (GetVisibleRow): make several local vars const
16045
16046         * tabular.C: small cleanup.
16047
16048         * lyxserver.C (callback): use compare instead of strncmp
16049
16050         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16051         inlines to after class or to paragraph.C
16052
16053         * lyxfont.h: remove friend operator!=
16054
16055         * converter.h: move friend bool operator< to non friend and after
16056         class def.
16057
16058         * combox.h: small cleanup
16059
16060         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16061         to inlines after class def.
16062
16063         * buffer.C (pop_tag): use string operations instead of strcmp
16064
16065         * bmtable.c: doxygen, small cleanup
16066
16067         * LaTeX.h: remove friend operator==
16068
16069 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16070
16071         * screen.C:
16072         * lyxrc.[Ch]:
16073         * lyxfunc.C:
16074         * lyxfont.[Ch]:
16075         * lyx_cb.C:
16076         * intl.[Ch]:
16077         * commandtags.h:
16078         * buffer.C:
16079         * WorkArea.[Ch]:
16080         * LyXAction.C:
16081         * BufferView_pimpl.C:
16082         * BufferView.[Ch]: remove cruft
16083
16084 2001-02-14  Juergen Vigna  <jug@sad.it>
16085
16086         * lyxfunc.C: removed #if 0 unused code
16087
16088         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16089
16090         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16091
16092         * text2.C (SetSelection): added a BufferView * parameter
16093
16094 2001-02-13  Juergen Vigna  <jug@sad.it>
16095
16096         * lyxfunc.C (Dispatch): fixed protected blank problem.
16097         * BufferView2.C (protectedBlank): added LyxText * parameter.
16098
16099         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16100         (AppendColumn): same as above for column_info.
16101
16102         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16103         (moveCursorUpdate): use a LyXText param for support of InsetText.
16104
16105         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16106         (tripleClick): ditto
16107
16108         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16109
16110         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16111
16112         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16113
16114         * text2.C (SetSelection): set correct update status if inset_owner
16115         (ToggleFree): ditto
16116
16117 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16118
16119         * tabular.C: remove some commented code.
16120
16121 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16122
16123         * BufferView_pimpl.C: call hideSplash()
16124
16125         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16126
16127         * include_form.h:
16128         * bibforms.h: remove
16129
16130         * lyxfunc.C:
16131         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16132           add LFUN_CHILD_CREATE
16133
16134         * counters.h: fix tiny typo
16135
16136         * lyx_cb.C:
16137         * lyx.h:
16138         * lyx_gui.C:
16139         * lyx.C: move splash to frontends/xforms/
16140
16141         * lyx_gui_misc.C: move Include and Bibform to frontends
16142
16143         * lyxvc.h: clarify comment
16144
16145         * vspace.C: tiny housekeeping
16146
16147 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16148
16149         * text.C (PrepareToPrint): RTL Fix.
16150
16151         * paragraph.C (GetUChar): New method.
16152         (String):  Use GetUChar.
16153
16154         * buffer.C (asciiParagraph): Use GetUChar.
16155
16156 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16157
16158         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16159
16160 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16161
16162         * buffer.h:
16163         * buffer.C: rename to getLogName(), handle
16164           build log / latex log nicely
16165
16166 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16167
16168         * MenuBackend.C:
16169         * MenuBackend.h: remove support for reference menuitem type.
16170
16171 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16172
16173         * BufferView_pimpl.C: housekeeping
16174         * BufferView_pimpl.h:
16175         * LyXView.h:
16176         * Makefile.am:
16177         * Timeout.C:
16178         * Timeout.h:
16179         * minibuffer.h: move Timeout GUI-I
16180
16181 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16182
16183         * lyxrc.C (read): Update converters data-structures.
16184
16185 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16186
16187         * LaTeX.h (operator!=): add operator != for Aux_Info
16188
16189 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16190
16191         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16192
16193         * LaTeXLog.C: deleted, useful code moved to Buffer
16194
16195         * buffer.h:
16196         * buffer.C: new function getLatexLogName()
16197
16198         * lyx_gui_misc.C:
16199         * lyx_gui.C:
16200         * lyxvc.C:
16201         * lyxvc.h:
16202         * lyxfunc.C: use frontends for LaTeX and VC logs
16203
16204 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16205
16206         * LaTeX.h: yet another std:: that Allan forgot.
16207
16208         * Variables.C (set): renamed from isset(), because this clashes
16209         with some HP-UX macros (grr).
16210
16211 2001-02-06  Allan Rae  <rae@lyx.org>
16212
16213         * LaTeX.h: Another bug fix.  Missing std:: this time.
16214
16215 2001-02-04  Allan Rae  <rae@lyx.org>
16216
16217         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16218         floats problem. I've left it commented out because it's not quite
16219         correct.  It should also test that the current object is a table or
16220         figure inset.  But I haven't gotten around to figuring out how to do
16221         that.  I *think* it'll be something like: "table" == inset.type()
16222
16223         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16224         bool.
16225
16226 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16227
16228         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16229         all the citation/databases/styles in the auxilary file.
16230         (run): Rerun latex if there was a babel language error.
16231
16232 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16233
16234         * text.C (Backspace): Preserve the font when changing newline char
16235         with a space.
16236         (BreakParagraph): If the cursor is before a space, delete the space.
16237
16238         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16239
16240 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16241
16242         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16243         new argument (code).
16244         (ChangeCitationsIfUnique): New method.
16245
16246         * paragraph.C (GetPositionOfInset): Handle bibkey.
16247
16248 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16249
16250         * BufferView_pimpl.h: change type of Position::par_pos to
16251         LyXParagraph::size_type.
16252
16253 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16254
16255         * BufferView_pimpl.C (savePosition, restorePosition): Write
16256         messages to minibuffer.
16257
16258 2001-01-28  José Matos  <jamatos@fep.up.pt>
16259
16260         * buffer.C (makeDocBookFile): adds support for document language.
16261         A silly restriction on the name of LatexCommand types where removed.
16262         Added support for CDATA sections, allows to chars unescaped, used
16263         among others in code, to avoid escape < and >.
16264
16265 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16266
16267         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16268         saved positions instrad of a stack. Furthermore, a position is
16269         stored using paragraph id/paragraph position.
16270
16271         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16272         Remove LFUN_REF_BACK.
16273
16274 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16275
16276         * converter.C (dvipdfm_options): New method.
16277
16278 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16279
16280         * vspace.C (isValidLength): Fix for empty input string.
16281
16282 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16283
16284         * LyXAction.C (init): change description of LFUN_FIGURE to
16285         "Insert Graphics"
16286
16287 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16288
16289         * LaTeX.C: add using directive
16290
16291 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16292
16293         * MenuBackend.C (expand): Fix the sorting of the formats.
16294
16295 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16296
16297         * lyx_main.C: tiny error message fix
16298
16299 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16300
16301         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16302         calling fl_initialize(). This fixes the problem with ',' as
16303         decimal separator in text files.
16304
16305 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16306
16307         * trans.C (process): Fix the keymap bug.
16308
16309 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16310
16311         * LaTeX.C (scanAuxFiles): New method. Provides support for
16312         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16313         (scanLogFile) Scan for "run BibTeX" messages.
16314
16315         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16316         OT1 font encoding. Also, load the aecompl package if the ae
16317         package is loaded.
16318
16319         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16320
16321 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16322
16323         * texrow.C (increasePos): turn two error messages into debug
16324         messages.
16325
16326 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16327
16328         * LaTeX.C (scanAux): Handle the \@input macro.
16329         (runBibTeX): Use scanAux().
16330
16331         * language.C (latex_options_): New field.
16332
16333         * LaTeXFeatures.C (getMacros): Add language macros.
16334
16335         * buffer.C (makeLaTeXFile): Small fix.
16336
16337 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16338
16339         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16340
16341         * text2.C: add a using directive.
16342
16343 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16344
16345         * BufferView2.C:
16346         * lyx_gui_misc.h:
16347         * lyxfr1.C:
16348         * lyxfunc.C: kill LyXBell.
16349
16350 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16351
16352         * text.C (IsBoundary): Remove the error message
16353
16354         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16355
16356         * lyxrc.C (setDefaults): Correct initialization value for
16357         font_norm_type.
16358
16359 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16360
16361         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16362         gotoError().
16363
16364         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16365         and GotoNextNote().
16366
16367         * src/LyXAction.C: Added reference-next.
16368
16369         * text.C (InsertChar): Use contains instead of strchr.
16370
16371         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16372
16373 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16374
16375         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16376         alignment commands (when needed).
16377
16378         * text.C (InsertChar): Add ':' to number separator chars.