]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
81d4c75712ceeb99fcd71f6f43715b00fab0cd01
[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  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
29
30         * lyxlength.C (asLatexString): rewrite so that it does not use
31         snprintf anymore
32
33 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
34
35         * text3.C (specialChar, dispatch): make sure cursor moves to the
36         right after inserting an inset
37
38 2004-11-02  José Matos  <jamatos@lyx.org>
39
40         * output_docbook.C (docbook):
41         * paragraph.C (getID):
42         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
43         garantee that the output is always legal.
44
45         * tabular.C (docbook):
46         * outputprams.[Ch]: remove mixed contents.
47
48 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
49
50         * text2.C (setCounter): prevent endless loop
51
52 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
53
54         * exporter.C (copyFile): use the mover instead of support::copy()
55         * exporter.C (Export): pass format and latex name to copyFile()
56         * exporter.h (addExternalFile): document
57         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
58
59 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
60
61         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
62
63 2004-10-30  José Matos  <jamatos@lyx.org>
64
65         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
66         text and no inset or font change. This allows to use CDATA
67         sections just for the whole paragraph.
68
69 2004-10-30  José Matos  <jamatos@lyx.org>
70
71         * paragraph.C (getFirstWord): remove unused variable.
72
73 2004-10-30  José Matos  <jamatos@lyx.org>
74
75         * paragraph.C (getFirstWord): the content should always be escaped
76         there.
77         (simpleDocBookOnePar):
78         * output_docbook.C (makeEnvironment): replace reference to CDATA
79         to style pass_thru.
80
81 2004-10-30  José Matos  <jamatos@lyx.org>
82
83         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
84
85 2004-10-30  José Matos  <jamatos@lyx.org>
86
87         * output_docbook.C (makeParagraphs):
88         * paragraph.[Ch] (emptyTag): for docbook and company, if the
89         standard paragraph has only a given type of content drop the wrapper.
90
91 2004-10-29  José Matos  <jamatos@lyx.org>
92
93         * output_docbook.C (makeEnvironment):
94         * sgml.C (openTag):
95         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
96
97 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
98
99         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
100         (cleanID): sanitize any id.
101
102 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
103
104         * buffer.C, lyxlex_pimpl.C:
105         * lyxlex_pimpl.C (setFile):
106         s/getExtFromContents/getFormatFromContents/
107
108 2004-10-28  José Matos  <jamatos@lyx.org>
109
110         * output_docbook.C (makeEnvironment): move id to broadest possible
111         scope.
112
113         * sgml.C (openTag): apply substitution of <> for all attributes.
114
115 2004-10-28  José Matos  <jamatos@lyx.org>
116
117         * buffer.C (makeLinuxDocFile, makeDocBookFile):
118         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
119         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
120
121         * sgml.[Ch]: new version for open and closeTag for paragraph and
122         for strings. Now they handle the ids of paragraphs.
123
124 2004-10-26  Angus Leeming  <leeming@lyx.org>
125
126         * Makefile.am: add mover.[Ch].
127
128         * converter.C (convert, move): use the new Movers to move external
129         files to the temp directory.
130
131         * lyx_main.C (init): ensure that the global system_movers data
132         is initialised.
133
134         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
135         preferences file.
136
137         * mover.[Ch]: new files, defining a Mover as a utility to move an
138         external file between directories and, if necessary, manipulate this
139         file using a helper script.
140
141 2004-10-25  José Matos  <jamatos@lyx.org>
142
143         * output_docbook.C (makeCommand): merge two if's that tested the
144         same condition.
145
146 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
147
148         * sgml.C (escapeString): fix warning in a better way
149
150 2004-10-25  José Matos  <jamatos@lyx.org>
151
152         * sgml.C (escapeString): import the require boosts header file for
153         tie, and avoid a signed unsigned comparison.
154
155 2004-10-25  José Matos  <jamatos@lyx.org>
156
157         * sgml.h: add #include <string>
158
159 2004-10-25  José Matos  <jamatos@lyx.org>
160
161         * sgml.[Ch] (escapeString): new function to escape all the string.
162
163 2004-10-24  José Matos  <jamatos@lyx.org>
164
165         * paragraph.[Ch] (getFirstWord): new function to get the first
166         word. Useful for description.
167         (simpleDocBookOnePar): remove depth argument, add another that
168         says where to start the paragraph.
169
170         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
171         use the new functions to fix cleanly the support for descriptions.
172
173 2004-10-24  José Matos  <jamatos@lyx.org>
174
175         * buffer.C (makeLinuxDocFile, makeDocBookFile):
176         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
177         * output_linuxdoc.C (linuxdocParagraphs):
178         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
179         add buffer as argument.
180
181 2004-10-24  José Matos  <jamatos@lyx.org>
182
183         * output_docbook.C (makeEnvironment, searchEnvironment): place
184         CDATA inside paragraphs and fix scope for listitems.
185
186 2004-10-24  José Matos  <jamatos@lyx.org>
187
188         * output_docbook.C: remove using statement for stack.
189
190 2004-10-23  José Matos  <jamatos@lyx.org>
191
192         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
193         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
194         docbook. The new scheme is recursive and makes use of iterators, the
195         same as latex export works.
196         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
197         directly with the paragraph contents. This code was moved up to
198         output_docbook.C (docbookParagraphs).
199         * sgml.C (openTag, closeTag): removed unneeded newlines.
200         (closeEnvTags) removed.
201
202 2003-10-23  André Pönitz  <poenitz@gmx.net>
203
204         * undo.C (textUndoOrRedo):
205         * dociterator.C (asDocIterator): work around crash
206
207         * cursor.C (getStatus): replace ASSERT by more verbose error message
208           and manual correction of the problem. Should increase stability
209           while providing more sensible information.
210
211 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
212
213         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
214
215         * bufferlist.C (previous, next): new methods
216
217         * lfuns.h:
218         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
219
220 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
221
222         * buffer.C (makeDocBookFile): add dsssl stylesheet control
223         entities to preamble.
224
225 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
226
227         * messages.C (Pimpl): strip off translation context information
228
229 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
230
231         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
232         the cursor is correct (bug 1694)
233
234 2004-10-13  José Matos  <jamatos@lyx.org>
235
236         * output_docbook.C (docbookParagraphs): fix closing tags in the
237         end of the document.
238
239 2004-10-09  José Matos  <jamatos@lyx.org>
240
241         * buffer.C: format up to 237.
242         * bufferparams.C (write): use tostr to convert booleans to strings.
243
244 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
245
246         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
247
248 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
249
250         * LaTeX.C: implement use of babel language in xindy.
251
252 2004-10-05  José Matos  <jamatos@lyx.org>
253
254         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
255         Add new translators to help reading and writing the lyx file.
256
257 2004-10-05  José Matos  <jamatos@lyx.org>
258
259         * ParagraphParameters.C (read):
260         * text.C (readParToken): replace nexToken by more appropriate lex
261         methods.
262
263 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
264
265         * LaTeX.C (runMakeIndex):
266         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
267         (usually 'makeindex') configurable.
268
269         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
270         with a variable rather than with a number.
271
272 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
273
274         * output_latex.C (TeXOnePar): make sure font setting is the first
275         thing that gets output (and the last at the end). Should fix bug
276         1404.
277
278 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
279
280         * pch.h: use proper signal include
281
282         * LaTeX.h: Use preferred calling of Boost.Signal
283         * buffer.h: ditto
284
285 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
286
287         * pch.h: dont include <boost/function/function0.hpp>
288
289         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
290
291         * paragraph_pimpl.h: remove usage of ShareContainer
292
293         * paragraph_pimpl.C: remove initialization of ShareContainer.
294
295 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
296
297         Fix bug #1666
298
299         * BufferView.C (putSelectionAt): change the semantics when
300         backwards == true: now, this just swaps cursor and anchor wrt the
301         forward case
302
303         * BufferView.h (putSelectionAt): add some documentation
304
305         * lyxfind.C (findBackwards): rewrite using while(). In particular,
306         make sure backwardChar is done at least once (to avoid getting
307         stuck)
308         (findNextChange): use putSelectionAt in the forward direction
309         (operator()): use Paragraph::isWord
310
311 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
312
313         * Spacing.C (set): c_str fix
314
315 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
316
317         * lyx_cb.C (Reconfigure): quote the name of configure script in
318         case it contains spaces
319
320 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
321
322         * client: new dir
323
324         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
325         (BOOST_LIBS): use top_buildir when looking for the file
326
327 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
328
329         * pch.h: do not use include boost/format.hpp, multiple symbols
330                 will result (gcc bug)
331
332
333 2004-08-23  José Matos  <jamatos@lyx.org>
334
335         * bufferparams.C (readToken): fix reading of the author field.
336
337 2004-08-20  José Matos  <jamatos@lyx.org>
338
339         * lyxrc.C: remove support/translator.h inclusion since it is not used.
340
341 2004-08-20  José Matos  <jamatos@lyx.org>
342
343         * lyxlex.[Ch] (findToken): remove function.
344
345         * ParagraphParameters.C (findToken):
346         * bufferparams.C (findToken): replace call for previous function
347         with local copy. This local function has one more argument, the
348         read string argument.
349
350 2004-08-16  José Matos  <jamatos@lyx.org>
351
352         * ParagraphParameters.C (write):
353         * Spacing.C (writeFile):
354         * bufferparams.C (writeLaTeX):
355         * lyx_cb.C (Reconfigure):
356         * paragraph.C (write):
357         * tabular.C (write): remove unnecessary space at end of line.
358
359
360 2004-08-16  José Matos  <jamatos@lyx.org>
361
362         * text.C (readParagraph): remove debug message.
363
364 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
365
366         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
367         crash
368
369         * output_plaintext.C (asciiParagraph): set depth correctly
370
371         * outputparams.h: add member depth
372
373         * paragraph_funcs.C (ownerPar): remove.
374
375         * text2.C (setCounter): remove first_pit; comment out some
376         non-working code that uses ownerPar
377
378         * BufferView.C (getParentLanguage): remove. Not used anymore, and
379         uses ownerPar
380
381 2004-08-16  José Matos  <jamatos@lyx.org>
382
383         * text.C (readParToken, readParagraph, read): report all unknown tokens.
384         For the same level of importance use the same chanel to report problems.
385         (read): add code to deal with \begin_body and \end_body.
386
387
388 2004-08-15  José Matos  <jamatos@lyx.org>
389
390         * lyxlex.C (getString): fix comment, buffer::readBody is now
391         buffer:readDocument.
392
393         * tex-strings.C (string_papersize): Default -> default,
394         Custom -> custom, for consistency with other options.
395
396 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
397
398         * pch.h: new file
399
400         * Makefile.am: support pch
401
402 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
403
404         * text.C (readParToken): remove the static LyXFont variable and
405         pass it as a parameter instead. This fixes a nasty bug where an
406         inset will be inserted with a bad font in some situations
407         (readParagraph): adapt
408
409         * text2.C (setCounter): reduce number of calls to pars_[pit]
410
411         * text.C (singleWidth): add an assert, fix a test
412
413         * rowpainter.C (paintText): reduce number of calls to singleWidth
414
415         * paragraph.C (isHfill):
416         (isNewline): ws only
417
418 2004-08-14  André Pönitz  <poenitz@gmx.net>
419
420         * text.C:
421         * text2.C:
422         * rowpainter.C:
423         * lyxtext.h (several functions): use a Paragraph & argument
424         instead of par_type
425
426 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
427
428         * metricsinfo.h: add a new field ltr_pos to PainterInfo
429
430         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
431
432         * text.C (singleWidth): remove useless test
433
434 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
435
436         * tabular.h: remove bogus comments
437
438         * tabular.C (getDescentOfRow):
439         (isPartOfMultiColumn): add assertions
440
441         * lyxlength.C (inPixels): remove #warning
442
443 2004-08-14  André Pönitz  <poenitz@gmx.net>
444
445         * paragraph.h: inline getChar()
446
447         * BufferView.h: remove unused declarations
448
449 2004-08-14  José Matos  <jamatos@lyx.org>
450
451         * Buffer.[Ch] (readDocument): new name for old readBody.
452         * Buffer.C: new file format, new keywords: \begin_document,
453         \begin_header, \begin_body, \end_body.
454
455         * bufferparams.C (readToken): replace all calls to lex.nextToken
456         by lex.next(). Do the same to eatLine except where really needed.
457
458         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
459         line when writing to the lyx file.
460
461         * output_plaintext.C (asciiParagraph): fix Bibliography style
462         handling.
463
464         * text.C (read): fix end of file handling.
465
466 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
467
468         * MenuBackend.C (Menu::operator[]): new method to access
469         individual menu items
470         (Menu::hasFunc): new method. search for an item that corresponds
471         to a given func
472         (MenuBackend::specialMenu): new method
473         (MenuBackend::expand): if a special menu has been set, skip
474         entries whose func() appears in this menu
475
476 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
477
478         * text3.C: use Debug::DEBUG a bit more
479
480         * text.C (leftMargin): try to simplify a tiny bit change var x to
481         l_margin. Dont output the wide margins always.
482         (rightMargin): no margin in inner texts
483
484         * rowpainter.h (nestMargin): new func
485         (changebarMargin): new func
486         (rightMargin): new func
487
488         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
489         now functions.
490         (paintLast): ditto
491
492         * factory.C (createInset): modify setDrawFrame
493
494         * cursor.C: use Debug::DEBUG a bit more
495
496 2004-08-14  André Pönitz  <poenitz@gmx.net>
497
498         * coordcache.[Ch]:
499         * Makefile.am: new files to accomodate an 'external' (x,y)-position
500         cache for all insets in (at least partially) visible (top-level)
501         paragraphs.
502
503         * BufferView_pimpl.C: reset external coord cache before every update.
504         This means the coord cache only contains valid entries.
505
506 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
507
508         bug 1096
509         * BufferView_pimpl.C (getInsetByCode): move function out of class
510         and change in to a template in anon namespace. Also fix to do what
511         suits us better.
512
513 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
514
515         bug 1305
516         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
517         of char
518         (breakParagraph): rename par to par_offset and use a local
519         reference. Add code to keep the language over a rebreak.
520         (breakParagraphConservative): rename par to par_offset, use a
521         local reference
522         (mergeParagraph): ditto
523         (outerHook): ditto
524         (isFirstInSequence): ditto
525         (outerFont): rename pit to par_offset
526
527         * paragraph.C: ws change
528         * paragraph.h: ditto
529         * text3.C: ditto
530         * text.C: ditto
531
532 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
533
534         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
535         treatment for ']'
536
537         * paragraph.C (simpleTeXOnePar): when we have a \item with
538         optional argument, enclose the argument with curly brackets (in
539         case it contains a closing square bracket)
540
541         * text2.C (editXY):
542         * text2.C (editXY):
543         * text3.C (checkInsetHit): constify
544
545 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
546
547         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
548         documents (bug 1629)
549
550 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
551
552         Fix toggling of collapsable insets with the mouse (bug 1558)
553
554         * lyxfunc.C (dispatch): adapt to LCursor changes
555
556         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
557         make sure that dispatch is not invoked twice
558
559         * cursor.C (needsUpdate): new method
560         (dispatch): return void
561         (result): new method, to access the DispatchResult of the cursor.
562
563 2004-08-13  José Matos  <jamatos@lyx.org>
564
565         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
566
567 2004-08-13  André Pönitz  <poenitz@gmx.net>
568
569         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
570
571         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
572           multiple cells
573
574 2004-08-12  André Pönitz  <poenitz@gmx.net>
575
576         * text3.C: take out the 'cursor right' form insertInset and only
577         do it in those places when it is really needed. Fixes crash on
578         C-m...
579
580 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
581
582         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
583
584         * BufferView_pimpl.C (setBuffer): initialize the current font of
585         the underlying LyXText
586
587 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
588
589         * kbsequence.C (print): use UI native formatting for menu
590         shortcuts
591
592         * text.C (insertChar): call Paragraph::insertChar with a font
593         argument (cosmetic)
594
595         * paragraph.C (insertInset, insertChar): the version that takes a
596         LyXFont argument is now a wrapper around the other one (the
597         opposite used to be true).
598
599         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
600         argument. Font setting is done in Paragraph now.
601
602 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
603
604         * outputparams.h: add new members intitle and lang.
605
606         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
607         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
608
609 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
610
611         * text3.C (dispatch): remove special handling of button 4 and 5,
612         it is now taken care of in the frontend code.
613
614 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
615
616         * Spacing.h: add <string> (STLPort compile fix)
617
618 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
619
620         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
621
622 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
623
624         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
625         to bool.
626
627         * converter.C (showMessage): inherit from unary_function, make
628         operator() const.
629
630         * buffer.C (writeFile): initialize retval
631
632         * InsetList.h: rename private variable list to list_
633         * InsetList.[Ch]: adjust accordingly.
634
635 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
636
637         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
638         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
639         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
640         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
641         * ParagraphParameters.C, LaTeXFeatures.C: replace
642         "support/std_sstream.h" with <sstream>
643
644 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
645
646         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
647         * lyxsocket.C (LyXServerSocket): ditto
648         (serverCallback): ditto
649
650 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
651
652         * LaTeXFeatures.C: check release date when loading jurabib.
653
654 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
655
656         * lyxserver.C (startPipe): call register_socket_callback
657         (endPipe): call unregister_socket_callback
658
659 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
660
661         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
662         (LyXServerSocket): register the callback
663         (LyXServerSocket): unregister the callback
664         (fd): delete function
665         (serverCallback): improve error checking and setup the callbacks.
666         (dataCallback): change arg to fd.
667         (writeln): new func (copied fro the client socket) used for server
668         write to client.
669         (LyXDataSocket): simplify
670         (~LyXDataSocket): close ann unregiser callback
671         (server): delete function
672         (fd): delete function
673         (readln): small changes, improve some std::string usage
674         (writeln): constify a bit
675
676 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
677
678         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
679         Qt frontend
680
681 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
682
683         * BufferView_pimpl.C (setBuffer): set the layout combox value only
684         after it has been populated
685
686 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
687
688         * text2.C (insertInset): move cursor when inserting inset.
689
690 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
691
692         * kbmap.C (findbindings): a couple of new methods. returns a
693         container of kb_sequence objects. The real work is done by the
694         private recursive version
695         (printbindings): uses findbindings to print out a bracketed list
696         of bindings (renamed from findbinding).
697
698         * MenuBackend.C (binding): use kb_keymap::findbindings
699
700         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
701
702 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
703
704         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
705
706 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
707
708         * paragraph.C (isWord): return true on insets that report
709         isLetter().
710
711         * text.C (getWord): use Paragraph::isWord to decide what is in a
712         word and what is not; fix bug 1609.
713
714 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
715
716         * tex-strings.C: add "none" to string_paperpackages[], fixes
717         off-by-one-error in the paperpackage selection.
718
719         * lyxlex.[Ch]:
720         * tex-strings.[Ch]: char const * string[n]
721         -> char const * const string[]
722
723 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
724
725         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
726         command, return early.
727
728 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
729
730         * debug.h: add DEBUG to enum and fix size of ANY.
731
732         * debug.C: add support for Debug::DEBUG
733         (showTags): cast errorTags.level to unsigned int
734
735         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
736         (redoCurrentBuffer): ditto
737         (updateScrollbar): ditto
738         * cursor.C (dispatch): ditto
739         * text2.C (setLayout): ditto
740         (setFont): ditto
741         (updateCounters): ditto
742         (editXY): ditto
743         (deleteEmptyParagraphMechanism): ditto
744
745 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
746
747         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
748         annotations to cleanup the Makefile slightly.
749
750 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
751
752         * lyxrc.C: do not set user_email to a default value but use empty
753         instead. The entry used to be translated, which does not work
754         since at the point where lyxrc is constructed there is no
755         translation service available
756
757         * messages.C (getLocaleDir): remove and use directly
758         lyx_localedir() instead
759
760 2004-06-02  Angus Leeming  <leeming@lyx.org>
761
762         Fix crash caused by dereferencing null pointer 'exportdata' in
763         OutputParams by creating a new ExportData variable on the heap,
764         storing it in a boost::shared_ptr.
765         The crash was triggered when generating an Instant Preview
766         of an external inset.
767
768         * Makefile.am: add outputparams.C
769
770         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
771         (c-tor): allocate memory to it.
772
773         * exporter.C (c-tor): associated changes.
774
775 2004-06-01  Angus Leeming  <leeming@lyx.org>
776
777         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
778         contains data before calling isInset(0). (Bug 1513.)
779
780 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
781
782         * exporter.C (checkOverwrite): new method
783         * exporter.C (copyFile): new method
784         * exporter.C (Export): copy referenced files to the document dir
785         * exporter.[Ch]: new class ExportedFile
786         * exporter.[Ch]: new class ExportData. Contains currently the
787         names of referenced external files
788         * outputparams.h: add exportdata member.
789
790 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
791
792         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
793         version.C-tmp
794
795 2004-05-19  Angus Leeming  <leeming@lyx.org>
796
797         * LaTeXFeatures.C:
798         * ToolbarBackend.C:
799         * bufferparams.C:
800         * lyxfunc.C: small changes due to the introduction of namespace
801         lyx::frontend and the moving of namespace biblio to lyx::biblio.
802
803 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
804
805         * text3.C (dispatch): supress update when only moving the cursor
806         * cursor.C (selHandle): remove commented code
807
808 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
809
810         * paragraph.C (startTeXParParams): correct column count
811         * CutAndPaste.C (pasteSelection): remove const_cast
812         * output_docbook.C (docbookParagraphs): remove const_cast
813         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
814         const_cast and return ParagraphList::const_iterator
815         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
816         * output_plaintext.C (writeFileAscii): remove const_cast
817         * paragraph.[Ch] (simpleTeXOnePar): make const
818         * paragraph_funcs.C (outerPar): use const iterators
819         * paragraph_pimpl.C (validate): use const iterators
820         * text.C (setHeightOfRow): use const iterators
821
822 2004-05-17  Angus Leeming  <leeming@lyx.org>
823
824         * lfuns.h:
825         * LyXAction.C (init): new LFUN_INSET_REFRESH.
826
827         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
828         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
829         if the citation engine has changed.
830
831 2004-05-14  José Matos  <jamatos@lyx.org>
832
833         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
834         if the textclass does not provide it. Have it different for sgml and
835         xml.
836         support the language of document.
837         * output_docbook.C (docbookParagraphs):
838         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
839         first anchor as the id of the paragraph, remove special case code.
840         * sgml.C (escapeChar): escape only < & >.
841
842 2004-05-14  Angus Leeming  <leeming@lyx.org>
843
844         * bufferparams.h: move biblio::CiteEngine enum here to minimize
845         dependencies on src/frontends/controllers/biblio.h. Define a
846         CiteEngine_enum wrapper class to enable the enum to be forward
847         declared.
848
849 2004-05-12  Angus Leeming  <leeming@lyx.org>
850
851         * buffer.C: up LYX_FORMAT to 234.
852         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
853         use_numerical_citations with a single biblio::CiteEngine cite_engine
854         variable.
855         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
856
857 2004-05-13  José Matos  <jamatos@lyx.org>
858
859         * converter.h:
860         * converter.C (Converter, readFlags): add xml member.
861         * outputparams.h: add XML flavor.
862         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
863
864 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
865
866         * lyxfunc.C (dispatch):
867         (getStatus): fix handling of LFUN_SEQUENCE
868
869 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
870
871         * debug.C (showLevel): do not forget the end-of-line marker
872
873 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
874
875         * kbmap.C (read): do not stop parsing a bind file when an error
876         occurs (bug 1575)
877
878 2004-04-29  Angus Leeming  <leeming@lyx.org>
879
880         * cursor.C:
881         * factory.C:
882         * pariterator.C:
883         * text2.C: wrap a bunch of #warning statements
884         inside #ifdef WITH_WARNINGS blocks.
885
886 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
887
888         * buffer.C: increment format to 233.
889
890 2004-04-28  Angus Leeming  <leeming@lyx.org>
891
892         * BufferView_pimpl.C:
893         * lyxfunc.C:
894         * text3.C:
895         s/updateToolbar()/updateToolbars()/
896         s/Toolbar.h/Toolbars.h/
897
898 2004-04-28  Angus Leeming  <leeming@lyx.org>
899
900         * BufferView.[Ch] (c-tor):
901         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
902         No longer passes these data to the WorkArea generator.
903
904 2004-04-28  Angus Leeming  <leeming@lyx.org>
905
906         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
907
908 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
909
910         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
911
912 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
913
914         * output_latex.C (TeXEnvironment): make sure that there is a line
915         break before \end{foo} for the last paragraph of a document
916         (TeXOnePar): if the paragraph is at the end of the document (or
917         inset) and the language has to be reset, then make sure that the
918         line break is _before_ the language command, not after (fixes bug
919         1225); also make sure that the language reset command is the first
920         thing after the paragraph (to ensure proper nesting of
921         environments and thus fix bug 1404)
922
923 2004-04-21  John Levon  <levon@movementarian.org>
924
925         * ToolbarBackend.h:
926         * ToolbarBackend.C: make "name" be a programmatic name
927         and a gui_name field.
928
929         * lyxfunc.C: display the minibuffer on M-x
930
931 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
932
933         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
934         (bug 1526)
935
936 2004-04-19  Angus Leeming  <leeming@lyx.org>
937
938         * BufferView_pimpl.C (setBuffer): changed preview interface.
939
940         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
941         possible values.
942
943 2004-04-19  John Levon  <levon@movementarian.org>
944
945         * BufferView_pimpl.C:
946         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
947
948 2004-04-05  Angus Leeming  <leeming@lyx.org>
949
950         * text.C (redoParagraphs): add call to updateCounters(), thereby
951         fixing the missing "Figure #:" label from the caption of a
952         figure float.
953
954 2004-04-13  Angus Leeming  <leeming@lyx.org>
955
956         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
957         cursor is clicked out of an inset.
958
959 2004-04-13  Angus Leeming  <leeming@lyx.org>
960
961         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
962         than an InsetOld one.
963
964 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
965
966         * format.[Ch]: add editor to Format
967         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
968         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
969
970 2004-04-08  André Pönitz  <poenitz@gmx.net>
971
972         * metricsinfo.h: remove PainterInfo::width member
973
974 2004-04-08  Angus Leeming  <leeming@lyx.org>
975
976         * lyx_sty.C (boldsymbol_def): modify so that it outputs
977         "\providecommand" rather than "\newcommand", thereby preventing
978         clashes with packages that define "\boldsymbol" themselves.
979         Eg, beamer.
980
981 2004-04-08  Angus Leeming  <leeming@lyx.org>
982
983         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
984         thereby squashing an unnecessary warning.
985
986 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
987
988         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
989         setBuffer()
990
991 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
992
993         * BufferView.C (setCursor): call redoParagraph (some insets could
994         have been opened)
995         (putSelectionAt): remove the 'double update' trick
996
997         * BufferView_pimpl.C (fitCursor): call refreshPar
998         (workAreaDispatch): remove an uneeded update call
999         (dispatch): remove some manual update calls
1000
1001         * cursor.[Ch]: remove cached_y_, updatePos
1002         (selHandle): set noUpdate when appropriate
1003
1004         * lyxfunc.C (dispatch): track if we need an update
1005
1006         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1007
1008         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1009         (paintSelection): cheap optimization, do not call cursorX when not
1010         needed
1011         (paintPars): change signature
1012         (refreshPar): add
1013         (paintText): adjust
1014         (paintTextInset): adjust
1015
1016         * text.C: adjust
1017
1018 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1019
1020         * lengthcommon.C: compilation fix: remove explicit array size from
1021         unit_name[] and friends
1022
1023 2004-04-05  Angus Leeming  <leeming@lyx.org>
1024
1025         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1026
1027         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1028         present only for the preferences dialog.
1029         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1030
1031 2004-04-05  Angus Leeming  <leeming@lyx.org>
1032
1033         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1034         to enable the frontends to export changes to lyxrc correctly.
1035
1036         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1037
1038 2004-04-07  André Pönitz  <poenitz@gmx.net>
1039
1040         * cursor.[Ch] (selClear, adjust): remove math
1041
1042         * cursor_slice.C: more agressive assert
1043
1044         * lyxfunc.C:
1045         * BufferView_pimpl.C: rework mouse event dispatch
1046
1047         * dociterator.C:
1048         * paragraph.C:
1049         * text2.C:
1050         * text3.C: adjust
1051
1052 2004-04-05  André Pönitz  <poenitz@gmx.net>
1053
1054         * cursor.[Ch] (valign, halign...): remove unneeded functions
1055
1056 2004-04-05  Angus Leeming  <leeming@lyx.org>
1057
1058         * lyxlength.[Ch] (unit_name et al.): const-correct.
1059
1060 2004-04-05  Angus Leeming  <leeming@lyx.org>
1061
1062         * BufferView_pimpl.C:
1063         * buffer.C:
1064         * counters.C:
1065         * cursor.C:
1066         * lyxfunc.C
1067         * paragraph.C:
1068         * pariterator.C:
1069         * text.C:
1070         * text2.C:
1071         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1072
1073 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1074
1075         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1076
1077 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1078
1079         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1080         * BufferView_pimpl.[Ch] (getStatus)
1081         * BufferView.[Ch] (getStatus): add
1082         * lyxfunc.C (getStatus): move lfuns handled in
1083         BufferView::dispatch to te function above
1084         * Cursor.C (setSelection): set selection() = true
1085
1086 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1087
1088         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1089
1090 2004-03-31  Angus Leeming  <leeming@lyx.org>
1091
1092         * lyxfunc.C (dispatch): Fall through to the generic
1093         Dialogs::show("preamble").
1094
1095 2004-03-31  Angus Leeming  <leeming@lyx.org>
1096
1097         * lyxfunc.C (dispatch): Fall through to the generic
1098         Dialogs::show("spellchecker").
1099
1100 2004-03-31  Angus Leeming  <leeming@lyx.org>
1101
1102         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1103         preferences dialog.
1104
1105 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1106
1107         * BufferView.C
1108         * cursor.[Ch]
1109         * dociterator.[Ch]:
1110         * insetiterator.[Ch]:
1111         * lyxfind.C:
1112         * lyxfunc.C:
1113         * pariterator.[Ch]:
1114         * text2.C:
1115         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1116
1117 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1118
1119         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1120         insets where we are putting the cursor.
1121
1122 2004-03-31  Angus Leeming  <leeming@lyx.org>
1123
1124         * lfuns.h:
1125         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1126
1127         * lyxrc.[Ch] (read, write): overloaded member functions taking
1128         a std::[io]stream arguments.
1129
1130         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1131
1132 2004-03-31  Angus Leeming  <leeming@lyx.org>
1133
1134         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1135         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1136
1137         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1138         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1139
1140 2004-03-31  Angus Leeming  <leeming@lyx.org>
1141
1142         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1143         the LFUN_ALL_INSETS_TOGGLE code.
1144
1145 2004-03-30  Angus Leeming  <leeming@lyx.org>
1146
1147         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1148         has died. Fall through to the generic Dialogs::show("document").
1149
1150 2004-03-30  Angus Leeming  <leeming@lyx.org>
1151
1152         * lfuns.h:
1153         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1154         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1155
1156         * lyxfunc.C (getStatus, dispatch): define the actions for these
1157         lfuns. Little more than a cut and pste job from ControlDocument.C
1158
1159         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1160
1161 2004-03-30  Angus Leeming  <leeming@lyx.org>
1162
1163         * lfuns.h:
1164         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1165         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1166
1167         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1168         open/closed state of ollapsable insets. Usage:
1169
1170         all-inset-toggle <state> <name>, where
1171         <state> == "open" || "closed" || "toggle" and
1172         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1173
1174         * lyxtext.h, text2.C (toggleInset): removed.
1175
1176         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1177         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1178         now passes LFUN_INSET_TOGGLE to the found inset.
1179
1180         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1181         is now invoked as "all-insets-toggle toggle branch".
1182
1183 2004-03-30  Angus Leeming  <leeming@lyx.org>
1184
1185         * dociterator.C:
1186         * insetiterator.C:
1187         * pariterator.[Ch]: added/corrected header blurb.
1188
1189 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1190
1191         * dociterator.[Ch]: add an inset_ member
1192         (backwardPos): implemented
1193         (backwardPos, forwardPos): use inset_ when the stack is empty.
1194         (doc_iterator_begin, doc_iterator_end): implemented
1195         * pariterator.[Ch]: adjust, add begin, end
1196         * insetiterator.[Ch]: adjust, add begin, end
1197         * cursor.C:
1198         * document.C:
1199         * BufferView.C:
1200         * BufferView_pimpl.C:
1201         * CutAndPaste.C: adjust
1202
1203 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1204
1205         * buffer.C: increment file format to 232.
1206         * LaTeXFeatures.C: add bibtopic package.
1207         * bufferparams.[Ch]: param \use_bibtopic.
1208
1209         * lyxrc.[Ch]: add lyxrc bibtex_command
1210         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1211
1212         * buffer.C: increment file format to 231.
1213
1214 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1215
1216         * dociterator.C: implement forwardPar
1217         * iterators.[Ch]: remove, replaced by
1218         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1219         * BufferView.C:
1220         * BufferView_pimpl.C:
1221         * CutAndPaste.C:
1222         * buffer.C:
1223         * bufferview_funcs.C:
1224         * cursor.C:
1225         * lyxfind.C
1226         * lyxfunc.C
1227         * paragraph_funcs.C
1228         * toc.C:
1229         * Makefile.am: adjust
1230
1231 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1232
1233         * CutAndPaste.C (pasteSelection): fix 2 crashes
1234         (eraseSelection): fix a crash
1235         * paragraph_funcs.C: remove a warning
1236
1237 2004-03-28  Angus Leeming  <leeming@lyx.org>
1238
1239         * lfuns.h:
1240         * LyXAction.C (init): new LFUN_PRINT.
1241
1242         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1243
1244 2004-03-27  Angus Leeming  <leeming@lyx.org>
1245
1246         * lfuns.h:
1247         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1248
1249         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1250
1251 2004-03-27  Angus Leeming  <leeming@lyx.org>
1252
1253         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1254         insetlist always contains non-null pointers to insets.
1255
1256 2004-03-26  Angus Leeming  <leeming@lyx.org>
1257
1258         * src/BufferView_pimpl.C:
1259         * src/CutAndPaste.C:
1260         * src/buffer.C:
1261         * src/iterators.C:
1262         * src/output_plaintext.C:
1263         * src/outputparams.h:
1264         * src/paragraph_funcs.C:
1265         * src/rowpainter.C:
1266         * src/text.C:
1267         * src/text2.C:
1268         * src/frontends/controllers/ControlErrorList.C:
1269         * src/frontends/gtk/FileDialogPrivate.C:
1270         * src/frontends/gtk/GPainter.C:
1271         * src/frontends/gtk/GToolbar.C:
1272         * src/frontends/qt2/QRef.C:
1273         * src/mathed/math_scriptinset.C: squash compiler warnings.
1274
1275 2004-03-26  Angus Leeming  <leeming@lyx.org>
1276
1277         * ispell.C (LaunchIspell::start):
1278         * lyx_cb.C (AutoSaveBuffer::start):
1279         invoke run(DontWait) rather than runNonBlocking().
1280
1281 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1282
1283         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1284
1285 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1286
1287         * kbsequence.C (print): adjust
1288
1289         * kbmap.C (printKeySym): rename and change signature
1290         (printKey): use LyXKeySym::print()
1291
1292 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1293
1294         * undo.C: add using std::advance to compile for stlport
1295
1296 2004-03-24  Angus Leeming  <leeming@lyx.org>
1297
1298         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1299         it leads to a crash when no buffer is present.
1300
1301 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1302             Martin Vermeer  <martin.vermeer@hut.fi>
1303
1304         * lyxfunc.C (dispatch):
1305         * bufferparams.C (readToken): use the new LColor::setColor
1306
1307         * LColor.[Ch] (setColor): new version that takes two strings as
1308         argument and creates a new color entry if necessary
1309
1310 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1311
1312         * buffer.C (makeLaTeXFile): if the main latex file that is
1313         processed is usually a subdocument of some master, then pretend
1314         for a while that it is actually the master
1315
1316 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1317
1318         * buffer.C (getLabelList):
1319         (getBibkeyList): use getMasterBuffer()
1320         (getMasterBuffer): new method. Returns the main document in the
1321         case where one is using included documents.
1322
1323 2004-03-25  André Pönitz  <poenitz@gmx.net>
1324
1325         * Makefile.am:
1326         * iterators.[Ch]:
1327         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1328
1329         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1330
1331         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1332         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1333
1334         * ParameterStruct.h: merge with ParagraphParameters
1335
1336         * lyxtext.h: remove LyXText::parOffset() and getPar()
1337
1338         * text3.C: Remove all 'manual' update calls. We do now one per user
1339         interaction which is completely sufficient.
1340
1341         * Bidi.C:
1342         * BufferView.[Ch]:
1343         * BufferView_pimpl.C:
1344         * FontIterator.[Ch]:
1345         * MenuBackend.C:
1346         * ParagraphParameters.[Ch]:
1347         * buffer.C:
1348         * buffer.h:
1349         * bufferlist.C:
1350         * cursor.[Ch]:
1351         * cursor_slice.[Ch]:
1352         * dociterator.[Ch]:
1353         * errorlist.[Ch]:
1354         * factory.C:
1355         * lfuns.h:
1356         * lyxfind.C:
1357         * lyxfunc.C:
1358         * output_docbook.[Ch]:
1359         * output_latex.[Ch]:
1360         * output_linuxdoc.[Ch]:
1361         * output_plaintext.[Ch]:
1362         * paragraph.[Ch]:
1363         * paragraph_funcs.[Ch]:
1364         * paragraph_pimpl.[Ch]:
1365         * rowpainter.C:
1366         * tabular.[Ch]:
1367         * text.C:
1368         * text2.C:
1369         * toc.C:
1370         * undo.[Ch]: adjust
1371
1372         * frontends/controllers/ControlDocument.C:
1373         * frontends/controllers/ControlErrorList.C:
1374         * frontends/controllers/ControlSpellchecker.C:
1375         * insets/inset.C:
1376         * insets/inset.h:
1377         * insets/insetbase.h:
1378         * insets/insetbibitem.C:
1379         * insets/insetbox.C:
1380         * insets/insetbranch.C:
1381         * insets/insetcaption.C:
1382         * insets/insetcharstyle.C:
1383         * insets/insetcharstyle.h:
1384         * insets/insetcollapsable.C:
1385         * insets/insetcollapsable.h:
1386         * insets/insetert.C:
1387         * insets/insetfloat.C:
1388         * insets/insetfoot.C:
1389         * insets/insetmarginal.C:
1390         * insets/insetnote.C:
1391         * insets/insetoptarg.C:
1392         * insets/insettabular.C:
1393         * insets/insettext.C:
1394         * insets/insettext.h:
1395         * insets/insetwrap.C:
1396         * mathed/math_mboxinset.C:
1397         * mathed/math_nestinset.C:
1398         * mathed/math_scriptinset.C:
1399         * mathed/math_scriptinset.h:
1400         * support/types.h:
1401
1402 2004-03-24  Angus Leeming  <leeming@lyx.org>
1403
1404         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1405         deal with any child processes that have finished but are waiting to
1406         communicate this fact to the rest of LyX.
1407
1408 2004-03-24  Angus Leeming  <leeming@lyx.org>
1409
1410         64-bit compile fixes.
1411
1412         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1413         (c-tor): pass lyx::pos_types rather than ints.
1414
1415         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1416         lyx::pos_type.
1417
1418         * text.C (Delete): compile fix.
1419         (getPar): ensure that function declaration is the same as that in
1420         the header file.
1421
1422 2004-03-23  Angus Leeming  <leeming@lyx.org>
1423
1424         * ispell.C (LaunchIspell):
1425         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1426         a boost::shred_ptr rather than a std::auto_ptr.
1427
1428 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1429
1430         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1431         handle LFUN_FILE_INSERT_*
1432
1433         * lyxrc.C (setDefaults, getDescription, output, read):
1434         * lyxrc.h: remove ps_command
1435
1436 2004-03-22  Angus Leeming  <leeming@lyx.org>
1437
1438         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1439         Ensure that error_handler is processed once only and that all data
1440         is saved before attempting to output any warning messages.
1441
1442         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1443
1444 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1445
1446         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1447
1448 2004-03-19  André Pönitz  <poenitz@gmx.net>
1449
1450         * cursor.[Ch] (reset): take main text inset as argument
1451
1452         * BufferView: adjust
1453         * BufferView_pimpl.C: adjust
1454
1455         * paragraph.[Ch]: fix completely broken operator=()
1456
1457 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1458
1459         * LColor.C (getFromLyXName): make sure that the color name is used
1460         as lowercase.
1461
1462 2004-03-17  Angus Leeming  <leeming@lyx.org>
1463
1464         * lfuns.h:
1465         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1466
1467         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1468         dialog and to kill a forked process.
1469
1470 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1471
1472         * text2.C (setCursorFromCoordinates): fix font problem
1473
1474 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1475
1476         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1477         bogus "rebuild cursor" code
1478
1479 2004-03-11  André Pönitz  <poenitz@gmx.net>
1480
1481         * buffer.[Ch]: use InsetText instead of LyXText as container for
1482         the main lyx text.
1483
1484         * dociterator.[Ch]: drop the BufferView * member which is not needed
1485         anymore after the change to buffer.C
1486
1487         * paragraph_funcs.C:
1488         * text.C:
1489         * text2.C:
1490         * BufferView.[Ch]:
1491         * BufferView_pimpl.[Ch]:
1492         * cursor.[Ch]:
1493         * cursor_slice.[Ch]: adjust
1494
1495         * text3.C: fix bug in mathDispatch
1496
1497 2004-03-08  André Pönitz  <poenitz@gmx.net>
1498
1499         * undo.[Ch]: use 'StableDocumentIterator' as base for
1500         the Undo struct.
1501
1502 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1503
1504         * LaTeXFeatures.C:
1505         * bufferparams.[Ch]: add jurabib support and param.
1506
1507         * LaTeX.C: add FIXME/comment.
1508
1509 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1510
1511         * buffer.C: increment file format to 230.
1512
1513 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1514
1515         * cursor.C (dispatch): avoid infinite loops
1516
1517 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1518
1519         * rowpainter.C (paintSelection): fix x coordinates
1520
1521 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1522
1523         * text.C (rowBreakPoint): fix breaking before displayed insets
1524
1525 2004-03-01  André Pönitz  <poenitz@gmx.net>
1526
1527         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1528
1529         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1530
1531         * Makefile.am:
1532         * BufferView.C:
1533         * BufferView_pimpl.C:
1534         * buffer.C:
1535         * lyxfind.C:
1536         * lyxfunc.C:
1537         * text.C:
1538         * text2.C:
1539         * text3.C: adjust
1540
1541 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1542
1543         * lyxtext.h:
1544         * text.C:
1545         * text2.C:
1546         * rowpainter.C:
1547         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1548         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1549
1550 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1551
1552         * Bidi.[Ch] (computeTables): const correctness
1553         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1554         fill_hfill, fill_label_hfill and x from Row
1555         * lyxtext.h: prepareToPrint returns a RowMetrics
1556         * rowPainter.C: adjust
1557         * text.C (prepareToPrint): use width, not textWidth. adjust
1558         (redoParagraphInternal, cursorX): adjust
1559         * text2.C (getColumnNearX): adjust
1560         (init): put a default value to the top LyXText::width
1561
1562 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1563
1564         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1565
1566 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1567
1568         * lyxtext.h: add FontIterator class
1569
1570         * text.C (FontIterator, operator*, operator->, operator++): add
1571         (rowBreakPoint, setRowWidth): adjust (fixing a
1572         rebreaking bug)
1573
1574 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1575
1576         * BufferView_pimpl.C (workAreaDispatch): allow also
1577         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1578
1579 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1580
1581         * text.C (rowBreakPoint): fix a bug showing with very large insets
1582
1583 2004-02-25  André Pönitz  <poenitz@gmx.net>
1584
1585         * text3.C:
1586         * cursor.[Ch]: move some mathed specific code to mathed
1587
1588 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1589
1590         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1591         use_tempdir in preferences
1592         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1593         tempfile creation
1594         * lyx_main.C: ensure that tempdir is valid
1595         * lyxlex.h: correct typo
1596         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1597         * paragraph.[Ch] (isMultiLingual): make const
1598         * cursor.[Ch] (openable): make const
1599
1600 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1601
1602         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1603
1604 2004-02-20  André Pönitz  <poenitz@gmx.net>
1605
1606         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1607
1608         * cursor.[Ch]: prepare for localized getStatus()
1609
1610         * lyxtext.h:
1611         * tabular.C:
1612         * text.C:
1613         * text2.C:
1614         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1615
1616 2004-02-20  André Pönitz  <poenitz@gmx.net>
1617
1618         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1619
1620 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1621
1622         * text2.C (setCursorFromCoordinates): switch to absolute coords
1623         (cursorUp): adjust
1624         (cursorDown): adjust
1625         * text3.C (dispatch): adjust
1626
1627 2004-02-16  André Pönitz  <poenitz@gmx.net>
1628
1629         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1630           insets/ChangeLog)
1631
1632         * cursor_slice.[Ch]: remove unneeded acessor function
1633
1634         * lyxtext.h: rename rtl() to isRTL()
1635
1636         * rowpainter.C:
1637         * tabular.C:
1638         * text.C:
1639         * text2.C:
1640         * text3.C: adjust
1641
1642 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1643
1644         * rowpainter.C (paintSelection): coord fix
1645
1646 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1647
1648         * Spacing.C: compile fix
1649
1650 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1651
1652         * cursor.C (dispatch): restore current_ before returning
1653
1654 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1655
1656         * text2.C (cursorUp, cursorDown): fix coords
1657         (moveUp): fix crash
1658
1659 2004-02-12  André Pönitz  <poenitz@gmx.net>
1660
1661         * lyxtext.h:
1662         * text.C:
1663         * text2.C:
1664         * text3.C: add LCursor & parameter to most cursor movement functions
1665           remove usage of LyXText::cursorRow() and cursorPar()
1666
1667         * cursor.[Ch]: add textRow() needed members
1668
1669         * BufferView.C:
1670         * BufferView_pimpl.C:
1671         * paragraph.[Ch]:
1672         * BufferView.C:
1673         * BufferView_pimpl.C: adjust
1674
1675 2004-02-11  André Pönitz  <poenitz@gmx.net>
1676
1677         * lyxfunc.C:
1678         * BufferView.[Ch]:
1679         * BufferView_pimpl.C: shift undo/redo handling
1680
1681         * cursor.[Ch]: fix mathed crash
1682
1683         * lyxfind.C:
1684         * lyxtext.h: move selectionAsText to LCursor
1685
1686         * output_latex.C:
1687         * paragraph.C:
1688         * text.C:
1689         * text2.C:
1690         * text3.C: adjust
1691
1692         * rowpainter.C: fix excessive drawing
1693
1694 2004-02-06  André Pönitz  <poenitz@gmx.net>
1695
1696         * BufferView.[Ch]:
1697         * BufferView_pimpl.[Ch]:
1698         * text3.C: move some text specific LFUN handling
1699
1700 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1701
1702         * text3.C (checkInsetHit): adjust coords
1703         * text2.C (getColumnNearX): adjust coords
1704         (edit): adjust coords
1705         * text.C (getRowNearY): add two asserts
1706
1707 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1708
1709         * converter.C:
1710         * format.C: add using std::distance to compile on gcc 2.95/stlport
1711
1712 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1713
1714         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1715
1716 2004-02-04  André Pönitz  <poenitz@gmx.net>
1717
1718         * BufferView.[Ch] (insertInset):
1719         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1720
1721         * text2.C:
1722         * text3.C: adjust
1723
1724 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1725
1726         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1727         on the default clause of the switch
1728         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1729         wasn't catched by LCursor::dispatch
1730
1731 2004-02-03  André Pönitz  <poenitz@gmx.net>
1732
1733         * BufferView.C:
1734         * cursor.[Ch]: some additional asserts
1735
1736         * undo.[Ch]: remove LyXText dependency in interface
1737
1738         * lyxfunc.C: adjust
1739
1740         * lyxtext.h (firstPar, lastPar): remove dead functions
1741
1742         * text.C:
1743         * text2.C:
1744         * text3.C:
1745         * paragraph.[Ch]: adjust
1746
1747 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1748
1749         * lyxfind.C (find): fix argument order in call to ::find
1750
1751 2004-02-02  André Pönitz  <poenitz@gmx.net>
1752
1753         * cursor.[Ch]: remove direct access to anchor
1754
1755         * text.C: remove findText() hack
1756
1757 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1758
1759         * iterators.[Ch] (lockPath): remove in favour of...
1760         * BufferView.[Ch] (setCursor): this addition
1761         * BufferView.C (putSelectionAt): adjust
1762         * undo.C (performUndoOrRedo): adjust
1763         * lyxfunc.C (dispatch): adjust
1764
1765 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1766
1767         * iterators.C (lockPath): add a missing slice
1768         * undo.C (performUndoOrRedo): remove redundant positioning code
1769
1770 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1771
1772         * vc-backend.C (scanMaster): ";" -> ';'
1773
1774 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1775
1776         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1777         std::binary_function
1778
1779         * lyxtextclass.C (compare_name): rename to...
1780         (LayoutNamesEqual): ...this
1781
1782         * lyxlex_pimpl.C (compare_tags): inherit from
1783         std::binary_function, put back into anon namespace
1784
1785         * lyxfind.C (MatchString): inherig from std::binary_function
1786         (findChange): use empty() istead of !size()
1787
1788         * format.C (FormatNamesEqual): new functor
1789         (getFormat): use it
1790         (getNumber): use it
1791         (add): use it
1792         (erase): use it
1793         (setViewer): use it
1794
1795         * converter.C (compare_Converter): rename to...
1796         (ConverterEqual): ...this, and fixup a bit.
1797         (getConverter): use it, and make function const
1798         (getNumber): use it, and make function const
1799         (add): use it
1800         (erase): use it:
1801
1802         * bufferlist.C: add using boost::bind
1803
1804         * MenuBackend.C (MenuNamesEqual): new functor
1805         (hasMenu): use it, and make function const
1806         (hasSubmenu): use nested bind to get rid of compare_memfun.
1807
1808 2004-01-30  André Pönitz  <poenitz@gmx.net>
1809
1810         * BufferView_pimpl.C:
1811         * cursor.C:
1812         * cursor.h:
1813         * cursor_slice.[Ch]:
1814         * lyxfunc.C:
1815         * lyxtext.h:
1816         * paragraph_funcs.C:
1817         * paragraph_funcs.h:
1818         * rowpainter.C:
1819         * text.C:
1820         * text2.C:
1821         * text3.C: move some of the edit(x,y) handling to the insets
1822         some coordinate changes.
1823
1824 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1825
1826         * text.C: add using statements for std::advance and std::distance
1827
1828         * paragraph.C: add using statement for std::distance
1829
1830         * lyxfind.C: add using statement for std::advance
1831
1832         * cursor.C (region): remove std:: from swap
1833         (openable): use nucleus in stead of operator->
1834
1835         * BufferView.C: add using statements for std::distance and std::swap
1836
1837 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1838
1839         * iterators.C: Remove the pimple, move the needed structures to
1840         the header file. Create accessor for the positions stack.
1841         (asPosIterator): remove function
1842
1843         * PosIterator.C (PosIterator): move constructors to top of file
1844         (PosIterator): reimplement the constructor taking a ParIterator in
1845         terms of setFrom.
1846         (setFrom): new function
1847         (operator!=): inline it
1848
1849 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1850
1851         * lyxfind.C (replaceAll): use std::advance
1852
1853         * iterators.h: inherit from std::iterator.
1854
1855         * PosIterator.C (advance, distance): remove
1856         * PosIterator.h: interit from std::iterator.
1857
1858 2004-01-26  André Pönitz  <poenitz@gmx.net>
1859
1860         * BufferView.[Ch]:
1861         * BufferView_pimpl.[Ch]:
1862         * InsetList.[Ch]:
1863         * PosIterator.[Ch]:
1864         * buffer.h:
1865         * bufferview_funcs.C:
1866         * cursor.[Ch]:
1867         * cursor_slice.h:
1868         * factory.[Ch]:
1869         * iterators.[Ch]:
1870         * lyxfind.C:
1871         * lyxfunc.C:
1872         * lyxtext.h:
1873         * output_docbook.C:
1874         * output_latex.C:
1875         * output_linuxdoc.C:
1876         * output_plaintext.C:
1877         * paragraph.[Ch]:
1878         * paragraph_funcs.[Ch]:
1879         * paragraph_pimpl.[Ch]:
1880         * rowpainter.C:
1881         * tabular.C:
1882         * tabular.h:
1883         * text.C:
1884         * text2.C:
1885         * text3.C: more IU:  dumps most of the rest of the mathcursor
1886     implementation into cursor.[Ch]; "globalize" a bit of it.
1887
1888 2004-01-25  Angus Leeming  <leeming@lyx.org>
1889
1890         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1891
1892 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1893
1894         * LaTeXFeatures.h: add nice_ and nice() const
1895         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1896
1897 2004-01-20  André Pönitz  <poenitz@gmx.net>
1898
1899         * BufferView.[Ch]:
1900         * BufferView_pimpl.C:
1901         * PosIterator.C:
1902         * bufferview_funcs.C:
1903         * cursor.[Ch]:
1904         * cursor_slice.[Ch]:
1905         * factory.C:
1906         * iterators.C:
1907         * lyx_cb.C:
1908         * lyxfind.C:
1909         * lyxfunc.C:
1910         * lyxtext.h:
1911         * rowpainter.C:
1912         * text.C:
1913         * text2.C:
1914         * text3.C:
1915         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1916           LCursor and mathcursor parts to LCursor and InsetBase.
1917
1918 2004-01-15  André Pönitz  <poenitz@gmx.net>
1919
1920         * cursor_slice.[Ch]: add a few covienience functions
1921
1922         * funcrequest.[Ch]: remove BufferView * member
1923
1924         * BufferView_pimpl.C:
1925         * cursor.C:
1926         * factory.[Ch]:
1927         * lyxfind.[Ch]:
1928         * lyxfunc.C:
1929         * lyxtext.h:
1930         * text3.C:
1931         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1932
1933 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1934
1935         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1936         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1937
1938 2004-01-13  André Pönitz  <poenitz@gmx.net>
1939
1940         * textcursor.[Ch]:
1941         * lyxtext.h: hide cursor and selection anchor behind accessor function
1942
1943         * BufferView.C:
1944         * BufferView_pimpl.[Ch]:
1945         * PosIterator.C:
1946         * bufferview_funcs.C:
1947         * cursor.h:
1948         * lyxfind.C:
1949         * lyxfunc.C:
1950         * text.C:
1951         * text2.C:
1952         * text3.C:
1953         * undo.C: adjust
1954
1955         * cursor.h:
1956         * cursor_slice.[Ch]: some integer type changes for inset unification
1957
1958         * lyxcursor.[hC]: remove, it's CursorSlice now.
1959
1960         * Makefile.am:
1961         * BufferView_pimpl.[Ch]:
1962         * bufferview_funcs.C:
1963         * cursor_slice.C:
1964         * lyxtext.h:
1965         * text.C:
1966         * text2.C:
1967         * text3.C:
1968         * textcursor.[Ch]: adjust
1969
1970 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1971
1972         * text2.C (undoSpan): add and use
1973         * text.C (breakParagraph): use undoSpan (fix bug 578)
1974         * lyxtext.h: adjust
1975
1976 2004-01-08  Angus Leeming  <leeming@lyx.org>
1977
1978         * BufferView_pimpl.C (MenuInsertLyXFile):
1979         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1980         * lyxfunc.C (menuNew, open, doImport):
1981         FileFilterList change to the FileDialog open and save functions.
1982
1983 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1984
1985         * ShareContainer.h: make isEqual and isUnique adaptable
1986
1987         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1988
1989 2004-01-07  Angus Leeming  <leeming@lyx.org>
1990
1991         * LyXAction.C:
1992         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1993
1994         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1995
1996         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1997         functions replacing find, replace and replaceAll.
1998
1999         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2000         LFUN_WORDFIND(FORWARD|BACKWARD).
2001
2002 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2003
2004         * text.C (breakParagraph): remove an outdated #warning
2005
2006 2004-01-07  André Pönitz  <poenitz@gmx.net>
2007
2008         * lyxfind.C: somewhat clearer logic
2009
2010         * text.C: prevent crash in cursorX on unitialized row cache
2011
2012 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2013
2014         * lyxcursor.[Ch] (operator>): add
2015         * textcursor.C (selStart, selEnd): use std::min and std::max
2016
2017 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2018
2019         * Chktex.C: include boost/format.hpp
2020
2021 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2022
2023         * InsetList.C: replace functor MathcIt with adaptable functor
2024         InsetTablePosLess
2025         (insetIterator): modify accordingly
2026
2027         * BranchList.h: move the BranchNamesEqual functor here from...
2028         * BranchList.C: ... to here
2029
2030         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2031         SameName and match.
2032         (add): replace a finding loop with std::find_if.
2033
2034 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2035
2036         * output_docbook.C: moving LatexParam functionality into
2037         .layout files
2038
2039 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2040
2041         * buffer.C: increment format to 229.
2042
2043 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2044
2045         * LaTeXFeatures.C:
2046         * lyx_sty.[Ch]: remove minipageindent_def
2047
2048         * LyXAction.C:
2049         * factory.C:
2050         * lfuns.h:
2051         * lyxfunc.C:
2052         * text3.C: remove LFUN_INSET_MINIPAGE
2053
2054 2003-12-28  Angus Leeming  <leeming@lyx.org>
2055
2056         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2057
2058 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2059
2060         * text2.C (setParagraph): fix off-by-one crash
2061
2062 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2063
2064         * output_docbook.C: header stuff for AGU
2065
2066 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2067
2068         * text2.C (redoCursor): remove
2069         * text.C:
2070         * text3.C:
2071         * BufferView_pimpl.C: remove calls to redoCursor and
2072         setCursor(cursor.par(), cursor.pos()) all around
2073
2074 2003-12-15  Angus Leeming  <leeming@lyx.org>
2075
2076         * buffer.C: up the format to 228.
2077
2078 2003-12-15  André Pönitz  <poenitz@gmx.net>
2079
2080         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2081         slices
2082
2083         * Makefile.am:
2084
2085         * BufferView_pimpl.C:
2086         * cursor.[Ch]:
2087         * lyxcursor.[Ch]:
2088         * rowpainter.[Ch]:
2089         * lyxtext.h:
2090         * text.C:
2091         * text2.C:
2092         * text3.C: adjust
2093
2094 2003-12-15  Angus Leeming  <leeming@lyx.org>
2095
2096         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2097         than getFromGUIName to manipulate the color.
2098
2099 2003-12-14  Angus Leeming  <leeming@lyx.org>
2100
2101         * BranchList.[Ch]: minimize the API.
2102         (Branch::getBranch, getColor): now return a 'const &'.
2103         (Branch::setSelected) now returns a bool set to true if the
2104         selection status changes.
2105         (BranchList::clear, size, getColor, setColor, setSelected,
2106         allBranches, allSelected, separator): removed.
2107         (BranchList::find): new functions, returning the Branch with
2108         the given name.
2109         (BranchList::add, remove): return a bool indicating that
2110         the operation was successful.
2111
2112         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2113         new InsetBranch::isBranchSlected member function.
2114
2115         * LColor.[Ch]: mimimize the API.
2116         (fill): renamed as addColor and made private.
2117         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2118         versions of these functions taking a string arg have been removed.
2119
2120         * bufferparams.C (readToken):
2121         * lyxfunc.C (dispatch):
2122         * lyxrc.C (read): changes due to the altered BranchList and
2123         LColor APIs.
2124
2125         * factory.C (createInset, readInset): changes due to altered
2126         InsetBranch c-tor.
2127
2128 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2129
2130         * factory.C:
2131         * lyxfunc.C: remove insetminipage. "minipage-insert"
2132         now produces a frameless minipage box inset.
2133
2134 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2135
2136         * textcursor.[Ch] (selStart,selEnd): add new methods
2137         remove selection::start, end, use LyXCursor::operator<
2138         * lyxcursor.[Ch] (operator<): add
2139         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2140         * BufferView.[Ch] (unsetXSel): add
2141         * text2.C (clearSelection): use unsetXSel,adjust
2142         * text.C: adjust
2143         * text3.C: adjust
2144         * rowpainter.C: adjust
2145         * bufferview_funcs.C (put_selection_at): adjust
2146
2147 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2148
2149         * BufferView_pimpl.C: small coord. correction
2150
2151 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2152
2153         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2154         dragging over the splash screen.
2155
2156 2003-12-11  Angus Leeming  <leeming@lyx.org>
2157
2158         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2159         as it is now handled in LyXText::dispatch.
2160
2161         * text3.C (doInsertInset): remove a level of nesting.
2162
2163 2003-12-11  Angus Leeming  <leeming@lyx.org>
2164
2165         * factory.C (createInset): changes due to the changed interface to
2166         InsetCommandMailer::string2params.
2167
2168 2003-12-10  Angus Leeming  <leeming@lyx.org>
2169
2170         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2171         'dialog-show-new-inset <inset name>'
2172
2173 2003-12-10  Angus Leeming  <leeming@lyx.org>
2174
2175         * buffer.C: up the format to 227.
2176
2177         * factory.C: the box inset is now identified simply by 'Box'.
2178
2179 2003-12-10  Angus Leeming  <leeming@lyx.org>
2180
2181         * buffer.C: up the format to 226.
2182
2183         * factory.C: the note inset is now identified simply by 'Note'.
2184
2185 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2186
2187         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2188         when a pit is enough. Standarize a couple of loops.
2189
2190 2003-12-05  Angus Leeming  <leeming@lyx.org>
2191
2192         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2193         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2194         data to the re-worked "log" dialog.
2195
2196 2003-12-03  André Pönitz  <poenitz@gmx.net>
2197
2198         * PosIterator.C:
2199         * iterators.C:
2200         * lyxtext.h:
2201         * output_latex.C:
2202         * paragraph_funcs.C:
2203         * text.C:
2204         * text2.C: use Inset::getText instead of Inset::getParagraph
2205
2206 2003-12-03  André Pönitz  <poenitz@gmx.net>
2207
2208         * buffer.[Ch]:
2209         * lyxtext.h:
2210         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2211         InsetText::read() as LyXText::read()
2212
2213 2003-12-02  Angus Leeming  <leeming@lyx.org>
2214
2215         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2216         type. Add a comment in the implementation that the function uses
2217         the stream's bad() function rather than fail() as the std::streams
2218         would do.
2219
2220 2003-12-02  André Pönitz  <poenitz@gmx.net>
2221
2222         * lyxlex.[Ch]: make interface more similar to std::stream
2223
2224         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2225
2226 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2227
2228         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2229
2230 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2231
2232         * vspace.[Ch]: remove VSpace::NONE
2233
2234 2003-12-01  André Pönitz  <poenitz@gmx.net>
2235
2236         * buffer.[Ch]:
2237         * lyxtext.h: move ParagraphList member to LyXText
2238         rename LyXText::ownerParagraphs to LyXText::paragraph
2239
2240         * CutAndPaste.C:
2241         * bufferview_funcs.C:
2242         * iterators.[Ch]:
2243         * lyx_cb.C:
2244         * paragraph.C:
2245         * rowpainter.C:
2246         * tabular.C:
2247         * text.C:
2248         * text2.C:
2249         * text3.C: adjust
2250
2251         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2252
2253         * undo.C: fix cursor positioning
2254
2255 2003-12-01  John Levon  <levon@movementarian.org>
2256
2257         * BufferView_pimpl.C: fix a crash on exit with
2258         a buffer open
2259
2260 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2261
2262         * BranchList.C: fix setSelected() method.
2263
2264 2003-11-28  André Pönitz  <poenitz@gmx.net>
2265
2266         * ParagraphParameters.[Ch]:
2267         * ParameterStruct.h: remove space above/below from Paragraph to
2268          InsetVSpace
2269
2270         * BufferView_pimpl.C:
2271         * factory.C:
2272         * lyxfunc.C:
2273         * lyxtext.h:
2274         * output_latex.C:
2275         * paragraph.C:
2276         * paragraph_funcs.C:
2277         * rowpainter.[Ch]:
2278         * text.C:
2279         * text2.C:
2280         * text3.C: adjust
2281
2282 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2283
2284         * factory.C: Syntax change for CharStyles
2285
2286 2003-11-28  André Pönitz  <poenitz@gmx.net>
2287
2288         * BufferView.[Ch]:
2289         * BufferView.[Ch]:
2290         * buffer.[Ch]:
2291         * buffer.[Ch]: move LyXText member
2292
2293 2003-11-28  André Pönitz  <poenitz@gmx.net>
2294
2295         * BufferView.[Ch]: make LyXText * text a private member
2296
2297         * BufferView_pimpl.C:
2298         * cursor.C:
2299         * iterators.C:
2300         * lyx_cb.C:
2301         * lyxfind.C:
2302         * lyxtext.h:
2303         * rowpainter.[Ch]:
2304         * text.C:
2305         * text2.C:
2306         * undo.C: adjust
2307
2308         * output_plaintext.C: cleanup
2309
2310 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2311
2312         * buffer.C:
2313         * lyxtextclass.[Ch]: parametrize SGML document header
2314
2315 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2316
2317         * converter.[Ch]:
2318         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2319         getFlavor().
2320
2321 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2322
2323         * text2.C (setFont): rework using PosIterator (no more recursive)
2324         (setCharFont): no more needed
2325         (setLayout): no more selection cursors fiddling (done by redoCursor)
2326         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2327         destroy remaining ones)
2328
2329 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2330
2331         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2332         * lyxtext.h: ditto
2333         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2334         selection cursors
2335         * lyxfunc.C: adjust
2336         * text3.C: adjust + re-allow multi par depth changes
2337         * textcursor.C: simplify a bit
2338
2339 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2340
2341         * src/buffer.C:
2342         * src/lyxlayout.C:
2343         * src/lyxlayout.h:
2344         * src/lyxtext.h:
2345         * src/output_docbook.C:
2346         * src/output_latex.C:
2347         * src/paragraph.C:
2348         * src/paragraph.h:
2349         * src/sgml.C:
2350         * src/sgml.h:
2351         * src/text2.C: Introducing a number of tags parametrizing various
2352         XML formats that we may want to support
2353
2354 2003-11-25  André Pönitz  <poenitz@gmx.net>
2355
2356         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2357
2358         * lyxtext.h (leftMargin/rightMargin): simplify interface
2359
2360         * rowpainter.C:
2361         * text.C:
2362         * text2.C:
2363         * text3.C: adjust
2364
2365 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2366
2367         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2368         master file to any child files. Fixes bug 546.
2369
2370 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2371
2372         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2373
2374 2003-11-24  André Pönitz  <poenitz@gmx.net>
2375
2376         * rowpainter.C: simplification
2377
2378         * text2.C (updateCounters): remove call to redoParagraph on
2379         changed labels as this is far too expensive.
2380
2381 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2382
2383         * converter.C (convert): fix a crash: this function gets
2384         called with buffer == 0 from importer code.
2385
2386 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2387
2388         * text3.C (cursorPrevious): make sure that we do not compare
2389         iterators form different containers.
2390         (cursorNext): ditto
2391
2392         * rowpainter.C (paintSelection): make sure that we do not compare
2393         iterators from different containers.
2394
2395         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2396         iterators from different ParagraphList containers.
2397         [NEXT] ditto
2398
2399         * text2.C (LyXText): change order of initialization slightly
2400         (operator=): new function. copy all variables except cache_par_
2401         (moveUp): make sure that we do not compare iterators from
2402         different ParagraphList constainers.
2403         (moveDown): ditto
2404
2405         * text.C (firstPar): new function
2406         (lastPar): new function
2407         (endPar): new function
2408
2409         * lyxtext.h: move things around and group public functions, public
2410         variables, private functions, private variables
2411
2412 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2413
2414         * factory.C: change call to InsetERT constructor to avoid
2415         additional invocation of method status
2416         * text2.C (toggleInset): remove redundant update() call
2417         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2418         instead of a Bufferview pointer
2419
2420 2003-11-21  André Pönitz  <poenitz@gmx.net>
2421
2422         * rowpainter.C: simplification
2423
2424 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2425
2426         * text3.C (dispatch): make possible to extend a word/row selection
2427         with the mouse
2428
2429 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2430
2431         * lyxtext.h: x0_,y0_ -> xo_,yo_
2432         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2433         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2434         * rowpainter.C (paintRows): paint full paragraphs
2435
2436 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2437
2438         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2439         screen coordinates)
2440
2441 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2442
2443         * lyxtext.h: add x0_, y0_
2444         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2445         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2446
2447 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2448
2449         * text2.C (setCursorIntern): move the x_target update here *
2450         * text3.C: change some bv() to true/false in calls to
2451         cursorUp/Down/Right/Left
2452         * cursor.C: use helper function.
2453
2454 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2455
2456         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2457         * paragraph_funcs.[Ch]: correct comment
2458         * rowpainter.C: do not paint selections away from bv->cursor()
2459         Fix a long standing selection painting bug.
2460         * text3.C: generalize mouse-selection code to LyXTexts other that
2461         top one
2462         * textcursor.C: do not use y coords if we can use par offsets
2463
2464 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2465
2466         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2467         cursor position after e.g. inset insert)
2468
2469 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2470
2471         * lyxfind.C (replace): adjust to locking removal + some
2472         code simplification
2473
2474 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2475
2476         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2477         of the path
2478
2479 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2480
2481         * lyxlayout.[Ch]:
2482         * output_docbook.C: XML sanitation: new layout
2483         parameters InnerTag and CommandDepth
2484
2485 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2486
2487         * BufferView_pimpl.C:
2488         * factory.C:
2489         * text3.C: Fix the insertion and modification of button-style
2490         insets
2491
2492 2003-11-13  André Pönitz  <poenitz@gmx.net>
2493
2494         * InsetList.[Ch]: remove deleteLyXText
2495
2496         * paragraph.[Ch]: cache beginOfBody position
2497
2498         * Bidi.C:
2499         * text.C:
2500         * text2.C:
2501         * text3.C: remove superfluous update() calls
2502
2503         * vspace.C: cleanup
2504
2505 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2506
2507         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2508         * BufferView.C (fitLockedInsetCursor): remove
2509         * cursor.[Ch] (getDim): add
2510         * text.C (getRowNearY): add faster version
2511         * text3.C: remove some update calls
2512
2513 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2514
2515         * LaTeXFeatures.C:
2516         * LyXAction.C:
2517         * MenuBackend.C:
2518         * MenuBackend.h:
2519         * dispatchresult.h:
2520         * factory.C:
2521         * lfuns.h:
2522         * lyxfunc.C:
2523         * lyxtextclass.C:
2524         * lyxtextclass.h:
2525         * text3.C: The Character Style /XML short element patch.
2526
2527 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2528
2529         * text3.C:
2530         * factory.C: Small step to solving 'unable to insert some insets'
2531         problem
2532
2533 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2534
2535         * cursor.[Ch] (updatePos): new function for updating the y
2536         position of the tip inset
2537         * bufferview_funcs.C (put_selection_at):
2538         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2539
2540 2003-11-11  André Pönitz  <poenitz@gmx.net>
2541
2542         * text.C: remove big comment on invalid Paragraph pointers as it is
2543         not valid anymore
2544
2545 2003-11-11  André Pönitz  <poenitz@gmx.net>
2546
2547         * text_funcs.[Ch]: merge with ...
2548
2549         * text.C: ... this
2550
2551         * lyxtext.h:
2552         * text2.C:
2553         * text3.C: adjust
2554
2555         * Makefile.am: remove text_funcs.[Ch]
2556
2557 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2558
2559         * cursor.C (getPos): return absolute cached y coord
2560
2561         * BufferView_pimpl.C (fitCursor): new simplistic code
2562         (workAreaDispatch): add a fitCursor call
2563
2564 2003-11-10  André Pönitz  <poenitz@gmx.net>
2565
2566         * BufferView.[Ch]:
2567         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2568
2569 2003-11-10  André Pönitz  <poenitz@gmx.net>
2570
2571         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2572         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2573         indicate that the cursor needs to leave an inset
2574
2575         * lyxtext.h: remove inset locking
2576
2577         * cursor.[Ch]: re-implement functionality provided by inset locking
2578
2579         * BufferView.[Ch]:
2580         * BufferView_pimpl.[Ch]:
2581         * LyXAction.C:
2582         * bufferview_funcs.[Ch]:
2583         * factory.C:
2584         * funcrequest.[Ch]:
2585         * iterators.C:
2586         * lyx_cb.C:
2587         * lyxfind.C:
2588         * lyxfunc.C:
2589         * text.C:
2590         * text2.C:
2591         * text3.C:
2592         * undo.C: adjust
2593
2594 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2595
2596         * PosIterator.[Ch]: replace the stack with a vector, add inset
2597         accesor
2598         * iterators.[C]: adjust
2599
2600 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2601
2602         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2603         replaced
2604         * paragraph_funcs.C (readParToken): put the correct id in the
2605         error item, not the id of the top paragraph
2606
2607 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2608
2609         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2610         * bufferview_funcs.C (put_selection_at): use the above
2611
2612 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2613
2614         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2615
2616 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2617
2618         * output_linuxdoc.h:
2619         * output_plaintext.h:
2620         * output.h:
2621         * output_docbook.h: add #include statements
2622
2623 2003-11-05  José Matos  <jamatos@lyx.org>
2624
2625         * output_docbook.[Ch]:
2626         * output_latex.[Ch]:
2627         * output_linuxdoc.[Ch]:
2628         * output_plaintext.[Ch]: New files for output formats.
2629         * output.[Ch]: New file for helper functions.
2630
2631         * buffer.[Ch]:
2632         * paragraph_funcs.[Ch]: output functions moved to new files.
2633
2634         * outputparams.h: rename of latexrunparams.h
2635
2636         * LaTeX.[Ch]:
2637         * buffer.[Ch]:
2638         * bufferlist.[Ch]:
2639         * converter.[Ch]:
2640         * exporter.C:
2641         * paragraph.[Ch]:
2642         * paragraph_funcs.[Ch]:
2643         * paragraph_pimpl.[Ch]:
2644         * tabular.[Ch]: rename ascii to plaintext
2645         and LatexRunParams to OutputParams.
2646
2647 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2648
2649         * iterators.[Ch] (text): require bv argument
2650         * undo.C (recordUndo):
2651         * lyxfunc.C (dispatch):
2652         * bufferview_funcs.C (put_selection_at): adjust
2653
2654 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2655
2656         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2657
2658 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2659
2660         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2661         nestings
2662
2663 2003-11-04  André Pönitz  <poenitz@gmx.net>
2664
2665         * cursor.[Ch]: restructure
2666
2667         * BufferView.[Ch]:
2668         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2669
2670         * iterators.[Ch] (asCursor): remove
2671
2672         * lfuns.h: remove LFUN_INSET_EDIT
2673
2674         * lyxfunc.C:
2675         * tabular.C:
2676         * text.C:
2677         * text2.C:
2678         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2679
2680 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2681
2682         * lyxfind.[Ch]: complete overhaul
2683         * BufferView_pimpl.C:
2684         * lyxfunc.C: adjust
2685         * paragraph.[Ch] (insert): add
2686
2687 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2688
2689         * BufferView.[Ch]:
2690         * lyxtext.h:
2691         * text.C: remove dead spellcheck code
2692
2693 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2694
2695         * dispatchresult.h: add a val setter
2696
2697         * cursor.C (dispatch): use a tempvar for data_[i]
2698
2699 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2700
2701         * PosIterator.[Ch]: compile fix
2702
2703 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2704
2705         * text.C (cursorPar): deactivate the cursor cache
2706
2707 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2708
2709         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2710
2711 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2712
2713         * text3.C (dispatch): adjust for new DisptchResult semantics.
2714
2715         * lyxfunc.C (dispatch): handle update when return from
2716         Cursor::dispatch, adjust for new DispatchResult semantics.
2717
2718         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2719         DispatchResult(true) mean to not update. Add class functions for
2720         setting dispatched and update, as well as reading.
2721
2722         * cursor.C (dispatch): don't handle update here
2723
2724 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2725
2726         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2727         * trans_mgr.C: adjust
2728
2729         * paragraph_funcs.C (readParToken): exception safety
2730
2731         * lyxvc.h: store the vcs pointer in a scoped_ptr
2732         * lyxvc.C: adjust
2733
2734         * lyxsocket.C (serverCallback): exception safety
2735
2736         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2737
2738         * ispell.C (clone): make it return a auto_ptr
2739
2740         * factory.C (createInset): exception safety
2741         (readInset): exception safety
2742
2743         * bufferlist.C (newBuffer): exception safety
2744
2745         * Thesaurus.C (Thesaurus): use initialization for aik_
2746
2747         * MenuBackend.C (expandToc): exception safety.
2748
2749 2003-11-03  André Pönitz  <poenitz@gmx.net>
2750
2751         * buffer.C:
2752         * buffer.h:
2753         * bufferview_funcs.C: remove getInsetFromId()
2754
2755         * lyxcursor.[Ch]:
2756         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2757
2758         * lyxfunc.C:
2759         * text2.C:
2760         * text3.C: adjust
2761
2762 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2763
2764         * PosIterator.C (distance, advance): new
2765         * bufferview_funcs.[Ch] (put_selection_at): new
2766         * iterators.[Ch] (lockPath): new
2767
2768 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2769
2770         * iterators.[Ch] (asPosIterator): added
2771         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2772         * PosIterator.[Ch]: added
2773
2774 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2775
2776         * text3.C:
2777         * lyxfunc.C:
2778         * cursor.C (dispatch):
2779         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2780
2781         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2782         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2783         contructor, add a class function dispatched. Remove operator>=
2784
2785 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2786
2787         * debug.C: only use the default constructor for debugstream
2788         (lyxerr) here.
2789
2790         * main.C (main): include debug.h and setup the lyxerr streambuf
2791         here.
2792
2793 2003-10-31  José Matos  <jamatos@lyx.org>
2794
2795         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2796
2797         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2798         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2799         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2800         * paragraph_pimpl.C (simpleTeXSpecialC):
2801         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2802         add LatexRunParams argument.
2803
2804         * exporter.C (Export): change call accordingly.
2805
2806         * latexrunparams.h: add new member to take care of the other backends.
2807 2003-10-30  José Matos  <jamatos@lyx.org>
2808
2809         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2810         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2811         factorise code for paragraph output.
2812         * buffer.[Ch]:
2813         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2814         move functions.
2815
2816 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2817
2818         * text3.C (dispatch):
2819         * lyxfunc.C (dispatch):
2820         * cursor.C (dispatch):
2821         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2822
2823         * dispatchresult.h: make the dispatch_result_t ctor explicit
2824
2825 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2826
2827         * sgml.[Ch]:
2828         * buffer.C: small refactoring of docbook stuff
2829
2830 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2831
2832         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2833         meaning.
2834
2835 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2836
2837         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2838         operator dispatch_result_t, and operators for == != and >=
2839
2840         * cursor.C (dispatch): adjust for operator dispatch_result_t
2841         removal. comment out call to update
2842
2843         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2844
2845 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2846
2847         * text3.C:
2848         * text2.C:
2849         * text.C:
2850         * lyxtext.h:
2851         * lyxfunc.C:
2852         * cursor.C:
2853         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2854         (dispatch):
2855
2856         * dispatchresult.h: new file, DispatchResult broken out of
2857         insets/insetbase.h
2858
2859         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2860
2861 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2862
2863         * text.C (rowBreakPoint): put a hack inside #if 0
2864
2865 2003-10-28  André Pönitz  <poenitz@gmx.net>
2866
2867         * lyxtext.h:
2868         * metricsinfo.C:
2869         * paragraph_funcs.C:
2870         * rowpainter.C:
2871         * text.C:
2872         * text2.C: general cleanup (lots of small stuff)
2873
2874 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2875
2876         * text2.C (cursorEnd): simple fix to the "end key goes to one
2877         before the end on last row" bug
2878
2879 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2880
2881         * text.C (backspace): fix the "zombie characters"
2882
2883 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2884
2885         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2886
2887 2003-10-27  André Pönitz  <poenitz@gmx.net>
2888
2889         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2890
2891         * factory.C: handle new InsetPagebreak, InsetLine
2892
2893         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2894         and move handling into new InsetPagebreak, InsetLine
2895
2896         * BufferView_pimpl.C:
2897         * LyXAction.C:
2898         * ParagraphParameters.C:
2899         * ParameterStruct.h:
2900         * lyxfunc.C:
2901         * lyxtext.h:
2902         * paragraph.C:
2903         * paragraph.h:
2904         * paragraph_funcs.C:
2905         * paragraph_pimpl.C:
2906         * rowpainter.C:
2907         * text.C:
2908         * text2.C:
2909         * text3.C: adjust
2910
2911 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2912
2913         * text.C:
2914         * lyxrow_funcs.[Ch]:
2915         * Bidi.C:
2916         * paragraph.C:
2917         * lyxtext.h:
2918         * rowpainter.C:
2919         * text2.C:
2920         * text3.C: remove lastPos uses in favour of Row::endpos
2921
2922 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2923
2924         * undo.C (performUndoOrRedo): fix two crashes by setting a
2925         cursor by hand and reordering some calls. Use bv->lockInset instead
2926         of inset->edit because the latter loses cursor information
2927
2928 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2929
2930         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2931         by Martin
2932         (rowBreakPoint): fix width. change point to point + 1.
2933         Add a missing check.
2934
2935 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2936
2937         * MenuBackend.C:
2938         * lyxfunc.C: fix (at least partly) the problems
2939         with the Nav menu and headers inside branch insets
2940         reported by Kayvan
2941
2942 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2943
2944         * paragraph.C (getChar): add strong asserts
2945
2946         * lyxrow_funcs.C (lastPos): remove hideous hack
2947
2948         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2949         (fill): adjust to that (avoid an infinite loop)
2950
2951 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2952
2953         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2954
2955 2003-10-23  André Pönitz  <poenitz@gmx.net>
2956
2957         * RowList_fwd.h: change list<> to vector<> to gain speed
2958         after suggestion from Alfredo
2959
2960 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2961
2962         * lyxtext.h: move the bidi stuff from here...
2963         * text.C: and here
2964         * text2.C: and here
2965         * Bidi.[Ch]: ... to here
2966
2967 2003-10-23  André Pönitz  <poenitz@gmx.net>
2968
2969         * lyxtext.h:
2970         * text.C (isLastRow, isFirstRow): new functions
2971
2972         * paragraph.h: new width cache member
2973
2974         * rowpainter.C: replace RowList::iterator with Row & where possible
2975
2976         * lyxfunc.C: replace several view()->text with a single call
2977
2978         * toc.C: fix 'unused' warning
2979
2980 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2981
2982         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2983         when woring with stream::pos_type
2984         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2985
2986 2003-10-22  André Pönitz  <poenitz@gmx.net>
2987
2988         * lyxtext.h:
2989         * text.C: use Row & instead of RowList::iterator
2990
2991         * lyxrow.h: rename end() to endpos()
2992
2993         * rowpainter.C:
2994         * text.C:
2995         * text2.C: adjust
2996
2997 2003-10-22  Angus Leeming  <leeming@lyx.org>
2998
2999         * buffer.[Ch] (fully_loaded): new member function, returning true
3000         only when the file has been loaded fully.
3001         Used to prevent the premature generation of previews and by the
3002         citation inset to prevent computation of the natbib-style label.
3003
3004         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3005         templates are all set up.
3006
3007         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3008
3009 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3010
3011         * text.C: fixed an "oops" in the "is a bit silly"
3012         bug fix
3013
3014 2003-10-21  André Pönitz  <poenitz@gmx.net>
3015
3016         * FuncStatus.[Ch]: small stuff, whitespace
3017
3018         * lyxfont.[Ch]: operator<<() for debug reasons
3019
3020         * lyxfunc.C:
3021         * lyxrow_funcs.C:
3022         * lyxtext.h: whitespace, spelling
3023
3024         * paragraph.C: naming of variables
3025
3026         * text.C:
3027         * text2.C: small stuff
3028
3029
3030 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3031
3032         * text.C: (1) finish off the inset display() work;
3033         (2) fix the "is a bit silly" bug (accessing char
3034         past end of par).
3035
3036 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3037
3038         * text.C: re-introduce display() for insets, fixing the
3039         various bugs (stretch of line above, math inset
3040         positioning, ...)
3041
3042 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3043
3044         * text.C (rightMargin): remove spurious semicolon
3045
3046         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3047         1415)
3048
3049 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3050
3051         * text3.C: fix one crash due to wrong cursor def
3052
3053 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3054
3055         * vc-backend.C (scanMaster): make the regex static
3056
3057         * LaTeX.C (scanAuxFile): make the regexs static
3058
3059         * text3.C (doInsertInset, dispatch, dispatch):
3060         * text2.C (cursorUp, cursorDown):
3061         * text.C (selectNextWordToSpellcheck):
3062         * BufferView_pimpl.C (dispatch):
3063         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3064
3065 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3066
3067         * lyxsocket.C: include <cerrno>
3068
3069 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3070
3071         * lyxfunc.C (dispatch): remove textcache stuff
3072
3073         * bufferlist.C (release): remove textcache stuff
3074         (closeAll): ditto
3075
3076         * TextCache.C: delete file
3077         * TextCache.h: delete file
3078
3079         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3080
3081         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3082         delete of the bv_->text.
3083         (resizeCurrentBuffer): remove texcache stuff
3084         (workAreaResize): ditto
3085
3086 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3087
3088         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3089         action.
3090
3091 2003-10-16  André Pönitz  <poenitz@gmx.net>
3092
3093         * lyxrow.[Ch]:
3094         * paragraph.h:
3095         * rowpainter.C:
3096         * text.C:
3097         * text2.C:
3098         * text3.C: speed up by storing y positions per paragraph plus per-row
3099         offset instead of having a 'full' y position in the row.
3100
3101 2003-10-15  André Pönitz  <poenitz@gmx.net>
3102
3103         * iterators.[Ch]:
3104         * iterators.[Ch]:
3105         * undo.[Ch]: make undo aware of inner insets
3106
3107 2003-10-14  Angus Leeming  <leeming@lyx.org>
3108
3109         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3110         static member functions LyX::ref() and LyX::cref.
3111         (lastfiles): new accessor functions for the new lastfiles_ member var.
3112         (addLyXView, views_): add a new LyXView to the list of views_.
3113         (updateInset): loop over all LyXViews to call their own updateInset
3114         member function, returning a pointer to the Buffer owning the inset.
3115
3116         * BufferView_pimpl.C (loadLyXFile):
3117         * MenuBackend.C (expandLastfiles):
3118         * bufferlist.C (MenuWrite, QuitLyX):
3119         lastfiles is no longer a global variable.
3120         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3121
3122         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3123         static function. Access through LyX::cref().emergencyCleanup().
3124
3125 2003-10-14  André Pönitz  <poenitz@gmx.net>
3126
3127         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3128
3129         * undo.[Ch]: restoring part of 'undo in insets'
3130
3131         * Makefile.am:
3132         * undo_funcs.[Ch]: merge with undo.[Ch]
3133
3134         * tabular.C: small cleansing stuff
3135
3136 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3137
3138         * paragraph_funcs.C (readParToken): report unknown insets as error
3139         boxes. Use the outer paragraph as location (also for unknown
3140         tokens).
3141
3142         * factory.C (readInset): do not abort on reading an unknown inset.
3143         Eat it and return 0.
3144
3145 2003-10-13  Angus Leeming  <leeming@lyx.org>
3146
3147         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3148
3149         * lyxrc.C: displayTranslator is now a function,
3150         declared in GraphicsTypes.h.
3151
3152 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3153
3154         * format.C: new placeholder $$a to pass the socket address.
3155
3156         * bufferlist.[Ch]: new function getBufferFromTmp.
3157
3158         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3159           files in the temporary dir.
3160
3161 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3162
3163         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3164
3165         * Makefile.am: add lyxsocket.[Ch].
3166
3167         * lyx_main.C (error_handler): handle SIGPIPE.
3168
3169 2003-10-13  André Pönitz  <poenitz@gmx.net>
3170
3171         * BufferView_pimpl.C:
3172         * lyxtext.h:
3173         * text.C:
3174         * text2.C:
3175         * text3.C:
3176         * undo_funcs.[Ch]: use paroffset_type instead of
3177           ParagraphList::iterators to prevent multiple conversion
3178           (and get a more robust interface)
3179
3180 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3181
3182         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3183         * lyxtext.h: ditto
3184         * text3.C (dispatch): ditto
3185
3186 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3187
3188         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3189         move the onlyfile, use onlyfile instead of foundfile in a couple
3190         of places.
3191
3192         * DepTable.C (update): flush the error stream a bit more
3193
3194 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3195
3196         * lyxserver.C (callback): adjust
3197
3198         * lyxfunc.C (getStatus): add a missing brace in commented code
3199         (ensureBufferClean): reindent
3200         (dispatch): delete version taking a string
3201
3202 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3203
3204         * LaTeX.C (deplog): move found file handlig from here...
3205         (handleFoundFile): .. to new function here.
3206         (deplog): make sure to discover several files mentioned on the
3207         same log line.
3208
3209 2003-10-10  André Pönitz  <poenitz@gmx.net>
3210
3211         * lyxfunc.C:
3212         * lyxtext.h:
3213         * tabular.C:
3214         * text.C:
3215         * text2.C:
3216         * text3.C: fix some of the tabular crashes
3217
3218 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3219
3220         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3221
3222         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3223
3224 2003-10-09  André Pönitz  <poenitz@gmx.net>
3225
3226         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3227
3228         * BufferView.C:
3229         * BufferView_pimpl.C:
3230         * bufferview_funcs.C:
3231         * lyx_cb.C:
3232         * lyxcursor.C:
3233         * lyxfind.C:
3234         * lyxfunc.C:
3235         * lyxtext.h:
3236         * text.C:
3237         * text2.C:
3238         * text3.C:
3239         * text_funcs.[Ch]:
3240         * textcursor.[Ch]:
3241         * undo_funcs.C: adjust
3242
3243 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3244
3245         * text2.C (incrementItemDepth): new function, use a backtracking
3246         algorithm to discover the correct item depth.
3247         (resetEnumCounterIfNeeded): new function, use a backtracking
3248         algorithm to discover if counter reset is needed.
3249         (setCounter): use them. Simplify a bit. Add different labels for
3250         different item depths for itemize.
3251
3252         * paragraph.C (Paragraph): remove initialization of enumdepth
3253         (operator=): ditto
3254
3255         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3256         enumerate and itemize. Change the type of itemdepth to signed char.
3257
3258 2003-10-08  André Pönitz  <poenitz@gmx.net>
3259
3260         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3261           thing assignable.
3262         * text.C:
3263         * text2.C: adjust
3264
3265         * tabular.[Ch]: fix crash after 'row-insert'
3266
3267 2003-10-08  Angus Leeming  <leeming@lyx.org>
3268
3269         Fix doxygen warnings.
3270
3271         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3272         Remove CutAndPaste:: prefix from header file declaration.
3273
3274         * LColor.h (fill): remove LColor:: prefix from declaration.
3275
3276         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3277         use lyx::depth_type rather than Paragraph::depth_type so that
3278         header file and .C file match.
3279
3280         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3281
3282         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3283         * aspell.C: \file aspell_local.C -> \file aspell.C
3284         * gettext.C: \file gettext.C -> \file src/gettext.C
3285         * gettext.h: \file gettext.h -> \file src/gettext.h
3286         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3287         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3288         * text.C: \file text.C -> \file src/text.C
3289
3290         * toc.C: move comment so that doxygen is not confused.
3291
3292 2003-10-07  Angus Leeming  <leeming@lyx.org>
3293
3294         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3295
3296 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3297
3298         * aspell.C:
3299         * aspell_local.h: add forgotten std::string's.
3300
3301 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3302
3303         * LaTeXFeatures.C:
3304         * LyXAction.C:
3305         * factory.C:
3306         * lfuns.h:
3307         * lyxfunc.C:
3308         * text3.C: The Box patch. Fancybox support, minipage, parbox
3309
3310 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3311
3312         * CutAndPaste.h:
3313         * DepTable.h:
3314         * FloatList.h:
3315         * LaTeXFeatures.h:
3316         * ParagraphParameters.h:
3317         * TextCache.h:
3318         * Thesaurus.h:
3319         * bufferlist.h:
3320         * exporter.h:
3321         * importer.h:
3322         * lastfiles.h:
3323         * lyxfind.h:
3324         * lyxfont.h:
3325         * lyxlex.h:
3326         * lyxtextclasslist.h:
3327         * messages.h:
3328         * paragraph.h:
3329         * paragraph_pimpl.C:
3330         * textcursor.h: add <string> and other small fixes to make Lars'
3331         std::string patch compile with STLport.
3332
3333 2003-10-06  Angus Leeming  <leeming@lyx.org>
3334
3335         * LColor.h: Add missing #include <string>.
3336
3337 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3338
3339         * All most all file in all subdirs: Make <string> be the prefered
3340         way of getting to std::string, add using declarations.
3341
3342 2003-10-06  André Pönitz  <poenitz@gmx.net>
3343
3344         * metricsinfo.C: initialize LyXFont before changing attribute.
3345         (fixes the 'math in \emph is upright' bug)
3346
3347 2003-10-06  André Pönitz  <poenitz@gmx.net>
3348
3349         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3350
3351 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3352
3353         * graph.C:
3354         * paragraph_pimpl.C: Small fixes to build using STLport
3355
3356 2003-10-02  André Pönitz  <poenitz@gmx.net>
3357
3358         * lyxfunc.C:
3359         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3360
3361 2003-10-01  André Pönitz  <poenitz@gmx.net>
3362
3363         * factory.C: assert early
3364
3365 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3366
3367         * lyx_main.C: remove the global debug object
3368
3369         * debug.h: adjust for new debugstream
3370
3371         * debug.C: adjust for new debugstream and keep the global debug
3372         object here.
3373
3374 2003-09-22  Angus Leeming  <leeming@lyx.org>
3375
3376         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3377         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3378         an incomplete class LyXFont.
3379
3380 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3381
3382         * factory.C: bug fix in branches
3383
3384 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3385
3386         * lyxfunc.C (processKeySym): adjust
3387         (dispatch): adjust
3388         (dispatch): change arg name from ev to func, adjust
3389         (sendDispatchMessage): ditto
3390
3391         * lyx_main.C (defaultKeyBindings): adjust keybindings
3392         (deadKeyBindings): ditto
3393
3394         * kbsequence.C (addkey): return a FuncRequest
3395
3396         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3397
3398         * kbmap.C (bind): take a FuncRequest as arg, adjust
3399         (read): adjust
3400         (lookup): adjust
3401         (defkey): change to take a FuncRequest as arg, adjust
3402         (findbinding): take a FuncRequest as arg, adjust.
3403
3404         * funcrequest.h (operator=): added
3405
3406         * funcrequest.C (FuncRequest): default kb_action changed from
3407         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3408
3409         * buffer.C (dispatch): simplify
3410         (dispatch): adjust to take a FuncRequest as arg, adjust
3411
3412         * boost.C (assertion_failed): change assertion message slightly
3413
3414         * ToolbarBackend.C (read): simplify
3415
3416         * MenuBackend.C (binding): adjust call to findbinding, add a
3417         message if no binding is found.
3418         (read): simplify
3419         (expandToc): correct by adding a empty FuncRequest
3420
3421         * LyXAction.C: include <boost/assert.hpp>
3422         (isPseudoAction): delete function
3423         (LookupFunc): change name to...
3424         (lookupFunc): this. change return type to FuncRequest.
3425         (getActionName): take kb_action as arg, simplify
3426         (funcHasFlag): add an assert, simplify.
3427
3428 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3429
3430         * toc.C (action): return a FuncRequest, simplify
3431
3432         * lyxfunc.C (processKeySym): adjust
3433         (getStatus): delete version that takes an int.
3434         (getStatus): adjust
3435         (dispatch): delete version that takes action as int
3436         (dispatch): adjust
3437         (sendDispatchMessage): simplify and adjust
3438
3439         * funcrequest.C (getArg): take unsigned int as arg
3440
3441         * ToolbarBackend.C (read): adjust
3442         (add): delete version that takes func as a string.
3443         (getIton): take a FuncRequest as arg
3444
3445         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3446         action.
3447
3448         * MenuBackend.C (MenuItem): add a new construct that only takes a
3449         Kind, simplify the constructor use for submenus.
3450         (add): adjust
3451         (expandLastfiles): adjust
3452         (expandDocuments): adjust
3453         (expandFormats): adjust
3454         (expandFloatListInsert): adjust
3455         (expandFloatInsert): adjust
3456         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3457
3458         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3459         Remove class variables lyx_pseudo_map and lyx_arg_map
3460
3461         * LyXAction.C (searchActionArg): delete function
3462         (getPseudoAction): delete function
3463         (retrieveActionArg): delete function
3464         (LookupFunc): make it return kb_action, simplify.
3465         (getActionName): simplify
3466
3467         * factory.C (createInset): fix new bug
3468
3469 2003-09-19  Angus Leeming  <leeming@lyx.org>
3470
3471         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3472         masterFilename_ parameter in the include inset.
3473
3474         * factory.C (createInset): changes due to the changes to InsetInclude.
3475
3476 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3477
3478         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3479
3480 2003-09-18  Angus Leeming  <leeming@lyx.org>
3481
3482         * buffer.C:
3483         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3484         Inset::fillWithBibKeys.
3485         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3486
3487 2003-09-18  Angus Leeming  <leeming@lyx.org>
3488
3489         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3490         variables.
3491         (ctor): pass and store a 'Buffer const &'
3492         (buffer): new member function.
3493
3494         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3495         '*this' to the LaTeXFeatures ctor.
3496
3497 2003-09-18  Angus Leeming  <leeming@lyx.org>
3498
3499         * LColor.h:
3500         * lyxfont.C:
3501         * lyxfont.h:
3502         * lyxtext.h:
3503         * text.C: rename EnumLColor as LColor_color.
3504
3505 2003-09-18  Angus Leeming  <leeming@lyx.org>
3506
3507         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3508         remove #include "insets/insetbase.h" from cursor.h.
3509
3510 2003-09-18  Angus Leeming  <leeming@lyx.org>
3511
3512         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3513         InsetOld_code to remove #include "inset.h".
3514
3515         * iterators.C: add #include "insets/inset.h"
3516
3517 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3518
3519         * BufferView.C: remove more locking stuff that apparently doesn't
3520         do anything sensible.
3521
3522 2003-09-16  André Pönitz  <poenitz@gmx.net>
3523
3524         * paragraph.[Ch]:
3525         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3526           performance boost.
3527
3528 2003-09-16  Angus Leeming  <leeming@lyx.org>
3529
3530         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3531
3532         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3533         arg/return type.
3534
3535         * paragraph.h: remove #include "lyxfont.h". Forward declare
3536         LyXFont_size.
3537
3538 2003-09-16  Angus Leeming  <leeming@lyx.org>
3539
3540         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3541         of support/textutils.h.
3542         (isWord): move the contents of support/textutils.h's IsWordChar here.
3543
3544         * buffer.C:
3545         * lyxfind.C:
3546         * rowpainter.C:
3547         * text.C:
3548         * text2.C: add #include "paragraph.h".
3549
3550         * rowpainter.C:
3551         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3552
3553 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3554
3555         * main.C:
3556         * lyx_main.C:
3557         * lyx_cb.C:
3558         * buffer.C:
3559         * LaTeX.C: use namespace alias for lyx::support::os
3560
3561 2003-09-16  Angus Leeming  <leeming@lyx.org>
3562
3563         * bufferparams.C:
3564         * bufferview_funcs.C:
3565         * factory.C:
3566         * lyxfunc.C:
3567         * paragraph_pimpl.C:
3568         * rowpainter.C:
3569         * text.C: add #include "LColor.h".
3570
3571 2003-09-16  Angus Leeming  <leeming@lyx.org>
3572
3573         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3574         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3575         return LyXFont &.
3576         Store the FontBits::color variable as an int rather than as an
3577         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3578         file.
3579
3580         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3581         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3582         string calls together.
3583
3584         * lyxrc.C: add #include "LColor.h".
3585
3586 2003-09-15  Angus Leeming  <leeming@lyx.org>
3587
3588         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3589         a cow_ptr.
3590
3591 2003-09-15  Angus Leeming  <leeming@lyx.org>
3592
3593         * LColor.h: add an EnumLColor wrapper for LColor::color.
3594
3595         * lyxfont.[Ch] (color, setColor, realColor):
3596         * lyxtext.h, text.C (backgroundColor):
3597         pass EnumLColor args to/from the functions, rather than LColor::color
3598         ones.
3599
3600         * lyxfont.h:
3601         * lyxtext.h: forward declare EnumLColor.
3602
3603         * lyx_main.C: add #include "LColor.h".
3604
3605 2003-09-15  Angus Leeming  <leeming@lyx.org>
3606
3607         * .cvsignore: add lyx-gtk.
3608
3609 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3610
3611         * Chktex.C
3612         * LaTeX.C
3613         * LaTeXFeatures.C
3614         * ParagraphParameters.C
3615         * Spacing.C
3616         * buffer.C
3617         * bufferparams.C
3618         * bufferview_funcs.C
3619         * chset.C
3620         * counters.C
3621         * funcrequest.C
3622         * lyxfont.C
3623         * lyxgluelength.C
3624         * lyxlength.C
3625         * paragraph.C
3626         * paragraph_funcs.C
3627         * text3.C
3628         * vc-backend.C: remove usage of STRCONV
3629
3630 2003-09-15  Angus Leeming  <leeming@lyx.org>
3631
3632         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3633         explicitly define the color passed to the painter.
3634
3635 2003-09-15  Angus Leeming  <leeming@lyx.org>
3636
3637         * bufferparams.C (BufferParams): reorder member initializers to avoid
3638         compiler warning.
3639
3640 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3641
3642         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3643         * text.C (updateRowPositions): remove an unusual nop
3644
3645 2003-09-12  André Pönitz  <poenitz@gmx.net>
3646
3647         * BufferView_pimpl.C:
3648         * Bullet.C:
3649         * layout.h:
3650         * lyxfunc.C:
3651         * lyxlayout.[Ch]:
3652         * lyxtextclass.C:
3653         * rowpainter.C:
3654         * text.C:
3655         * text2.C:
3656         * Counters.[Ch]: finish the 'automatic counters' job
3657
3658 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3659
3660         * aspell.C: include <boost/assert.cpp> (compile fix)
3661
3662 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3663
3664         * boost.C (assertion_failed): use lyx::support::abort instead of
3665         assert.
3666
3667 2003-09-10  Angus Leeming  <leeming@lyx.org>
3668
3669         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3670         with their _fwd progeny.
3671
3672 2003-09-09  Angus Leeming  <leeming@lyx.org>
3673
3674         134 files throughtout the source tree: replace 'using namespace abc;'
3675         directives with the appropriate 'using abc::xyz;' declarations.
3676
3677 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3678
3679         * boost.C (emergencyCleanup): moved here from LAssert.c
3680         (assertion_failed): new function, called by BOOST_ASSERT
3681
3682         * several files: change Assert to BOOST_ASSERT
3683
3684 2003-09-09  Angus Leeming  <leeming@lyx.org>
3685
3686         * buffer.[Ch]: Add an Impl class and move Buffer's member
3687         variables into it. As a result move several header files out of
3688         buffer.h.
3689
3690         Add header files to lots of .C files all over the tree as a result.
3691
3692 2003-09-09  Angus Leeming  <leeming@lyx.org>
3693
3694         * buffer.[Ch]: make Buffer's member variables private. Add
3695         accessor functions.
3696
3697         Lots of changes all over the tree as a result.
3698
3699 2003-09-08  Angus Leeming  <leeming@lyx.org>
3700
3701         * graph.C: #include <config.h>.
3702
3703 2003-09-08  Angus Leeming  <leeming@lyx.org>
3704
3705         * BranchList.C:
3706         * BufferView.C:
3707         * BufferView_pimpl.C:
3708         * CutAndPaste.C:
3709         * DepTable.C:
3710         * LaTeX.C:
3711         * LaTeXFeatures.C:
3712         * LyXAction.C:
3713         * MenuBackend.C:
3714         * TextCache.C:
3715         * aspell.C:
3716         * buffer.C:
3717         * bufferlist.C:
3718         * changes.C:
3719         * chset.C:
3720         * converter.C:
3721         * counters.C:
3722         * debug.C:
3723         * graph.C:
3724         * ispell.C:
3725         * lyx_cb.C:
3726         * lyxfind.C:
3727         * lyxfunc.C:
3728         * lyxlex_pimpl.C:
3729         * lyxrc.C:
3730         * lyxrow.C:
3731         * paragraph.C:
3732         * rowpainter.C:
3733         * texrow.C:
3734         * text.C:
3735         * text2.C:
3736         * toc.C: remove redundant using directives.
3737
3738 2003-09-07  Angus Leeming  <leeming@lyx.org>
3739
3740         * LaTeXFeatures.h: remove #include "support/types.h".
3741         * ToolbarBackend.h: remove #include <algorithm>.
3742         * changes.h: remove #include <ctime>.
3743         * debug.h: remove #include <iosfwd>.
3744         * graph.h: remove #include "support/std_string.h".
3745         * lyx_main.h: remove #include <csignal>.
3746         * lyxlex_pimpl.h: remove #include <fstream>.
3747         * sgml.h: remove #include <algorithm>, <utility>.
3748         * toc.h: remove #include "support/std_ostream.h".
3749         Add #include <iosfwd>.
3750
3751 2003-09-07  Angus Leeming  <leeming@lyx.org>
3752
3753         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3754
3755         * converter.h: forward declare LatexRunParams.
3756         * encoding.h: remove #include "lyxrc.h".
3757         * lyxtext.h: remove #include "LColor.h".
3758         * lyxtextclass.h: remove #include "support/types.h".
3759         * trans.h: remove #include "tex-accent.h".
3760         * trans_mgr.h: remove #include "tex-accent.h".
3761         * insets/inset.h: remove #include "support/types.h", <vector>.
3762         * insets/insetcollapsable.h: remove #include "LColor.h".
3763         * insets/insetinclude.h: remove #include "dimension.h".
3764         * insets/insetlatexaccent.h: remove #include "dimension.h".
3765         * insets/insetoptarg.h:: remove #include "insettext.h".
3766         * insets/insettext.h: remove #include "dimension.h",
3767         <boost/shared_ptr.hpp>
3768
3769         * insets/renderers.h: add #include "dimension.h".
3770         * insets/updatableinset.h: add #include "support/types.h".
3771
3772         * many .C files: Associated changes.
3773
3774 2003-09-06  Angus Leeming  <leeming@lyx.org>
3775
3776         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3777         one, inside testInvariant.
3778
3779         * PrinterParams.C: new file.
3780         * PrinterParams.[Ch]: move the function bodies out of line.
3781
3782 2003-09-06  Angus Leeming  <leeming@lyx.org>
3783
3784         * ParagraphParameters.h: forward declare ParameterStruct rather than
3785         including its header file.
3786         (depth): moved out-of-line.
3787
3788 2003-09-06  Angus Leeming  <leeming@lyx.org>
3789
3790         * BufferView_pimpl.h:
3791         * kbmap.h:
3792         * kbsequence.h:
3793         * lyxfunc.h: forward declare LyXKeySym rather than
3794         #include "frontends/LyXKeySym.h".
3795
3796         * BufferView_pimpl.C:
3797         * kbmap.C:
3798         * kbsequence.C:
3799         * lyxfunc.C: associated changes.
3800
3801 2003-09-06  Angus Leeming  <leeming@lyx.org>
3802
3803         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3804         As a result, can remove the #include "insets/inset.h" from BufferView.h
3805
3806 2003-09-06  Angus Leeming  <leeming@lyx.org>
3807
3808         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3809         As a result, can remove the #include "insets/inset.h" from BufferView.h
3810
3811 2003-09-06  Angus Leeming  <leeming@lyx.org>
3812
3813         * buffer_funcs.C:
3814         * buffer.h:
3815         * bufferlist.C:
3816         * BufferView.C:
3817         * bufferview_funcs.C:
3818         * BufferView_pimpl.C:
3819         * CutAndPaste.C:
3820         * lyx_cb.C:
3821         * lyxfunc.C:
3822         * paragraph.h:
3823         * ParagraphParameters.C:
3824         * tabular.C:
3825         * text3.C:
3826         * toc.C:
3827         * undo_funcs.C:
3828         * frontends/controllers/ControlDocument.C:
3829         * insets/insetcaption.C: rearrange the #includes into some sort of
3830         coherent order.
3831
3832         * buffer.h: remove #includes ErrorList.h, undo.h
3833
3834 2003-09-06  Angus Leeming  <leeming@lyx.org>
3835
3836         * support/types.h: add a 'depth_type' typedef, used to store the
3837         nesting depth of a paragraph.
3838
3839         * paragraph.h:
3840         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3841         defining explicitly.
3842
3843         * buffer.h:
3844         * paragraph_funcs.h:
3845         * ParagraphParameters.h:
3846         * sgml.h: use lyx::depth_type rather than Paragraph or
3847         ParameterStruct's depth_type.
3848
3849         * buffer.h
3850         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3851
3852         * BufferView.C:
3853         * BufferView_pimpl.C:
3854         * CutAndPaste.C:
3855         * ParagraphParameters.C:
3856         * buffer_funcs.C:
3857         * bufferlist.C:
3858         * bufferview_funcs.C:
3859         * lyx_cb.C:
3860         * lyxfunc.C:
3861         * tabular.C:
3862         * text3.C:
3863         * toc.C:
3864         * undo_funcs.C:
3865         * frontends/LyXView.C:
3866         * frontends/controllers/ControlDocument.C:
3867         * frontends/controllers/ControlErrorList.C:
3868         * insets/insetbibitem.C:
3869         * insets/insetbranch.C:
3870         * insets/insetcaption.C:
3871         * insets/insetcollapsable.C:
3872         * insets/insetenv.C:
3873         * insets/insetert.C:
3874         * insets/insetfloat.C:
3875         * insets/insetfoot.C:
3876         * insets/insetfootlike.C:
3877         * insets/insetnewline.C:
3878         * insets/insetquotes.C:
3879         * insets/insettabular.C:
3880         * insets/insettext.C:
3881         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3882
3883         * frontends/controllers/ControlChanges.C: #include "changes.h".
3884
3885 2003-09-06  Angus Leeming  <leeming@lyx.org>
3886
3887         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3888         than #including paragraph.h.
3889
3890         * ParagraphList.h:
3891         * RowList.h: deleted. Superfluous.
3892
3893         * CutAndPaste.h:
3894         * iterators.h:
3895         * lyxcursor.h:
3896         * lyxtext.h:
3897         * text_funcs.h:
3898         * undo.h:
3899         * undo_funcs.h:
3900         * insets/inset.h:
3901         * insets/insettext.h: use ParagraphList_fwd.h rather than
3902         ParagraphList.h.
3903
3904         * paragraph.h: don't forward declare ParagraphList.
3905
3906         * buffer.h:
3907         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3908         rather than ParagraphList.h. paragraph.h is still needed for the
3909         Paragraph::depth_type parameters.
3910
3911         * textcursor.h: enable it to compile stand-alone in light of the
3912         above changes.
3913
3914         * bufferview_funcs.C:
3915         * iterators.C:
3916         * lyxfunc.C:
3917         * lyxrow_funcs.C:
3918         * paragraph.C:
3919         * rowpainter.C:
3920         * text.C:
3921         * text2.C:
3922         * text3.C:
3923         * text_funcs.C:
3924         * textcursor.C:
3925         * undo.C:
3926         * frontends/controllers/ControlParagraph.C:
3927         * frontends/controllers/ControlTabular.C:
3928         * insets/insetmarginal.C:
3929         * insets/insetminipage.C:
3930         * insets/insetnote.C:
3931         * insets/insetoptarg.C: add header files needed to compile again.
3932
3933 2003-09-06  Angus Leeming  <leeming@lyx.org>
3934
3935         * RowList_fwd.h: new file, forward-declaring Row rather than
3936         #including lyxrow.h.
3937
3938         * lyxrow_funcs.h:
3939         * lyxtext.h:
3940         * paragraph.h:
3941         * insets/insettext.h: use it instead of RowList.h
3942
3943         * bufferview_funcs.C:
3944         * lyxfunc.C:
3945         * lyxrow_funcs.C:
3946         * paragraph.C:
3947         * rowpainter.C:
3948         * text.C:
3949         * text2.C:
3950         * text3.C: #include "RowList.h".
3951
3952 2003-09-05  Angus Leeming  <leeming@lyx.org>
3953
3954         * factory.C (createInset):
3955         * vspace.C (c-tor): replace sscanf call with an istringstream.
3956         * ispell.C: re-add missing HP/UX headers.
3957         * lyxserver.C: re-add missing  os2 headers.
3958
3959 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3960
3961         * BranchList.C:
3962         * graph.C:
3963         * ispell.C:
3964         * lastfiles.C:
3965         * lyx_cb.C:
3966         * lyxserver.C:
3967         * texrow.C:
3968         * text3.C: re-add missing system headers, needed for 2.95.2.
3969
3970 2003-09-05  Angus Leeming  <leeming@lyx.org>
3971
3972         Changes most place everywhere due to the removal of using directives
3973         from support/std_sstream.h.
3974
3975 2003-09-05  Angus Leeming  <leeming@lyx.org>
3976
3977         Replace LString.h with support/std_string.h,
3978         Lsstream.h with support/std_sstream.h,
3979         support/LIstream.h with support/std_istream.h,
3980         support/LOstream.h with support/std_ostream.h.
3981
3982         Changes resulting throughout the tree.
3983
3984 2003-09-05  Angus Leeming  <leeming@lyx.org>
3985
3986         * sgml.h: ensure that the header file can be compiled stand-alone.
3987         * *.C: strip out redundant #includes. (320 in total.)
3988
3989 2003-09-04  Angus Leeming  <leeming@lyx.org>
3990
3991         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3992         here (from getPackages).
3993
3994         * debug.[Ch]: add a new EXTERNAL tag.
3995
3996 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3997
3998         * text2.C (cursorEnd): simplify
3999         (setCursor): adjust
4000         (getColumnNearX): adjust
4001
4002         * text.C (computeBidiTables): adjust
4003         (fill): adjust
4004
4005         * rowpainter.C (paintChars): adjust
4006         (paintSelection): adjust
4007         (paintChangeBar): adjust
4008         (paintText): adjust
4009
4010         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4011         lastPos instead.
4012         (numberOfSeparators): adjust
4013
4014 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4015
4016         * LyXAction.C:
4017         * box.[Ch]:
4018         * lfuns.h:
4019         * lyxfunc.C:
4020         * text3.C: Restricts the mouse click functionality
4021         of insets like bibtex, include, toc and floatlist to the visible
4022         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4023         up the dialogs. Cursor has to be in front of the inset (i.e.
4024         start of row) for this to function.
4025
4026 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4027
4028         * bufferview_funcs.C (currentState): output row information
4029
4030 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4031
4032         * bufferview_funcs.C (currentState): output paragraph position
4033
4034 2003-09-04  Angus Leeming  <leeming@lyx.org>
4035
4036         * FloatList.h: move out #include "Floating.h".
4037         * LaTeX.h: move out #include "DepTable.h".
4038         * LyXAction.h: move out #include "funcrequest.h".
4039         * buffer.h: move out #include "author.h", "iterators.h".
4040         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4041         * lyx_main.h: move out #include "errorlist.h".
4042         * lyxfunc.h: move out #include "FuncStatus.h".
4043         * lyxtext: move out #include "lyxcursor.h".
4044         * paragraph_pimpl.h: move out #include "counters.h".
4045
4046 2003-09-03  Angus Leeming  <leeming@lyx.org>
4047
4048         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4049         preamble_snippets list, enabling us to add snippets to the preamble
4050         only if the snippet was not there already.
4051
4052 2003-09-04  Angus Leeming  <leeming@lyx.org>
4053
4054         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4055
4056 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4057
4058         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4059         update
4060
4061 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4062
4063         * BranchList.C: point fix, earlier forgotten
4064
4065 2003-09-02  Angus Leeming  <leeming@lyx.org>
4066
4067         * box.C (contains): renamed from 'contained' after a fantastic
4068         amount of hot air.
4069
4070 2003-09-02  John Levon  <levon@movementarian.org>
4071
4072         * BufferView.C:
4073         * lyxcursor.h:
4074         * lyxcursor.C:
4075         * lyxfunc.C:
4076         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4077
4078 2003-09-02  John Levon  <levon@movementarian.org>
4079
4080         * text2.C: simplification of cursorEnd(), including partial
4081         fix for bug 1376
4082
4083 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4084
4085         * buffer.C (readFile): add a space
4086
4087 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4088
4089         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4090
4091 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4092
4093         * buffer.C (readFile): new function, take a filename and a
4094         ParagraphList::iterator
4095         (readFile): adjust
4096         (readFile): adjust, make it private. don't use setStream, make
4097         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4098         always contain the filename.
4099
4100         * BufferView.C (insertLyXFile): simplify and make it work for
4101         gzipped files.
4102
4103 2003-08-30  John Levon  <levon@movementarian.org>
4104
4105         * Makefile.am: fix dist (from Kayvan)
4106
4107 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4108
4109         * most files: change to use const Buffer refs
4110
4111 2003-08-27  André Pönitz  <poenitz@gmx.net>
4112
4113         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4114         on top of ownerPar().
4115
4116 2003-08-27  John Levon  <levon@movementarian.org>
4117
4118         * funcrequest.C: properly initialise POD members
4119
4120 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4121
4122         * lyxtext.h (top_y): move top_y from here
4123         * text.C:
4124         * text2.C:
4125         * text3.C:
4126         * BufferView.[Ch]:
4127         * BufferView_pimpl.[Ch]: to here
4128         * frontends/screen.C:
4129         * insets/insettabular.C:
4130         * insets/insettext.C: adjust
4131         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4132
4133 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4134
4135         * BufferView.[Ch]:
4136         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4137
4138 2003-08-26  André Pönitz  <poenitz@gmx.net>
4139
4140         * paragraph_func.[Ch] (outerPar): new function
4141
4142         * paragraph.C:
4143         * paragraph_funcs.C:
4144         * paragraph_funcs.h:
4145         * paragraph_pimpl.C:
4146         * text2.C: remove Inset::par_owner
4147
4148 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4149
4150         * lyxrow_funcs.C:
4151         * lyxtext.h:
4152         * text.C:
4153         * text2.C: eliminates the needFullRow/display() stuff
4154         altogether, putting the logic in metrics/draw in the insets.
4155
4156 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4157
4158         * text2.C (redoParagraphInternal, redoParagraphs):
4159         * text.C (redoParagraph): add a call to updateRowPositions at the
4160         end of each 'metrics-like' call. Remove all others.
4161         (getRow): remove the 'y-computing' version.
4162         (getRowNearY): do not compute nor return the real y. Solve the
4163         'y < 0' problem and simplify.
4164
4165 2003-08-22  Angus Leeming  <leeming@lyx.org>
4166
4167         * *.[Ch]: clean-up of licence and author blurbs.
4168         Also move config.h out of a few .h files and into a few .C files.
4169
4170 2003-08-22  André Pönitz  <poenitz@gmx.net>
4171
4172         * lyxrow.[Ch]: add x_ and *fill_ members
4173
4174         * lyxtext.h:
4175         * text.C:
4176         * rowpainter.C:
4177         * text2.C: adjust/remove prepareToPrint() calls
4178
4179 2003-08-22  André Pönitz  <poenitz@gmx.net>
4180
4181         * lyxrow.[Ch]: add  end_ member
4182
4183         * lyxrow_funcs.C: use LyXRow::end_
4184
4185         * lyxtext.h (singleWidth): add LyXFont parameter
4186
4187         * rowpainter.C:
4188         * text2.C: adjust LyXText::singleWidth() calls
4189
4190         * text.C (redoParagraph): simplify row breaking logic
4191
4192
4193 2003-08-19  André Pönitz  <poenitz@gmx.net>
4194
4195         * funcrequest.C: initialize button_ member
4196
4197         * text3.C:
4198         * rowpainter.[Ch]: interface consolidation
4199
4200 2003-08-18  André Pönitz  <poenitz@gmx.net>
4201
4202         * BufferView.C:
4203         * BufferView_pimpl.C:
4204         * lyxfind.C:
4205         * paragraph_funcs.C:
4206         * rowpainter.C:
4207         * text3.C: remove LyXScreen::draw() and fitCursor calls
4208
4209         * BranchList.h: remove spurious semicolons
4210
4211         * MenuBackend.C: fix branchlist related crash
4212
4213 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4214
4215         * BranchList.[Ch]:
4216         * InsetList.[Ch]:
4217         * LColor.[Ch]:
4218         * LyXAction.C:
4219         * Makefile.am:
4220         * MenuBackend.[Ch]:
4221         * bufferparams.[Ch]:
4222         * factory.C:
4223         * lfuns.h:
4224         * lyxfunc.C:
4225         * text3.C: implements the 'branch inset'
4226         idea. This allows the output of various versions of a document
4227         from a single source version, selectively outputing or suppressing
4228         output of parts of the text.
4229         This implementation contains a 'branch list editor' in a separate
4230         tab of the document settings dialog. Branches are user definable
4231         and have a "display colour" to distinguish them on-screen.
4232
4233         ColorHandler was somewhat cleaned up.
4234         (1) make possible a dynamically growing LColor list by allowing
4235         the graphic context cache to grow along (vector);
4236         (2) eliminate an IMHO unnecessary step in colour allocation.
4237
4238 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4239
4240         * BufferView_pimpl.C: compile fix
4241
4242 2003-08-15  André Pönitz  <poenitz@gmx.net>
4243
4244         * rowpainter.C: remove extra metrics calls
4245
4246         * lyxtext.h: merge the two constructors into a single one,
4247           pass reference to owner's par list
4248
4249         * BufferView_pimpl.C:
4250         * text.C:
4251         * text2.C: adjust
4252
4253 2003-08-15  André Pönitz  <poenitz@gmx.net>
4254
4255         * lyxrow_funcs.[Ch]:
4256         * lyxtext.h:
4257         * paragraph.h:
4258         * paragraph_funcs.C:
4259         * rowpainter.C:
4260         * text.C:
4261         * text2.C:
4262         * text3.C:
4263         * text_funcs.C: split LyXText::rowlist_ into individual
4264         Paragraph::rows_ chunks
4265
4266         * BufferView.[Ch]:
4267         * BufferView_pimpl.[Ch]:
4268         * lyxfind.C:
4269         * lyxtext.h:
4270         * text3.C: remove toggleSelection()
4271
4272 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4273
4274         * bufferlist.C: beautify two alerts (shorter text of buttons)
4275         * buffer.C: Remove redundant ' ' from message
4276         * tabular.h:
4277         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4278         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4279         rename VALIGN_CENTER to VALIGN_MIDDLE
4280
4281 2003-08-11  André Pönitz  <poenitz@gmx.net>
4282
4283         * lyxtext.h (getPar):
4284         * text.C: new function
4285
4286 2003-08-11  André Pönitz  <poenitz@gmx.net>
4287
4288         * Makefile.am:
4289         * tracer.[Ch]: remove unneeded files
4290
4291         * InsetList.[Ch]: remove resizeInsetsLyXText()
4292
4293         * lyxtext.h:
4294         * text.C:
4295         * text2.C:
4296         * text3.C: merge insertParagraphs() and appendParagraph()
4297         remove breakAgain(), update()
4298
4299         * BufferView_pimpl.[Ch]:
4300         * bufferview_funcs.[Ch]:
4301         * lyxfunc.C:
4302         * paragraph.[Ch]:
4303         * rowpainter.C:
4304         * tabular.C: adjust after text & InsetList changes.
4305
4306 2003-08-08  André Pönitz  <poenitz@gmx.net>
4307
4308         * text.C (insertChar, backspace): replace rowlist fiddling
4309         with rebreak of full par
4310
4311         * lyxtext.h:
4312         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4313         checkParagraph, updateInset): removed
4314
4315 2003-08-07  André Pönitz  <poenitz@gmx.net>
4316
4317         * paragraph.C:
4318         * text3.C: merge some LFUN handlers, remove dead code
4319
4320 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4321
4322         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4323
4324 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4325
4326         * text2.C (DEPM): fix part of bug 1255 and 1256
4327
4328 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4329
4330         * BufferView_pimpl.C (workAreaDispatch): change to use
4331         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4332         that are no mouse related.
4333
4334 2003-08-05  André Pönitz  <poenitz@gmx.net>
4335
4336         * BufferView.[Ch]:
4337         * BufferView_pimpl.[Ch]:
4338         * bufferview_funcs.C:
4339         * text2.C:
4340         * text3.C: rip out "deep update"
4341
4342         * textcursor.[Ch] (last_sel_cursor): remove unused member
4343
4344 2003-08-04  André Pönitz  <poenitz@gmx.net>
4345
4346         * BufferView.[Ch]:
4347         * BufferView_pimpl.[Ch]:
4348         * ParagraphParameters.C:
4349         * bufferview_funcs.C:
4350         * lyx_cb.C:
4351         * lyxfind.C:
4352         * lyxfunc.C:
4353         * text.C:
4354         * text2.C:
4355         * text3.C: replace "complicated" BufferView::update(...) calls with
4356         simpler ones.
4357
4358         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4359
4360 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4361
4362         * Makefile.am (lyx_SOURCES): add paper.h
4363
4364 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4365
4366         * Makefile.am: move things around so that both lyx-qt and
4367         lyx-xforms can be built (according to --with-frontend). Then lyx
4368         is a symbolic link to lyx-[firstfrontend]
4369
4370 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4371
4372         * Always use std::endl with lyxerr
4373
4374 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4375
4376         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4377
4378 2003-08-01  André Pönitz  <poenitz@gmx.net>
4379
4380         * BufferView.[Ch]:
4381         * BufferView_pimpl.[Ch]:
4382         * lyxfunc.C:
4383         * text3.C: merge BufferView::repaint() and BufferView::update()
4384
4385 2003-08-01  José Matos  <jamatos@lyx.org>
4386
4387         * buffer.[Ch]: file_format is no longer a buffer data element.
4388
4389 2003-08-01  André Pönitz  <poenitz@gmx.net>
4390
4391         * BufferView.C:
4392         * lyxtext.h:
4393         * text.C:
4394         * text2.C: make redoParagraph more independent of current cursor
4395
4396         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4397         * text.C:
4398         * text2.C: remove unneeded members
4399
4400 2003-07-30  André Pönitz  <poenitz@gmx.net>
4401
4402         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4403
4404         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4405           create a single function...
4406
4407         * paragraph_funcs.C (moveItem): ... here.
4408
4409         * text.C:
4410           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4411
4412 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4413
4414         * LColor.[Ch]: Add comment and greyedout logical colors.
4415
4416 2003-07-30  André Pönitz  <poenitz@gmx.net>
4417
4418         * tabular.C: don't use Assert too heavily. This crashes where it
4419           shouldn't
4420
4421 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4422
4423         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4424         is disabled (bug 1232)
4425
4426 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4427
4428         * factory.C: limited 'arg' scope
4429
4430 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4431
4432         * factory.C: fixed Note submenu issues
4433
4434 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4435
4436         * factory.C: submenu for Note/Comment/Greyedout
4437
4438 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4439
4440         * lyx_main.C (LyX):
4441         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4442
4443 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4444
4445         * LaTeXFeatures.C:
4446         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4447         greyedout. Patch provided by Jürgen Spitzmüller.
4448
4449 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4450
4451         * kbmap.C (read): fix error message when reading bind files
4452
4453 2003-07-29  Angus Leeming  <leeming@lyx.org>
4454
4455         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4456         certainly does not do what it purports to do. I am doing it, and
4457         us, a favour by killing it.
4458
4459 2003-07-28  José Matos  <jamatos@lyx.org>
4460
4461         * buffer.C (readBody, do_writeFile):
4462         * paragraph.C(readParagraph): \end_document replaces \the_end.
4463
4464 2003-07-29  André Pönitz  <poenitz@gmx.net>
4465
4466         * BufferView.[Ch]:
4467         * BufferView_pimpl.[Ch]:
4468         * lyxfunc.C:
4469         * text2.C:
4470         * text3.C:
4471         * textcursor.[Ch]: remove toggleToggle & Co
4472
4473 2003-07-28  José Matos  <jamatos@fep.up.pt>
4474
4475         * buffer.C (readParagraph):
4476         * params_func (readParToken, readParagraph):
4477         * paragraph.C (write): \layout -> \begin_layout.
4478
4479 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4480
4481         * lyxlex_pimpl.C (setFile): clean up slightly.
4482
4483         * bufferparams.h: add compressed var
4484
4485         * buffer_funcs.C (readFile): adjust for LyXLex change
4486         (newFile): ditto + simplify
4487
4488         * buffer.C (writeFile): handle writing of compressed files
4489
4490         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4491         Check if the file is compressed and set a bufferparm if so.
4492
4493         * Makefile.am (lyx_LDADD): remove explicit -lz
4494
4495 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4496
4497         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4498         makeDocBookFile): put the real LyX version in the first line of
4499         the file
4500
4501         * version.h:
4502         * version.C.in: remove lyx_docversion
4503
4504         * tabular.C (write_attribute): add a template-based version to
4505         write enums properly
4506
4507 2003-07-28  André Pönitz  <poenitz@gmx.net>
4508
4509         * lyxtext.h:
4510         * text.C:
4511         * text2.C:
4512         * text3.C: use doubles again for x-coordinates. They are needed.
4513
4514 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4515
4516         * messages.C (getLocaleDir): use lyx_localedir()
4517
4518         * lyxlex_pimpl.C (setFile): compress stuff
4519
4520         * buffer.C (writeFile): add some compression stuff
4521         (do_writeFile): new func, dont call expliti close... will this
4522         breake anything?
4523
4524         * Makefile.am (lyx_LDADD): add -lz
4525
4526 2003-07-28  José Matos  <jamatos@fep.up.pt>
4527
4528         * buffer.C: increment file format.
4529         * paragraph_funcs (readParagraph, readParToken):
4530         * paragraph.C (readParagraph): add \end_layout.
4531
4532 2003-07-27  Angus Leeming  <leeming@lyx.org>
4533
4534         * Makefile.am: remove special casing for configure-time setting of
4535         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4536
4537         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4538         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4539
4540 2003-07-26  André Pönitz  <poenitz@gmx.net>
4541
4542         * paragraph_func.[Ch]:
4543         * paragraph.C (realizeFont): inline it whereever it is used
4544
4545         * rowpainter.C:
4546         * text.C:
4547         * text2.C:
4548         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4549
4550
4551 2003-07-26  André Pönitz  <poenitz@gmx.net>
4552
4553         *       lyxtext.h:
4554         * text.C:
4555         * text2.C: get rid of LyXText::need_break_row
4556
4557 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4558
4559         * toc.[Ch]: put namespace toc inside namespace lyx
4560
4561         * MenuBackend.C (expandToc2): adjust for lyx::toc
4562         (expandToc): ditto
4563
4564         * lyxfunc.C (dispatch): adjust for lyx::find
4565
4566         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4567         lyx::find instead. Reorganize a bit.
4568         (LyXReplace): rename to replace
4569         (LyXFind): rename to find
4570
4571         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4572         (dispatch): ditto
4573
4574 2003-07-26  André Pönitz  <poenitz@gmx.net>
4575
4576         * text.C (setHeightOfRow): restrict scope of temporary variable
4577
4578         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4579           code (never has been used?)
4580
4581 2003-07-27  Asger Alstrup  <alstrup@local>
4582
4583         * text.C (fill): Optimise algorithm to exploit that we can reuse
4584         the LyXFont for many characters.
4585         (setHeightOfRow): Same thing.
4586         (rowBreakPoint): Same thing.
4587
4588 2003-07-26  Asger Alstrup  <alstrup@local>
4589
4590         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4591
4592         * text.C (singleWidth): Spurious font copying in hot-spot
4593         singleWidth avoided. Reorder tests for arabic for efficiency.
4594
4595         * text.C (fill): handle empty paragraphs better.
4596
4597 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4598
4599         * ispell.C:
4600         * encoding.h: add includes
4601
4602         * lyxrc.C: remove reading of bind files
4603
4604         * lyx_main.C (init): setup bindings and menus only if we have a
4605         gui.
4606
4607         * kbmap.C (read): new method. Do the actual reading of bind
4608         files.
4609
4610         * converter.C (dvipdfm_options):
4611         * bufferparams.C:
4612         * lyxrc.C (read):
4613         (output): adapt PAPER_* enums.
4614
4615         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4616
4617         * bufferparams.h: remove paper-related enums from there
4618
4619         * paper.h: New file. A trivial header file to hold paper-related
4620         enums. It should later expand to contain many paper-related
4621         horrors access.
4622
4623         * lyxrc.C: declare extern displayTranslator
4624
4625 2003-07-27  José Matos  <jamatos@fep.up.pt>
4626
4627         * tabular.[Ch] (linuxdoc): add support for tables and figures
4628         (linuxdoc).
4629
4630 2003-07-27  José Matos  <jamatos@fep.up.pt>
4631
4632         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4633         consistency in both functions.
4634         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4635
4636 2003-07-26  Asger Alstrup  <alstrup@local>
4637
4638         * rowpainter.C (paintRows): Change algorithm to work directly on
4639         the insets rather than asking every character in the document
4640         whether its an inset.
4641
4642 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4643
4644         * buffer.C (openFileWrite): factorize some code
4645
4646 2003-07-26  Angus Leeming  <leeming@lyx.org>
4647
4648         * lyx_cb.C:
4649         * lyx_main.[Ch]: replace occurances of system_tempdir with
4650         os::getTmpDir().
4651
4652 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4653
4654         * rename Inset to InsetOld
4655
4656 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4657
4658         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4659         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4660         which I think is a bit clearer. EDIT is gone, since it was
4661         premature optimisation, and broken for mathed anyway.
4662         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4663         with cursor positioning in insets as well (math insets still do not
4664         work, but that's a different story anyway.) It mysteriously
4665         crashes sometimes with undo in the first paragraph, but I'm fairly
4666         confident that this is a compiler bug.
4667
4668 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4669
4670         * paragraph.C (Paragraph): adjust for new clone return type
4671         (operator==): ditto
4672         (copyIntoMinibuffer): ditto
4673
4674 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4675
4676         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4677         by not having a special case, and always doing a full rebreak of
4678         the document after undo.
4679
4680 2003-07-23  Angus Leeming  <leeming@lyx.org>
4681
4682         * factory.C (createInset): InsetExternal::setParams now takes a
4683         Buffer const * arg.
4684
4685 2003-07-23  Angus Leeming  <leeming@lyx.org>
4686
4687         * factory.C (createInset): changed interface to the external and
4688         graphics mailers' string2params functions.
4689
4690 2003-07-23  Angus Leeming  <leeming@lyx.org>
4691
4692         * factory.C (createInset): pass a
4693         Buffer const * parameter to InsetExternalMailer's string2params.
4694
4695 2003-07-22  John Levon  <levon@movementarian.org>
4696
4697         * Thesaurus.h: include the right aiksaurus header
4698
4699 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4700
4701         * MenuBackend.C (expand): check menu shortcuts unconditionally
4702
4703 2003-07-21  Angus Leeming  <leeming@lyx.org>
4704
4705         * factory.C (createInset): pass a
4706         buffer_path parameter to InsetGraphicsMailer's string2params.
4707
4708 2003-07-21  Angus Leeming  <leeming@lyx.org>
4709
4710         * BufferView_pimpl.C (buffer):
4711         * buffer.C (d-tor):
4712         * lyx_main.C (LyX):
4713         * lyxfunc.C (dispatch):
4714         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4715         rather than the grfx shortcut.
4716
4717 2003-07-21  André Pönitz  <poenitz@gmx.net>
4718
4719         * rowpainter.C: remove unused variables
4720
4721         * tabular_funcs.C:
4722         * tabular_funcs.h: move to tabular.C
4723         * Makefile.am: adjust
4724
4725         * tabular.[Ch]: basic optical cleaning
4726
4727         * author.h: pass references, not values
4728
4729 2003-07-18  André Pönitz  <poenitz@gmx.net>
4730
4731         * lyxtext.h:
4732         * metricsinfo.C:
4733         * metricsinfo.h:
4734         * rowpainter.C:
4735         * text.C:
4736         * text2.C:
4737         * text3.C: two-phase drawing for InsetText and InsetTabular
4738         some float -> int changes.
4739
4740 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4741
4742         * lyx_main.C: fix the fix
4743
4744 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4745
4746         * lyx_main.C: fix a crash in batch mode if no files specified
4747         * converter.C: ws
4748
4749 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4750
4751         * format.[Ch] (papersize): moved to BufferParams
4752         * converter.[Ch] (dvips_options): moved to BufferParams
4753         (dvipdfm_options): moved to anon namespace
4754         * bufferparams.[Ch]: added above functions.
4755
4756 2003-07-17  André Pönitz  <poenitz@gmx.net>
4757
4758         * lyxtext.h:
4759         * rowpainter.C:
4760         * text2.C: don't call inset->update() anymore
4761
4762         * metricsinfo.[Ch]: add convenience constructor
4763
4764 2003-07-16  André Pönitz  <poenitz@gmx.net>
4765
4766         * lyxcursor.[Ch]:
4767         * lyxfunc.[Ch]:
4768         * text.C:
4769         * text2.C: replace the LyXCursor::irow_ member with
4770          on-demand computation of the value
4771
4772 2003-07-16  John Levon  <levon@movementarian.org>
4773
4774         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4775
4776 2003-07-15  André Pönitz  <poenitz@gmx.net>
4777
4778         * text.C:
4779         * text2.C: remove no more needed refresh_row
4780
4781 2003-07-15  André Pönitz  <poenitz@gmx.net>
4782
4783         * lyxtext.h:
4784         * rowpainter.C:
4785         * text2.C:
4786         * text3.C: refresh_status tristate -> need_update bool
4787
4788 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4789
4790         * lyxtext.h (init): remove reinit argument (act as if always true)
4791         * text2.C: adjust to that
4792
4793 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4794
4795         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4796         * text3.C: use it to delete selections in some cases
4797         (bugs 441, 673, 702, 954).
4798
4799 2003-07-14  André Pönitz  <poenitz@gmx.net>
4800
4801         * rowpainter.[Ch]: reduce interface
4802
4803 2003-07-14  André Pönitz  <poenitz@gmx.net>
4804
4805         * BufferView_pimpl.C:
4806         * text2.C: adjust after removing unused BufferView * argument
4807
4808 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4809
4810         * text2.C (init): fix a crash fired on resize
4811
4812 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4813
4814         * buffer.[Ch]: added new closing signal
4815         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4816         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4817         BufferView::Pimpl via the closing the signal
4818
4819 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4820
4821         * buffer.[Ch]: take out all bv-related from buffer
4822         * BufferView.C:
4823         * BufferView_pimpl.[Ch]: connect to new signals
4824         * CutAndPaste.C: removed useless asserts
4825         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4826         * lyxvc.[Ch]:
4827         * vc-backend.[Ch]:
4828         * lyxfunc.C: moved view-related funciontality from vc here
4829         * paragraph.C: removed outdated comments
4830         * text.C: ws
4831
4832 2003-07-10  André Pönitz  <poenitz@gmx.net>
4833
4834         * BufferView_pimpl.C:
4835         * tabular.h:
4836         * tabular_funcs.C:
4837         * text.C:
4838         * text2.C: remove InsetText::InnerCache, clean up consequences
4839
4840 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4841
4842         * ispell.C: fix two typos in error messages
4843
4844 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4845
4846         * Extend Note inset to other forms of annotation like Comment
4847         and Greyedout. Right button click gives dialog.
4848
4849         Files modified or added (+):
4850
4851         * insetnote.[Ch]
4852         * FormNote.[Ch]      +
4853         * ControlNote.[Ch]   +
4854         * form_note.fd       +
4855         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4856         frontends/controllers
4857         * xforms/Dialogs.C
4858         * factory.C
4859
4860 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4861
4862         * aspell.C: add missing namespace lyx::support
4863
4864 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4865
4866         * BufferView.[Ch] (newFile): Add
4867         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4868         * LaTeX.[Ch] (message): added this signal and use it
4869         * buffer.[Ch] (busy, message): added these signals and use them
4870         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4871         * converter.C:
4872         * exporter.C:
4873         * format.C:
4874         * importer.C: use buffer signals instead of direct bv calling
4875         * lyx_cb.[Ch] (ShowMessage): removed
4876         * lyx_main.C:
4877         * lyxfunc.C:
4878         * paragraph_funcs.C:
4879         * text2.C: use buffer signals
4880
4881 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4882
4883         * introduce namespace lyx::graphics
4884
4885 2003-07-02  André Pönitz  <poenitz@gmx.net>
4886
4887         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4888
4889 2003-07-01  André Pönitz  <poenitz@gmx.net>
4890
4891         * text.C:
4892         * text2.C:
4893         * text3.C:
4894         * text_funcs.[Ch]:
4895         * textcursor.h:
4896         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4897           text*.C to text_func.C
4898
4899 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4900
4901         * introduce namespace lyx::support
4902
4903 2003-06-30  André Pönitz  <poenitz@gmx.net>
4904
4905         * Chktex.C:
4906         * funcrequest.C:
4907         * lyxtext.h:
4908         * text.C: re-enable --with-included-string
4909
4910 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4911
4912         * textcursor.C: add <config.h>
4913
4914         * text.C (getWord): remove const from word_location arg
4915
4916         * lyxvc.C (getLogFile): fix const type order
4917
4918         * lyxtext.h: remove const from word_location arg, add arg name
4919
4920         * lyxlayout.h: currect type on labeltype.
4921
4922         * importer.C: correct \file
4923
4924         * converter.C (intToFormat): use std:: on ret val, ws changes
4925
4926         * bufferlist.h: correct \file
4927
4928         * buffer.C (makeLinuxDocFile): fix const type order
4929         (makeDocBookFile): ditto
4930         (fillWithBibKeys): use std:: on stdlib args.
4931
4932         * CutAndPaste.C: fix authors.
4933         (availableSelections): use std:: on return vector
4934
4935 2003-06-27  André Pönitz  <poenitz@gmx.net>
4936
4937         * BufferView_pimpl.C:
4938         * bufferview_funcs.C:
4939         * lyxcursor.C:
4940         * lyxcursor.h:
4941         * lyxfunc.C:
4942         * lyxtext.h:
4943         * rowpainter.C:
4944         * text.C:
4945         * text2.C:
4946         * text3.C: remove LyXCursor::row_ member
4947
4948         * lyxtext.h:
4949         * text.C: rename fullRebreak() to partialRebreak() and implement
4950           a fullRebreak() that really bereks fully
4951
4952         * textcursor.h: new struct for cursor-related data
4953
4954 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4955
4956         * lyx_main.C (LyX): get full path of document loaded on the
4957         command line
4958
4959 2003-06-26  André Pönitz  <poenitz@gmx.net>
4960
4961         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4962           remove unused/broken operator>,<,>=.
4963
4964         *       text.C: remove only use of broken operator<= in an Assert().
4965
4966 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4967
4968         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4969         moved errorlist_.clear to showErrorList
4970
4971 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4972
4973         * converter.C (scanLog, runLaTeX):
4974         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4975         move the bv->showErrorList call to the callers
4976         * lyxfunc.C: i.e. here...
4977         * text2.C: and here
4978         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4979         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4980         namespace, the second to...
4981         * buffer_funcs (BufferFormat, parseErrors): added
4982         * errorlist.C (ErrorList(TeXErrors const &)): removed
4983
4984 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4985
4986         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4987
4988 2003-06-24  "Garst R. Reese" <reese@isn.net>
4989
4990         * debug.C: fix typo
4991
4992 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4993
4994         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4995
4996         * version.C.in: change docversion to 1.4
4997
4998 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4999
5000         * buffer.C: fix a bug just introduced
5001
5002 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5003
5004         * buffer.[Ch]: added the parseError signal and use it, removed
5005         sgmlError
5006         * BufferView.[Ch] (addError): moved to ...
5007         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5008         to the Buffer::parseError signal to catch (guess what) parse errors
5009         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5010
5011 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5012
5013         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5014         ability to create a buffer and to return an existing one from
5015         the list. Moved these functions to...
5016         * buffer_funcs.[Ch]: added
5017         * BufferView.[Ch] (loadLyXFile): added
5018         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5019         job removed from bufferlist::loadLyXFile.
5020         * buffer.C (setReadOnly): make it work without view
5021         (i.e added an if (users))
5022
5023 2003-06-19  Angus Leeming  <leeming@lyx.org>
5024
5025         * lfuns.h:
5026         * LyXAction.C (init):
5027         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5028         with LFUN_DIALOG_SHOW <name> <data>.
5029
5030 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5031
5032         * CutAndPaste.C (availableSelections): small compilation fix for
5033         ancient (gcc 2.9x) compilers
5034
5035 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5036
5037         * text3.C (cursorNext): add tmp var
5038
5039         * text2.C (updateCounters): for function calling out of for clause
5040         (replaceSelectionWithString): ditto
5041         (insertStringAsParagraphs): ditto
5042         (getColumnNearX): add tmp var
5043         (setCursorFromCoordinates): add tmp var
5044         (cursorDownParagraph): add tmp var
5045         (deleteEmptyParagraphMechanism): add tmp var
5046
5047         * text.C (insertChar): add tmp var
5048
5049         * rowpainter.C (paintDepthBar): add tmp var
5050
5051         * CutAndPaste.C (availableSelections): potentially check all
5052         paragraphs in a cut to fill the shown strings.
5053
5054 2003-06-18  André Pönitz  <poenitz@gmx.net>
5055
5056         * kbmap.[Ch]: use vector<> instead of list<>
5057
5058 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5059
5060         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5061         pasteSelection with index
5062
5063         * text2.C (pasteSelection): modify, call pasteSelection with index
5064
5065         * paragraph.C (asString): reimplement version with no interval to
5066         call the one with interval.
5067
5068         * lyxtext.h: add index arg to pasteSelection
5069
5070         * MenuBackend.C (MenuItem): handle PasteRecent
5071         (Menu::read::Menutags): add md_pasterecent
5072         (read): handle it
5073         (expandPasteRecent): new function
5074         (expand): use it
5075
5076         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5077
5078         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5079         the limited stack
5080         (availableSelections): new function
5081
5082 2003-06-17  Angus Leeming  <leeming@lyx.org>
5083
5084         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5085
5086 2003-06-17  Angus Leeming  <leeming@lyx.org>
5087
5088         * lfuns.h:
5089         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5090
5091         * lyxfunc.C (dispatch): invoke it.
5092
5093 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5094
5095         * iterators.C (operator++, ParPosition): reintroduce some
5096         const_cast for the benefit of older compilers.
5097
5098 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5099
5100         * text3.C (dispatch): do not modify clipboard when doing
5101         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5102         LFUN_DELETE_SKIP on a selection selection
5103
5104 2003-06-16  André Pönitz  <poenitz@gmx.net>
5105
5106         * BufferView.C:
5107         * buffer.C:
5108         * buffer.h:
5109         * paragraph.C:
5110         * tabular.[Ch]: IU of clone() and getLabelList();
5111
5112 2003-06-13  André Pönitz  <poenitz@gmx.net>
5113
5114         * tabular.h: compactification
5115
5116 2003-06-12  André Pönitz  <poenitz@gmx.net>
5117
5118         * tabular.C:
5119         * tabular.h:
5120         * tabular_funcs.h: some renaming plus whitespace
5121
5122 2003-06-12  André Pönitz  <poenitz@gmx.net>
5123
5124         * BufferView.C:
5125         * BufferView_pimpl.C:
5126         * CutAndPaste.C:
5127         * buffer.C:
5128         * iterators.[Ch]:
5129         * lyxfunc.C:
5130         * text.C:
5131         * toc.C: Return a Paragraph & for ParIterator::operator*()
5132
5133 2003-06-11  John Levon  <levon@movementarian.org>
5134
5135         * lyx_main.C:
5136         * ToolbarBackend.h:
5137         * ToolbarBackend.C: add "Toolbars" section and
5138         put the flags there
5139
5140 2003-06-10  Angus Leeming  <leeming@lyx.org>
5141
5142         * lfuns.h:
5143         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5144
5145         * lyxfunc.C (dispatch): invoke it.
5146
5147 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5148
5149         * main.C: protect <ios> with HAVE_IOS
5150         (main): protect sync_with_stdio with HAVE_IOS
5151
5152 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5153
5154         * text2.C (cutSelection): adjust
5155         (pasteSelection): adjust
5156
5157         * messages.C: handle get of empty string
5158
5159         * main.C (main): use sync_with_stdio(false)
5160
5161         * lyxfunc.C (dispatch): adjust
5162
5163         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5164         (WriteAs): remove unneeded BufferView arg.
5165
5166         * bufferparams.h: use correct types on papersize, papersize2 and
5167         paperpackage.
5168
5169         * bufferparams.C (readToken): adjust for type
5170         (writeLaTeX): add missing cases to switch.
5171
5172         * bufferlist.C (quitWriteBuffer): adjust
5173         (close): adjust
5174
5175         * buffer.C (asciiParagraph): remove some commented code.
5176
5177         * CutAndPaste.C: remove current_view extern variable.
5178         (cutSelection): add BufferParams arg.
5179         (eraseSelection): add BufferParams arg.
5180         (pasteSelection): add Buffer const & arg
5181
5182 2003-06-07  John Levon  <levon@movementarian.org>
5183
5184         * buffer.C:
5185         * paragraph_funcs.C:
5186         * paragraph_pimpl.C:
5187         * text.C:
5188         * text2.C:
5189         * paragraph.h:
5190         * paragraph.C: allow InsetERT to freely space lines,
5191         and some consolidation of code
5192
5193 2003-06-06  José Matos  <jamatos@fep.up.pt>
5194
5195         * buffer.C (makeDocBookFile): fix bug #821
5196
5197 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5198
5199         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5200
5201 2003-06-04  Angus Leeming  <leeming@lyx.org>
5202
5203         * buffer.C: bump format to 224.
5204
5205 2003-06-05  André Pönitz  <poenitz@gmx.net>
5206
5207         * text2.C (redoParagraphs): remove two const_cast<>
5208
5209 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5210
5211         * ParagraphList.h: remove last remnants of NO_STD_LIST
5212
5213 2003-06-03  Angus Leeming  <leeming@lyx.org>
5214
5215         * factory.C (createInset): small change to the way InsetExternal's params
5216         are set.
5217
5218 2003-06-04  André Pönitz  <poenitz@gmx.net>
5219
5220         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5221
5222         * paragraph_pimpl.h:
5223         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5224
5225         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5226
5227         * undo_funcs.C: make some simple cases of undo work again
5228
5229 2003-06-03  John Levon  <levon@movementarian.org>
5230
5231         * ispell.C: HPUX doesn't have sys/select.h
5232         (from Albert Chin)
5233
5234 2003-06-03  John Levon  <levon@movementarian.org>
5235
5236         * CutAndPaste.C: update tabular and include inset
5237         buffer references
5238
5239         * buffer.h:
5240         * paragraph.h:
5241         * paragraph.C: remove owningBuffer(), don't pass Buffer
5242         to clone()
5243
5244         * factory.C: insetGraphicsParams changed
5245
5246 2003-06-02  John Levon  <levon@movementarian.org>
5247
5248         * LyXAction.C:
5249         * factory.C:
5250         * lfuns.h:
5251         * lyxfunc.C:
5252         * text3.C: remove insetparent
5253
5254 2003-06-02  John Levon  <levon@movementarian.org>
5255
5256         * buffer.h:
5257         * buffer.C: fix inset_iterator.end(), move out of line
5258         (bug 1149)
5259
5260 2003-06-01  John Levon  <levon@movementarian.org>
5261
5262         * text3.C: use a proper cut/paste when doing inset
5263         insert (from Jürgen Spitzmüller)
5264
5265 2003-06-01  John Levon  <levon@movementarian.org>
5266
5267         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5268
5269 2003-05-30  André Pönitz  <poenitz@gmx.net>
5270
5271         * rowpainter.C: unify second drawing phase
5272
5273 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5274
5275         * trans_mgr.C: remove one case of current_view
5276
5277         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5278
5279         * paragraph_funcs.h: remove paragraph.h include
5280
5281         * paragraph.h: delete NO_STD_LIST stuff
5282
5283         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5284
5285         * buffer.h: remove paragraph.h include
5286
5287         * ParagraphList.C: delete file
5288
5289         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5290
5291         * toc.C (getTocList): adjust
5292
5293         * paragraph_pimpl.C (validate): adjust
5294
5295         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5296
5297         * paragraph.C (Paragraph): adjust
5298         (getPositionOfInset): use const_iterator, adjust
5299         (bibitem): use const_iterator, adjust
5300         (setInsetOwner): adjust
5301
5302         * iterators.C (operator++): adjust
5303
5304         * InsetList.[Ch]: Replace selfmade iterator with standard
5305         vector::iterator also introduce const_iterator. Remove getPos,
5306         getInset and setInset from InsetTable. Adjust accordingly.
5307
5308         * BufferView.C (lockInset): adjust
5309         (ChangeInsets): adjust
5310
5311         * tabular.[Ch]: delete commented same_id functions
5312
5313 2003-05-28  John Levon  <levon@movementarian.org>
5314
5315         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5316
5317 2003-05-28  André Pönitz  <poenitz@gmx.net>
5318
5319         * metricsinfo.[Ch]: remove 'fullredraw' member
5320
5321 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5322
5323         * lyxtextclass.C (operator): remove caching.
5324
5325 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5326
5327         * text3.C: adjust
5328
5329         * text2.C (cursorBottom): adjust
5330         (setCounter): use ParagraphList::find, adjust
5331
5332         * text.C (workWidth): use ParagraphList::find, adjust
5333
5334         * lyxcursor.C (LyXCursor): adjust
5335
5336         * buffer.C (inset_iterator): adjust
5337
5338         * ParagraphList.h: make iterator(value_type) private, make
5339         ParagraphList a friend of iterator.
5340
5341         * ParagraphList.C (find): new function
5342
5343         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5344
5345 2003-05-27  André Pönitz  <poenitz@gmx.net>
5346
5347         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5348
5349 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5350
5351         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5352
5353 2003-05-26  John Levon  <levon@movementarian.org>
5354
5355         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5356
5357 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5358
5359         * remove same_id from function signatures, adjust.
5360
5361 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5362
5363         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5364
5365         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5366
5367         * paragraph.C (Paragraph): get rid of same_ids parameter
5368
5369         * ParagraphList.C (insert): adjust
5370         (push_back): adjust
5371
5372 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5373
5374         * paragraph_funcs.C (breakParagraph): adjust
5375         (breakParagraphConservative): adjust
5376
5377         * buffer.C (readParagraph): adjust
5378
5379         * ParagraphList.C (insert): take a reference instead of a pointer
5380         (insert): adjust
5381
5382         * paragraph.[Ch] (id): new function
5383
5384         * bufferlist.C (newFile): adjust
5385
5386         * ParagraphList.C (ParagraphList): adjust
5387         (assign): adjust
5388         (push_back): take a reference instead of a pointer.
5389
5390         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5391
5392         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5393         instead.
5394
5395         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5396         set else use old code.
5397
5398         * ParagraphList.C: remove all NO_NEXT code and only compile this
5399         code of NO_STD_LIST is set.
5400
5401 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5402
5403         * BufferView_pimpl.C:
5404         * TextCache.C:
5405         * TextCache.h:
5406         * bufferlist.C:
5407         * errorlist.h:
5408         * format.C:
5409         * format.h:
5410         * graph.C:
5411         * lyxfunc.C:
5412         * lyxrc.C:
5413         * graphics/GraphicsConverter.C:
5414         * graphics/PreviewLoader.C: header adjustment
5415
5416 2003-05-23  Angus Leeming  <leeming@lyx.org>
5417
5418         * LaTeXFeatures.[Ch] (useBabel): new method.
5419         * bufferparams.C (writeLaTeX): use it.
5420
5421 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5422
5423         * ParagraphList.h (set): remove unused function.
5424
5425 2003-05-23  André Pönitz  <poenitz@gmx.net>
5426
5427         * BufferView.C:
5428         * BufferView_pimpl.C:
5429         * buffer.C:
5430         * buffer.h:
5431         * lyxfunc.C:
5432         * undo_funcs.C: setUndo reworked
5433
5434         * iterators.[Ch]: add access to topmost ParagraphList
5435
5436         * lyxtext.[Ch] (workWidth): add a const
5437
5438 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5439
5440         * texrow.[Ch] (increasePos): remove function
5441         * exporter.C (export): removed unused var and outdated comment
5442
5443 2003-05-23  Angus Leeming  <leeming@lyx.org>
5444
5445         * latexrunparams.h: rename fragile as moving_arg.
5446         * paragraph.C (simpleTeXOnePar): ditto.
5447         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5448
5449 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5450
5451         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5452         (createUndo): ditto
5453         (textUndoOrRedo): comment out a currently unused var.
5454
5455         * paragraph.h (NO_NEXT): enable NO_NEXT
5456
5457         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5458
5459         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5460
5461         * exporter.C (Export): adjust for removeAutoInsets removal.
5462
5463         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5464
5465         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5466
5467         * BufferView.[Ch] (removeAutoInsets): delete function
5468
5469 2003-05-22  Angus Leeming  <leeming@lyx.org>
5470
5471         * latexrunparams.h: add a free_spacing variable.
5472
5473         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5474         to pass moving_arg, as the data is stored in runparams.fragile.
5475
5476         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5477         to Inset::latexOptional or to simpleTeXOnePar.
5478
5479         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5480         free_spacing arg to Inset::latexOptional.
5481
5482         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5483         free_spacing arg.
5484
5485 2003-05-22  Angus Leeming  <leeming@lyx.org>
5486
5487         * latexrunparams.h: add fragile and use_babel variables.
5488
5489         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5490         * buffer.C (makeLaTeXFile): store this returned value in
5491         runparams.use_babel, thus passing it to the inset::latex methods.
5492
5493         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5494         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5495
5496         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5497         longer has a fragile arg, as it is stored in runparams.fragile.
5498
5499         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5500         moving_arg parameter as the data is stored in runparams.fragile.
5501
5502         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5503         a fragile parameter as the data is stored in runparams.fragile.
5504
5505 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5506
5507         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5508
5509 2003-05-22  Angus Leeming  <leeming@lyx.org>
5510
5511         * latexrunparams.h: add a 'bool nice' which defaults to false.
5512
5513         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5514         now encapsulated within runparams.
5515
5516         * bufferlist.C (updateIncludedTeXfiles):
5517         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5518
5519 2003-05-22  Angus Leeming  <leeming@lyx.org>
5520
5521         * latexrunparams.h: new file containing struct LatexRunParams.
5522         * Makefile.am: add new file.
5523
5524         * LaTeX.[Ch] (c-tor, run):
5525         * buffer.[Ch] (makeLaTeXFile):
5526         * bufferlist.[Ch] (updateIncludedTeXfiles):
5527         * converter.C (convert, scanLog):
5528         * converter.[Ch] (runLaTeX):
5529         * exporter.C (Export):
5530         * paragraph.[Ch] (simpleTeXOnePar):
5531         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5532         * paragraph_funcs.[Ch] (latexParagraphs):
5533         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5534         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5535         pass around a LatexRunParams parameter.
5536
5537 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * paragraph.[Ch]: remove unused constructor
5540
5541         * ParagraphList.C (erase): new function, taking two iterators
5542
5543 2003-05-22  André Pönitz  <poenitz@gmx.net>
5544
5545         * undo_funcs.C: remove duplicated code
5546
5547         * iterator.[Ch]: operator=
5548
5549 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5550
5551         * tabular.C (SetMultiColumn): ws changes
5552
5553         * rowpainter.C (paintFirst): get rid of a ->previous
5554
5555         * lyx_cb.C (getPossibleLabel): parlist simplification
5556
5557         * BufferView.C (ChangeInsets): simplify slightly.
5558
5559 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5560
5561         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5562         * lfuns.h: new LFUN_SPACE
5563         * lyxfunc.C: protected space has a new lfun
5564         * paragraph_funcs.C: read new space insets
5565         * text3.C:
5566         * factory.C: handle new space insets
5567
5568 2003-05-22  André Pönitz  <poenitz@gmx.net>
5569
5570         * BufferView.C:
5571         * BufferView_pimpl.C:
5572         * buffer.[Ch]:
5573         * lyxfunc.C:
5574         * undo_funcs.C: return a ParIterator from getParFromID.
5575
5576         * iterators.[Ch]: add two const's
5577
5578 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5579
5580         * toc.C (getTocList): adjust
5581
5582         * iterators.[Ch]: rework for parlist
5583
5584         * buffer.C (par_iterator_begin): adjust
5585         (par_iterator_end): adjust
5586
5587         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5588
5589         * BufferView.C (removeAutoInsets): adjust
5590         (ChangeInsets): adjust
5591
5592 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5593
5594         * text.C (top_y): fix bug 1110
5595
5596 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5597
5598         * errorlist.[Ch]: added
5599         * buffer.C:
5600         * BufferView.[Ch]:
5601         * BufferView_pimpl.C:
5602         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5603         instead
5604
5605 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5606
5607         * Makefile.am: ensure that lyx is relinked upon changes to the
5608         various "convenience" libs.
5609
5610 2003-05-20  Angus Leeming  <leeming@lyx.org>
5611
5612         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5613         files are compiled in alphabetical order again.
5614
5615         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5616
5617 2003-05-19  Angus Leeming  <leeming@lyx.org>
5618
5619         * gettext.[Ch]: remove "char const * _(char const *)".
5620
5621 2003-05-19  André Pönitz  <poenitz@gmx.net>
5622
5623         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5624
5625         * Makefile.am:
5626         * BufferView.C:
5627         * DepTable.h:
5628         * LaTeXFeatures.C:
5629         * buffer.C:
5630         * lyxfont.C:
5631         * lyxlex.h:
5632         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5633
5634 2003-05-19  André Pönitz  <poenitz@gmx.net>
5635
5636         * buffer.C:
5637         * lyxlayout.[Ch]:
5638         * lyxtextclass.[Ch]:
5639         * paragraph.C:
5640         * paragraph_funcs.[Ch]:
5641         * text2.C:
5642         * text3.C: more insetenv work
5643
5644 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5645
5646         * ParagraphParameters.C (params2string): small bug fixed
5647
5648 2003-05-16  André Pönitz  <poenitz@gmx.net>
5649
5650         * debug.C:
5651         * bufferview_funcs.C: patch from Kornel Benko to prevent
5652           crash when _(...) is called twice in a statement
5653
5654 2003-05-16  André Pönitz  <poenitz@gmx.net>
5655
5656         * BufferView.C:
5657         * lyxfunc.C:
5658         * text.C:
5659         * text2.C:
5660         * text3.C:
5661         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5662
5663 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5664
5665         * lyx_main.C (init): remove spurious static_cast
5666
5667 2003-05-14  André Pönitz  <poenitz@gmx.net>
5668
5669         * BufferView.C: fix format string
5670
5671 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5672
5673         * BufferView.[Ch] (insertErrors): removed
5674         * BufferView.[Ch] (showErrorList): added
5675         * buffer.C (runChkTeX):
5676         * converter.C (scanLog): call showErrorList instead of inserterrors
5677
5678 2003-05-13  André Pönitz  <poenitz@gmx.net>
5679
5680         * BufferView_pimpl.C:
5681         * buffer.C:
5682         * bufferview_func.C:
5683         * MenuBackend.C:
5684         * lyxfunc.C:
5685         * lyxrc.C:
5686         * tex-accent.C:
5687         * text3.C:
5688         * toc.C:
5689         * tabular_funcs.h: tostr() from its own header
5690
5691         * ParagraphParameters.C:
5692         * ToolbarBackend.C:
5693         * bufferparams.C:
5694         * format.C:
5695         * lyxlex_pimpl.C:
5696         * text3.C: STRCONV()
5697
5698 2003-05-12  André Pönitz  <poenitz@gmx.net>
5699
5700         * BufferView.C:
5701         * BufferView_pimpl.C:
5702         * CutAndPaste.C:
5703         * LaTeX.C:
5704         * LaTeXFeatures.C:
5705         * ParagraphParameters.C:
5706         * buffer.C:
5707         * bufferlist.C:
5708         * bufferparams.C:
5709         * bufferview_funcs.C:
5710         * converter.C:
5711         * counters.C:
5712         * debug.C:
5713         * exporter.C:
5714         * format.C:
5715         * importer.C:
5716         * lyx_cb.C:
5717         * lyx_main.C:
5718         * lyxfont.C:
5719         * lyxfunc.C:
5720         * lyxvc.C:
5721         * paragraph.C:
5722         * paragraph_funcs.C:
5723         * tabular.C:
5724         * tabular_funcs.C:
5725         * text2.C:
5726         * text3.C:  boost::format -> bformat  all over the place
5727
5728
5729 2003-05-09  André Pönitz  <poenitz@gmx.net>
5730
5731         * LColor.[Ch]: Pimpl the #include <map> away
5732
5733 2003-05-09  John Levon  <levon@movementarian.org>
5734
5735         * bufferlist.C: never remove emergency saves
5736
5737 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5738
5739         * Makefile.am: better lib building
5740
5741 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5742
5743         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5744         instead.
5745         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5746         (simpleTeXSpecialChars): adjust
5747         (simpleTeXSpecialChars): adjust
5748         * paragraph.C (simpleTeXOnePar): adjust
5749         * buffer.C (makeLaTeXFile): adjust
5750
5751         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5752
5753         * text2.C (changeDepth): parlist cleanup
5754         (getColumnNearX): ditto
5755
5756         * rowpainter.C (getLabelFont): parlist cleanup
5757
5758         * bufferlist.C (newFile): parlist cleanup
5759
5760         * CutAndPaste.C (eraseSelection): parlist cleanup
5761
5762         * BufferView_pimpl.C (trackChanges): parlist cleanup
5763         (dispatch): ditto
5764
5765         * BufferView.C (lockInset): parlist cleanup.
5766         (ChangeInsets): ditto
5767
5768 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5769
5770         * CutAndPaste.h: Update file header.
5771
5772         * CutAndPaste.C: Update file header.
5773         Store the parts cut out of the Document in a limited_stack.
5774         (copySelection): adjust
5775         (pasteSelection): new function, takes the index in the limited stack.
5776         (nrOfParagraphs): adjust
5777         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5778         simplify error inset insertion.
5779         (checkPastePossible): adjust
5780
5781 2003-05-06  John Levon  <levon@movementarian.org>
5782
5783         * text2.C: don't cast wrap inset to float
5784
5785 2003-05-05  André Pönitz  <poenitz@gmx.net>
5786
5787         * iterator.C:
5788         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5789
5790         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5791           few naked Paragraph *.
5792
5793 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5794
5795         * bufferparams.C: Output warning if a document with missing
5796         TeX document class is loaded
5797         * exporter.C: Disable TeX exports if the document class is missing
5798         * lyxtextclass.C:
5799         * lyxtextclass.h:
5800         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5801         isTeXClassAvailable()
5802
5803 2003-05-03  John Levon  <levon@movementarian.org>
5804
5805         * BufferView.h:
5806         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5807         explicit cursor show/hide
5808
5809         * BufferView_pimpl.h:
5810         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5811         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5812
5813         * lyxfunc.C: hide cursor before dispatching.
5814
5815         * lyx_cb.C:
5816         * lyxfind.C:
5817         * text.C:
5818         * text3.C: remove explicit cursor hides
5819
5820 2003-05-02  André Pönitz  <poenitz@gmx.net>
5821
5822         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5823
5824         * undo_funcs.C:
5825         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5826           linked lists
5827
5828         * text2.C: tiny whitespace
5829
5830 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5831
5832         * undo_funcs.C: almost only ws changes.
5833
5834         * ParagraphList.C (splice): just return if pl is empty.
5835
5836 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5837
5838         * ParagraphList.C (splice): new function.
5839
5840         * CutAndPaste.C (pasteSelection): use it
5841
5842 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5843
5844         * CutAndPaste.C (pasteSelection): remove the last next and
5845         previous from this file.
5846
5847 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5848
5849         * CutAndPaste.C (pasteSelection): more clean up, user proper
5850         ParagraphList functions for pasteing.
5851
5852         * ParagraphList.C (insert): new function, three arg insert
5853
5854 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5855
5856         * ParagraphList.C (insert): new function, three arg insert
5857
5858         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5859         not on paragraphs.
5860
5861 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5862
5863         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5864
5865 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5866
5867         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5868
5869 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5870
5871         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5872         (copySelection): clean up a bit.
5873         (pasteSelection): use make_pair
5874
5875         * ParagraphList.C (ParagraphList): implement copy constructor
5876         (operator=): implement, base on copy constructor.
5877         (assign): new func
5878
5879         * paragraph.C (erase): return a bool
5880
5881         * paragraph_pimpl.C (erasePos): remove function, move contents...
5882         (erase): ... here. Return a bool.
5883         (erase): call erase instead of erasePos.
5884
5885 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5886
5887         * ParagraphList.h: define PitPosPair
5888         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5889         ParagraphList, fix a bug on pasting multiple pars
5890         * text2.C: change interface to C&P
5891
5892 2003-04-30  André Pönitz  <poenitz@gmx.net>
5893
5894         * undo_func.C: revert part of yesterday's patch 2
5895
5896 2003-04-30  John Levon  <levon@movementarian.org>
5897
5898         * LColor.C: s/tabular/table/
5899
5900 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5901
5902         * text3.C (dispatch): do not convert iterator -> pointer
5903         * undo_funcs.C (setCursorParUndo): ditto
5904         * text_funcs.C (transposeChars): ditto
5905
5906         * text2.C (setLayout): ws changes only
5907
5908         * text.C (breakParagraph): do not convert iterator -> pointer
5909         (insertChar): ditto
5910         (acceptChange): ditto
5911         (rejectChange): ditto
5912         (changeCase): ditto
5913         (Delete): ditto
5914         (backspace): ditto
5915
5916         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5917         pointer
5918
5919 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5920
5921         * text3.C (gotoInset): YABG (yet another bad getChar)
5922
5923 2003-04-29  André Pönitz  <poenitz@gmx.net>
5924
5925         * paragraph.h: make operator= private unimplemented as long as
5926           it is unusable
5927
5928         * ParagraphList.C: whitespace
5929
5930         * paragraph.[Ch]:
5931         * paragraph_pimpl.[Ch]:
5932         * paragraph_funcs.C:
5933         * CutAndPaste.C:
5934         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5935
5936         * text2.C:
5937           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5938
5939 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5940
5941         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5942         * paragraph.[Ch] (erase):
5943         * paragraph_pimpl.[Ch] (erase): change return type and value
5944         * text2.C (cutSelection): some rework
5945
5946 2003-04-28  John Levon  <levon@movementarian.org>
5947
5948         * bufferlist.C: changes for unsaved changes dialog
5949
5950 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5951
5952         * bufferlist.C (newFile): set language (messages_) for new
5953         documents also.
5954
5955         * buffer.C (readFile): ws changes only.
5956
5957 2003-04-28  André Pönitz  <poenitz@gmx.net>
5958
5959         * undo_funcs.C:
5960         * lyxfunc.C:
5961         * buffer.[Ch]:
5962         * BufferView_pimpl.C:
5963         * BufferView.C: getParFromID related ParagraphList::iterator changes
5964
5965 2003-04-28  André Pönitz  <poenitz@gmx.net>
5966
5967         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5968           Changes
5969
5970 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5971
5972         * messages.C: remove one more localedir class variable.
5973
5974 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5975
5976         * messages.C (getLocaleDir): singleton generation function
5977         (Pimpl): use it.
5978         (Messages): add a default constructor.
5979
5980         * main.C (main): do not setup localedir here, do not call
5981         gettext_init.
5982
5983         * gettext.C (_): use it.
5984         (gettext_init): delete funciton
5985
5986 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5987
5988         * gettext.C (getLyXMessages): new singleton generating function.
5989
5990         * buffer.C (updateDocLang): adjust
5991
5992         * Makefile.am (messages.o): add target
5993         (main.o): remove target
5994
5995 2003-04-27  John Levon  <levon@movementarian.org>
5996
5997         * bufferlist.C:
5998         * lyx_cb.C:
5999         * lyxfunc.C:
6000         * lyxvc.C: specify cancel button in Alert::prompt
6001
6002 2003-04-26  John Levon  <levon@movementarian.org>
6003
6004         * text3.C:
6005         * lyxfunc.C:
6006         * lfuns.h:
6007         * LyXAction.C: add LFUN_INSET_SETTINGS
6008
6009         * lyxfunc.C: don't enable tabular-feature when there's
6010         just any locking inset
6011
6012 2003-04-26  John Levon  <levon@movementarian.org>
6013
6014         * bufferlist.C: re-add Cancel to buffer close question
6015
6016         * lyxfunc.C: fix import UI a bit
6017
6018 2003-04-25  John Levon  <levon@movementarian.org>
6019
6020         * gettext.C: remove the broken asserts for now
6021
6022 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6023
6024         * messages.C: make case where setlocale cannot comply work better.
6025
6026         * buffer.C (updateDocLang): new function
6027         (changeLanguage): use it
6028         (readFile): use it
6029
6030         * text2.C (setCounter): use B_ a bit.
6031
6032         * lyxlayout.C (Read): be sure to trim the label strings.
6033
6034         * messages.C (Messages): fix typo in comment
6035
6036         * buffer.C (readFile): set message_ after file is loaded.
6037         (makeDocBookFile): remove double return
6038         (changeLanguage): reset message_ upon language change.
6039         (B_): new func, use this to get translated buffer strings.
6040
6041         * main.C: add myself and Jean Marc as authors.
6042
6043 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6044
6045         * messages.[hC]: pimplify Messages, and three different pimpls to be
6046         used in different circumstances.
6047
6048         * gettext.[Ch]: change for use with new message code.
6049
6050 2003-04-24 André Pönitz <poenitz@gmx.net>
6051
6052         * factory.C: support for eqref
6053
6054 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6055
6056         * messages.[Ch]: add missing char
6057
6058         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6059
6060         * messages.[Ch]: New files
6061
6062 2003-04-18  John Levon  <levon@movementarian.org>
6063
6064         * BufferView.h:
6065         * BufferView.C:
6066         * BufferView_pimpl.C:
6067         * lfuns.h:
6068         * LyXAction.C:
6069         * lyxtext.h:
6070         * text2.C: remove layout-copy/paste (bug 778)
6071
6072 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6073
6074         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6075
6076 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6077
6078         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6079         if they succeed. Act accordingly.
6080
6081 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6082
6083         * text2.C (setCharFont): adjust
6084         (setCounter): adjust
6085         (insertStringAsLines): adjust
6086
6087         * text.C (leftMargin): adjust
6088         (setHeightOfRow): adjust
6089
6090         * rowpainter.C (paintFirst): adjust
6091         (paintLast): adjust
6092
6093         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6094         (outerHook): ditto
6095         (isFirstInSequence): ditto
6096         (getEndLabel): ditto
6097         (outerFont): adjust
6098
6099         * paragraph.C (getParLanguage): comment out some hard stuff.
6100
6101         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6102         (sgmlError): ditto
6103         (simpleDocBookOnePar): ditto
6104         (makeDocBookFile): use ParagraphList::iterator
6105
6106         * CutAndPaste.C (pasteSelection): adjust
6107
6108 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6109
6110         * text2.C (getFont): adjust
6111         (getLayoutFont): adjust
6112         (getLabelFont): adjust
6113
6114         * paragraph_funcs.C (TeXOnePar): adjust
6115
6116         * buffer.C (simpleLinuxDocOnePar): adjust
6117         (simpleDocBookOnePar): adjust
6118
6119         * CutAndPaste.C (pasteSelection): adjust
6120
6121         * BufferView.C (getEncoding): adjust
6122
6123         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6124
6125 2003-04-16  John Levon  <levon@movementarian.org>
6126
6127         * lyxfind.C: use parlist stuff for search/changes
6128
6129 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6130
6131         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6132
6133         * text2.C (deleteEmptyParagraphMechanism): adjust
6134
6135         * text2.[Ch] (ownerParagraph): delete func (both of them
6136
6137 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6138
6139         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6140
6141 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6142
6143         * ParagraphList.C: prepare for NO_NEXT
6144
6145 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6146
6147         * text2.C (getFont): adjust
6148         (getLayoutFont): adjust
6149         (getLabelFont): adjust
6150
6151         * paragraph.C (getFont): adjust
6152         (getLabelFont): adjust
6153         (getLayoutFont): adjust
6154
6155         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6156
6157 2003-04-15  John Levon  <levon@movementarian.org>
6158
6159         From Angus Leeming
6160
6161         * lyx_main.C: handle Include in .ui files
6162
6163 2003-04-15  John Levon  <levon@movementarian.org>
6164
6165         * MenuBackend.C: make the doc files length shorter
6166
6167         * ToolbarBackend.h:
6168         * ToolbarBackend.C: handle toolbar placement flags,
6169         Minibuffer
6170
6171 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6172
6173         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6174         adjust
6175
6176         * paragraph_funcs.C (TeXOnePar): adjust
6177
6178         * paragraph.C (getLabelFont): add outerfont arg, adjust
6179         (getLayoutFont): ditto
6180         (simpleTeXOnePar): adjust
6181
6182         * paragraph_pimpl.C (realizeFont): delete func
6183
6184 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6185
6186         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6187         row argument, constify cur argument.
6188
6189 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6190
6191         * text2.C (getFont): adjust
6192         (getLayoutFont): adjust
6193         (getLabelFont): adjust
6194
6195         * paragraph_funcs.C (TeXOnePar): adjust
6196         (outerFont): new func...
6197         (realizeFont): ...moved out from here, changed this to facilitate
6198         transition
6199
6200         * paragraph.C (getFont): take outerfont as arg, adjust
6201         (simpleTeXOnePar): add outerfont arg, adjust
6202
6203         * buffer.C (simpleLinuxDocOnePar): adjust
6204         (simpleDocBookOnePar): adjust
6205
6206         * CutAndPaste.C (pasteSelection): adjust
6207
6208         * BufferView.C (getEncoding): adjust
6209
6210 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6211
6212         * text2.C (setCharFont): adjust
6213         (setCounter): adjust
6214
6215         * text.C (leftMargin): adjust
6216         (setHeightOfRow): adjust
6217
6218         * rowpainter.C (paintFirst): adjust
6219         (paintLast): adjust
6220
6221         * paragraph_pimpl.C (realizeFont): adjust
6222
6223         * paragraph.C (isFirstInSequence): move from here...
6224         * paragraph_funcs.C (isFirstInSequence): ...to here
6225
6226         * paragraph.C (outerHook): move from here...
6227         * paragraph_funcs.C (outerHook): ...to here
6228
6229         * paragraph.C (depthHook): move from here...
6230         * paragraph_funcs.C (depthHook): ...to here
6231
6232         * paragraph.C (getEndLabel): move from here...
6233         * paragraph_funcs.C (getEndLabel): ...to here
6234
6235         * text2.C (realizeFont): move from here...
6236         * paragraph_funcs.C (realizeFont): ...to here
6237
6238 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6239
6240         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6241
6242 2003-04-14  Angus Leeming  <leeming@lyx.org>
6243
6244         * LColor.[Ch]: scrap LColor mathcursor.
6245
6246 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6247
6248         * lyxlex.[Ch] (text): delete function
6249         * trans.C (Load): adjust
6250         * paragraph_funcs.C (readParToken): adjust
6251
6252 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6253
6254         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6255         vector<char> instead of a char[].
6256
6257         * lyxlex_pimpl.C (getString): adjust
6258         (next): adjust
6259         (lex): use getString
6260         (eatLine): adjust
6261         (nextToken): adjust
6262
6263         * lyxlex.C (text): use pimpl_->getString()
6264         (getBool): ditto
6265         (findToken): ditto
6266
6267 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6270         (makeFontEntriesLayoutSpecific): temp var for par.size()
6271         (setLayout): temp var for ownerParagraphs().end()
6272         (fullRebreak): temp var for rows().end()
6273         (selectionAsString): temp var for boost::next(startpit), realize
6274         that the while really is a regular for loop.
6275         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6276         setCursor in one place.
6277         (setParagraph): temp vr for ownerParagraphs().end()
6278         (updateCounters): make the while loop a for loop
6279         (cutSelection): temp var for ownerParagraphs().end()
6280         (updateInset): make the do {} while() a regular for loop
6281         (getCursorX): use temp vars
6282         (setCurrentFont): use temp vars
6283         (getColumnNearX): use temp vars
6284
6285 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6286
6287         * text.C (transformChar): use temp var for getChar
6288         (computeBidiTables): use temp var for row->par()
6289         (fill): move temp vars for row->par() and pit->layout() earlier in
6290         the function.
6291         (labelFill): use temp var for row->par()
6292         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6293         asc and desc, realize that pit never changes and that firstpit is
6294         just a duplicate and not needed. Exchange rit->par() with pit in a
6295         lot of places.
6296         (breakAgain): use a temp var for boost::next(rit)
6297         (breakAgainOneRow): ditto
6298         (breakParagraph): use a temp var for rows().begin()
6299         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6300         (cursorRightOneWord): use temp var for cursor.par() and
6301         cursor.pos(), remove usage of tmpcursor.
6302         (cursorLeftOneWord): use temp var for cursor.par() and
6303         cursor.pos() only set cur at end of function.
6304
6305 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6306
6307         * text.C, text2.C: exchange all usage of Paragraph::next with
6308         boost::next(ParagraphList::iterator)
6309
6310         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6311
6312         * text2.C (cursorTop): simplify implementation
6313         (cursorBottom): ditto
6314         (setParagraph): use ParagraphList::iterator
6315         (setCurrentFont): adjust
6316         (getColumnNearX): adjust
6317         (cursorRight): adjust
6318         (cursorLeft): remove usage of Paragraph::previous
6319         (cursorUpParagraph): ditto
6320         (deleteEmptyParagraphMechanism): slight cleanup
6321
6322         * text.C (isBoundary): take a Paragraph const & instead of a
6323         pointer as arg.
6324         (addressBreakPoint): ditto
6325         (leftMargin): remove usage of Paragraph::previous.
6326         (setHeightOfRow): ditto
6327         (cursorLeftOneWord): ditto
6328         (selectNextWordToSpellcheck): ditto
6329         (Delete): ditto
6330         (backspace): ditto
6331         (breakParagraph): remove one usage of Paragraph::next
6332         (redoParagraph): ditto
6333         (acceptChange): ditto
6334         (insertChar): adjust
6335         (rowBreakPoint): adjust
6336
6337         * bufferview_funcs.C (toggleAndShow): adjust
6338
6339 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6340
6341         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6342         methods to access it.
6343         * lyxtext.h:
6344         * text.C: Added updateRowPositions to compute all row positions.
6345         Make top_y and getRowNearY() to use the cached y position
6346
6347 2003-04-11  John Levon  <levon@movementarian.org>
6348
6349         * text.C (rowBreakPoint): reintroduce the labelEnd
6350         checks, code copied from the row fill stuff. Deep voodoo.
6351
6352         * text.C (fill): add a comment and debugging for the
6353         next poor soul.
6354
6355 2003-04-11  John Levon  <levon@movementarian.org>
6356
6357         * text.C: make sure fullrow insets get wrapped to the next line,
6358         even when they're in a manual label
6359
6360 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6361
6362         * text2.C (insertParagraph): make it take ParagraphList::iterator
6363         as arg.
6364         (setLayout): make it return ParagraphList::iterator
6365         (redoParagraphs): ditto
6366         (setCounter): ditto
6367         (checkParagraph): ditto
6368
6369         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6370
6371         * text2.C: adjust several funcs.
6372         (realizeFont): take a ParagraphList::iterator as arg.
6373         (getLayoutFont): ditto
6374         (getLabelFont): ditto
6375         (setCharFont): ditto
6376
6377         * text.C: adjust several funcs.
6378
6379 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6380
6381         * text.C (selectNextWordToSpellcheck): don't accidentally
6382         skip insets
6383
6384 2003-04-10  John Levon  <levon@movementarian.org>
6385
6386         * ToolbarBackend.C (getIcon): special handling for
6387         LFUN_MATH_DELIM
6388
6389 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6390
6391         * text2.C (cursorRight): a getChar assert fixed
6392
6393 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6394
6395         * text2.C (getFont): change to take a ParagraphList::iterator
6396         instead of Paragraph*
6397         Adjust several functions.
6398
6399         * text.C (transformChar): change to take a ParagraphList::iterator
6400         instead of Paragraph*
6401         (singleWidth): ditto
6402         Adjust several functions.
6403
6404         * rowpainter.C: adjust several functions
6405         * rowpainter.h:store a ParagraphList::iterator and not a
6406         Paragraph&.
6407
6408
6409 2003-04-09  John Levon  <levon@movementarian.org>
6410
6411         * lyxfunc.C:
6412         * lfuns.h:
6413         * LyXAction.h:
6414         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6415         and the "help" bits as well
6416
6417 2003-04-09  John Levon  <levon@movementarian.org>
6418
6419         * ToolbarBackend.h:
6420         * ToolbarBackend.C: allow multiple toolbars
6421
6422 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6423
6424         * undo_funcs.C (setCursorParUndo): adjust
6425
6426         * text_funcs.C (transposeChars): adjust
6427
6428         * text3.C (gotoNextInset): adjust
6429         (dispatch): adjust
6430
6431         * text2.C (setLayout): adjust
6432         (changeDepth): adjust
6433         (setFont): adjust
6434         (redoParagraphs): adjust
6435         (selectionAsString): adjust
6436         (setParagraph): adjust
6437         (insertInset): adjust
6438         (cutSelection): adjust
6439         (copySelection): adjust
6440         (pasteSelection): adjust
6441         (insertStringAsLines): adjust
6442         (updateInset): adjust
6443         (setCursor): change to take a ParagraphList::iterator parameter
6444         (setCursorIntern): change to take a ParagraphList::iterator parameter
6445         (setCurrentFont): adjust
6446         (cursorLeft): adjust
6447         (cursorRight): adjust
6448         (deleteEmptyParagraphMechanism): adjust
6449
6450         * text.C (breakParagraph): adjust
6451         (insertChar): adjust
6452         (acceptChange): adjust
6453         (rejectChange): adjust
6454         (selectNextWordToSpellcheck): adjust
6455         (changeCase): adjust
6456         (Delete): adjust
6457         (backspace): adjust
6458
6459         * lyxfind.C (SearchForward): adjust
6460         (SearchBackward): adjust
6461         (nextChange): adjust
6462
6463         * lyxcursor.C (par): adjust
6464
6465         * lyxcursor.h: store a ParagraphList::iterator instead of a
6466         Paragraph*
6467
6468         * lyx_cb.C (getPossibleLabel): adjust
6469
6470         * bufferview_funcs.C (toggleAndShow): adjust
6471
6472         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6473         (dispatch): adjust
6474
6475         * BufferView.C (removeAutoInsets): adjust
6476         (lockedInsetStoreUndo): adjust
6477
6478 2003-04-09  John Levon  <levon@movementarian.org>
6479
6480         * ToolbarBackend.C: try icon without argument
6481         if with argument fails
6482
6483 2003-04-08  John Levon  <levon@movementarian.org>
6484
6485         * ToolbarBackend.h:
6486         * ToolbarBackend.C: add getIcon(), handle tooltip,
6487         and change from "Icon" to "Item".
6488
6489 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6490
6491         * BufferView.C (lockInset): another bad getchar crunched
6492
6493 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6494
6495         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6496         again)
6497
6498 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6499
6500         * lyxfind.C (searchForward, searchBackwards): bug 782
6501
6502 2003-04-07  John Levon  <levon@movementarian.org>
6503
6504         * paragraph.C: remove dead comment
6505
6506         * text.C: remove troublesome depth-fiddling code
6507         in leftMargin() and rightMargin() (bug 1017)
6508
6509         * text.C: fix breaking of rows in nested lists
6510         (bug 1004)
6511
6512         * text2.C (updateCounters): fix up depth values
6513         (bug 1013)
6514
6515 2003-04-07  John Levon  <levon@movementarian.org>
6516
6517         * BufferView_pimpl.C: clear message when doc finishes resizing,
6518         and after a mouse event
6519
6520         * lyxfunc.C: clear message after exiting inset
6521
6522 2003-04-07  John Levon  <levon@movementarian.org>
6523
6524         * bufferview_funcs.C: show math status not outside
6525         status in the statusbar
6526
6527 2003-04-07  John Levon  <levon@movementarian.org>
6528
6529         * lyxfunc.C: note status changed after a depth change
6530
6531 2003-04-04  Angus Leeming  <leeming@lyx.org>
6532
6533         * LaTeX.h: move AuxInfo operator==, != out of line.
6534         Remove LaTeX virtual destructor; nothing derives from it.
6535         Move operator()() out of public area and rename it startscript().
6536         Change protected for private.
6537
6538 2003-04-04  Angus Leeming  <leeming@lyx.org>
6539
6540         * lyxfunc.C:
6541         * text2.C: remove unneeded #includes.
6542
6543 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6544
6545         * text2.C (dEPM): fix the heigth of the next row
6546
6547 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6548
6549         * text.C: squashed an invalid getChar requester + some ws changes
6550
6551 2003-04-03  John Levon  <levon@movementarian.org>
6552
6553         * bufferview_funcs.h:
6554         * bufferview_funcs.C:
6555         * lyxfunc.C:
6556         * lyxtext.h:
6557         * text2.C: make getStatus work for the env depth lfuns
6558
6559 2003-04-03  John Levon  <levon@movementarian.org>
6560
6561         * bufferview_funcs.h:
6562         * bufferview_funcs.C:
6563         * lyxfunc.C:
6564         * lyxtext.h:
6565         * text2.C: parlistize decDepth(), by merging it with incDepth()
6566
6567 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6568
6569         * lyxrow.h: store a ParagraphList::iterator instead of a
6570         Paragraph* and adjust other class functions to suit.
6571
6572         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6573         above.
6574
6575 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6576
6577         * text2.C (setCursor): do not anchor to cursor row for the time being
6578
6579 2003-04-02  John Levon  <levon@movementarian.org>
6580
6581         * LyXAction.C:
6582         * lfuns.h:
6583         * lyx_main.C:
6584         * lyxtext.h:
6585         * text.C:
6586         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6587
6588 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6589
6590         * paragraph.h: make ParagraphList and ParagraphList::iterator
6591         friends of Paragraph.
6592
6593         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6594
6595         * ParagraphList.C: Use the private next_ and previous_ from
6596         Paragraph.
6597
6598 2003-04-01  John Levon  <levon@movementarian.org>
6599
6600         * ToolbarBackend.h:
6601         * ToolbarBackend.C:
6602         * Makefile.am: rename, remove defaults gunk
6603
6604         * MenuBackend.h:
6605         * MenuBackend.C: remove defaults gunk
6606
6607         * Languages.h:
6608         * Languages.C: remove defaults gunk
6609
6610         * lyx_main.h:
6611         * lyx_main.C: error out if files couldn't be found.
6612
6613 2003-04-02  John Levon  <levon@movementarian.org>
6614
6615         * text2.C: make incDepth() use parlist
6616
6617 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6618
6619         * undo_funcs.C (firstUndoParagraph): adjust
6620
6621         * text3.C (gotoInset): adjust
6622         (dispatch): adjust, and rewrite loop.
6623
6624         * text2.C (init): adjust, and rewrite loop.
6625         (redoParagraphs): adjust
6626         (updateInset): adjust, and rewrite loop.
6627         (deleteEmptyParagraphMechanism): adjust
6628
6629         * tabular.C (LyXTabular): adjust
6630         (SetMultiColumn): adjust
6631         (TeXRow): adjust
6632
6633         * lyxtext.[Ch] (ownerParagraph): delete function
6634         (ownerParagraphs): new function returns a ParagraphList.
6635
6636         * BufferView.C (removeAutoInsets): adjust
6637         (insertErrors): adjust
6638         (setCursorFromRow): adjust
6639
6640 2003-04-01  Angus Leeming  <leeming@lyx.org>
6641
6642         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6643         in the frontends.
6644
6645 2003-04-02  John Levon  <levon@movementarian.org>
6646
6647         * lyxtext.h:
6648         * text.C:
6649         * Makefile.am:
6650         * text_funcs.h:
6651         * text_funcs.C: make transposeChars a free function
6652
6653         * lyxrow_funcs.C: remove wrong comment
6654
6655 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6656
6657         * lyxtext.h: adjust
6658         * rowpainter.C: adjust
6659         * text.C: adjust
6660         * text2.C: adjust
6661         * text3.C: adjust
6662
6663         * lyxrow_funcs. [Ch]: new files
6664
6665         * lyxrow.[Ch]: remove next and previous pointers
6666         (next,previous): remove accessor functions
6667         (isParEnd): move to lyxrow_funcs
6668         (lastPos): move to lyxrow_funcs
6669         (nextRowIsAllInset): move to lyxrow_funcs
6670         (lastPrintablePos): move to lyxrow_funcs
6671         (numberOfSeparators): move to lyxrow_funcs
6672         (numberOfHfills): move to lyxrow_funcs
6673         (numberOfLabelHfills): move to lyxrow_funcs
6674         (hfillExpansion): move to lyxrow_funcs
6675
6676         * lyxfunc.C: adjust
6677
6678         * bufferview_funcs.C (toggleAndShow): adjust
6679
6680         * RowList.h: Remove class RowList from file leave just a
6681         std::list<Row>.
6682
6683         * RowList.C: delete file
6684
6685         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6686         and lyxrow_funcs.h
6687
6688 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6689
6690         * text3.C (cursorPrevious): adjust
6691         (cursorNext): adjust
6692         (dispatch): adjust
6693
6694         * text2.C (redoHeightOfParagraph): adjust
6695         (redoDrawingOfParagraph): adjust
6696         (setCursor): adjust
6697
6698         * text.C (breakParagraph): adjust
6699         (insertChar): adjust
6700         (backspace): adjust
6701
6702         * rowpainter.C (RowPainter): adjust
6703         (leftMargin): simplify and adjust
6704         (most rowpainter functions): adjust.
6705
6706         * rowpainter.h: store the row as RowList::iterator not as Row*
6707
6708         * lyxcursor.C (row): taka RowList::iterator as arg
6709         (irow): ditto
6710
6711         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6712         of Row*.
6713
6714 2003-04-01  Angus Leeming  <leeming@lyx.org>
6715
6716         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6717         stuff like bool Bool.
6718
6719 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6720
6721         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6722         rewrite a loop
6723
6724 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6725
6726         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6727         RowList::iterator.
6728
6729         * lyxtext.h (rows): drop one version and leve a const variant that
6730         returns a RowList::iterator.
6731
6732 2003-03-31  Angus Leeming  <leeming@lyx.org>
6733
6734         * text.C (fill): ensure that the signature is the same as that in the
6735         header file.
6736
6737 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6738
6739         * text2.C (redoParagraphs): adjust
6740         (updateCounters): adjust
6741         (checkParagraph): adjust
6742         (getColumnNearX): adjust and reformat a bit.
6743
6744         * text.C (top_y): adjust
6745         (workWidth): adjust
6746         (leftMargin): adjust
6747         (prepareToPrint): adjust
6748         (getRow): adjust
6749         (getRowNearY): adjust
6750
6751         * lyxtext.h: make rowlist_ mutable.
6752
6753         * RowList.h: add const_iterator
6754         * RowList.C: adjust for RowList::const_iterator.
6755
6756         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6757         adjust.
6758
6759 2003-03-31  John Levon  <levon@movementarian.org>
6760
6761         * lyxrc.h:
6762         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6763
6764         * lyx_main.C: set default fonts from using lyx_gui funcs
6765
6766         * exporter.C: pdf_mode moved from lyxrc
6767
6768         * lyx_cb.C:
6769         * lyxfunc.C: changes from above
6770
6771 2003-03-31  John Levon  <levon@movementarian.org>
6772
6773         * lyx_main.C: fix to the last fix
6774
6775 2003-03-31  John Levon  <levon@movementarian.org>
6776
6777         * bufferlist.C: "Load original" -> "Load Original"
6778
6779         * converter.C:
6780         * exporter.C:
6781         * importer.C:
6782         * lyx_main.C:
6783         * format.C: more Alert cleanups
6784
6785 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6786
6787         * text2.C (removeParagraph): make it take a RowList::iterator as
6788         arg, adjust.
6789         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6790         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6791
6792         * text.C (anchor_row): make it take a RowList::iterator as arg,
6793         adjust.
6794         (computeBidiTables): make it take a const reference to Row instead
6795         of Row pointer, adjust.
6796         (leftMargin): make it take a RowList::iterator as arg, adjust.
6797         (rowBreakPoint): adjust
6798         (breakAgainOneRow): make it take a RowList::iterator as arg,
6799         adjust.
6800         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6801
6802         * bufferview_funcs.C (toggleAndShow): adjust
6803
6804 2003-03-30  John Levon  <levon@movementarian.org>
6805
6806         * Makefile.am:
6807         * BoostFormat.h:
6808         * boost-inst.C: moved to support
6809
6810         * several files: changes as a result
6811
6812 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6813
6814         * text2.C (LyXText): adjust.
6815         (init): adjust
6816         (removeRow): make it take a RowList::iterator as arg, adjust.
6817         (fullRebreak): adjust
6818         (deleteEmptyParagraphMechanism): adjust
6819         (clearPaint): adjust
6820         (postPaint): adjust
6821
6822         * text.C (top_y): adjust
6823         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6824         (breakAgain): make it take a RowList::iterator as arg, adjust.
6825         (breakParagraph): adjust
6826         (insertChar): adjust
6827         (backspace): adjust
6828
6829         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6830         need_break_row, and refresh_row.
6831
6832         * text3.C (dispatch): adjust
6833
6834         * text2.C (checkParagraph): adjust
6835         (setCursor): adjust
6836         (setCursorFromCoordinates): adjust
6837
6838         * text.C (top_y): adjust
6839         (workWidth): adjust
6840         (getRow): make it return a RowList::iterator, adjust
6841         (getRowNearY): make it return a RowList::iterator, adjust
6842
6843         * text2.C (init): adjust
6844         (insertRow): remove function
6845         (insertParagraph): adjust
6846         (redoParagraphs): adjust
6847         (fullRebreak): adjust
6848         (updateCounters): adjust
6849
6850         * text.C (top_y): rewrite to use RowList iterators.
6851         (top_y): adjust
6852         (setHeightOfRow): rewrite to sue RowList iterators.
6853         (appendParagraph): adjust
6854         (breakAgain): adjust
6855         (breakAgainOneRow): adjust
6856         (breakParagraph): adjust
6857         (getRow): adjust
6858         (getRowNearY): adjust, and remove commented code.
6859
6860         * lyxtext.h (firstRow): delete function
6861         (lastRow): delete function
6862         (rows): new function (const and non-const versions.)
6863         (insertRow): delete function
6864
6865         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6866
6867 2003-03-29  John Levon  <levon@movementarian.org>
6868
6869         * BufferView_pimpl.C: always update scrollbar top
6870         because pasting text when we're anchored could mean we
6871         miss an update altogether
6872
6873 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6874
6875         * text2.C (init): use rowlist_.end() and not 0.
6876         (insertRow): change to take a RowList::iterator as arg, adjust
6877         for this.
6878         (insertParagraph): change to take a RowList::iterator as arg,
6879         adjust for this.
6880         (redoParagraphs): remove some debug msgs.
6881
6882         * text.C (appendParagraph): change to take a RowList::iterator
6883         arg, adjust for this.
6884         (breakAgain): add an assert
6885         (breakAgainOneRow): ditto
6886
6887 2003-03-29  John Levon  <levon@movementarian.org>
6888
6889         * text2.C: do not clear selection after inc/decDepth
6890         (bug 550)
6891
6892 2003-03-29  John Levon  <levon@movementarian.org>
6893
6894         * BufferView.C:
6895         * buffer.C: fix broken strerrors according to Lars
6896
6897 2003-03-29  John Levon  <levon@movementarian.org>
6898
6899         * converters.C: more Alert cleanups
6900
6901 2003-03-29  John Levon  <levon@movementarian.org>
6902
6903         * bufferview_funcs.C: remove pointless Alert
6904
6905         * buffer.C: fix confusing error message when
6906         a template is chmoded 000
6907
6908 2003-03-29  John Levon  <levon@movementarian.org>
6909
6910         * BufferView.C:
6911         * BufferView.h:
6912         * BufferView_pimpl.C: Alert fixes
6913
6914         * Makefile.am:
6915         * tabular.C:
6916         * tabular-old.C: remove unused table compat reading
6917
6918 2003-03-29  John Levon  <levon@movementarian.org>
6919
6920         * BufferView.C:
6921         * buffer.C:
6922         * lyx_cb.h:
6923         * lyx_cb.C: more Alert cleanups
6924
6925         * lyxfunc.C: don't allow chktex if not latex document
6926
6927 2003-03-29  John Levon  <levon@movementarian.org>
6928
6929         * lyx_cb.C:
6930         * BufferView.C:
6931         * buffer.C: warnings pushed down from support/,
6932         kill err_alert
6933
6934 2003-03-29  John Levon  <levon@movementarian.org>
6935
6936         * lyxfunc.C: safety check for C-r (revert)
6937
6938 2003-03-29  John Levon  <levon@movementarian.org>
6939
6940         * bufferlist.h:
6941         * bufferlist.C: several UI fixes using Alert::prompt.
6942         Fix the pointless looping quit code. Fix stupid revert
6943         behaviour (bug 938)
6944
6945         * lyxvc.h:
6946         * lyxvc.C:
6947         * lyx_cb.C: use Alert::prompt
6948
6949         * lyx_main.C: remove a silly question
6950
6951         * lyxfunc.C: remove a couple of silly questions,
6952         use Alert::prompt
6953
6954 2003-03-28  John Levon  <levon@movementarian.org>
6955
6956         * text2.C: fix bug 974 (End on empty par)
6957
6958 2003-03-28  John Levon  <levon@movementarian.org>
6959
6960         * BufferView_pimpl.C:
6961         * LyXAction.C:
6962         * lfuns.h: remove do-nothing math greek lfuns
6963
6964 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6965
6966         * lyxgluelength.h (isValidGlueLength): add default arg on
6967         parameter 2. Remove default arg from friend in class.
6968
6969         * lyxlength.h (isValidLength): add default arg on parameter 2.
6970         Remove default arg from friend in class.
6971
6972         * text2.C (LyXText): adjust, initialize refresh_row.
6973         (init): adjust
6974         (removeRow): adjust
6975         (insertRow): adjust
6976         (insertParagraph): adjst
6977         (redoParagraphs): adjust
6978         (fullRebreak): adjust
6979         (updateCounters): adjust
6980         (deleteEmptyParagraphMechanism): first attempt at fixing a
6981         crashing bug.
6982
6983         * text.C (top_y): adjust
6984         (setHeightOfRow): adjust
6985         (getRow): adjust
6986         (getRowNearY): adjust
6987
6988         * lyxtext.h: include RowList.h
6989         (~LyXText): not needed anymore, deleted.
6990         (firstRow): modify for RowList
6991         (lastRow): new function
6992         Delete firstrow and lastrow class variables, add a Rowlist
6993         rowlist_ class variable.
6994
6995         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6996         paragraph is empty.
6997
6998         * RowList.C (insert): fix case where it == begin().
6999
7000 2003-03-26  Angus Leeming  <leeming@lyx.org>
7001
7002         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7003         the thesaurus dialog.
7004
7005 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7006
7007         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7008
7009         * RowList.[Ch]: new files
7010
7011         * ParagraphList.C (erase): handle the case where it == begin
7012         correctly.
7013
7014 2003-03-25  John Levon  <levon@movementarian.org>
7015
7016         * Makefile.am:
7017         * aspell_local.h:
7018         * aspell.C: add new aspell support
7019
7020         * lyxrc.h:
7021         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7022         have it accessible.
7023
7024 2003-03-25  Angus Leeming  <leeming@lyx.org>
7025
7026         * lfuns.h:
7027         * LyXAction.C (init): new LFUN_INSET_INSERT.
7028
7029         * BufferView_pimpl.C (dispatch): split out part of the
7030         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7031
7032         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7033         LFUN_INSET_APPLY.
7034
7035 2003-03-25  Angus Leeming  <leeming@lyx.org>
7036
7037         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7038
7039 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7040
7041         * text2.C:
7042         * text3.C: remove useless row->height(0)
7043
7044 2003-03-25  John Levon  <levon@movementarian.org>
7045
7046         * lyxtext.h:
7047         * text2.C:
7048         * text3.C: rename the refreshing stuff to better names
7049
7050 2003-03-24  John Levon  <levon@movementarian.org>
7051
7052         * BufferView_pimpl.h:
7053         * BufferView_pimpl.C: update layout choice on a mouse
7054         press/release
7055
7056 2003-03-23  John Levon  <levon@movementarian.org>
7057
7058         * Makefile.am: fix commandtags.h reference
7059
7060 2003-03-22  John Levon  <levon@movementarian.org>
7061
7062         * BufferView_pimpl.C:
7063         * lyxtext.h:
7064         * rowpainter.C:
7065         * rowpainter.h:
7066         * text.C:
7067         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7068
7069 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7070
7071         * lyxtext.h:
7072         * text.C: take the rtl methods out of line
7073
7074 2003-03-21 André Pönitz <poenitz@gmx.net>
7075
7076         * metricsinfo.[Ch]: new files containing structures to be passed around
7077         during the two-phase-drawing...
7078
7079 2003-03-21 André Pönitz <poenitz@gmx.net>
7080
7081         * lyxtextclass.C: read 'environment' tag.
7082
7083 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7084
7085         * text2.C (removeRow): fix bug 964
7086
7087 2003-03-20  John Levon  <levon@movementarian.org>
7088
7089         * rowpainter.C:
7090         * text.C:
7091         * text2.C: paint cleanups. Inset::update() dropped font
7092         parameter
7093
7094 2003-03-19  John Levon  <levon@movementarian.org>
7095
7096         * lyxfunc.C: only fitcursor/markDirty if available()
7097
7098 2003-03-19  John Levon  <levon@movementarian.org>
7099
7100         * commandtags.h: rename to ...
7101
7102         * lfuns.h: ... this, and renumber / cleanup
7103
7104 2003-03-19  John Levon  <levon@movementarian.org>
7105
7106         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7107         fit the cursor after an lfun
7108
7109         * BufferView.h:
7110         * BufferView.C:
7111         * BufferView_pimpl.h:
7112         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7113
7114         * LyXAction.C: layout-character should have ReadOnly
7115
7116         * ParagraphParameters.C:
7117         * buffer.C:
7118         * bufferview_funcs.C:
7119         * lyx_cb.C:
7120         * lyxfind.C:
7121         * lyxtext.h:
7122         * text.C:
7123         * text2.C:
7124         * text3.C:
7125         * undo_funcs.C: changes from above
7126
7127 2003-03-18  John Levon  <levon@movementarian.org>
7128
7129         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7130         remove it from update()
7131
7132         * lyxfunc.C: update layout choice after an lfun
7133
7134         * text3.C: remove extra updateLayoutChoice()s
7135
7136 2003-03-18  John Levon  <levon@movementarian.org>
7137
7138         * text.C: top_y change means full repaint, fix
7139         a drawing bug with cursor movement
7140
7141 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7142
7143         * lyxtext.h:
7144         * text.C:
7145         * text2.C: anchor row on setCursor
7146
7147 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7148
7149         * lyxtext.h: remove almost all mutable keywords
7150         * text.C:
7151         * text2.C:
7152         * text3.C: remove const keywords accordingly
7153
7154 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7155
7156         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7157         anon namespace
7158         (TeXEnvironment): ditto
7159         (TeXOnePar): ditto
7160
7161 2003-03-17  John Levon  <levon@movementarian.org>
7162
7163         * text.C (rowBreakPoint): remove attempt to fix displayed
7164         math insets inside a manual label
7165
7166 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * lyxtext.h: remove BufferView* as first arg from almost all class
7169         functions.
7170         * other files: adjust.
7171
7172 2003-03-17  John Levon  <levon@movementarian.org>
7173
7174         * lyxtext.h:
7175         * undo_funcs.C:
7176         * text2.C: more paint cleanups
7177
7178         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7179
7180         * rowpainter.h:
7181         * rowpainter.C: remove "smart" background painting code
7182
7183 2003-03-16  John Levon  <levon@movementarian.org>
7184
7185         * lyxtext.h:
7186         * text.C:
7187         * text2.C:
7188         * text3.C: add helper functions for setting refresh_row/y
7189
7190 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7191
7192         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7193         newline inset which *can* get inserted in the pass_thru layouts.
7194         This is primarily for literate documents.
7195
7196 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7197
7198         * buffer.C: increment LYX_FORMAT to 223
7199
7200 2003-03-14 André Pönitz <poenitz@gmx.net>
7201
7202         * textclass.h: prepare for environment handling, ws changes
7203         * lyxlayout.C: read latexheader and latexfooter tags
7204
7205 2003-03-14  John Levon  <levon@movementarian.org>
7206
7207         * text2.C: rewrite ::status() a bit
7208
7209 2003-03-13  John Levon  <levon@movementarian.org>
7210
7211         * lyxtext.h: add some docs
7212
7213 2003-03-13  John Levon  <levon@movementarian.org>
7214
7215         * lyxtext.h:
7216         * text.C:
7217         * text2.C:
7218         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7219
7220 2003-03-13  John Levon  <levon@movementarian.org>
7221
7222         * text3.C: fix appendix redrawing
7223
7224 2003-03-13  John Levon  <levon@movementarian.org>
7225
7226         * text.C (setHeightOfRow):
7227         * rowpainter.h:
7228         * rowpainter.C: make appendix mark have the text
7229           "Appendix" so the user knows what it is
7230
7231         * LColor.h:
7232         * LColor.C: s/appendixline/appendix/ from above
7233
7234 2003-03-13  John Levon  <levon@movementarian.org>
7235
7236         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7237
7238         * text.C: fix a getChar(pos) bug properly
7239
7240 2003-03-13  Angus Leeming  <leeming@lyx.org>
7241
7242         * commandtags.h:
7243         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7244         Probably only temporary. Let's see how things pan out.
7245
7246         * BufferView.C (unlockInset):
7247         * BufferView_pimpl.C (fitCursor):
7248         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7249
7250         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7251         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7252
7253         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7254         new functions that convert ParagraphParameters to and from a string.
7255
7256         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7257         BufferView::Pimpl's dispatch.
7258         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7259
7260 2003-03-13 André Pönitz <poenitz@gmx.net>
7261
7262         * lyxfunc.C:
7263         * text3.C:
7264         * factory.C: make it aware of InsetEnv
7265
7266 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7267
7268         * text2.C (setCursor): never ask for one past last
7269         (setCursor): add some debugging messages.
7270
7271         * text.C (singleWidth): never ask for one past last
7272         (singleWidth): ditto
7273         (leftMargin): ditto
7274         (rightMargin): ditto
7275         (rowBreakPoint): ditto
7276         (setHeightOfRow): ditto
7277         (prepareToPrint): ditto
7278
7279         * rowpainter.C (paintBackground): never ask for one past last
7280         (paintText): never ask for one past last
7281
7282         * paragraph_pimpl.C (getChar): make the assert stricter, never
7283         allow the one past last pos to be taken
7284
7285         * paragraph.C (getChar): ws changes only
7286
7287         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7288         (numberOfSeparators): ditto
7289         (numberOfHfills): ditto
7290
7291 2003-03-12  John Levon  <levon@movementarian.org>
7292
7293         * author.h:
7294         * author.C:
7295         * bufferparams.h:
7296         * bufferparams.C:
7297         * paragraph_funcs.C: fix per-buffer authorlists
7298
7299 2003-03-12  John Levon  <levon@movementarian.org>
7300
7301         * text.C: fix newline in right address
7302
7303 2003-03-12  Angus Leeming  <leeming@lyx.org>
7304
7305         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7306         duplicate those in LyXFunc::dispatch.
7307
7308         * commandtags.h:
7309         * LyXAction.C:
7310         * ToolbarDefaults.C:
7311         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7312         Add LFUN_FONTFREE_UPDATE.
7313
7314         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7315         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7316
7317         * bufferview_func.[Ch]: several new functions to facilliate
7318         transfer of data to and from the character dialog.
7319
7320 2003-03-12  John Levon  <levon@movementarian.org>
7321
7322         * buffer.C:
7323         * paragraph.h:
7324         * paragraph.C:
7325         * paragraph_funcs.C:
7326         * paragraph_pimpl.C:
7327         * sgml.C:
7328         * tabular.C:
7329         * text.C:
7330         * text3.C: remove META_NEWLINE in favour of an inset
7331
7332         * rowpainter.h:
7333         * rowpainter.C: remove paintNewline (done by inset)
7334
7335 2003-03-12  John Levon  <levon@movementarian.org>
7336
7337         * paragraph_pimpl.C: complain about bad getChar()s
7338         for a while at least
7339
7340 2003-03-12  John Levon  <levon@movementarian.org>
7341
7342         * buffer.h:
7343         * buffer.C: move paragraph read into a separate function,
7344         a little renaming to reflect that.
7345
7346         * bufferparams.h:
7347         * bufferparams.C: remove the author_ids map, not necessary now
7348
7349         * factory.h:
7350         * factory.C: moved Buffer::readInset to here
7351
7352         * paragraph_funcs.h:
7353         * paragraph_funcs.C: readParagraph free function moved from
7354         buffer.C
7355
7356         * tabular.C: name change
7357
7358 2003-03-12  John Levon  <levon@movementarian.org>
7359
7360         * buffer.C:
7361         * ParagraphParameters.C: move par params input to
7362         a read() method
7363
7364         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7365         behave like a normal read from the stream wrt reading
7366         a line vs. a \\token
7367
7368 2003-03-12  John Levon  <levon@movementarian.org>
7369
7370         * paragraph.C:
7371         * ParagraphParameters.h:
7372         * ParagraphParameters.C: move output code to a
7373         ::write() method
7374
7375 2003-03-12  John Levon  <levon@movementarian.org>
7376
7377         * BufferView.C (insertLyXFile):
7378         * buffer.h:
7379         * buffer.C:
7380         * tabular.C: use a parlist iterator for creating the
7381           document.
7382
7383 2003-03-12  John Levon  <levon@movementarian.org>
7384
7385         * buffer.C: make current_change static local not
7386           static file-scope
7387
7388 2003-03-12  John Levon  <levon@movementarian.org>
7389
7390         * buffer.C: fix insertStringAsLines for change tracking
7391
7392 2003-03-12  John Levon  <levon@movementarian.org>
7393
7394         * BufferView.C:
7395         * tabular.C:
7396         * buffer.h:
7397         * buffer.C:
7398         * bufferparams.h:
7399         * bufferparams.C: move author list into params. Rename some
7400           functions. Move the header reading into a separate token
7401           loop. Move the header token reading into BufferParams.
7402
7403 2003-03-12  John Levon  <levon@movementarian.org>
7404
7405         * changes.C: put debug inside lyxerr.debugging() checks
7406
7407 2003-03-11 André Pönitz <poenitz@gmx.net>
7408
7409         * factory.C: make it aware of InsetHFill
7410
7411 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7412
7413         * buffer.C (latexParagraphs): move function from here...
7414         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7415         args.
7416
7417 2003-03-10  Angus Leeming  <leeming@lyx.org>
7418
7419         * LyXAction.C (init): fix bug in poplating array with multiple entries
7420         with the same LFUN (spotted by JMarc).
7421
7422 2003-03-10  John Levon  <levon@movementarian.org>
7423
7424         * text.C:
7425         * text2.C: move getColumnNearX() near its
7426         only call site
7427
7428 2003-03-10  John Levon  <levon@movementarian.org>
7429
7430         * text.C: fix break before a minipage
7431
7432 2003-03-10  John Levon  <levon@movementarian.org>
7433
7434         * text.C: fix the last commit
7435
7436 2003-03-09  John Levon  <levon@movementarian.org>
7437
7438         * lyxtext.h:
7439         * text.C:
7440         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7441         bug 365 (don't break before insets unless needed). Don't
7442         return a value > last under any circumstances.
7443
7444 2003-03-09  Angus Leeming  <leeming@lyx.org>
7445
7446         * BufferView_pimpl.C (trackChanges, dispatch): call
7447         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7448
7449 2003-03-09  Angus Leeming  <leeming@lyx.org>
7450
7451         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7452         than Dialogs::showAboutlyx().
7453
7454 2003-03-09  Angus Leeming  <leeming@lyx.org>
7455
7456         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7457         than Dialogs::showTabularCreate().
7458
7459 2003-03-09  John Levon  <levon@movementarian.org>
7460
7461         * lyxtext.h:
7462         * text.C:
7463         * text2.C: 3rd arg to nextBreakPoint was always the same.
7464           Use references.
7465
7466 2003-03-08  John Levon  <levon@movementarian.org>
7467
7468         * lyxrow.C:
7469         * paragraph.C:
7470         * paragraph.h:
7471         * rowpainter.C:
7472         * text.C:
7473         * text2.C: Remove the "main" bit from the "main body"
7474           notion.
7475
7476 2003-03-08  John Levon  <levon@movementarian.org>
7477
7478         * text.C (leftMargin): The left margin of an empty
7479         manual label paragraph should not include the label width
7480         string length.
7481
7482         * text.C (prepareToPrint): don't attempt to measure hfills
7483         for empty manual label paragraphs - the answer should be 0
7484
7485 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7486
7487         * CutAndPaste.C: remove commented code and reindent.
7488
7489 2003-03-08  John Levon  <levon@movementarian.org>
7490
7491         * lyxfunc.h:
7492         * lyxfunc.C: move reloadBuffer()
7493
7494         * BufferView.h:
7495         * BufferView.C: to here
7496
7497         * lyxvc.C: add comment
7498
7499         * vc-backend.h:
7500         * vc-backend.C: call bv->reload() to avoid
7501           getStatus() check on MENURELOAD
7502
7503 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7504
7505         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7506         to an old format .dep file.
7507
7508 2003-03-07  Angus Leeming  <leeming@lyx.org>
7509
7510         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7511         when the LFUN_MOUSE_RELEASE should have been handled by
7512         inset->localDispatch.
7513
7514 2003-03-07  Angus Leeming  <leeming@lyx.org>
7515
7516         * BufferView_pimpl.C (dispatch):
7517         * LyXAction.C (init):
7518         * ToolbarDefaults.C (init):
7519         * commandtags.h:
7520         * lyxfunc.C (getStatus):
7521         remove LFUN_INSET_GRAPHICS.
7522
7523         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7524
7525 2003-03-07  Angus Leeming  <leeming@lyx.org>
7526
7527         * commandtags.h:
7528         * LyXAction.C (init):
7529         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7530
7531         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7532
7533         * commandtags.h:
7534         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7535
7536         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7537         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7538
7539 2003-03-07  Angus Leeming  <leeming@lyx.org>
7540
7541         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7542         remove "ert".
7543
7544 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7545
7546         * ParagraphList.C (front): new function
7547         (back): implement
7548
7549 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7550
7551         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7552         and top_row_offset_. removed var first_y.
7553         * text.C (top_y):
7554         * text2.C (LyXText, removeRow):
7555         * text3.C:
7556         * BufferView_pimpl.C:
7557         use these methods instead of using first_y
7558
7559 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7560
7561         * text2.C (pasteSelection): adjust for checkPastePossible
7562
7563         * CutAndPaste.C: remove Paragraph * buf and replace with
7564         ParagraphList paragraphs.
7565         (DeleteBuffer): delete
7566         (cutSelection): change the tc type to textclass_type
7567         (copySelection): change the tc type to textclass_type
7568         (copySelection): adjust for ParagraphList
7569         (pasteSelection): change the tc type to textclass_type
7570         (pasteSelection): adjust for Paragraphlist
7571         (nrOfParagraphs): simplify for ParagraphList
7572         (checkPastePossible): simplify for ParagraphList
7573         (checkPastePossible): remove unused arg
7574
7575         * ParagraphList.C (insert): handle the case where there are no
7576         paragraphs yet.
7577
7578         * CutAndPaste.h: make CutAndPaste a namespace.
7579
7580         * text3.C (dispatch): adjust
7581
7582         * text.C (breakParagraph): add a ParagraphList as arg
7583
7584         * paragraph_funcs.C (breakParagraph): change to take a
7585         BufferParams and a ParagraphList as args.
7586         (breakParagraphConservative): ditto
7587         (mergeParagraph): ditto
7588         (TeXDeeper): add a ParagraphList arg
7589         (TeXEnvironment): ditto
7590         (TeXOnePar): ditto
7591
7592         * buffer.C (readLyXformat2): adjust
7593         (insertStringAsLines): adjust
7594         (latexParagraphs): adjust
7595
7596         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7597         (cutSelection): adjust
7598         (pasteSelection): adjust
7599
7600         * BufferView_pimpl.C (insertInset): adjust
7601
7602 2003-03-05  Angus Leeming  <leeming@lyx.org>
7603
7604         * commandtags.h:
7605         * LyXAction.C (init):
7606         * BufferView_pimpl.C (dispatch):
7607         * lyxfunc.C (getStatus):
7608         remove LFUN_CHILD_INSERT.
7609
7610         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7611
7612 2003-03-05  Angus Leeming  <leeming@lyx.org>
7613
7614         * commandtags.h:
7615         * LyXAction.C (init):
7616         * src/factory.C (createInset):
7617         * lyxfunc.C (getStatus):
7618         * text3.C (dispatch):
7619         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7620
7621         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7622
7623 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7624
7625         * ParagraphList.C (insert): handle insert right before end()
7626         (erase): fix cases where it can be first or last paragraph.
7627
7628 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7629
7630         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7631         Paragraph::next and Paragraph::previous
7632         (TeXOnePar): ditto
7633
7634         * text.C (breakParagraph): adjust
7635
7636         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7637         BufferParams& as arg.
7638         (breakParagraph): use ParagraphList::insert
7639         (breakParagraphConservative): take a Buffer* instead of a
7640         BufferParams& as arg.
7641         (breakParagraphConservative): use ParagraphList::insert.
7642
7643         * buffer.C (insertStringAsLines): un-const it
7644         (insertStringAsLines): adjust
7645
7646         * ParagraphList.C (insert): new function
7647
7648         * CutAndPaste.C (pasteSelection): adjust
7649
7650         * text.C (backspace): adjust
7651
7652         * tabular.C (SetMultiColumn): adjust
7653
7654         * CutAndPaste.C (cutSelection): adjust
7655         (pasteSelection): adjust
7656
7657         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7658         Buffer const * as arg
7659
7660         * ParagraphList.C (erase): new function
7661         * paragraph_funcs.C (mergeParagraph): use it
7662         (mergeParagraph): make it take a Buffer* instead of a
7663         BufferParams* as arg
7664
7665         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7666         as arg
7667         (breakParagraphConservative): ditto
7668
7669         * paragraph.h: remove the breakParagraph friend
7670
7671         * paragraph.C (eraseIntern): new function
7672         (setChange): new function
7673
7674         * paragraph_funcs.C (mergeParagraph): make it take a
7675         ParagraphList::iterator instead of a Paragraph *, adjust
7676         accordingly.
7677
7678         * paragraph.h: move an #endif so that the change tracking stuff
7679         also works in the NO_NEXT case.
7680
7681 2003-03-04  Angus Leeming  <leeming@lyx.org>
7682
7683         * commandtags.h:
7684         * LyXAction.C: new LFUN_INSET_MODIFY.
7685
7686         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7687         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7688
7689 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7690
7691         * several files: ws changes only
7692
7693         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7694         (TeXEnvironment): ditto
7695         (TeXDeeper): ditto
7696
7697         * buffer.C (makeLaTeXFile): adjust
7698         (latexParagraphs): make it take ParagraphList::iterator as args
7699
7700 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7701
7702         * buffer.C (latexParagraphs): adjust
7703
7704         * paragraph.C (TeXOnePar): move function...
7705         (optArgInset): move function...
7706         (TeXEnvironment): move function...
7707         * paragraph_pimpl.C (TeXDeeper): move function...
7708         * paragraph_funcs.C: ...here
7709
7710         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7711
7712 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7713
7714         * buffer.C (readInset): remove compability code for old Figure and
7715         InsetInfo insets
7716
7717 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7718
7719         * buffer.C: ws changes
7720         (readInset):
7721
7722         * BufferView_pimpl.C: ditto
7723         * author.C: ditto
7724         * buffer.h: ditto
7725         * bufferlist.h: ditto
7726         * changes.h: ditto
7727         * lyxfunc.C: ditto
7728
7729 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7730
7731         * converter.[Ch]: split into itself +
7732         * graph.[Ch]
7733         * format.[Ch]
7734         * Makefile.am: += graph.[Ch] + format.[Ch]
7735         * MenuBackend.C
7736         * buffer.C
7737         * exporter.C
7738         * importer.C
7739         * lyx_main.C
7740         * lyxfunc.C
7741         * lyxrc.C: added #include "format.h"
7742
7743 2003-02-27  Angus Leeming  <leeming@lyx.org>
7744
7745         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7746           a label.
7747
7748         * factory.C (createInset): add "label" to the factory.
7749
7750         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7751           string and do no more.
7752
7753 2003-02-27  Angus Leeming  <leeming@lyx.org>
7754
7755         * commandtags.h:
7756         * LyXAction.C (init):
7757         * factory.C (createInset):
7758         * BufferView_pimpl.C (dispatch):
7759           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7760
7761         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7762
7763         * lyxfunc.C (dispatch):
7764         * text3.C (dispatch): pass name to params2string.
7765
7766 2003-02-26  Angus Leeming  <leeming@lyx.org>
7767
7768         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7769           blocks together.
7770           Rearrange the ~includes. Strip out the unnecessary ones.
7771
7772         * factory.C (createInset): reformat.
7773           create new insets for the various LFUN_XYZ_APPLY lfuns.
7774
7775 2003-02-26  John Levon  <levon@movementarian.org>
7776
7777         * lyxrow.h:
7778         * lyxrow.C: add isParStart,isParEnd helpers
7779
7780         * paragraph.h: make isInserted/DeletedText take refs
7781
7782         * paragraph_funcs.h:
7783         * paragraph_funcs.C: remove #if 0'd code
7784
7785         * lyxtext.h:
7786         * text3.C:
7787         * text2.C:
7788         * text.C: use lyxrow helpers above.
7789           Move draw and paint routines to RowPainter.
7790           Make several methods use refs not pointers.
7791           Make backgroundColor() const.
7792           Add markChangeInDraw(), isInInset().
7793           Merge changeRegionCase into changeCase.
7794           Make workWidth() shouldn't-happen code into an Assert.
7795
7796         * rowpainter.h:
7797         * rowpainter.C: new class for painting a row.
7798
7799         * vspace.h:
7800         * vspace.C: make inPixels take a ref
7801
7802 2003-02-26  Angus Leeming  <leeming@lyx.org>
7803
7804         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7805         LFUN_REF_APPLY.
7806
7807 2003-02-25  John Levon  <levon@movementarian.org>
7808
7809         * ispell.C: give the forked command a more accurate name
7810
7811 2003-02-22  John Levon  <levon@movementarian.org>
7812
7813         * toc.h:
7814         * toc.C: make TocItem store an id not a Paragraph *
7815           (bug #913)
7816
7817 2003-02-21  Angus Leeming  <leeming@lyx.org>
7818
7819         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7820           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7821           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7822           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7823           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7824           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7825
7826         * BufferView_pimpl.C (dispatch):
7827         * LyXAction.C (init):
7828         * factory.C (createInset):
7829         * lyxfunc.C (getStatus, dispatch):
7830         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7831
7832 2003-02-21  Angus Leeming  <leeming@lyx.org>
7833
7834         * BufferView_pimpl.C (MenuInsertLyXFile):
7835         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7836         * lyxfunc.C (menuNew, open, doImport):
7837           no longer pass a LyXView & to fileDlg.
7838
7839 2003-02-21  Angus Leeming  <leeming@lyx.org>
7840
7841         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7842         * LyXAction.C: change, BIBKEY to BIBITEM.
7843         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7844         Change InsetBibKey to InsetBibitem.
7845         Change BIBKEY_CODE to BIBITEM_CODE.
7846         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7847         * factory.C: replace insetbib.h with insetbibitem.h.
7848         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7849         * paragraph.C: replace insetbib.h with insetbibitem.h.
7850         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7851         Change bibkey() to bibitem().
7852         * text.C: remove insetbib.h.
7853         * text2.C: replace insetbib.h with insetbibitem.h.
7854         change bibkey() to bibitem().
7855         * text3.C: remove insetbib.h.
7856         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7857
7858 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7859
7860         * lyxrc.C (output): enclose user email in quotes (in case there are
7861         several words)
7862
7863 2003-02-18  John Levon  <levon@movementarian.org>
7864
7865         * buffer.h: add std::
7866
7867 2003-02-17  John Levon  <levon@movementarian.org>
7868
7869         * SpellBase.h:
7870         * ispell.h:
7871         * ispell.C:
7872         * pspell.h:
7873         * pspell.C: reworking. Especially in ispell, a large
7874           number of clean ups and bug fixes.
7875
7876         * lyxfunc.C: fix revert to behave sensibly
7877
7878 2003-02-17 André Pönitz <poenitz@gmx.net>
7879
7880         * LyXAction.C:
7881         * commandtags.h: new LFUN_INSERT_BIBKEY
7882
7883         * layout.h:
7884         * lyxlayout.C:
7885         * buffer.C:
7886         * factory.C:
7887         * text.C:
7888         * text2.C:
7889         * text3.C:
7890         * paragraph.[Ch]:
7891         * paragraph_func.C: remove special bibkey handling
7892
7893 2003-02-17  John Levon  <levon@movementarian.org>
7894
7895         * text.C (Delete): fix case where delete at the end of
7896           the very first paragraph would not merge the pars
7897
7898 2003-02-17  John Levon  <levon@movementarian.org>
7899
7900         * lyxrow.C: fix lastPrintablePos()
7901
7902 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7903
7904         * bufferparams.C (writeLaTeX): add a std:here
7905
7906         * buffer.C: and remove a using directive there
7907
7908 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7909
7910         * buffer.C (makeLaTeXFile): move the code that generates the
7911           preamble...
7912
7913         * bufferparams.C (writeLaTeX): ... in this new method
7914
7915         * LaTeXFeatures.C (getEncodingSet): make const
7916           (getLanguages): make const
7917
7918         * MenuBackend.C (binding): returns the binding associated to this
7919           action
7920           (add): sets the status of each item by calling getStatus. Adds
7921           some intelligence.
7922           (read): add support for OptSubMenu
7923           (expand): remove extra separator at the end of expanded menu
7924
7925 2003-02-15  John Levon  <levon@movementarian.org>
7926
7927         * BufferView.C:
7928         * BufferView_pimpl.C:
7929         * bufferlist.h:
7930         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7931           inset code that had no actual effect. Remove unneeded status
7932           code.
7933
7934 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7935
7936         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7937           in preamble
7938
7939 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7940
7941         * text.C (drawLengthMarker): also draw an arrow marker for
7942           symbolic lengths (medskip...)
7943
7944 2003-02-14  John Levon  <levon@movementarian.org>
7945
7946         * tabular.h:
7947         * tabular.C: better method names
7948
7949 2003-02-14  John Levon  <levon@movementarian.org>
7950
7951         * BufferView_pimpl.C:
7952         * bufferlist.C:
7953         * buffer.C:
7954         * converter.C:
7955         * lyx_cb.C:
7956         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7957           it's a more accurate name. Remove some pointless uses.
7958
7959 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7960
7961         * text2.C (LyXText): change order of initilizers to shut off
7962           warnings
7963
7964 2003-02-14  John Levon  <levon@movementarian.org>
7965
7966         * buffer.C: use ParIterator for getParFromID()
7967
7968         * paragraph.h:
7969         * paragraph.C:
7970         * paragraph_pimpl.h:
7971         * paragraph_pimpl.C: remove unused getParFromID()
7972
7973 2003-02-14  John Levon  <levon@movementarian.org>
7974
7975         * buffer.C: remove some very old #if 0'd parse code
7976
7977 2003-02-13  John Levon  <levon@movementarian.org>
7978
7979         * text.h:
7980         * text.C:
7981         * text2.C: move hfillExpansion(), numberOfSeparators(),
7982           rowLast(), rowLastPrintable(), numberofHfills(),
7983           numberOfLabelHfills() ...
7984
7985         * lyxrow.h:
7986         * lyxrow.C: ... to member functions here.
7987
7988         * paragraph.h:
7989         * paragraph.C:
7990         * lyxtext.h:
7991         * text.C: remove LyXText::beginningOfMainBody(), and call
7992           p->beginningOfMainBody() directly. Move the check for
7993           LABEL_MANUAL into the latter.
7994
7995         * text.h:
7996         * text.C:
7997         * text2.C:
7998         * vspace.C:
7999         * BufferView.h:
8000         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8001
8002         * text.h:
8003         * text.C:
8004         * text2.C:
8005         * text3.C:
8006         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8007           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8008
8009 2003-02-13  John Levon  <levon@movementarian.org>
8010
8011         * CutAndPaste.C: remove debug
8012
8013 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8014
8015         * paragraph.C (asString): remove two unused variables
8016
8017         * lyxtextclass.C (readTitleType):
8018           (Read):
8019           (LyXTextClass): handle new members titletype_ and titlename_
8020
8021         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8022
8023 2003-02-09  John Levon  <levon@movementarian.org>
8024
8025         * buffer.h:
8026         * buffer.C: replace hand-coded list with a map for the dep clean
8027
8028 2003-02-08  John Levon  <levon@movementarian.org>
8029
8030         * LaTeX.C: consolidate code into showRunMessage() helper
8031
8032 2003-02-08  John Levon  <levon@movementarian.org>
8033
8034         * lyxfind.C:
8035         * lyxtext.h:
8036         * text2.C:
8037         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8038           and pass the size in explicitly
8039
8040         * BufferView_pimpl.h:
8041         * BufferView_pimpl.C:
8042         * BufferView.h:
8043         * BufferView.C: add getCurrentChange()
8044
8045         * BufferView_pimpl.h:
8046         * BufferView_pimpl.C: handle change lfuns
8047
8048         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8049           for changes. Mark pasted paragraphs as new.
8050
8051         * support/lyxtime.h:
8052         * support/lyxtime.C:
8053         * DepTable.C: abstract time_t as lyx::time_type
8054
8055         * LColor.h:
8056         * LColor.C: add colours for new text, deleted text, changebars
8057
8058         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8059           package use "usenames" option.
8060
8061         * commandtags.h:
8062         * lyxfunc.C:
8063         * LyXAction.C: add change lfuns
8064
8065         * Makefile.am:
8066         * author.h:
8067         * author.C: author handling
8068
8069         * buffer.h:
8070         * buffer.C: add a per-buffer author list, with first entry as
8071           current author. Handle new .lyx tokens for change tracking. Output
8072           author list to .lyx file. Output dvipost stuff to .tex preamble.
8073           Bump lyx format to 222.
8074
8075         * bufferlist.h:
8076         * bufferlist.C: add setCurrentAuthor() to reset current author details
8077           in all buffers.
8078
8079         * bufferparams.h:
8080         * bufferparams.C: add param for tracking
8081
8082         * bufferview_funcs.C: output change info in minibuffer
8083
8084         * Makefile.am:
8085         * changes.h:
8086         * changes.C: add change-tracking structure
8087
8088         * debug.h:
8089         * debug.C: add CHANGES debug flag
8090
8091         * lyxfind.h:
8092         * lyxfind.C: add code for finding the next change piece
8093
8094         * lyxrc.h:
8095         * lyxrc.C: add user_name and user_email
8096
8097         * lyxrow.h:
8098         * lyxrow.C: add a metric for the top of the text line
8099
8100         * lyxtext.h:
8101         * text.C: implement accept/rejectChange()
8102
8103         * lyxtext.h:
8104         * text.C: paint changebars. Paint new/deleted text in the chosen
8105         colours. Strike through deleted text.
8106
8107         * paragraph.h:
8108         * paragraph.C:
8109         * paragraph_pimpl.h:
8110         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8111           in the current change to the insert functions. Rework erase to
8112           mark text as deleted, adding an eraseIntern() and a range-based
8113           erase(). Implement per-paragraph change lookup and
8114           accept/reject.
8115
8116         * paragraph_funcs.C: Fixup paste for change tracking.
8117
8118         * tabular.C: mark added row/columns as new.
8119
8120         * text.C: fix rowLast() to never return -1. Don't allow
8121           spellchecking of deleted text. Track transpose changes. Don't
8122           allow paragraph break or merge where appropriate.
8123
8124         * text2.C: leave cursor at end of selection after a cut.
8125
8126 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8127
8128         * text.C (getLengthMarkerHeight):
8129         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8130         visible on screen too.
8131
8132 2003-02-07  John Levon  <levon@movementarian.org>
8133
8134         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8135
8136 2003-02-05  Angus Leeming  <leeming@lyx.org>
8137
8138         * lyxserver.C (read_ready): revert my patch of 11 September last year
8139         as it sends PC cpu through the roof. Presumably this means that
8140         the lyxserver will no longer run on an Alpha...
8141
8142 2003-01-30  Angus Leeming  <leeming@lyx.org>
8143
8144         * factory.C (createInset): create an InsetCommandParam of type "index"
8145         and use it to 'do the right thing'.
8146
8147         * text2.C (getStringToIndex): ensure that cursor position is always
8148         reset to the reset_cursor position.
8149
8150 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8151
8152         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8153         disabled.
8154
8155 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8156
8157         * bufferview.C:
8158         * lyxcb.C:
8159         * lyxfunc.C: Output messages with identical spelling, punctuation,
8160         and spaces
8161
8162 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8163
8164         * MenuBackend.C (expandFormats): List only viewable export formats
8165         in "View" menu
8166
8167         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8168         message
8169
8170         * lyxfunc.C (getStatus): Make sure that formats other than
8171         "fax" can also be disabled
8172
8173 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8174
8175         * text3.C (dispatch): put the lfuns that insert insets in 3
8176         groups, and call doInsertInset with appropriate arguments.
8177         (doInsertInset): new function, that creates an inset and inserts
8178         it according to some boolean parameters.
8179
8180 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8181
8182         * buffer.C (readFile): remember to pass on 'par' when calling
8183         readFile recursively.
8184
8185 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8186
8187         * MenuBackend.C (expandFormats): add "..." to import formats.
8188
8189 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8190
8191         * paragraph.C (asString): Remove XForms RTL hacks.
8192
8193 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8194         * buffer.C: fix typo
8195
8196 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8197
8198         * Makefile.am (LIBS): delete var
8199         (lyx_LDADD): add @LIBS@ here instead.
8200
8201 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8202
8203         * Clarify the meaning of "wheel mouse jump"
8204
8205 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8206
8207         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8208         tabular in a float
8209
8210 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8211
8212         * importer.C (Loaders): do not preallocate 3 elements in the
8213         vector, since one ends up with 6 elements otherwise
8214
8215 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8216
8217         * DepTable.C (write): write the file name as last element of the
8218         .dep file (because it may contain spaces)
8219         (read): read info in the right order
8220
8221 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8222
8223         * paragraph_pimpl.C (simpleTeXBlanks):
8224         (simpleTeXSpecialChars):
8225         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8226
8227         * tabular.C (latex): add some missing case statements. Reindent.
8228
8229         * MenuBackend.C (expandToc): remove unused variable.
8230
8231 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8232
8233         * LColor.C:
8234         * LaTeX.C:
8235         * LyXAction.C:
8236         * MenuBackend.C:
8237         * buffer.C:
8238         * exporter.C:
8239         * lyxfunc.C:
8240         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8241         and the like.
8242
8243 2003-01-05  John Levon  <levon@movementarian.org>
8244
8245         * BufferView.h:
8246         * BufferView.C: add getEncoding()
8247
8248         * kbsequence.h:
8249         * kbsequence.C: do not store last keypress
8250
8251         * lyxfunc.h:
8252         * lyxfunc.C: store last keypress here instead. Pass encoding
8253           to getISOEncoded()
8254
8255 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8256
8257         * lyx_main.C (init): remove annoying error message when following
8258         symbolic links (bug #780)
8259
8260 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8261
8262         * text.C (insertChar):
8263         * lyxrc.C (getDescription): remove extra spaces
8264
8265 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8266
8267         * lyxrc.C (getDescription): remove extra spaces
8268
8269 2002-12-20  John Levon  <levon@movementarian.org>
8270
8271         * text3.C: hack fix for page up/down across tall rows
8272
8273 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8274
8275         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8276         not been invoked
8277
8278 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8279
8280         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8281         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8282         thesaurus is not compiled in
8283
8284 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8285
8286         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8287
8288 2002-12-16  Angus Leeming  <leeming@lyx.org>
8289
8290         * lyxrc.[Ch]:
8291         * lyx_main.C (init): remove override_x_deadkeys stuff.
8292
8293 2002-12-12  John Levon  <levon@movementarian.org>
8294
8295         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8296           insert. Only remove shift modifier under strict
8297           circumstances.
8298
8299 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8300
8301         * MenuBackend.C (expandToc): fix crash.
8302
8303 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8304
8305         * MenuBackend.C (expandToc): gettext on float names.
8306
8307 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8308
8309         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8310         implement bool empty() [bug 490]
8311
8312 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8313
8314         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8315
8316 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8317
8318         * several files: ws changes
8319
8320 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8321
8322         * text2.C (setCounter): clean up a bit, use boost.format.
8323         (updateCounters): initialize par upon declaration.
8324
8325         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8326         if the layout exists. We do not just store the layout any more.
8327         (SwitchLayoutsBetweenClasses): use boost.format
8328
8329 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8330
8331         * converter.C (convert): if from and to files are the same, use a
8332         temporary files as intermediary
8333
8334 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8335
8336         * commandtags.h:
8337         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8338
8339 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8340
8341         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8342
8343 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8344
8345         * tabular.C (asciiPrintCell): use string(size, char) instead of
8346         explicit loop.
8347
8348         * sgml.C (openTag): fix order of arguments to string constructor
8349         (closeTag): ditto
8350
8351         * lyxfunc.C (dispatch): use boost.format
8352
8353         * lots of files: change "c" -> 'c'
8354
8355 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8356
8357         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8358
8359 2002-11-25  Angus Leeming  <leeming@lyx.org>
8360
8361         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8362
8363         * lyx_main.C (init): compile fix.
8364
8365 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8366
8367         * lyx_cb.C (start): boost.formatify
8368         do not include <iostream>
8369
8370         * lengthcommon.C: ws only
8371
8372         * boost-inst.C,BoostFormat.h: add more explict instantations
8373
8374 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8375
8376         * lots of files: handle USE_BOOST_FORMAT
8377
8378 2002-11-21  John Levon  <levon@movementarian.org>
8379
8380         * pspell.C: fix compile
8381
8382 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8383
8384         * lyxfunc.C (dispatch): use boost::format
8385         (open): ditto
8386         (doImport): ditto
8387
8388         * lyxfont.C (stateText): use boost::format
8389
8390         * lyx_main.C (LyX): use boost::format
8391         (init): ditto
8392         (queryUserLyXDir): ditto
8393         (readRcFile): ditto
8394         (parse_dbg): ditto
8395         (typedef boost::function): use the recommened syntax.
8396
8397         * importer.C (Import): use boost::format
8398
8399         * debug.C (showLevel): use boost::format
8400
8401         * converter.C (view): use boost::format
8402         (convert): ditto
8403         (move): ditto
8404         (scanLog): ditto
8405
8406         * bufferview_funcs.C (currentState): use boost::format
8407
8408         * bufferlist.C (emergencyWrite): use boost::format
8409
8410         * buffer.C (readLyXformat2): use boost::format
8411         (parseSingleLyXformat2Token): ditto
8412
8413         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8414
8415         * LaTeX.C (run): use boost::format
8416
8417         * Chktex.C (scanLogFile): use boost::format
8418
8419         * BufferView_pimpl.C (savePosition): use boost::format
8420         (restorePosition): ditto
8421         (MenuInsertLyXFile): ditto
8422
8423         * BoostFormat.h: help file for explicit instation.
8424
8425 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8426
8427         * tabular.C (latex): Support for block alignment in fixed width
8428         columns.
8429
8430 2002-11-17  John Levon  <levon@movementarian.org>
8431
8432         * BufferView_pimpl.C:
8433         * lyx_cb.C:
8434         * lyxfunc.C: split filedialog into open/save
8435
8436 2002-11-08  Juergen Vigna  <jug@sad.it>
8437
8438         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8439         by my last patch (hopefully).
8440
8441 2002-11-08  John Levon  <levon@movementarian.org>
8442
8443         * iterators.h:
8444         * iterators.C:
8445         * buffer.h:
8446         * buffer.C:
8447         * paragraph.h:
8448         * paragraph.C:
8449         * toc.h:
8450         * toc.C: ParConstIterator, and use it (from Lars)
8451
8452 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8453
8454         * lyxtextclass.[Ch]: revise and add doxygen comments
8455
8456 2002-11-07  John Levon  <levon@movementarian.org>
8457
8458         * text.C: fix progress value for spellchecker
8459
8460         * toc.C: fix navigate menu for insetwrap inside minipage
8461
8462         * paragraph_funcs.C: added FIXME for suspect code
8463
8464 2002-11-07  John Levon  <levon@movementarian.org>
8465
8466         * BufferView_pimpl.C: fix redrawing of insets
8467           on buffer switch
8468
8469 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8470
8471         * text2.C (updateCounters): fix bug 668
8472
8473 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8474
8475         * text3.C (dispatch): Do not make the buffer dirty when moving the
8476         cursor.
8477
8478 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8479
8480         * vc-backend.C: STRCONV
8481         (scanMaster): ditto
8482
8483         * text2.C (setCounter): STRCONV
8484
8485         * paragraph.C (asString): STRCONV
8486
8487         * lyxlength.C (asString): STRCONV
8488         (asLatexString): ditto
8489
8490         * lyxgluelength.C (asString): STRCONV
8491         (asLatexString): ditto
8492
8493         * lyxfunc.C (dispatch): STRCONV
8494         (open): ditto
8495
8496         * lyxfont.C (stateText): STRCONV
8497
8498         * importer.C (Import): STRCONV
8499
8500         * counters.C (labelItem): STRCONV
8501         (numberLabel): ditto
8502         (numberLabel): remove unused ostringstream o
8503
8504         * chset.C: STRCONV
8505         (loadFile): ditto
8506
8507         * bufferview_funcs.C (currentState): STRCONV
8508
8509         * buffer.C (readFile): STRCONV
8510         (asciiParagraph): ditto
8511         (makeLaTeXFile): ditto
8512
8513         * Spacing.C (writeEnvirBegin): STRCONV
8514
8515         * LaTeXFeatures.C (getLanguages): STRCONV
8516         (getPackages): ditto
8517         (getMacros): ditto
8518         (getBabelOptions): ditto
8519         (getTClassPreamble): ditto
8520         (getLyXSGMLEntities): ditto
8521         (getIncludedFiles): ditto
8522
8523         * LaTeX.C: STRCONV
8524         (run): ditto
8525         (scanAuxFile): ditto
8526         (deplog): ditto
8527
8528         * LString.h: add the STRCONV macros
8529
8530         * BufferView_pimpl.C (savePosition): STRCONV
8531         (restorePosition): ditto
8532         (MenuInsertLyXFile): ditto
8533
8534         * vc-backend.C (scanMaster): change from submatch[...] to
8535         submatch.str(...)
8536
8537         * funcrequest.C: include config.h
8538
8539         * factory.C: include config.h
8540
8541         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8542
8543         * box.C: include config.h
8544
8545         * LaTeX.C (scanAuxFile): change from submatch[...] to
8546         submatch.str(...)
8547         (deplog): ditto
8548
8549 2002-10-25  Angus Leeming  <leeming@lyx.org>
8550
8551         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8552
8553         * ispell.[Ch] (setError): new method.
8554         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8555         Use setError() insetead of goto END.
8556
8557         * lyx_cb.C (AutoSave): move out child process into new class
8558         AutoSaveBuffer.
8559
8560 2002-10-30  John Levon  <levon@movementarian.org>
8561
8562         * text3.C: make start appendix undoable
8563
8564 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8565
8566         * lyxlength.C (inPixels): Fix returned value.
8567
8568         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8569         environment.
8570
8571 2002-10-24  Angus Leeming  <leeming@lyx.org>
8572
8573         * lyxgluelength.h: no need to forward declare BufferParams
8574         or BufferView, so don't.
8575
8576 2002-10-21  John Levon  <levon@movementarian.org>
8577
8578         * BufferView.C: menuUndo ->undo, redo
8579
8580         * BufferView.h: document, remove dead, make some methods private
8581
8582         * paragraph_funcs.h:
8583         * paragraph_funcs.C:
8584         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8585
8586         * buffer.h:
8587         * buffer.C:
8588         * sgml.h:
8589         * sgml.C: move sgml open/close tag into sgml.C
8590
8591         * bufferview_funcs.h: unused prototype
8592
8593         * lyxfunc.h:
8594         * lyxfunc.C: remove unused
8595
8596         * lyxtext.h:
8597         * text.C: remove unused
8598
8599 2002-10-21  John Levon  <levon@movementarian.org>
8600
8601         * BufferView.h:
8602         * BufferView.C:
8603         * BufferView_pimpl.h:
8604         * BufferView_pimpl.C: fix mouse wheel handling based on
8605           patch from Darren Freeman
8606
8607 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8608
8609         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8610
8611 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8612
8613         * lyxlength.C (inPixels): Fix hanfling of negative length.
8614         Fix LyXLength::MU case.
8615
8616 2002-10-16  John Levon  <levon@movementarian.org>
8617
8618         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8619
8620 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8621
8622         * converter.C (view): add support for $$i (file name) and $$p
8623         (file path) for the viewer command. If $$i is not specified, then
8624         it is appended to the command (for compatibility with old syntax)
8625
8626 2002-10-14  Juergen Vigna  <jug@sad.it>
8627
8628         * undo_funcs.C (textHandleUndo): alter the order in which the
8629         new undopar is added to the LyXText, as we have to set first
8630         the right prev/next and then add it as otherwise the rebuild of
8631         LyXText is not correct. Also reset the cursor to the right paragraph,
8632         with this IMO we could remove the hack in "redoParagraphs()".
8633
8634 2002-10-09  Angus Leeming  <leeming@lyx.org>
8635
8636         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8637         to turn off an optimisation if a new inset is to be inserted.
8638
8639 2002-10-11 André Pönitz <poenitz@gmx.net>
8640
8641         * lyxtext.h: make some functions public to allow access
8642         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8643
8644 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8645
8646         * text3.C (dispatch): when changing layout, avoid an infinite loop
8647         [bug #652]
8648
8649 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8650
8651         * lyxrc.C (read): treat a viewer or converter command of "none" as
8652         if it were empty.
8653
8654         * MenuBackend.C (expandFormats): for an update, also allow the
8655         formats that are not viewable
8656
8657         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8658         script if it is newer than the lyxrc.defaults in user directory
8659
8660 2002-10-07 André Pönitz <poenitz@gmx.net>
8661
8662         * text.C: Vitaly Lipatov's small i18n fix
8663
8664 2002-09-25  Angus Leeming  <leeming@lyx.org>
8665
8666         * ispell.h: doxygen fix.
8667
8668 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8669
8670         * buffer.h (readFile): Add a new argument to the method, to allow
8671         reading of old-format templates.
8672
8673 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8674
8675         * toc.C (getTocList): Get TOC from InsetWrap.
8676
8677 2002-09-16  John Levon  <levon@movementarian.org>
8678
8679         * lyxfunc.C: check tabular for cut/copy too
8680
8681 2002-09-12  John Levon  <levon@movementarian.org>
8682
8683         * LyXAction.C: tidy
8684
8685         * factory.h:
8686         * factory.C: add header
8687
8688         * paragraph_funcs.h:
8689         * paragraph_funcs.C: cleanup
8690
8691 2002-09-11  John Levon  <levon@movementarian.org>
8692
8693         * PrinterParams.h: odd/even default to true
8694
8695 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8696
8697         * PrinterParams.h: update printer parameters for new xforms dialog
8698
8699 2002-09-11  Angus Leeming  <leeming@lyx.org>
8700
8701         * lyxserver.C (read_ready): re-write to make it more transparent
8702         and to make it work in coherent fashion under Tru64 Unix.
8703
8704 2002-09-11  André Pönitz <poenitz@gmx.net>
8705
8706         * commandtags.h:
8707         * LyXAction.C:
8708         * text3.C: implement LFUN_WORDSEL
8709
8710 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8711
8712         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8713         make floatlist_ a boost::shared_ptr<FloatList>
8714
8715         * lyxtextclass.C: include FloatList.h
8716         (LyXTextClass): initialize floatlist_
8717         (TextClassTags): add TC_NOFLOAT
8718         (Read): match "nofloat" to TC_NOFLOAT and use it.
8719         (readFloat): modify call to floatlist_
8720         (floats): ditto
8721         (floats): ditto
8722
8723         * FloatList.[Ch] (FloatList): remove commented out float
8724         initialization.
8725         (erase): new function
8726
8727 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8728
8729         * MenuBackend.C (expandToc): fix crash when there is no document
8730         open
8731
8732 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8733
8734         * many files: Add insetwrap.
8735
8736 2002-09-09  John Levon  <levon@movementarian.org>
8737
8738         * text2.C: remove confusing and awkward depth wraparound
8739
8740 2002-09-09  John Levon  <levon@movementarian.org>
8741
8742         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8743
8744         * buffer.h:
8745         * buffer.C: remove getIncludeonlyList()
8746
8747         * paragraph.C:
8748         * lyxfunc.C: remove headers
8749
8750 2002-09-09  Juergen Vigna  <jug@sad.it>
8751
8752         * text.C (getColumnNearX): fix form Michael this is most
8753         probably a cut&paste bug.
8754
8755 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8756
8757         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8758
8759         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8760         references, ws changes.
8761
8762         * text2.C (init): update counters after init
8763         (insertParagraph): no need to set counter on idividual paragraphs.
8764         (setCounter): access the counters object in the textclass object
8765         on in the buffer object.
8766         (updateCounters): ditto
8767
8768         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8769         shared_ptr<Counters> to avoid loading counters.h in all
8770         compilation units.
8771         (LyXTextClass): initialize ctrs_
8772         (TextClassTags): add TC_COUNTER, and ...
8773         (Read): use it here.
8774         (CounterTags): new tags
8775         (readCounter): new function
8776         (counters): new funtion
8777         (defaultLayoutName): return a const reference
8778
8779         * counters.C (Counters): remove contructor
8780         (newCounter): remove a couple of unneeded statements.
8781         (newCounter): simplify a bit.
8782         (numberLabel): some small formatting changes.
8783
8784         * buffer.[Ch]: remove all traces of counters, move the Counters
8785         object to the LyXTextClass.
8786
8787 2002-09-06  Alain Castera  <castera@in2p3.fr>
8788
8789         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8790         package to set the horizontal alignment on fixed width columns.
8791
8792         * lyx_sty.C:
8793         * lyx_sty.h: added tabularnewline macro def.
8794
8795         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8796
8797 2002-09-06  John Levon  <levon@movementarian.org>
8798
8799         * LyXAction.C: tooltips for sub/superscript
8800
8801         * MenuBackend.C: a bit more verbose
8802
8803         * lyxfunc.C: tiny clean
8804
8805         * undo_funcs.C: document undo_frozen
8806
8807 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8808
8809         * counters.C (Counters): add missing algorithm counter.
8810
8811         * text2.C (setCounter): lookup the counter with layouts latexname
8812         instead of by section number.
8813         (setCounter): use a hackish way to lookup the correct enum
8814         counter.
8815         a float name->type change
8816         reset enum couners with counter name directly instead of depth value.
8817
8818         * counters.C (Counters): remove the push_backs, change to use the
8819         float type not the float name.
8820         (labelItem): remove unused string, float name->type change
8821
8822         * counters.h: don't include vector, loose the enums and sects vectors
8823
8824 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8825
8826         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8827         (Read): add float->TC_FLOAT to textclassTags
8828         (Read): and handle it in the switch
8829         (readFloat): new function
8830
8831         * FloatList.C (FloatList): comment out the hardcoded float
8832         definitions.
8833
8834         * lyxlayout.h: ws change.
8835
8836 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8837
8838         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8839
8840 2002-09-03  Angus Leeming  <leeming@lyx.org>
8841
8842         * BufferView_pimpl.h: qualified name is not allowed in member
8843         declaration: WorkArea & Pimpl::workarea() const;
8844
8845         * factory.C: added using std::endl directive.
8846
8847         * text3.C: added using std::find and std::vector directives.
8848
8849 2002-08-29  André Pönitz <poenitz@gmx.net>
8850
8851         * lyxtext.h:
8852         * text2.C: remove unused member number_of_rows
8853
8854         * Makefile.am:
8855         * BufferView2.C: remove file, move contents to...
8856         * BufferView.C: ... here
8857
8858         * BufferView_pimpl.C:
8859         * factory.C: move more inset creation to factory
8860
8861         * vspace.C: avoid direct usage of LyXText, ws changes
8862
8863         * BufferView.[Ch]:
8864                 don't provide direct access to WorkArea, use two simple
8865                 acessors haveSelction() and workHeight() instead
8866
8867
8868 2002-08-29  John Levon  <levon@movementarian.org>
8869
8870         * BufferView_pimpl.C (dispatch): do not continue when
8871           no buffer
8872
8873 2002-08-28  André Pönitz <poenitz@gmx.net>
8874
8875         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8876
8877         * BufferView.h:
8878         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8879
8880 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8881
8882         * buffer.C: increment LYX_FORMAT to 221
8883
8884         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8885         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8886
8887         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8888
8889         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8890
8891 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8892
8893         * factory.C (createInset): use LyXTextClass::floats
8894
8895         * MenuBackend.C (expandFloatListInsert):
8896         (expandFloatInsert):
8897         (expandToc):
8898
8899         * text2.C (setCounter):
8900
8901         * LaTeXFeatures.C (useFloat):
8902         (getFloatDefinitions):
8903
8904         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8905
8906         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8907         floatlist_, with accessor floats().
8908
8909         * FloatList.h: remove global FloatList
8910
8911 2002-08-26  André Pönitz <poenitz@gmx.net>
8912
8913         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8914
8915         * BufferView.h:
8916         * BufferView2.C:
8917         * BufferView_pimpl.C:
8918         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8919
8920 2002-08-25  John Levon  <levon@movementarian.org>
8921
8922         * LyXAction.C: fix margin note description
8923
8924 2002-08-24  John Levon  <levon@movementarian.org>
8925
8926         * buffer.C:
8927         * bufferlist.C:
8928         * bufferview_funcs.C:
8929         * lyxfont.C:
8930         * undo_funcs.C: cleanups
8931
8932         * lyxfunc.C: disable CUT/COPY when no selection
8933
8934 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8935
8936         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8937         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8938
8939         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8940         Add backward compatibility to "mono", "gray" and "no".
8941
8942 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8943
8944         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8945         (and file_format >= 200).
8946
8947 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8948
8949         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8950
8951 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8952
8953         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8954
8955 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8956
8957         * BufferView_pimpl.C:
8958         * LyXAction.C:
8959         * buffer.C:
8960         * commandtags.h:
8961         * lyxfunc.C:
8962         * paragraph.[Ch]:
8963         * text2.C:
8964         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8965         inset and code to make it  work with the paragraph code. The inset
8966         can be anywhere in the paragraph, but will only do the expected
8967         thing in LaTeX if the layout file contains the parameter line
8968                         OptionalArgs    1
8969         (or more generally, a nonzero value) for that layout.
8970
8971 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8972
8973         * paragraph.h: remove the declaration of undefined counters class
8974         function.
8975
8976 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8977
8978         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8979         Dr. Richard Hawkins.
8980
8981 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8982
8983         * paragraph_funcs.h: remove some unneeded includes
8984
8985         * text.C (backspace): pasteParagraph now in global scipe
8986
8987         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8988         (pasteSelection): ditto
8989
8990         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8991         * paragraph_funcs.C (pasteParagraph): ... here
8992
8993 2002-08-20  André Pönitz <poenitz@gmx.net>
8994
8995         * commandtags.h: new LFUNs for swapping/copying table row/colums
8996
8997         * LyXAction.C:
8998         * lyxfunc.C: support for new lfuns
8999
9000 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9001
9002         * tabular.C:
9003         * buffer.[Ch]: remove NO_COMPABILITY stuff
9004
9005 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9006
9007         * boost.C (throw_exception): new file, with helper function for
9008         boost compiled without exceptions.
9009
9010         * paragraph.h:
9011         * lyxlength.C:
9012         * buffer.C:
9013         * ParameterStruct.h:
9014         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9015
9016         * bufferlist.C (emergencyWriteAll): use boost bind
9017
9018         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9019
9020         * text.C: include paragraph_funcs.h
9021         (breakParagraph): breakParagraph is now in global scope
9022
9023         * paragraph_funcs.[Ch]: new files
9024
9025         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9026         global scope
9027
9028         * buffer.C: include paragraph_funcs.h
9029         (insertStringAsLines): breakParagraph is now in global scope
9030
9031         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9032         paragraph_funcs.C
9033
9034         * CutAndPaste.C: include paragraph_funcs.h
9035         (cutSelection): breakParagraphConservative is now in global scope
9036         (pasteSelection): ditto
9037
9038         * buffer.h: declare oprator== and operator!= for
9039         Buffer::inset_iterator
9040
9041         * bufferlist.C (emergencyWrite): don't use fmt(...)
9042
9043         * text3.C: add using std::endl
9044
9045         * BufferView.C (moveCursorUpdate): remove default arg
9046
9047 2002-08-20  André Pönitz <poenitz@gmx.net>
9048
9049         * buffer.[Ch]: move inline functions to .C
9050
9051         * BufferView2.C:
9052         * BufferView_pimpl.C:
9053         * text.C:
9054         * buffer.[Ch]: use improved inset_iterator
9055
9056         * buffer.C:
9057         * paragraph.[Ch]: write one paragraph at a time
9058
9059 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9060
9061         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9062         style if style is not specified.
9063
9064 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9065
9066         * text2.C (setCounter): when searching for right label for a
9067         caption, make sure to recurse to parent insets (so that a caption
9068         in a minipage in a figure float works) (bug #568)
9069
9070 2002-08-20  André Pönitz <poenitz@gmx.net>
9071
9072         * text3.C: new file for LyXText::dispatch() and helpers
9073
9074         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9075
9076         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9077
9078 2002-08-19  André Pönitz <poenitz@gmx.net>
9079
9080         * lyxtext.h:
9081         * text.C: new LyXText::dispatch()
9082
9083         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9084
9085 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9086
9087         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9088
9089         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9090         Hebrew text.
9091
9092 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9093
9094         * Makefile.am: use $(variables) instead of @substitutions@
9095
9096 2002-08-15  André Pönitz <poenitz@gmx.net>
9097
9098         * lyxfunc.C:
9099         * BufferView_pimpl.C: streamlining mathed <-> outer world
9100         interaction
9101
9102         * commandtags.h:
9103         * LyXAction.C: remove unused LFUN_MATH
9104
9105 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9106
9107         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9108
9109 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9110
9111         * paragraph.C (Paragraph): reformat a bit
9112         (cutIntoMinibuffer): use builtin InsetList function instad of
9113         doing it manually.
9114         (getInset): ditto
9115
9116         * buffer.C: include boost/bind.hpp, add using std::for_each
9117         (writeFileAscii): use ParagraphList iterators
9118         (validate): use for_each for validate traversal of paragraphs
9119         (getBibkeyList): use ParagraphList iterators
9120         (resizeInsets): use for_each to resizeInsetsLyXText for all
9121         paragraphs.
9122         (getParFromID): use ParagraphList iterators
9123
9124         * BufferView2.C (lockInset): use paragraph list and iterators
9125
9126 2002-08-14  John Levon  <levon@movementarian.org>
9127
9128         * lyxserver.C: remove spurious xforms include
9129
9130 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9131
9132         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9133
9134 2002-08-13  André Pönitz <poenitz@gmx.net>
9135
9136         * LyXAction.[Ch]:
9137         * lyxfunc.C: further cleaning
9138
9139 2002-08-13  André Pönitz <poenitz@gmx.net>
9140
9141         * funcrequest.h: new constructor
9142
9143         * funcrequest.C: move stuff here from .h
9144
9145         * Makefile.am:
9146         * BufferView_pimpl.C:
9147         * LyXAction.C:
9148         * toc.C:
9149         * lyxfunc.C: subsequent changes
9150
9151         * lyxfunc.h: new view() member function
9152
9153         * lyxfunc.C: subsequent changes
9154
9155 2002-08-13  Angus Leeming  <leeming@lyx.org>
9156
9157         * BufferView2.C:
9158         * BufferView_pimpl.C:
9159         * buffer.C:
9160         * converter.C:
9161         * importer.C:
9162         * lyxfunc.C:
9163         * lyxvc.C:
9164         * toc.C:
9165         * vc-backend.C:
9166         changes due to the changed LyXView interface that now returns references
9167         to member variables not pointers.
9168
9169 2002-08-13  Angus Leeming  <leeming@lyx.org>
9170
9171         * WordLangTuple (word, lang_code): return references to strings,
9172         not strings.
9173
9174         * BufferView.h:
9175         * SpellBase.h:
9176         * lyxtext.h: forward-declare WordLangTuple.
9177
9178         * BufferView2.C:
9179         * ispell.C:
9180         * pspell.C:
9181         * text.C: #include "WordLangTuple.h".
9182
9183         * lyxtext.h:
9184         * text.C: (selectNextWordToSpellcheck): constify return type.
9185
9186 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9187
9188         * buffer.C:
9189         * buffer.h:
9190         * lyxtext.h:
9191         * paragraph.C:
9192         * paragraph_pimpl.h:
9193         * text.C:
9194         * text2.C:
9195         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9196         suggested by Angus.
9197         Made updateCounter always count from start of buffer, and removed
9198         second argument (par).
9199         Reverted floats number display to '#'. Perhaps I'll try again when the
9200         code base is sanitized a bit.
9201
9202 2002-08-12  Angus Leeming  <leeming@lyx.org>
9203
9204         * buffer.[Ch] (getLabelList): constify.
9205
9206 2002-08-07  André Pönitz <poenitz@gmx.net>
9207
9208         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9209
9210         * funcrequest.h: extension to keep mouse (x,y) position
9211
9212 2002-08-12  Juergen Vigna  <jug@sad.it>
9213
9214         * BufferView2.C (insertErrors): forbid undo when inserting error
9215         insets.
9216
9217         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9218
9219 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9220
9221         * ParagraphList.[Ch]: new files
9222
9223         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9224
9225         * BufferView2.C (lockInset): ParagraphList changes
9226         * toc.C: ditto
9227         * text2.C: ditto
9228         * bufferlist.C: ditto
9229         * buffer.h: ditto
9230         * buffer.C: ditto
9231
9232 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9233
9234         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9235         unused class variable counter_,
9236
9237         * paragraph.[Ch] (getFirstCounter): delete unused function
9238
9239         * counters.C: include LAssert.h
9240         (reset): add a new function with no arg, change other version to
9241         not have def. arg and to not allow empty arg.
9242
9243         * text2.C (setCounter): remove empty arg from call to Counters::reset
9244
9245 2002-08-11  John Levon  <levon@movementarian.org>
9246
9247         * Makefile.am: add WordLangTuple.h
9248
9249 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9250
9251         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9252         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9253
9254         * insets/insettext.C: InsetList changes
9255
9256         * graphics/GraphicsSupport.C (operator()): InsetList changes
9257
9258         * toc.C (getTocList): InsetList changes
9259
9260         * paragraph_pimpl.[Ch]: InsetList changes
9261
9262         * paragraph.[Ch]: InsetList changes
9263
9264         * buffer.C (inset_iterator): InsetList changes
9265         (setParagraph): ditto
9266         * buffer.h (inset_iterator): ditto
9267         * iterators.C (operator++): ditto
9268         * iterators.h: ditto
9269
9270         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9271
9272         * InsetList.[Ch]: new files, most InsetList handling moved out of
9273         paragraph.C.
9274
9275         * BufferView2.C (removeAutoInsets): InsetList changes
9276         (lockInset): ditto
9277         (ChangeInsets): ditto
9278
9279 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9280
9281         * paragraph_pimpl.h (empty): new function
9282
9283         * paragraph.[Ch] (empty): new function
9284
9285         * other files: use the new Paragraph::empty function
9286
9287 2002-08-09  John Levon  <levon@movementarian.org>
9288
9289         * lyxtext.h: remove unused refresh_height
9290
9291 2002-08-09  John Levon  <levon@movementarian.org>
9292
9293         * Makefile.am:
9294         * sgml.h:
9295         * sgml.C:
9296         * buffer.C:
9297         * paragraph.h:
9298         * paragraph.C: move sgml char escaping out of paragraph
9299
9300         * paragraph.h:
9301         * paragraph.C: remove id setter
9302
9303         * buffer.C:
9304         * paragraph.C:
9305         * paragraph_pimpl.C: remove dead tex_code_break_column
9306
9307         * bufferview_funcs.C: small cleanup
9308
9309         * lyxfunc.C: remove dead proto
9310
9311         * lyxtext.h: make some stuff private. Remove some dead stuff.
9312
9313         * lyxgluelength.C: make as[LyX]String() readable
9314
9315 2002-08-08  John Levon  <levon@movementarian.org>
9316
9317         * LyXAction.h:
9318         * LyXAction.C:
9319         * MenuBackend.C:
9320         * ToolbarDefaults.C:
9321         * lyxfunc.C:
9322         * lyxrc.C:
9323         * toc.C: lyxaction cleanup
9324
9325 2002-08-08  John Levon  <levon@movementarian.org>
9326
9327         * BufferView2.C: small cleanup
9328
9329         * lyxfind.h:
9330         * lyxfind.C: move unnecessary header into the .C
9331
9332 2002-08-08  John Levon  <levon@movementarian.org>
9333
9334         * funcrequest.h: just tedious nonsense
9335
9336         * lyx_main.h:
9337         * lyx_main.C: cleanups
9338
9339         * buffer.C:
9340         * vspace.C: remove dead header lyx_main.h
9341
9342 2002-08-07  Angus Leeming  <leeming@lyx.org>
9343
9344         * Paragraph.[Ch]:
9345         * paragraph_pimpl.h:
9346         Forward declare class Counters in paragraph.h by moving the ctrs member
9347         variable into Paragraph::Pimpl.
9348         (counters): new method, returning a reference to pimpl_->ctrs.
9349
9350         * text2.C: ensuing changes.
9351
9352 2002-08-07  John Levon  <levon@movementarian.org>
9353
9354         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9355
9356         * BufferView_pimpl.C: announce X selection on double/triple
9357           click
9358
9359         * lyx_main.C: use correct bool in batch dispatch
9360
9361         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9362
9363 2002-08-07  André Pönitz <poenitz@gmx.net>
9364
9365         * funcrequest.h: new class to wrap a kb_action and its argument
9366
9367         * BufferView.[Ch]:
9368         * BufferView_pimpl[Ch]:
9369         * LaTeX.C:
9370         * LyXAction.[Ch]:
9371         * lyxfunc.[Ch]:
9372         * lyxrc.C: subsequent changes
9373
9374
9375 2002-08-07  John Levon  <levon@movementarian.org>
9376
9377         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9378           document options change.
9379
9380 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9381
9382         * counters.[Ch]
9383         * text2.C
9384         * paragraph.[Ch]
9385         * makefile.am: move counters functionality over from
9386         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9387
9388 2002-08-06  John Levon  <levon@movementarian.org>
9389
9390         * WordLangTuple.h: new file for word + language code tuple
9391
9392         * SpellBase.h:
9393         * pspell.h:
9394         * pspell.C:
9395         * ispell.h:
9396         * ispell.C:
9397         * lyxtext.h:
9398         * text.C:
9399         * text2.C:
9400         * BufferView.h:
9401         * BufferView2.C: use WordLangTuple
9402
9403         * layout.h:
9404         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9405
9406 2002-08-06  John Levon  <levon@movementarian.org>
9407
9408         * lyx_main.C: fix cmdline batch handling
9409
9410 2002-08-06  André Pönitz <poenitz@gmx.net>
9411
9412         * lyxrc.C: set default for show_banner to true
9413
9414 2002-08-06  John Levon  <levon@movementarian.org>
9415
9416         * pspell.C: fix a crash, and allow new aspell to work
9417
9418 2002-08-06  John Levon  <levon@movementarian.org>
9419
9420         * lyxfunc.C:
9421         * kbmap.C: small cleanup
9422
9423         * vspace.h:
9424         * vspace.C: add const
9425
9426 2002-08-05  John Levon  <levon@movementarian.org>
9427
9428         * LyXAction.C: back to tabular-insert
9429
9430 2002-08-04  John Levon  <levon@movementarian.org>
9431
9432         * BufferView.h:
9433         * BufferView.C: cosmetic change
9434
9435         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9436
9437         * bufferlist.C:
9438         * buffer.h:
9439         * buffer.C:
9440         * lyxcb.h:
9441         * lyxcb.C:
9442         * lyxserver.C:
9443         * lyxvc.C:
9444         * vc-backend.C:
9445         * BufferView2.C: purge all "Lyx" not "LyX" strings
9446
9447         * lyxcursor.h:
9448         * lyxcursor.C: attempt to add some documentation
9449
9450         * lyxfunc.C:
9451         * commandtags.h:
9452         * LyXAction.C:
9453         * ToolbarDefaults.C:
9454         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9455           merge with LFUN_TABULAR_INSERT
9456
9457         * Makefile.am:
9458         * SpellBase.h:
9459         * ispell.h:
9460         * ispell.C:
9461         * pspell.h:
9462         * pspell.C: split up i/pspell implementations into separate
9463           files, many cleanups
9464
9465         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9466
9467         * text2.C: some cleanup
9468
9469         * lyxfunc.C: don't check for isp_command == "none" any more, it
9470           didn't make any sense
9471
9472 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9473
9474         * counters.[Ch]
9475         * text2.C
9476         * paragraph.[Ch]
9477         * makefile.am: move counters functionality over
9478         from text2.C/paragraph.[Ch] to counters.[Ch], and
9479         make proper C++.
9480 2002-08-02  John Levon  <levon@movementarian.org>
9481
9482         * buffer.C: s/lyxconvert/lyx2lyx/
9483
9484 2002-08-02  Angus Leeming  <leeming@lyx.org>
9485
9486         * lyxlex.C: revert John's change as it breaks reading of the user
9487         preamble.
9488
9489 2002-08-02  Angus Leeming  <leeming@lyx.org>
9490
9491         * importer.C (Import):
9492         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9493         changes due to LyXView::view() now returning a boost::shared_ptr.
9494
9495 2002-08-02  John Levon  <levon@movementarian.org>
9496
9497         * lyxlex.C: small cleanup
9498
9499 2002-08-02  John Levon  <levon@movementarian.org>
9500
9501         * text2.C (status): small cleanup, no logic change
9502
9503 2002-08-01  John Levon  <levon@movementarian.org>
9504
9505         * buffer.h:
9506         * buffer.C (writeFile): don't output alerts, caller
9507           handles this
9508
9509         * bufferlist.C:
9510         * lyx_cb.C: from above
9511
9512         * lyxfunc.C: allow to open non-existent files
9513
9514 2002-07-31  John Levon  <levon@movementarian.org>
9515
9516         * lyxserver.C: don't let incidental errors get
9517           in the way (errno)
9518
9519 2002-07-30  John Levon  <levon@movementarian.org>
9520
9521         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9522
9523 2002-07-30  John Levon  <levon@movementarian.org>
9524
9525         * lyxserver.h:
9526         * lyxserver.C: remove I/O callback too
9527
9528 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9529
9530         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9531         log.
9532
9533 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9534
9535         * many files: strip,frontStrip -> trim,ltrim,rtrim
9536
9537 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9538
9539         * PrinterParams.h: remove extern containsOnly, and include
9540         support/lstrings.h instead.
9541
9542         * LaTeX.C (scanAuxFile): modify because of strip changes
9543         (deplog): ditto
9544         * buffer.C (makeLaTeXFile): ditto
9545         * bufferparams.C (writeFile): ditt
9546         * lyxfont.C (stateText): ditto
9547         * lyxserver.C (read_ready): ditto
9548         * vc-backend.C (scanMaster): ditto
9549
9550         * BufferView_pimpl.h: ws changes
9551
9552         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9553
9554 2002-07-26  André Pönitz <poenitz@gmx.net>
9555
9556         * kb_sequence.C: remove unnedred usings
9557
9558 2002-07-26  Juergen Vigna  <jug@sad.it>
9559
9560         * lyxfind.C (LyXReplace): we have to check better if the returned
9561         text is not of theLockingInset()->getLockingInset().
9562
9563 2002-07-25  Juergen Vigna  <jug@sad.it>
9564
9565         * lyxfind.C (LyXReplace): don't replace if we don't get the
9566         right LyXText.
9567
9568         * undo_funcs.C (createUndo): remove debugging code.
9569
9570 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9571
9572         * buffer.C (parseSingleLyXformat2Token): Use default placement
9573         when reading old floats.
9574
9575         * FloatList.C (FloatList): Change the default placement of figure
9576         and tables to "tbp".
9577
9578 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9579
9580         * MenuBackend.C: using std::max
9581
9582 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9583
9584         * MenuBackend.C (expandToc):
9585         (expandToc2): code moved from xforms menu frontend. It is now
9586         generic and TOCs are transparent to menu frontends.
9587
9588 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9589
9590         * toc.C (getTocList): protect against buf=0
9591
9592         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9593         Menu as first parameter. Now, this calls itself recursively to
9594         expand a whole tree (this will be useful for TOC handling)
9595         (expandFloatInsert): remove 'wide' version of floats
9596
9597         * MenuBackend.h (submenuname): returns the name of the submenu.
9598         (submenu): returns the submenu itself, provided it has been
9599         created by MenuBackend::expand
9600
9601 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9602
9603         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9604         insets which have noFontChange == true. (bug #172)
9605
9606 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9607
9608         * BufferView_pimpl.C: add connection objects and use them...
9609         (Pimpl): here.
9610
9611 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9612
9613         * MenuBackend.C (expandLastfiles):
9614         (expandDocuments):
9615         (expandFormats):
9616         (expandFloatListInsert):
9617         (expandFloatInsert):
9618         (expand): split expand in parts
9619
9620 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9621
9622         * lyx_gui.C: use lyx_gui::exit()
9623
9624 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9625
9626         * LyXAction.C: show the failing pseudo action
9627
9628 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9629
9630         * buffer.C (readFile): Run the lyxconvert script in order to read
9631         old files.
9632
9633 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9634
9635         * LyXAction.C:
9636         * commandtags.h:
9637         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9638
9639 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9640
9641         * LyXAction.C:
9642         * commandtags.h:
9643         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9644
9645 2002-07-22  Herbert Voss  <voss@lyx.org>
9646
9647         * lengthcommon.C:
9648         * lyxlength.[Ch]: add support for the vertical lengths
9649
9650 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9651
9652         * toc.[Ch]: std:: fixes
9653
9654 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9655
9656         * lyxrc.C: do not include lyx_main.h
9657
9658         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9659         for layouts
9660
9661         * lyxrc.C:
9662         * encoding.C:
9663         * bufferlist.C:
9664         * BufferView2.C: include "lyxlex.h"
9665
9666         * tabular.h:
9667         * bufferparams.h: do not #include "lyxlex.h"
9668
9669         * lyxtextclasslist.C (Add): remove method
9670         (classlist): renamed to classlist_
9671
9672         * paragraph_pimpl.C:
9673         * paragraph.C:
9674         * text2.C:
9675         * CutAndPaste.C:
9676         * bufferview_funcs.C:
9677         * bufferlist.C:
9678         * text.C:
9679         * LaTeXFeatures.C:
9680         * buffer.C:
9681         * toc.C (getTocList): use BufferParams::getLyXTextClass
9682
9683         * toc.C (getTocList): use InsetFloat::addToToc
9684
9685         * toc.[Ch]: new files, containing helper functions to handle table
9686         of contents
9687
9688         * lyxfunc.C (dispatch): no need to remove spaces around command
9689         given as a string
9690         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9691         first command of the sequence; it is not very clever, but I do not
9692         have a better idea, actually
9693
9694         * LyXAction.C (LookupFunc): make sure to remove space at the
9695         beginning and end of the command
9696
9697 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9698
9699         * MenuBackend.C (getMenubar): new method: return the menubar of
9700         this menu set
9701         (read): treat differently reading of menu and menubar (in
9702         particular, the menubar has no name now)
9703         (Menu::menubar): remove
9704
9705         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9706         saving is finished
9707
9708 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9709
9710         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9711         a bibitem inset in a RTL paragraph.
9712
9713 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9714
9715         * paragraph_pimpl.C: constify
9716
9717         * BufferView_pimpl.C:
9718         * LaTeX.C:
9719         * lyxfunc.C: fix dispatch in a nicer way
9720
9721 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9722
9723         * lyxfunc.C (dispatch):
9724         * BufferView_pimpl.C:
9725         * BufferView_pimpl.h:
9726         * BufferView.C:
9727         * BufferView.h: rename Dispatch() to dispatch()
9728
9729         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9730
9731         * lyxlayout.C (Read): honor DependsOn tag
9732
9733         * lyxlayout.[Ch] (depends_on): new method
9734
9735         * version.C.in: update lyx_docversion
9736
9737         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9738
9739         * paragraph.C (validate): remove from here...
9740         * paragraph_pimpl.C (validate): ... and move here
9741         (isTextAt): make it const
9742
9743         * buffer.C (getLists): ws cleanup
9744
9745 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9746
9747         * language.C (read): Use iso8859-1 encoding in latex_lang
9748         (this prevents LyX from crashing when using iso10646-1 encoding).
9749
9750 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9751
9752         * text2.C (toggleInset): if cursor is inside an inset, close the
9753         inset and leave cursor _after_ it
9754
9755 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9756
9757         * lyxfunc.C: move minibuffer completion handling out of here
9758
9759 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9760
9761         * BufferView_pimpl.C:
9762         * LaTeX.C: fix dispatch calls
9763
9764 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9765
9766         * text.C (drawChars): Fix Arabic text rendering.
9767
9768 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9769
9770         * LyXAction.C:
9771         * commandtags.h:
9772         * lyxfunc.C: remove message-push/pop
9773
9774         * lyxserver.C:
9775         * lyxfunc.h:
9776         * lyxfunc.C: rationalise some code by removing verboseDispatch
9777           in favour of a bool argument to dispatch()
9778
9779 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9780
9781         * lyx_main.C (init): make sure to read symlinks as absolute paths
9782
9783 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9784
9785         * lyxfunc.h:
9786         * lyxfunc.C: no need for commandshortcut to be a member
9787
9788 2002-07-15  André Pönitz <poenitz@gmx.net>
9789
9790         * converter.C: add support for $$s (scripts from lib/scripts dir)
9791         * lyx_main.C: white space
9792
9793 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9794
9795         * bufferlist.C:
9796         * lyxrc.h:
9797         * lyxrc.C: remove second exit confirmation
9798
9799 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9800
9801         * BufferView.h:
9802         * BufferView.C:
9803         * BufferView2.C:
9804         * BufferView_pimpl.h:
9805         * BufferView_pimpl.C:
9806         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9807
9808 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9809
9810         * MenuBackend.C (expand): add numeric shortcuts to document menu
9811
9812         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9813
9814 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9815
9816         * lyxfont.C (setLyXFamily):
9817         (setLyXSeries):
9818         (setLyXShape):
9819         (setLyXSize):
9820         (setLyXMisc):
9821         (lyxRead):
9822         * debug.C (value):
9823         * buffer.C (asciiParagraph): use ascii_lowercase
9824
9825 2002-07-15  Mike Fabian  <mfabian@suse.de>
9826
9827         * lyxlex_pimpl.C (search_kw):
9828         * lyxlex.C (getLongString):
9829         * converter.h (operator<):
9830         * converter.C (operator<):
9831         * buffer.C (parseSingleLyXformat2Token):
9832         (asciiParagraph):
9833         * ToolbarDefaults.C (read):
9834         * MenuBackend.C (checkShortcuts):
9835         (read):
9836         * LColor.C (getFromGUIName):
9837         (getFromLyXName): use the compare_ascii_no_case instead of
9838         compare_no_case, because in turkish, 'i' is not the lowercase
9839         version of 'I', and thus turkish locale breaks parsing of tags.
9840
9841 2002-07-16  Angus Leeming  <leeming@lyx.org>
9842
9843         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9844         now takes a Buffer const & argument.
9845
9846 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9847
9848         * BufferView.C (resize): check there's a buffer to resize
9849
9850 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9851
9852         * lyxfunc.C: remove dead code
9853
9854         * lyxserver.h:
9855         * lyxserver.C: use lyx_guii::set_read_callback
9856
9857 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9858
9859         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9860         an inset in a RTL paragraph.
9861
9862 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9863
9864         * lyxfunc.C: repaint after a font size update
9865
9866 2002-07-15  André Pönitz <poenitz@gmx.net>
9867
9868         * lyxlength.C: inBP should be able to return negative values
9869
9870 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9871
9872         * lyxfunc.C: use lyx_gui::update_fonts()
9873
9874 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9875
9876         * lyxfunc.C: use lyx_gui::update_color()
9877
9878 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9879
9880         * bufferlist.C:
9881         * lyxfunc.h:
9882         * lyxfunc.C:
9883         * lyxrc.h:
9884         * lyxrc.C: remove file->new asks for name option, and let
9885           buffer-new take an argument
9886
9887 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9888
9889         * BufferView_pimpl.C: remove unneeded extra repaint()
9890
9891 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9892
9893         * LyXAction.C: allow command-sequence with NoBuffer
9894
9895         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9896
9897 2002-07-10  Angus Leeming  <leeming@lyx.org>
9898
9899         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9900
9901 2002-07-09  Angus Leeming  <leeming@lyx.org>
9902
9903         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9904
9905 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9906
9907         * lengthcommon.h: whitespace
9908
9909         * lyxfunc.C: update scrollbar after goto paragraph
9910
9911         * lyxtext.h: factor out page break drawing, and fix it so
9912           page break/added space paints as selected nicely
9913
9914 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9915
9916         * BufferView_pimpl.C: add FIXMEs, clean up a little
9917
9918 2002-07-09  André Pönitz <poenitz@gmx.net>
9919
9920         * lyxfont.[Ch]: support for wasy symbols
9921
9922 2002-07-08  André Pönitz <poenitz@gmx.net>
9923
9924         * BufferView_pimpl.C: apply John's patch for #93.
9925
9926 2002-07-05  Angus Leeming  <leeming@lyx.org>
9927
9928         * BufferView_pimpl.C (buffer): generate previews if desired.
9929
9930         * LColor.h: add "preview" to the color enum.
9931
9932         * LColor.C (LColor): add a corresponding entry to the items array.
9933
9934         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9935         with this buffer.
9936
9937 2002-07-05  Angus Leeming  <leeming@lyx.org>
9938
9939         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9940         The body of the code is now in the method that is passed an ostream &
9941         rather than a file name.
9942         Pass an additional only_preamble parameter, useful for the forthcoming
9943         preview stuff.
9944
9945 2002-07-03  André Pönitz <poenitz@gmx.net>
9946
9947         * lyxfunc.C: simplify getStatus() a bit for math stuff
9948
9949 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9950
9951         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9952
9953 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9954
9955         * text.C (changeRegionCase): do not change case of all the
9956         document when region ends at paragraph end (bug #461)
9957
9958 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9959
9960         * paragraph.C (startTeXParParams):
9961         (endTeXParParams): add \protect when necessary
9962
9963 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9964
9965         * BufferView_pimpl.C (workAreaExpose): remove warning
9966
9967 2002-06-27  Angus Leeming  <leeming@lyx.org>
9968
9969         * Makefile.am: add lyxlayout_ptr_fwd.h.
9970
9971 2002-06-26  André Pönitz <poenitz@gmx.net>
9972
9973         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9974
9975 2002-06-25  Angus Leeming  <leeming@lyx.org>
9976
9977         * lyxfunc.C (dispatch): Comment out the call to
9978         grfx::GCache::changeDisplay. The method no longer exists now that the
9979         pixmap generation part of the graphics loader has been moved into
9980         InsetGraphics.
9981
9982 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9983
9984         * text2.C: layout as layout
9985
9986         * text.C: layout as layout
9987
9988         * tabular.C (OldFormatRead): layout as layout
9989
9990         * paragraph_pimpl.C (TeXDeeper): layout as layout
9991         (realizeFont): layout as layout
9992
9993         * paragraph.C (writeFile): layout as layout
9994         (validate): layout as layout
9995         (getFont): layout as layout
9996         (getLabelFont): layout as layout
9997         (getLayoutFont): layout as layout
9998         (breakParagraph): layout as layout
9999         (stripLeadingSpaces): layout as layout
10000         (getEndLabel): layout as layout
10001         (getMaxDepthAfter): layout as layout
10002         (applyLayout): layout as layout
10003         (TeXOnePar): layout as layout
10004         (simpleTeXOnePar): layout as layout
10005         (TeXEnvironment): layout as layout
10006         (layout): layout as layout
10007         (layout): layout as layout
10008
10009         * lyxtextclass.C (compare_name): new functor to work with
10010         shared_ptr, layout as layout
10011         (Read): layout as layout
10012         (hasLayout): layout as layout
10013         (operator): layout as layout
10014         (delete_layout): layout as layout
10015         (defaultLayout): layout as layout
10016
10017         * lyxlayout_ptr_fwd.h: new file
10018
10019         * lyxlayout.C (Read): layout as layout
10020
10021         * lyx_cb.C (MenuInsertLabel): layout as layout
10022
10023         * bufferlist.C (newFile): layout as layout
10024
10025         * buffer.C (readLyXformat2): layout as layout
10026         (parseSingleLyXformat2Token): layout as layout
10027         (insertStringAsLines): layout as layout
10028         (asciiParagraph): layout as layout
10029         (latexParagraphs): layout as layout
10030         (makeLinuxDocFile): layout as layout
10031         (simpleLinuxDocOnePar): layout as layout
10032         (makeDocBookFile): layout as layout
10033         (simpleDocBookOnePar): layout as layout
10034         (getLists): layout as layout
10035
10036         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10037
10038         * CutAndPaste.C (cutSelection): layout as layout
10039         (pasteSelection): layout as layout
10040         (SwitchLayoutsBetweenClasses): layout as layout
10041
10042         * BufferView_pimpl.C (Dispatch): layout as layout
10043         (smartQuote): layout as layout
10044
10045         * BufferView2.C (unlockInset): layout as layout
10046
10047 2002-06-24  André Pönitz <poenitz@gmx.net>
10048
10049         * lyxfunc.C: fix #487
10050
10051 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10052
10053         * lyxrc.h:
10054         * lyxrc.C:
10055         * lyxfunc.C: remove display_shortcuts, show_banner
10056
10057 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10058
10059         * Buffer_pimpl.C: oops, update on resize
10060
10061 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10062
10063         * buffer.C:
10064         * converter.C:
10065         * exporter.C:
10066         * lyxfunc.C:
10067         * BufferView.h:
10068         * BufferView.C: use repaint()
10069
10070         * BufferView_pimpl.h:
10071         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10072           as it's a clearer description. Remove superfluous
10073           redraws.
10074
10075 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10076
10077         * text.C: fix bug 488. Not ideal, but getting
10078           getWord() to work properly for the insets that
10079           matter is more difficult ...
10080
10081 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10082
10083         * BufferView_pimpl.C:
10084         * LyXAction.C:
10085         * commandtags.h:
10086         * lyxfunc.C: remove the six million index lyxfuncs to just
10087           one, and DTRT (bug 458)
10088
10089 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10090
10091         * BufferView.h:
10092         * BufferView.C:
10093         * BufferView_pimpl.h:
10094         * BufferView_pimpl.C: clean up resize() stuff,
10095           and unnecessary updateScreen()s
10096
10097 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10098
10099         * BufferView.h:
10100         * BufferView.C:
10101         * BufferView_pimpl.h:
10102         * BufferView_pimpl.C:
10103         * lyxfind.h:
10104         * lyxfind.C:
10105         * minibuffer.C: remove focus management of workarea,
10106           not needed. Use screen's greyOut()
10107
10108 2002-06-17  Herbert Voss  <voss@lyx.org>
10109
10110         * converter.C: (convert) do not post a message, when converting
10111         fails, let the calling function decide what to do in this case
10112
10113 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10114
10115         * lyxfunc.C: tidy up a little
10116
10117 2002-06-16    <alstrup@diku.dk>
10118
10119         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10120         Got rid of FORMS_H_LOCATION include. Now we are
10121         GUII.
10122
10123 2002-06-15  LyX Development team  <lyx@rilke>
10124
10125         * buffer.[Ch] (sgmlOpenTag):
10126         (sgmlCloseTag): Added support for avoiding pernicious mixed
10127         content. Return number of lines written.
10128
10129         (makeLinuxDocFile):
10130         (makeDocBookFile): Fixed calls to sgml*Tag.
10131         Simple white space clean.
10132
10133         (simpleDocBookOnePar): Simple white space clean.
10134
10135         * tabular.[Ch] (docBook): Renamed to docbook and got another
10136         argument to related with the pernicious mixed content.
10137
10138         (docbookRow): Fixed calls for docbook inset method.
10139
10140 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10141
10142         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10143         so it's X11 independent.
10144
10145         * kb*.[Ch]: ditto.
10146
10147         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10148
10149 2002-06-15  Lyx Development team  <lyx@electronia>
10150
10151         * intl.h: Renamed getTrans to getTransManager.
10152
10153 2002-06-14  Angus Leeming  <leeming@lyx.org>
10154
10155         * Makefile.am: nuke forgotten stl_string_fwd.h.
10156
10157 2002-06-12  Angus Leeming  <leeming@lyx.org>
10158
10159         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10160
10161 2002-06-13  Angus Leeming  <leeming@lyx.org>
10162
10163         * LaTeX.C:
10164         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10165
10166 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10167
10168         * kbmap.C (getiso): add support for cyrillic and greek
10169
10170 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10171
10172         * BufferView.h:
10173         * BufferView.C:
10174         * BufferView_pimpl.h:
10175         * BufferView_pimpl.C: move bogus scrolling logic
10176           to xforms
10177
10178 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10179
10180         * lyxfunc.C:
10181         * BufferView_pimpl.C: view->resize() change
10182
10183 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10184
10185         * BufferView_pimpl.C: topCursorVisible
10186           prototype change
10187
10188 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10189
10190         * Makefile.am:
10191         * lyx_gui.h:
10192         * lyx_gui.C: move to frontends/
10193
10194         * main.C:
10195         * lyx_main.h:
10196         * lyx_main.C: changes from above
10197
10198 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10199
10200         * intl.C:
10201         * intl.h:
10202         * kbmap.C:
10203         * kbsequence.C:
10204         * lyx_cb.C:
10205         * lyx_main.C: minor tidy
10206
10207 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10208
10209         * BufferView_pimpl.h:
10210         * BufferView_pimpl.C:
10211         * BufferView.h:
10212         * BufferView.C: make painter() const,
10213           remove dead code
10214
10215         * BufferView2.C: use screen() accessor
10216
10217         * lyx_main.h:
10218         * lyx_main.C: some minor cleanup
10219
10220 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10221
10222         * BufferView_pimpl.h:
10223         * BufferView_pimpl.C: remove enter/leaveView,
10224           use workHeight()
10225
10226 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10227
10228         * BufferView.h:
10229         * BufferView.C:
10230         * BufferView2.C:
10231         * BufferView_pimpl.h:
10232         * BufferView_pimpl.C: only construct screen once,
10233           rename
10234
10235         * lyxrc.C: remove pointless comment
10236
10237 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10238
10239         * BufferView.h:
10240         * BufferView.C: remove active() and belowMouse()
10241
10242         * BufferView_pimpl.h:
10243         * BufferView_pimpl.C: use workarea() not workarea_,
10244           and make it use a scoped_ptr instead
10245
10246 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10247
10248         * lyx_gui.C: add debug message on BadWindow
10249
10250 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10251
10252         * sp_spell.C: fdopen is not part of the C++ standard.
10253
10254         * paragraph.C (InsetIterator): use >= instead of ==
10255
10256 2002-06-07  Angus Leeming  <leeming@lyx.org>
10257
10258         Fixes needed to compile with Compaq cxx 6.5.
10259         * BufferView_pimpl.C:
10260         * DepTable.C:
10261         * buffer.C:
10262         * converter.C:
10263         * encoding.C:
10264         * lyx_gui.C:
10265         * lyx_main.C:
10266         * lyxtextclasslist.C:
10267         * minibuffer.C:
10268         * sp_spell.C:
10269         * tabular_funcs.C:
10270         * vc-backend.C:
10271         all c-library variables have been moved into namespace std. Wrap
10272         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10273
10274         * lyxlength.C:
10275         * tabular-old.C:
10276         * tabular.C:
10277         Add a using std::abs declaration.
10278
10279         * kbmap.h (modifier_pair):
10280         * paragraph.h (InsetTable, InsetList):
10281         * lyxfont.h (FontBits):
10282         type definition made public.
10283
10284         * bufferlist.C (emergencyWriteAll): the compiler complains that
10285         there is more than one possible lyx::class_fun template to choose from.
10286         I re-named the void specialisation as lyx::void_class_fun.
10287
10288         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10289
10290         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10291         the compiler is is unable to find tostr in write_attribute.
10292
10293 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10294
10295         * buffer.C (sgmlError): hide #warning
10296
10297 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10298
10299         * xtl/*: get rid of xtl, which is not in use anyway
10300
10301         * LyXAction.C (init):
10302         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10303         were unimplemented xtl experimentation
10304
10305 2002-06-04  André Pönitz <poenitz@gmx.net>
10306
10307         * lyxfunc.C: disable array operation on simple formulae
10308
10309 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * converter.C: constify a bit
10312
10313 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10314
10315         * lyx_gui.C: check xforms version correctly
10316
10317 2002-04-30  Herbert Voss  <voss@lyx.org>
10318
10319         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10320         "keep" option
10321
10322 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10323
10324         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10325           attempt to register it with a VCS)
10326
10327 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10328
10329         * lyx_main.C (init): honor variables LYX_DIR_13x and
10330         LYX_USERDIR_13x
10331
10332 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10333
10334         * buffer.h:
10335         * buffer.C:
10336         * lyx_main.C: fix a crash on bad command line,
10337           and give a useful exit status on error
10338
10339         * lyxfunc.C (doImport): allow -i lyx to work
10340
10341 2002-03-30  André Pönitz <poenitz@gmx.net>
10342
10343         * lyxfunc.C: mathed font changes
10344
10345 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10346
10347         * LaTeX.C:
10348         * importer.h:
10349         * importer.C:
10350         * lyx_sty.h:
10351         * lyx_sty.C:
10352         * lyxlex.C:
10353         * lyxrow.h:
10354         * lyxtext.h:
10355         * paragraph.h:
10356         * paragraph.C:
10357         * texrow.h:
10358         * texrow.C:
10359         * text.C:
10360         * trans_mgr.h: srcdocs, and some minor cleanups
10361
10362 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10363
10364         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10365         call getFont all the time)
10366
10367 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10368
10369         * switch from SigC signals to boost::signals
10370
10371 2002-05-29  André Pönitz <poenitz@gmx.net>
10372
10373         * paragraph_pimpl.C (getChar): don't call size() too often...
10374
10375 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10376
10377         * paragraph_pimpl.C (insertChar): do not try to update tables when
10378         appending (pos == size())
10379
10380         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10381         in order to reduce drastically the number of comparisons needed to
10382         parse a large document
10383
10384 2002-05-29  André Pönitz <poenitz@gmx.net>
10385
10386         * text.C:
10387         * text2.C:
10388         * lyxtextclass.C:
10389         * sp_pspell.h:
10390         * textclasslist.[Ch]:
10391         * sp_ispell.h: whitespace change
10392
10393 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10394
10395         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10396         lyxaction directly now.
10397
10398 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10399
10400         * trans.C:
10401         * lyxfont.C:
10402         * lyxvc.C: remove unused headers
10403
10404 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10405
10406         * Makefile.am:
10407         * buffer.h:
10408         * undostack.h:
10409         * undostack.C:
10410         * undo_funcs.h:
10411         * undo_funcs.C: some cleanups. Use shared_ptr
10412           and a template for the undo stacks.
10413
10414 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10415
10416         * BufferView_pimpl.h:
10417         * BufferView_pimpl.C:
10418         * kbmap.h:
10419         * kbmap.C:
10420         * kbsequence.h:
10421         * kbsequence.C:
10422         * lyxfunc.h:
10423         * lyxfunc.C:
10424         * text2.C: use key_state/mouse_state
10425
10426 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10427
10428         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10429         and LSubstring
10430
10431         * chset.C: change include order
10432         (loadFile): use boost regex and get rid of LRegex and LSubstring
10433
10434         * Makefile.am (BOOST_LIBS): new variable
10435         (lyx_LDADD): use it
10436
10437         * LaTeX.C: change include order.
10438         (scanAuxFile): use boost regex and get rid of LRegex and
10439         LSubstring
10440         (deplog): ditto
10441
10442 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10443
10444         * ColorHandler.h:
10445         * ColorHandler.C:
10446         * FontInfo.h:
10447         * FontInfo.C: moved to frontends/xforms/
10448
10449         * FontLoader.h:
10450         * FontLoader.C: moved into frontends for GUIIzation
10451
10452         * Makefile.am:
10453         * lyx_gui.C:
10454         * lyxfont.C:
10455         * lyxfunc.C: changes from above
10456
10457 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10458
10459         * LColor.C: remove spurious X include
10460
10461         * BufferView_pimpl.C:
10462         * Makefile.am:
10463         * font.h:
10464         * font.C:
10465         * text.C:
10466         * text2.C: move font metrics to frontends/
10467
10468 2002-05-24  Juergen Vigna  <jug@sad.it>
10469
10470         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10471         setting the undo_cursor.
10472
10473         * ParagraphParameters.h: include local includes first.
10474
10475 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10476
10477         * BufferView_pimpl.C:
10478         * BufferView_pimpl.h:
10479         * Makefile.am:
10480         * WorkArea.h:
10481         * WorkArea.C:
10482         * screen.C: move WorkArea into frontends/
10483
10484         * lyxscreen.h:
10485         * screen.C:
10486         * text.C:
10487         * BufferView.C:
10488         * BufferView2.C: move LyXScreen into frontends/
10489
10490         * lyxlookup.h:
10491         * lyxlookup.C:
10492         * lyx_gui.C: move lyxlookup into frontends/xforms/
10493
10494 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10495
10496         * BufferView2.C:
10497         * BufferView_pimpl.C:
10498         * FontLoader.C:
10499         * LyXView.h:
10500         * LyXView.C:
10501         * Makefile.am:
10502         * WorkArea.C:
10503         * XFormsView.h:
10504         * XFormsView.C:
10505         * buffer.C:
10506         * bufferlist.C:
10507         * bufferview_funcs.C:
10508         * converter.C:
10509         * importer.C:
10510         * lyx_cb.C:
10511         * lyx_gui.C:
10512         * lyx_main.C:
10513         * lyx_find.C:
10514         * lyxfunc.C:
10515         * lyxvc.C:
10516         * minibuffer.C:
10517         * text.C:
10518         * text2.C:
10519         * trans.C:
10520         * vc-backend.C: move LyX/XFormsView into frontends/
10521
10522 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10523
10524         * Makefile.am:
10525         * PainterBase.C:
10526         * PainterBase.h:
10527         * Painter.C:
10528         * Painter.h:
10529         * WorkArea.C:
10530         * WorkArea.h:
10531         * screen.C:
10532         * tabular.C:
10533         * text.C:
10534         * text2.C: move Painter to frontends/
10535
10536 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10537
10538         * buffer.C: comment out some some code that depend upon lyx_format
10539         < 220
10540
10541         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10542         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10543
10544         * buffer.h (NO_COMPABILITY): turn off compability
10545
10546         * ColorHandler.C: include scoped_array.hpp
10547
10548         * font.C: Use more specific smart_ptr header.
10549         * Painter.C: ditto
10550         * gettext.C: ditto
10551         * ShareContainer.h: ditto
10552         * lyx_main.h: ditto
10553         * kbmap.h: ditto
10554         * FontInfo.h: ditto
10555         * BufferView_pimpl.h: ditto
10556         * ColorHandler.h: ditto
10557
10558         * kbmap.C (defkey): change call to shared_ptr::reset
10559
10560 2002-05-21  Juergen Vigna  <jug@sad.it>
10561
10562         * buffer.C (insertErtContents): fix to insert ert asis if it is
10563         non empty. Skip it completely if it contains only whitespaces.
10564
10565 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10566
10567         * BufferView_pimpl.C:
10568         * BufferView2.C: clear selection on paste (bug 393)
10569
10570 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10571
10572         * DepTable.C: include ctime
10573
10574 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10575
10576         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10577
10578 2002-05-14  Juergen Vigna  <jug@sad.it>
10579
10580         * text.C (breakParagraph): fixed function to honor the keepempty
10581         layout in the right maner and also to permit the right breaking
10582         algorithm on empty or non empyt keepempty paragraphs.
10583
10584         * paragraph.C (breakParagraph): we have to check also if the par
10585         is really empty (!size()) for isempty otherwise we do the wrong
10586         paragraph break.
10587
10588 2002-05-10  Juergen Vigna  <jug@sad.it>
10589
10590         * buffer.[Ch] : The following are only changes to the ert
10591         compatibility read reading old LaTeX layout and font stuff and
10592         convert it to ERTInsets.
10593
10594         * buffer.h: added isErtInset().
10595
10596         * buffer.C (struct ErtComp): add a fromlayout bool to check
10597         if we're inside a LaTeX layout.
10598         (isErtInset): new helper function.
10599         (insertErtContents): look for other ert insets before this one
10600         and insert the contents there, so that we don't have subsequent
10601         ERT insets with nothing between them. This way we create only one
10602         inset with multiple paragraphs. Also check if we don't insert only
10603         spaces ' ' as they are ignored anyway afterwards in the .tex file
10604         so if we have only spaces we will ignore this latex part in the
10605         new file.
10606         (parseSingleLyXformat2Token \\layout): better compatibility when
10607         reading layout-latex stuff.
10608         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10609         language tag.
10610         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10611         stuff after reading the inset only get the information back from
10612         the stack.
10613
10614 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10615
10616         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10617
10618         * LaTeXFeatures.C (getBabelOptions): New method.
10619
10620 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10621
10622         * BufferView_pimpl.C (Dispatch): work around missing argument for
10623         'layout'
10624
10625 2002-05-08  Juergen Vigna  <jug@sad.it>
10626
10627         * text.C (leftMargin): handle paragraph leftindent.
10628
10629         * paragraph.C (writeFile): write the new \\leftindent tag.
10630         (validate): handle leftindent code.
10631         (TeXEnvironment): handle paragraphleftindent code again.
10632
10633         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10634
10635         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10636         for paragrap_extra indent code and new token \\leftindent.
10637         (latexParagraphs): handle the leftindent as environment.
10638
10639         * ParameterStruct.h: added leftindent support.
10640
10641         * ParagraphParameters.C (leftIndent): added support functions for
10642         the paragraph left indent.
10643
10644         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10645         more appropriate.
10646
10647 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10648
10649         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10650         inside insetERT.
10651
10652         * text.C (computeBidiTables): No bidi in insetERT.
10653
10654         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10655         in RTL documents.
10656
10657 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10658
10659         * version.C.in: pre 5
10660
10661 2002-05-02  José Matos  <jamatos@fep.up.pt>
10662         * buffer.C (makeDocBookFile): white space changes, add newline to
10663         command styles.
10664         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10665
10666         * tabular.C (docBook): fix typo.
10667
10668 2002-05-03  Juergen Vigna  <jug@sad.it>
10669
10670         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10671         change in LyXText as we can not be sure it was not freed.
10672         (drawOneRow): remove unused code.
10673
10674         * text.C (drawInset): redo the calculation of the need_break_row as
10675         it could have a row which was already freed.
10676         (draw): look at the return value of drawInset and return false if
10677         it also returned false.
10678         (paintRowText): look at the return value of draw and return false if
10679         it also returned false.
10680
10681         * lyxtext.h: added bool return type to drawInset() and draw() so that
10682         if we have a change in the row so that the rowbreak has to be redone
10683         we abort drawing as it will be called again.
10684
10685 2002-05-02  Juergen Vigna  <jug@sad.it>
10686
10687         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10688         a change in the maintext also if we're inside an inset.
10689         (Dispatch): set the cursor again after a break line and after the
10690         screen has been updated as it could be we're in a different row.
10691
10692         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10693         to set the cursor behind the pargraph with > size().
10694         (setCursor): check also for the same paragraph when checking where
10695         to put the cursor if we have a NFR inset.
10696
10697         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10698         parts of layout read further up as it still was in the wrong
10699         position.
10700
10701 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10702
10703         * screen.C (drawFromTo): change sine fullRebreak always return
10704         true.
10705
10706         * buffer.C (parseSingleLyXformat2Token): reindent some
10707
10708         * BufferView_pimpl.C (update): change since fullRebreak always
10709         return true.
10710         (Dispatch): git rid of the last hardcoded "Standard"s.
10711
10712 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10713
10714         * text2.[Ch] (fullRebreak): make it return void now that we always
10715         returned true.
10716
10717 2002-04-30  Juergen Vigna  <jug@sad.it>
10718
10719         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10720         ert compatibility check for "latex" layout.
10721
10722 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10723
10724         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10725         minipages: use col% instead of p%, and also use the current font.
10726         (makeLaTeXFile): Fix use babel condition.
10727         (parseSingleLyXformat2Token): Correct font when reading old floats.
10728
10729 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10730
10731         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10732         inserting list of floats.
10733
10734 2002-04-25  Herbert Voss  <voss@lyx.org>
10735
10736         * MenuBackend.C (expand): don't add the graphics extensions to the
10737         export menu
10738
10739 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10740
10741         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10742         non-existing layout, do not complain if it was the default layout
10743         of the original class (bug #342)
10744
10745 2002-04-24  Juergen Vigna  <jug@sad.it>
10746
10747         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10748         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10749
10750 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10751
10752         * buffer.C (getBibkeyList): If using \bibliography, return the
10753         option field with the reference itself. Enables us to provide natbib
10754         support when using \bibliography.
10755
10756 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10757
10758         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10759
10760         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10761         natbib is provided by the LaTeX class.
10762
10763 2002-04-23  Juergen Vigna  <jug@sad.it>
10764
10765         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10766         Wakeup functions.
10767
10768         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10769
10770 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10771
10772         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10773
10774         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10775         ensuremath around textordmasculine, textordfeminine and
10776         textdegree.
10777
10778 2002-04-19  Juergen Vigna  <jug@sad.it>
10779
10780         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10781         reinitializing the buffer otherwise row-dimensions may be wrong.
10782         (update): reset also the selection cursors if they do exits otherwise
10783         their x/y positions may be wrong.
10784
10785         * text2.C (cursorDown): don't enter the inset if we came from a row
10786         above and are one row over the inset.
10787
10788         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10789         really leaving an inset.
10790
10791 2002-04-18  Juergen Vigna  <jug@sad.it>
10792
10793         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10794         of the selected paragraph does not have the selected layout also if
10795         the last one had!
10796
10797         * text2.C (setLayout): fixed bug which did not change last selected
10798         paragraph.
10799
10800         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10801         changed the read and substituted \\end_float with \\end_inset!
10802
10803         * BufferView_pimpl.C (cursorPrevious):
10804         (cursorNext): fixed to make it work with rows heigher than the work
10805         area without moving the cursor only the draw of the row.
10806         (workAreaMotionNotify): fix jumping over high rows.
10807
10808 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10809
10810         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10811         Ressler.
10812
10813 2002-04-16  Juergen Vigna  <jug@sad.it>
10814
10815         * text2.C (setCursor): set also the irow().
10816         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10817         (cursorUp):
10818         (cursorDown): support for locking an inset if the x_fix value goes
10819         inside it. That way I can transverse insets too with cursor up/down.
10820
10821         * lyxrow.h: added irow helper function same as other (i) functions.
10822
10823         * BufferView_pimpl.C (cursorPrevious):
10824         (cursorNext): fixed for insets!
10825
10826 2002-04-15  Juergen Vigna  <jug@sad.it>
10827
10828         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10829         position otherwise it is wrong in some cases.
10830
10831         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10832         inside the inset before the call.
10833
10834 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10835
10836         * buffer.[Ch] (getBibkeyList): make it const.
10837
10838 2002-04-12  Juergen Vigna  <jug@sad.it>
10839
10840         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10841
10842         * text2.C (getCursorX): new helper function
10843         (setCursor): compute also ix_
10844         (setCursorFromCoordinates): set also ix.
10845
10846         * lyxcursor.h: added ix_ and helper functions.
10847
10848         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10849
10850         * buffer.C (insertStringAsLines): dont break paragraph if the this
10851         paragraph is inside an inset which does not permit it!
10852
10853         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10854         also with no chars on this paragraph.
10855         (paintRowText): only paint stuff if it's inside the workarea!
10856
10857         * paragraph.C (breakParagraph): honor keepempty flag and break the
10858         paragraph always below not above.
10859
10860         * BufferView2.C (unlockInset): update the paragraph layout on inset
10861         unlock as we changed paragraph in such a case.
10862
10863         * lyxfind.C (LyXFind): clear the former selection if not found!
10864
10865         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10866         again called in insertChar().
10867
10868         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10869         an inset which uses the whole row!
10870         (rightMargin): ditto.
10871         (insertChar): force a rebreak if we inserted an inset!
10872
10873 2002-03-28  Herbert Voss  <voss@lyx.org>
10874
10875         * lyxlength.[Ch]: add inBP() to get the right PS-point
10876         units (BigPoint). With inPixels we have rounding errors
10877
10878 2002-04-11  Juergen Vigna  <jug@sad.it>
10879
10880         * text2.C (setCursorFromCoordinates): set iy to the right value.
10881         (setCursor): add check if row->previous exists!
10882
10883         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10884         an old float_type as this was the case in the old code!
10885
10886         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10887
10888         * BufferView2.C (showLockedInsetCursor): use iy
10889         (fitLockedInsetCursor): ditto
10890
10891         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10892         locked insets as there we have the right value now.
10893
10894         * lyxcursor.C: added iy_ variable and iy functions to set to the
10895         baseline of cursor-y of the locked inset.
10896
10897         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10898         (setCursor): fixed for insets which need a full row.
10899
10900         * text.C (rowLastPrintable): don't ignore the last space when before
10901         an inset which needs a full row.
10902         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10903         as last character of a row when before a inset which needs a full row.
10904
10905 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10906
10907         * version.C.in: update date
10908
10909         * text2.C (fullRebreak): try to always return true and see what
10910         happens...
10911
10912 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10913
10914         * MenuBackend.C (expand): use Floating::listName
10915
10916         * FloatList.C (FloatList): add listName argument to the built-in
10917         floats
10918
10919         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10920         text associated with the float.
10921
10922 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10923
10924         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10925
10926 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10927
10928         * ShareContainer.h: add a couple of missing typenames.
10929
10930 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10931
10932         * lyxrc.C (getDescription): use _() correctly rather than N_().
10933
10934 2002-03-28  Herbert Voss  <voss@lyx.org>
10935
10936         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10937         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10938
10939 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10940
10941         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10942         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10943
10944 2002-03-29  Juergen Vigna  <jug@sad.it>
10945
10946         * lyxfunc.C (dispatch): add a missing fitCursor call.
10947
10948         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10949         it was scrolled by a cursor move, so return the bool status.
10950
10951         * BufferView.C (fitCursor): return the bool flag also to the outside
10952         world as this is needed.
10953
10954         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10955
10956         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10957         call the edit() as it is not needed (and wrong) IMO.
10958         (workAreaButtonPress): set the screen_first variable before evt.
10959         unlock the inset as this may change screen_first and then we have
10960         a wrong y position for the click!
10961
10962 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10963
10964         * MenuBackend.C (expand): another translation that I missed
10965
10966 2002-03-28  Juergen Vigna  <jug@sad.it>
10967
10968         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10969
10970         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10971
10972 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10973
10974         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10975
10976         * MenuBackend.C (expand): fix export/view/update when there is no
10977         document open.
10978
10979 2002-03-27  Herbert Voss  <voss@lyx.org>
10980
10981         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10982         and text%
10983
10984 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10985
10986         * bufferview_funcs.C (currentState): only show paragraph number
10987         for is DEVEL_VERSION is set.
10988
10989         * lyxfunc.C (dispatch): put warning in INFO channel
10990
10991         * MenuBackend.C (expand): translate the name of floats
10992
10993         * FloatList.C (FloatList): mark the float names for translation
10994
10995         * converter.C (convert): use LibScriptSearch
10996
10997 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10998
10999         * MenuBackend.C (defaults): fix default menu (we might as well get
11000         rid of it...)
11001
11002 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11003
11004         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11005         directory.
11006
11007 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11008
11009         * lyxvc.C: reorder includes.
11010
11011 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11012
11013         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11014           properly
11015
11016 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11017
11018         * CutAndPaste.C: change layouts earlier on paste
11019           to avoid crashing when calling getFont()
11020
11021 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11022
11023         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11024         irritating #error.
11025
11026 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11027
11028         * WorkArea.C: remove 'Pending' debug message.
11029
11030         * most files: ws cleanup
11031
11032         * buffer.[Ch]: ws changes
11033
11034         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11035
11036 2002-03-21  Juergen Vigna  <jug@sad.it>
11037
11038         * tabular.C (SetMultiColumn): collapse also the contents of the
11039         cells and set the last border right. Added a Buffer const * param.
11040
11041 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11042
11043         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11044         linking or not.
11045
11046 2002-03-19  Juergen Vigna  <jug@sad.it>
11047
11048         * text2.C (clearSelection): reset also xsel_cache.
11049
11050         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11051         where it needs to be called (John tells us to do so too :)
11052         (selectionLost): reset sel_cache.
11053
11054         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11055
11056 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11057
11058         * text2.C (setCursorIntern): put debuging code in INSETS channel
11059
11060 2002-03-19  André Pönitz <poenitz@gmx.net>
11061
11062         * lyxfunc.C: tiny whitespace change
11063
11064 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11065
11066         * ToolbarDefaults.C (init):
11067         * LyXAction.C (init):
11068         * commandtags.h:
11069         * BufferView_pimpl.C (Dispatch):
11070         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11071
11072 2002-03-19  Allan Rae  <rae@lyx.org>
11073
11074         * exporter.C (Export): removeAutoInsets before doing anything else.
11075         While I've just introduced a dependency on BufferView this really is
11076         the best place to clean the buffer otherwise you need to cleanup in
11077         a dozen places before calling export or cleanup in a dozen functions
11078         that export calls.
11079
11080         * converter.C (runLaTeX):
11081         (scanLog): Better handling of removeAutoInsets and screen updates.
11082
11083         * lyxfunc.C (dispatch): small whitespace changes
11084
11085 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11086
11087         * WorkArea.C (C_WorkAreaEvent): return a value.
11088         (event_cb): return 1 if we handled the event, 0 otherwise.
11089
11090         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11091
11092 2002-03-18  Juergen Vigna  <jug@sad.it>
11093
11094         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11095         (GetAdditionalWidth): ditto.
11096         (RightLine): ditto.
11097         (LeftLine): ditto.
11098
11099         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11100         inset if we're there actually (probably not used right now but this
11101         is the direction to go for unifying code).
11102         (paste): disable code to clear the selection.
11103
11104         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11105         inside an InsetText and move the check further up as it is in the
11106         wrong place.
11107
11108         * text2.C (pasteSelection): set a selection over the pasted text.
11109
11110 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11111
11112         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11113         and libgraphics to build on Cygwin.
11114
11115 2002-03-15  Juergen Vigna  <jug@sad.it>
11116
11117         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11118         inserting an Inset into the paragraph. I know this is not the best
11119         fix but we already use current_view in CutAndPaste so we will remove
11120         all of it's using at the same time.
11121
11122         * buffer.C (sgmlError): deactivated function till it is rewritten in
11123         the right mode, now it can create problems.
11124
11125         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11126         before accessing it.
11127
11128 2002-03-14  Juergen Vigna  <jug@sad.it>
11129
11130         * undo_funcs.C (textHandleUndo): do the right thing when updating
11131         the inset after the undo/redo.
11132
11133         * text2.C (setCursor): just some testcode for #44 not ready yet.
11134
11135         * undo_funcs.C (textHandleUndo): set the next() and previous()
11136         pointers of the paragraph to 0 before deleting otherwise we have
11137         problems with the Paragraph::[destructor].
11138
11139         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11140         on a paragraph insertion.
11141
11142 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11143
11144         * buffer.C (asciiParagraph): use += operator for char append to
11145         string.
11146
11147         * paragraph.C (getFontSettings): compare >= not just >
11148         (highestFontInRange): ditto
11149         (setFont): ditto
11150
11151 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11152
11153         * paragraph.C: change several algorithm to be more appripriate for
11154         the problem domain. This is lookip in FontList and in the InsetList.
11155
11156 2002-03-13  André Pönitz <poenitz@gmx.net>
11157
11158         * commandtags.h:
11159         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11160
11161 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11162
11163         * commandtags.h:
11164         * LyXAction.C:
11165         * lyxfunc.C:
11166         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11167
11168 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11169
11170         * Painter.C (display): anon helper function, adjust code for this
11171         change.
11172         (pixmap): remove function.
11173
11174         * Painter.h: remove private display variable.
11175
11176         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11177
11178 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11179
11180         * WorkArea.[Ch]: remove figinset_canvas cruft.
11181
11182 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11183
11184         * lyxtextclass.C (operator): add one item cache optimization.
11185
11186         * bufferlist.h: doxy changes
11187
11188         * bufferlist.C: ws changes
11189
11190         * DepTable.[Ch] (ext_exist): place const in the right spot.
11191
11192         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11193         call resizeInsets.
11194         (workAreaExpose): call resizeInsets when the with BufferView changes.
11195         (Dispatch): adjust for protectedBlank removal
11196         (specialChar): call updateInset if the insert went ok.
11197
11198         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11199         specialChar instead.
11200
11201         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11202
11203         * BufferView.h: doxy change
11204
11205         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11206
11207         * lyxtextclass.C (operator[]): remove non-const version
11208         (defaultLayout): remove non-const version
11209
11210 2002-03-12  Juergen Vigna  <jug@sad.it>
11211
11212         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11213         did resize the LyXText too.
11214
11215         * buffer.C (readLyXformat2): set layout information on newly allocated
11216         paragraphs.
11217
11218         * tabular.C (OldFormatRead): set layout information on the paragraph.
11219
11220 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11221
11222         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11223
11224 2002-03-11  Juergen Vigna  <jug@sad.it>
11225
11226         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11227         plainly wrong.
11228         (resizeCurrentBuffer): force also the insets to resize themselfes.
11229         (moveCursorUpdate): fixed up for InsetText.
11230
11231 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11232
11233         * commandtags.h:
11234         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11235         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11236         value of Dialogs::tooltipsEnabled().
11237         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11238
11239 2002-03-08  Juergen Vigna  <jug@sad.it>
11240
11241         * BufferView_pimpl.C (updateInset): update inset inside inset also
11242         if it isn't inside theLockingInset().
11243
11244 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11245
11246         * buffer.C (asciiParagraph): redo some of the word and line length
11247         handling.
11248         (getLists): look for Caption instead of caption.
11249
11250 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11251
11252         * buffer.C (Buffer): initialize niceFile to true
11253         (makeLaTeXFile):
11254         (makeLinuxDocFile):
11255         (makeDocBookFile): make sure niceFile is true on exit
11256
11257 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11258
11259         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11260
11261 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11262
11263         * LyXSendto.C: remove.
11264         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11265         * lyx_gui.C: remove now-redundant comment.
11266         * ColorHandler.h: remove forward declaration of class WorkArea.
11267         * lyxfunc.C: remove #include "WorkArea.h".
11268
11269 2002-03-07  Juergen Vigna  <jug@sad.it>
11270
11271         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11272         got moved away with the DEPM and also set the inset_owner always
11273         right which before could have been omitted.
11274
11275 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11276
11277         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11278         wanted layout is not found.
11279
11280 2002-03-07  Juergen Vigna  <jug@sad.it>
11281
11282         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11283
11284 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11285
11286         * paragraph.C (breakParagraph): use default layout not layout of
11287         prev paragraph.
11288         (Paragraph): clear ParagraphParameters.
11289
11290 2002-03-06  Juergen Vigna  <jug@sad.it>
11291
11292         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11293         otherwise it would not be a valid lenght. Fixed a special case in
11294         the minipage compatibility read where we end the document with a
11295         minipage.
11296
11297         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11298         was set as it could be 0 for InsetTexts first entry.
11299
11300 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11301
11302         * paragraph.C (writeFile): if layout is empty write out
11303         defaultLayoutName().
11304
11305         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11306         file without named layout we set layout to defaultLayoutName().
11307
11308 2002-03-06  Juergen Vigna  <jug@sad.it>
11309
11310         * CutAndPaste.C (copySelection): set layout for new paragraph.
11311
11312         * text.C (prepareToPrint): leave ERT inset left aligned
11313         (leftMargin): don't indent paragraphs inside ERT insets
11314
11315 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11316
11317         * paragraph.C (breakParagraph): dont call clear do the work manually
11318
11319         * paragraph.[Ch] (clear): remove function
11320
11321 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11322
11323         * paragraph.C (Paragraph): dont call clear, the work has already
11324         been done.
11325
11326         * lyxtextclass.C (operator): assert if n is empty
11327
11328         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11329         work manually instead.
11330
11331 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11332
11333         * BufferView_pimpl.C: protect selectionLost against text == 0
11334
11335 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11336
11337         * text.C (breakParagraph): fix a setting layout to '0' problem.
11338
11339 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11340
11341         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11342         final location of file, for the included files, and graphics.
11343
11344 2002-03-05  Juergen Vigna  <jug@sad.it>
11345
11346         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11347
11348 2002-03-04  Juergen Vigna  <jug@sad.it>
11349
11350         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11351
11352         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11353         last column of multicolumn cells.
11354         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11355
11356 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11357
11358         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11359         file if it doesn't go to a temporary file.
11360
11361         * buffer.C (sgmlOpenTag):
11362         (sgmlCloseTag):  remove extra newline insertion.
11363
11364 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11365
11366         * text.C (getRowNearY): comment out debug msg
11367
11368 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11369
11370         * text2.C: first -> first_y
11371
11372         * text.C (getRowNearY): add some attemts at a possible
11373         optimization, not working.
11374
11375         * tabular.[Ch]: add BufferParams to several function so that newly
11376         created paragraph can be initialized to he default layotu for the
11377         buffers textclass.
11378
11379         * tabular-old.C (ReadOld): add buf->params to call of Init
11380
11381         * screen.C: rename text->first to text->first_y
11382
11383         * paragraph.C (breakParagraph): always set layout in the broken
11384         paragraph
11385
11386         * lyxtextclass.C (Read): remove lowercase
11387         (hasLayout): ditto
11388         (operator): ditto
11389         (delete_layout): ditto
11390
11391         * lyxtext.h: rename first -> first_y
11392
11393         * lyxlayout.C (Read): remove lowercase
11394         (name): ditto
11395         (setName): ditto
11396         (obsoleted_by): ditto
11397
11398         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11399
11400         * buffer.C (insertErtContents): add params are to InsetERT
11401         (parseSingleLyXformat2Token): add code to check if a paragraphs
11402         layout really exist.
11403         (parseSingleLyXformat2Token): add params to several inset
11404         constructors
11405         (asciiParagraph): remove lowercase, do the layout comparisons with
11406         no_case
11407
11408         * BufferView_pimpl.C (cursorNext): first -> first_y
11409         (resizeCurrentBuffer): first -> first_y
11410         (updateScrollbar): first -> first_y
11411         (scrollCB): first -> first_y
11412         (workAreaMotionNotify): first -> first_y
11413         (workAreaButtonPress): first -> first_y
11414         (checkInsetHit): first -> first_y
11415         (cursorPrevious): first -> first_y
11416         (cursorNext): first -> first_y
11417         (Dispatch): add buffer_->params to severl inset contructors
11418
11419 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11420
11421         * lyxlayout.C (Read): remove some debug info that I forgot.
11422
11423         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11424         clean up the code slightly.
11425         (makeLinuxDocFile): ditto
11426         (makeDocBookFile): ditto
11427
11428         * text2.C: layout as string
11429
11430         * text.C: layout as string
11431
11432         * paragraph_pimpl.C: layout as string
11433
11434         * paragraph.[Ch]: layout as string
11435
11436         * lyxtextclasslist.[Ch]: layout as string
11437
11438         * lyxtextclass.[Ch]: layout as string
11439
11440         * lyxtext.h: layout as string
11441
11442         * lyxlayout.[Ch]: layout as string
11443
11444         * lyx_cb.C: layout as string
11445
11446         * bufferview_funcs.C: layout as string
11447
11448         * bufferparams.C: layout as string
11449
11450         * buffer.C: layout as string
11451
11452         * LyXView.[Ch]: layout as string
11453
11454         * LaTeXFeatures.[Ch]: layout as string
11455
11456         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11457
11458         * BufferView_pimpl.C: change current_layout to string, remove
11459         lyx::layout_type.
11460         (Dispatch):
11461         (smartQuote):
11462         (insertInset):
11463         (workAreaButtonRelease): layout as string
11464
11465         * BufferView2.C (unlockInset): adjust
11466
11467         * vspace.C (asLatexCommand): use an explict temp variable.
11468
11469 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11470
11471         * Makefile.am: use FRONTEND_*
11472
11473 2002-03-01  Juergen Vigna  <jug@sad.it>
11474
11475         * tabular.C (SetWidthOfMulticolCell): changed to something better
11476         I hope but still work in progress.
11477         (recalculateMulticolumnsOfColumn): renamed function from
11478         recalculateMulticolCells as it is more appropriate now.
11479         (SetWidthOfCell): calculate multicols better.
11480
11481 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11482
11483         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11484
11485         * lyxfunc.C (processKeySym): print sequence also if it is
11486         `deleted' (complete)
11487
11488         * kbsequence.C (print): print sequence even if it is deleted
11489         (complete would be a better word, actually).
11490
11491         * lyxfunc.C (dispatch): print complete options after a prefix key
11492
11493         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11494
11495 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11496
11497         * text2.C (setCharFont): eliminate setCharFont code duplication.
11498
11499 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11500
11501         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11502         LFUN_TABULAR_FEATURE (bug #177)
11503
11504 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11505
11506         * Makefile.am: remove figure.h
11507
11508 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11509
11510         * Bufferview_pimpl.C:
11511         * CutAndPasteC:
11512         * LaTeX.C:
11513         * LyXSendto.C:
11514         * buffer.C:
11515         * bufferlist.C:
11516         * converter.C:
11517         * language.C:
11518         * lyxfunc.C:
11519         * lyxvc.C:
11520         * paragraph.C:
11521         * text.C:
11522         * text2.C: remove #include "lyx_gui_misc.h".
11523
11524         * LaTeX.C: added #include <cstdio>
11525
11526 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11527
11528         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11529         that the paragraph following this one can have.
11530
11531         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11532
11533         * vspace.C (asLatexCommand): fix bogus gcc warning
11534
11535         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11536
11537 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11538
11539         * text2.C (setLayout): get rid of redundant code
11540
11541 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11542
11543         * text2.C (incDepth): make sure depth cannot be increased beyond
11544         reasonable values.
11545
11546 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11547
11548         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11549         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11550
11551         * PainterBase.h (image):
11552         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11553         a LyXImage const *.
11554
11555 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11556
11557         * BufferView.C:
11558         * BufferView.h:
11559         * BufferView_pimpl.C:
11560         * BufferView_pimpl.h:
11561         * LaTeXFeatures.C:
11562         * LyXAction.C:
11563         * LyXView.C:
11564         * Makefile.am:
11565         * UpdateList.h:
11566         * UpdateList.C:
11567         * buffer.C:
11568         * figure.h:
11569         * figureForm.C:
11570         * figureForm.h:
11571         * figure_form.C:
11572         * figure_form.h:
11573         * lyx_cb.C:
11574         * lyx_gui.C:
11575         * lyx_gui_misc.C:
11576         * lyxfunc.C:
11577         * sp_base.h:
11578         * sp_ispell.h:
11579         * sp_pspell.h:
11580         * sp_spell.C: remove fig inset, and the crap house of
11581           cards that follows it
11582
11583 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11584
11585         * Makefile.am:
11586         * lyxserver.C:
11587         * os2_defines.h:
11588         * os2_errortable.h:
11589         * nt_defines.h: move .h into support/
11590
11591         * vms_defines.h: remove
11592
11593         * WorkArea.C: add space in debug output
11594
11595         * text2.C:
11596         * paragraph.C:
11597         * buffer.C: add WITH_WARNINGS
11598
11599         * vc-backend.h:
11600         * vc-backend.C:
11601         * bufferlist.C: s/retrive/retrieve/, add docs
11602
11603         * vspace.h:
11604         * vspace.C:
11605         * kbmap.h:
11606         * lyxlength.h:
11607         * lyxgluelength.h:
11608         * length_common.h:
11609         * chset.h:
11610         * chset.C: add docs
11611
11612         * lyxgui.C: add ID to X error handler
11613
11614         * lyxtestclass.c: fix typo
11615
11616 2002-02-26  Juergen Vigna  <jug@sad.it>
11617
11618         * tabular_funcs.C (write_attribute): changed so that some default
11619         attributes are not written at all.
11620         (getTokenValue): set default values before trying to read the
11621         value so we have the return value always set as default if we don't
11622         find the token we search for.
11623
11624         * tabular.C (Write): write bools as bools not as strings!
11625
11626 2002-02-22  Juergen Vigna  <jug@sad.it>
11627
11628         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11629         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11630
11631         * text.C (leftMargin): don't add an indent for paragraphs inside
11632         tabular cells (fix #208).
11633
11634 2002-02-21  José Matos  <jamatos@fep.up.pt>
11635
11636         * tabular.C (docBook): fixed support for long tables.
11637
11638 2002-02-20  Juergen Vigna  <jug@sad.it>
11639
11640         * text2.C (getFont): get the drawing font of the Inset if this
11641         paragraph is inside an inset (only important for InsetERT for now).
11642
11643         * buffer.C (insertErtContents): use new lanugage params in ERT
11644         constructor.
11645
11646         * CutAndPaste.C: commenting out seemingly uneeded code.
11647
11648 2002-02-19  Allan Rae  <rae@lyx.org>
11649
11650         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11651         Iterators might be simple to use but they also get invalidated.
11652         (removeAutoInsets): renamed saved cursor tracking variables and added
11653         some comments to clarify what everything does.
11654
11655 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11656
11657         * Chktex.C:
11658         * LaTeX.C:
11659         * LyXSendto.C:
11660         * converter.C:
11661         * lyx_cb.C:
11662         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11663         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11664
11665         * lyxfunc.C:
11666         * vc-backend.h: remove #include "support/syscall.h"
11667
11668         * LaTeX.C:
11669         * LyXSendto.C:
11670         * converter.C: rearrange #includes in Lars' approved fashion.
11671
11672         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11673         forward declare class Timeout in the header file.
11674
11675         * XFormsView.C: changes due to the above.
11676
11677         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11678         similar to LyXView.
11679
11680         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11681         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11682
11683 2002-02-18  José Matos  <jamatos@fep.up.pt>
11684
11685         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11686         insets contents.
11687
11688 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11689
11690         * a lot of small ws changes
11691         * add a lot of using std::XXX
11692         * use std construcs some places where approp.
11693         * use some exisint stuff from lyxfunctional where approp.
11694         * Make file changes to use partial linking (lets test this now...)
11695
11696 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11697
11698         * Chktex.C:
11699         * buffer.C:
11700         remove #include "support/syscontr.h" as it's redundant. Always has been.
11701
11702         * Chktex.C:
11703         * LaTeX.C:
11704         * LyXSendto.C:
11705         * converter.C:
11706         * lyx_cb.C:
11707         * vc-backend.C:
11708         change Systemcalls::System to Systemcalls::Wait and
11709         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11710         No change of functionality, just reflects the stripped down Systemcalls
11711         class.
11712
11713 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11714
11715         * debug.[Ch]: add a GRAPHICS type to the enum.
11716
11717 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11718
11719         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11720
11721         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11722         there is an inset.
11723
11724 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11725
11726         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11727         match the changes below.
11728
11729         * text2.C (toggleInset): if there is not editable inset at cursor
11730         position, try to see if cursor is _inside_ a collapsable inset
11731         and close it.
11732
11733 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11734
11735         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11736         document menu has a nice checkbox
11737
11738 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11739
11740         * lyxlength.C (asLatexString): change PW to output as percent of
11741         \textwidth.
11742
11743         * lengthcommon.C: change '%' to 't%'
11744
11745         * lyxfunc.C (dispatch): a few comments from Martin
11746
11747 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11748
11749         * WorkArea.h:
11750         * WorkArea.C:
11751         * BufferView_pimpl.h:
11752         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11753           the X selection.
11754
11755 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11756
11757         * vspace.C (inPixels): fix compiler warning
11758
11759 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11760
11761         * lyxfunc.C (getStatus): fix status message for disabled commands.
11762
11763 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11764
11765         * BufferView_pimpl.C: fix crash on close buffer
11766         during selection (#227)
11767
11768 2002-01-27  Herbert Voss  <voss@lyx.org>
11769
11770         * buffer.C: link old Figure to new graphic inset
11771
11772 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11773
11774         * FontLoader.C (getFontinfo): Change the latex font names in order
11775         to match the names of type1inst.
11776
11777 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11778
11779         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11780
11781         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11782         (extchanged): ditto
11783         (ext_exist): ditto
11784         (remove_files_with_extension): ditto
11785         (remove_file): ditto
11786         (write): ditto
11787
11788         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11789         document is smaller than the work area height. Do not initialize
11790         static variables to 0.
11791
11792 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11793
11794         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11795
11796         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11797         LFUN_LAYOUT_PARAGRAPHS.
11798
11799         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11800         tabular. It is possible to provide a possible cell, which will
11801         typically be the actcell from the corresponding insettabular
11802
11803         * lyxfunc.C (getStatus): small cleanup; disable
11804         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11805         true
11806
11807 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11808
11809         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11810
11811         * paragraph.C (startTeXParParams):
11812         (endTeXParParams): new methods. The LaTeX code to
11813         start/end paragraph formatting
11814         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11815         empty (fixes bug #200)
11816
11817         * vspace.C (inPixels): adapt to the change below
11818         (inPixels): [later] more cleanups (remove unused variables)
11819
11820         * lyxlength.C (inPixels): change to use a width and a height as
11821         parameter.
11822
11823 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11824
11825         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11826         Replaced with \paperwidth
11827
11828         * DepTable.C (insert): add std:: qualifier
11829
11830 2002-01-18  Allan Rae  <rae@lyx.org>
11831
11832         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11833         updated also?
11834
11835         * text.C (drawInset): Turned out I didn't know enough about how
11836         rebreaking worked.  This fixes most of the redraw problems.  I see
11837         an occasional cursor trail when a line is broken now and the cursor
11838         placement can seem out by a few pixels also after a rebreak.
11839
11840 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11841
11842         * buffer.C (parseSingleLyXformat2Token): update because minipage
11843         width is now a LyXLength
11844
11845         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11846
11847         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11848         math insets
11849
11850 2002-01-17  Juergen Vigna  <jug@sad.it>
11851
11852         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11853
11854         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11855         is set correctly and the inset is updated correctly.
11856
11857 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11858
11859         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11860         the beginning of the loop.
11861
11862 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11863
11864         * lyxrc.C: improve help for use_scalable_fonts
11865
11866 2002-01-17  Allan Rae  <rae@lyx.org>
11867
11868         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11869
11870 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11871
11872         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11873         make sure to set their inset_owner to the right value (bug #171)
11874
11875 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11876
11877         * DepTable.h
11878         * DepTable.C: Implement mtime checking to reduce time spent doing
11879         CRCs.
11880
11881 2002-01-16  Juergen Vigna  <jug@sad.it>
11882
11883         * tabular.C (GetAdditionalHeight): one of error fixed.
11884
11885         * lyxrc.C (output): small fix in writing use_pspell.
11886
11887 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11888
11889         * sp_base.h: #include LString.h
11890
11891 2002-01-16  Allan Rae  <rae@lyx.org>
11892
11893         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11894         Can someone check this please?
11895
11896         * text.C (drawInset): It was possible that p.row would be removed by
11897         breakAgainOneRow upsetting a few other settings.  There may be another
11898         small tweak possible by setting need_break_row = 0 when p.row has been
11899         removed but I don't know enough about the logic here.
11900
11901 2002-01-15  Allan Rae  <rae@lyx.org>
11902
11903         * text.C (insertChar): removed conditional truism.
11904
11905         * BufferView2.C (removeAutoInsets): More tweaks.
11906         cur_par_prev could be a stray pointer.  Check for trailing empty line
11907         in case last line was cur_par and only had an error inset on it.
11908
11909 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11910
11911         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11912         absolute
11913
11914         * vc-backend.C (most methods):
11915         * exporter.C (Export):
11916         * converter.C (convert):
11917         (runLaTeX):
11918         * LyXSendto.C (SendtoApplyCB):
11919         * lyxfunc.C (dispatch):
11920         (menuNew):
11921         (open):
11922         (doImport):
11923         * lyx_cb.C (AutoSave):
11924         (InsertAsciiFile):
11925         * BufferView_pimpl.C (MenuInsertLyXFile):
11926         * buffer.C (runChktex): use Buffer::filePath().
11927
11928         * buffer.h: rename filename to filename_; rename filepath to
11929         filepath_ and make it private
11930         (filePath): new method
11931
11932         * buffer.C (writeFile): use fileName()
11933         (getLatexName):
11934
11935         * lyx_main.C (init): fix starting  of LyX when the binary is a
11936         link from so,ewhere else.
11937
11938         * minibuffer.C: include <cctype> for isprint
11939
11940 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11941
11942         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11943         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11944         name clash with InsetCollapsable's width function.
11945
11946 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11947
11948         * lastfiles.C: include <iterator>
11949
11950 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11951
11952         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11953         std::count.
11954
11955         * buffer.C (makeLaTeXFile): ditto.
11956         Also make loop operation more transparent.
11957
11958 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11959
11960         * ToolbarDefaults.C: remove trailing comma closing namespace.
11961
11962         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11963
11964         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11965         as in WorkArea.
11966
11967         * trans.C (Load): comment out unused variable, allowed.
11968
11969 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11970
11971         * minibuffer.[Ch] (append_char): new method to recieve input from the
11972         drop-down completion browser. If a key was pressed, then recieve this
11973         char and append it to the existing string.
11974         (peek_event): modify the positioning data passed to the completion
11975         browser so that it can be placed above the minibuffer rather than below.
11976 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11977
11978         * LyXAction.C (init): alloe error-next for readonly documents.
11979
11980         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11981         count.
11982
11983 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11984
11985         * bufferlist.C (readFile): create the buffer _after_ checking that
11986         the file exists.
11987
11988         * lyxfunc.C (verboseDispatch): fix handling of arguments
11989
11990         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11991
11992         * lyxrc.C: use string::erase() instead of initializing to "".
11993
11994
11995 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11996
11997         * BufferView_pimpl.h:
11998         * BufferView_pimpl.C:
11999         * WorkArea.h:
12000         * WorkArea.C:
12001         * text2.C: tell X when we have made a selection for copying
12002
12003 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12004
12005         * BufferView_pimpl.C (MenuInsertLyXFile):
12006         * lyxfunc.C (menuNew):
12007         (open):
12008         (doImport): add shortcuts to directory buttons
12009
12010         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12011         open a float)
12012
12013         * lyxfunc.C (setStatusMessage):
12014         (getStatusMessage): new methods
12015         (getStatus):use setStatusMessage instead of setErrorMessage
12016         (dispatch): when function is disabled, set error message here
12017         [instead of in getStatus previously]
12018
12019         * BufferView_pimpl.C (workAreaButtonRelease): update
12020         toolbar/menubar here too.
12021
12022 2002-01-13  Allan Rae  <rae@lyx.org>
12023
12024         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12025         Now seems indestructible.  Remaining task is to audit all other
12026         code affected by deleteEmptyParagraphMechanism.  One small quirk
12027         left is that an empty document with an error in the preamble can
12028         be made to report an error but no error box appears.  I don't know
12029         where it goes.
12030         (removeAutoInsets): Improved comments.
12031
12032 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12033
12034         * Thesaurus.h:
12035         * Thesaurus.C: update for Aiksaurus 0.14
12036
12037 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12038
12039         * text2.C (firstParagraph): removed member function, all uses
12040         replaces with ownerParagraph
12041         (redoParagraphs): here
12042         (updateInset): here
12043         (toggleAppendix): here
12044         * BufferView2.C (insertErrors): here
12045         (setCursorFromRow): here
12046
12047 2002-01-13  Allan Rae  <rae@lyx.org>
12048
12049         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12050         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12051         There is still a way to segfault this although you may have to do this
12052         multiple times: Have an InsetERT with an unknown command in it.
12053         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12054         <down-arrow>, <Enter> again, View->DVI, BANG!
12055
12056         * text2.C (setCursor):
12057         (deleteEmptyParagraphMechanism):
12058         * lyxtext.h (setCursor):
12059         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12060         Making use of the return value may help fix other bugs.
12061
12062 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12063
12064         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12065
12066         * LyXView.C (updateMenubar): call MenuBar::update here
12067         (updateToolbar): but not here
12068         (showState): do not update toolbar/menubar
12069
12070         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12071         should need to care about that.
12072
12073         * lyxfunc.C (verboseDispatch): simplify a bit
12074         (getStatus): have a version which takes a pseudoaction, and
12075         another which requires a (kb_action,string).
12076
12077         * LyXAction.C (retrieveActionArg): make it work also when action
12078         is not a pseudo-action.
12079         (getActionName): simplify a bit
12080         (helpText):
12081
12082 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12083
12084         * lyxfunc.C (verboseDispatch): new families of methods with
12085         several ways to specify a command and a bool to indicate whether
12086         the command name and shortcut should be displayed in minibuffer
12087         (eventually, we could extend that to a finer bitmask like
12088         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12089         (dispatch): the pristine dispatch command which just, well,
12090         dispatchs! Note it still sets its result to minibuffer; I'm not
12091         sure we want that.
12092
12093         * lyxfunc.h: remove setHintMessage
12094
12095         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12096
12097 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12098
12099         * BufferView_pimpl.C (specialChar): delete new inset if we have
12100         not been able to insert it.
12101
12102         * kbmap.C: revert to using int instead of kb_action, since all we
12103         are dealing with is pseudo-actions.
12104
12105         * LyXAction.C (searchActionArg): change to return int instead of
12106         kb_action, since the result is a pseudoaction.
12107
12108 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12109
12110         * buffer.C (insertErtContents): Fix (partially) the font bug.
12111
12112 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12113
12114         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12115         as the other one is broken on my machine!
12116
12117 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12118
12119         * commandtags.h:
12120         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12121
12122 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12123
12124         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12125         reflect their actual use. Provide compatibility code for older lyxrc
12126         files.
12127
12128         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12129         FL_NORMAL_STYLE.
12130         change names of popup font variables in line with the changes to lyxrc.C
12131
12132 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12133
12134         * buffer.C (asciiParagraph): avoid outputing a word twice after
12135         an inset.
12136
12137         * lyxrc.C (getDescription): document that document_path and
12138         template_path can be empty.
12139
12140 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12141
12142         * LaTeXFeatures.C (getMacros):
12143         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12144
12145         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12146
12147         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12148         getPackages.
12149         (getPackages): rename feature "floats" to "float". Use an array to
12150         iterate over 'simple' features (i.e. just a \usepackage). Add
12151         handling of "amsmath" (renamed from "amsstyle").
12152
12153 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12154
12155         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12156         features list.
12157
12158 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12159
12160         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12161         FuncStaus::FuncStatus & FuncStaus::some_method().
12162
12163 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12164
12165         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12166         of the func_satus stuff. Edited and massaged in various ways by
12167         JMarc.
12168
12169         * lyxfunc.C (getStatus): use FuncStatus
12170
12171 2002-01-08  Juergen Vigna  <jug@sad.it>
12172
12173         * text.C (nextBreakPoint): use function Inset::isChar().
12174
12175         * paragraph.C (TeXOnePar): use function
12176         Inset::forceDefaultParagraphs.
12177
12178         * buffer.C (latexParagraphs): use function
12179         Inset::forceDefaultParagraphs.
12180
12181 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12182
12183         * lyx_gui.C (init): set the style of the menu popups to
12184         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12185
12186 2002-01-07  Juergen Vigna  <jug@sad.it>
12187
12188         * text.C (setHeightOfRow): small fix
12189         (prepareToPrint): don't look at alignment if we don't have the place
12190         for doing it.
12191
12192 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12193
12194         * box.C: New file. Move the Box methods and functions out of box.h,
12195         following Lars' suggestion.
12196
12197 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12198
12199         * box.h: #include "support/LOstream.h", needed for inlined function.
12200
12201         * lyxtextclass.C:
12202         * lyxtextclasslist.C: added some using std declarations.
12203
12204 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12205
12206         * box.h: make signed dimensions to allow insets wider than
12207           the screen (bug #162)
12208
12209         * BufferView_pimpl.C: add some insetHit debug
12210
12211 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12212
12213         * vc-backend.C: add FIXME
12214
12215 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12216
12217         * lyxfunc.C (getStatus): enable code for showing math font status
12218         in toolbar/menu.
12219
12220 2002-01-07  Juergen Vigna  <jug@sad.it>
12221
12222         * text.C (nextBreakPoint): removed debug output not needed anymore.
12223
12224 2002-01-06  Juergen Vigna  <jug@sad.it>
12225
12226         * text.C (nextBreakPoint): fixed up this function we had this bug
12227         since ever but now hopefully we break row better.
12228         (insertChar): we have to check if an inset is the next char as it
12229         could now happen that a large inset is causing a break.
12230
12231 2002-01-05  Juergen Vigna  <jug@sad.it>
12232
12233         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12234         if it doesn't like to be drawed.
12235
12236 2002-01-04  Juergen Vigna  <jug@sad.it>
12237
12238         * BufferView2.C (lockInset): forgot to set a cursor.
12239
12240         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12241
12242 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12243
12244         * FormMathsPanel.C:
12245         * FormMathsPanel.h
12246         * MathsSymbols.C:
12247         * form_maths_panel.C:
12248         * form_maths_panel.h:
12249         * form_maths_panel.fd: implemented sub- and super- buttons in math
12250         panel.
12251
12252         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12253         (or ^ space) to be used as in TeX (req'd by André).
12254
12255         * lyxfunc.C: Allow ^ and _ again to be used both as
12256         super/subscript (mathed) and as themselves (in text).
12257
12258 2002-01-03  Allan Rae  <rae@lyx.org>
12259
12260         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12261         "LyX" or the filename of the current buffer if it has one.  This is a
12262         modified form of John Levon's patch.
12263
12264         * XFormsView.C (setWindowTitle): also set icon title.
12265
12266         * LyXView.h (setWindowTitle): signature changed.
12267         * XFormsView.h (setWindowTitle): ditto.
12268
12269 2002-01-02  Juergen Vigna  <jug@sad.it>
12270
12271         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12272
12273 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12274
12275         * screen.C (topCursorVisible): introduce a temp var for
12276         text->cursor.row(), handle the case where this row is null. (kindo
12277         hachish)
12278
12279         * text2.C (setCursor): add a couple of asserts.
12280
12281         * paragraph.h (inset_iterator): add -> operator
12282
12283         * paragraph.[Ch] (autoDeleteInsets): remove member function
12284
12285         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12286         cursor pos correctly and handle inset deletion by itself.
12287         (insertErrors): move iterator declaration out of for expression
12288
12289         * lyxtextclass.C: add <algorithm>
12290
12291         * Makefile.am: added the new files to sources, removed layout.C
12292
12293         * layout.C: removed file
12294
12295         * layout.h: remove LYX_DUMMY_LAYOUT
12296
12297         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12298         layout.
12299
12300         * lyxlayout.[Ch]:
12301         * lyxtextclass.[Ch]:
12302         * lyxtextclasslist.[Ch]: new files
12303
12304         * include order changes to a lot of files, also changes because of
12305         the six new files.
12306
12307 2001-12-27  Juergen Vigna  <jug@sad.it>
12308
12309         * buffer.C (asciiParagraph): more fixes.
12310
12311         * tabular.C (ascii): make ascii export support export of only the
12312         data separated by a column-delimiter.
12313         (ascii): better support for ascii export.
12314
12315         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12316
12317 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12318
12319         * tabular_funcs.C: use a "using std::getline" instead of the
12320         previous fix from Angus (necessary for cxx + lyxstring)
12321
12322 2001-12-24  Juergen Vigna  <jug@sad.it>
12323
12324         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12325
12326         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12327         problems. First check a minipage also if we have some ert-contents
12328         (not only on par->size(), second set the right depth of the paragraph
12329         on the relink to the root-paragraph-list!
12330
12331         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12332         which then did not anymore update the main paragraphs on undo/redo!
12333
12334 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12335
12336         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12337         code. Support all font-changing funcs (even those which are not in
12338         menu currently). Support for reporting font settings in
12339         mathed (disabled until Andre provides a function on mathed's side).
12340
12341         * func_status.h (toggle): small helper function to set toggle
12342         state on a flag.
12343
12344 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12345
12346         * tabular_funcs.C: getline -> std::getline
12347
12348 2001-12-21  Juergen Vigna  <jug@sad.it>
12349
12350         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12351         accessed and could be 0 (I couldn't generate this but it seems
12352         Michael could!).
12353
12354 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12355
12356         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12357         * tabular_funcs.h: here and include iosfwd
12358
12359 2001-12-20  Juergen Vigna  <jug@sad.it>
12360
12361         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12362         inside inset but undo_par was.
12363
12364 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12365
12366         * Thesaurus.C: always include <config.h> in sources.
12367
12368         * Painter.h:
12369         * lyxlookup.h:
12370         * box.h: do not include <config.h> in header files
12371
12372         * text.C (paintLastRow): remove unused variable
12373
12374         * text.C (transformChar):
12375         (insertChar):
12376         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12377
12378         * Painter.C (text):
12379         * font.C (width): rewrite to use uppercase() instead of
12380         islower/toupper.
12381
12382         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12383
12384 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12385
12386         * lyxfind.C: clean up of find failure position change
12387
12388 2001-12-20  Juergen Vigna  <jug@sad.it>
12389
12390         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12391
12392         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12393         (TeXRow): added to LaTeX a single tabular row.
12394         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12395         (Latex): simplified and finally good LT-h/f support.
12396         (various_functions): just small adaptions for LT-h/f support.
12397
12398         * tabular_funcs.[hC]: added and moved here all not classfunctions
12399         of LyXTabular.
12400
12401 2001-12-19  Juergen Vigna  <jug@sad.it>
12402
12403         * tabular.[Ch]: better support for longtabular options (not finished
12404         yet!)
12405
12406 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12407
12408         * text.C (paintLastRow): use the label font instead of the font of
12409         the last character to compute the size of *_BOX. This makes more
12410         sense and avoids a crash with empty paragraphs.
12411         Use Painter::rectangle to draw EMPTY_BOX.
12412
12413 2001-12-19  Juergen Vigna  <jug@sad.it>
12414
12415         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12416         the paragraphs if the replaced paragraph is not the first one!
12417         Tried to delete not used paragraphs but does not work yet so for
12418         now it's inside #ifdef's and by default off!
12419
12420 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12421
12422         * MenuBackend.C: include "lyx_main.h" instead of declaring
12423         lastfiles (actually was declared as LastFiles* instead of a
12424         scoped_ptr).
12425
12426 2001-12-17  Juergen Vigna  <jug@sad.it>
12427
12428         * tabular.C (AppendColumn): applied John's fix
12429
12430 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12431
12432         * BufferView.h:
12433         * BufferView.C:
12434         * BufferView_pimpl.h:
12435         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12436
12437         * Makefile.am:
12438         * box.h: new start of class for above
12439
12440         * lyxfunc.C: ignore space-only minibuffer dispatches.
12441           Show the command name when it doesn't exist
12442
12443         * minibuffer.C: don't add empty lines to the history
12444
12445         * minibuffer.C: add a space on dropdown completion
12446
12447 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12448
12449         * text.C: fix line above/below drawing in insets
12450
12451 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12452
12453         * lyxlength.C (LyXLength): Initialize private variables.
12454
12455 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12456
12457         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12458         when inserting error insets.
12459
12460 2001-12-13  Juergen Vigna  <jug@sad.it>
12461
12462         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12463         actually sometimes the before-paragraph.
12464         (setUndo): don't clear the redostack if we're not actually undoing!
12465
12466 2001-12-06  Juergen Vigna  <jug@sad.it>
12467
12468         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12469         and fixed redoing of main paragraph, so we can use it now ;)
12470
12471         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12472
12473 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12474
12475         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12476         Juergen's request
12477
12478 2001-12-13  André Pönitz <poenitz@gmx.net>
12479
12480         * undostack.[Ch]:
12481         * undo_func.C: minor cleanup
12482
12483 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12484
12485         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12486         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12487         font in urw-fonts package which is marked as -urw-fontspecific and
12488         does not work (incidentally, changing the encoding in the
12489         fonts.dir of this package to -adobe-fontspecific fixes the
12490         problem).
12491
12492         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12493         is a crash when undoing first paragraph (Juergen, please take a
12494         look). THis does not mean the undo fix is wrong, just that it
12495         uncovers problems.
12496
12497         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12498         the (Paragraph*) version when needed instead of duplicating the
12499         code.
12500
12501         * text.C (workWidth): use Inset::parOwner to find out where the
12502         inset has been inserted. This is a huge performance gain for large
12503         documents with lots of insets. If Inset::parOwner is not set, fall
12504         back on the brute force method
12505
12506         * paragraph_pimpl.C (insertInset):
12507         * paragraph.C (Paragraph):
12508         (cutIntoMinibuffer): set parOwner of insets when
12509         inserting/removing them
12510
12511         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12512
12513 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12514
12515         * commandtags.h:
12516         * LyXAction.C:
12517         * lyx_main.C:
12518         * lyxfunc.C:
12519         * mathed/formulabase.C:
12520         * mathed/math_cursor.[Ch]:
12521         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12522
12523
12524 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12525
12526         * lyxlength.[Ch] (operator!=): new function
12527
12528 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12529
12530         * text.C (workWidth): use Inset::parOwner to find out where the
12531         inset has been inserted. This is a huge performance gain for large
12532         documents with lots of insets. If Inset::parOwner is not set, fall
12533         back on the brute force method
12534
12535         * paragraph_pimpl.C (insertInset):
12536         * paragraph.C (Paragraph):
12537         (cutIntoMinibuffer): set parOwner of insets when
12538         inserting/removing them
12539
12540         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12541
12542 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12543
12544         * tabular-old.C (getTokenValue):
12545         * tabular.C (getTokenValue):
12546         (write_attribute): new versions for LyXLength
12547         (everywhere): adjust the use of widths
12548
12549         * tabular.h: change the type of widths from string to LyXLength
12550
12551 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12552
12553         * paragraph.C: fixed missing line number count when exporting
12554         Environments to LaTeX file
12555
12556         * buffer.C: added informational message for checking line numbers.
12557
12558 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12559
12560         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12561         paragraph, do the 'double space' part, but not the 'empty
12562         paragraph' one.
12563
12564         * text.C (workWidth): small optimization
12565         (getLengthMarkerHeight): use minimal size for negative lengths.
12566
12567 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12568
12569         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12570
12571         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12572
12573 2001-12-11  André Pönitz <poenitz@gmx.net>
12574
12575         * FontLoader.C:
12576         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12577
12578 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12579
12580         * text2.C: keep selection on a setFont()
12581
12582 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12583
12584         * lyx_cb.C: another bv->text misuse, from insert label
12585
12586 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12587
12588         * kbsequence.h:
12589         * kbsequence.C: re-instate nmodifier mask
12590
12591 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12592
12593         * lyx_main.h: make lyxGUI private.
12594
12595 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12596
12597         * lyxfind.C: place the cursor correctly on failed search
12598
12599 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12600
12601         * text.C (getLengthMarkerHeight): for small heights, the arrows
12602         are not always on top/bottom of the text
12603         (drawLengthMarker): smaller arrows; take the left margin in
12604         account; draw also vfills.
12605         (paintFirstRow):
12606         (paintLastRow): remove special code for vfill and standard spaces,
12607         since everything is handled in drawLengthMarker now.
12608
12609 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12610
12611         * buffer.C (insertErtContents): try to handle font and language
12612         interaction a bit better.g
12613
12614         * ColorHandler.C (updateColor): change the hash to cover the whole
12615         LColor enum, ws cleanup
12616         (getGCLinepars): ditto
12617         (getGCLinepars): only lookup in the linecache once.
12618
12619 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12620
12621         * iterators.C (operator++): Make the iterator more robust
12622
12623         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12624         (John's patch)
12625         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12626
12627 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12628
12629         * lyxtext.h:
12630         * text.C: better added space drawing
12631
12632 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12633
12634         * LyXView.C:
12635         * BufferView2.C: fix layout combo update on inset unlock
12636
12637 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12638
12639         * Makefile.am: don't compile unused files
12640
12641 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12642
12643         * lyxfunc.C:
12644         * commandtags.h:
12645         * LyXAction.C: remove old LFUN_LAYOUTNO
12646
12647 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12648
12649         * paragraph_pimpl.h:
12650         * paragraph_pimpl.C: isTextAt() doesn't need font param
12651
12652 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12653
12654         * lyxlex.h:
12655         * lyxlex.C: little cleanup
12656
12657 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12658
12659         * BufferView_pimpl.C: fix insertAscii for insets
12660
12661 2001-12-05  Juergen Vigna  <jug@sad.it>
12662
12663         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12664         set the right font on the "multi" paragraph paste!
12665
12666 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12667
12668         * trans_decl.h:
12669         * trans_mgr.[Ch]:
12670         * trans.[Ch]:
12671         * lyxgluelength.C:
12672         * lyxlength.C: remove out-commented code.
12673
12674         * BufferView_pimpl:
12675         * CutAndPaste.C:
12676         * DepTable.C:
12677         * buffer.C:
12678         * chset.C:
12679         * lastfiles.C:
12680         * lyxlex.C:
12681         * lyxlex_pimpl.C:
12682         * lyxserver.C:
12683         * screen.C:
12684         * tabular-old.C:
12685         * tabular.C:
12686         * text.C:
12687         * trans_mgr.C:
12688         * vc-backend.C: change "while(" to "while ("
12689
12690         * lyxlength.[Ch]: add zero function to check if length is zero or
12691         not
12692         * lyxgluelength.C: use it
12693
12694 2001-12-05  Allan Rae  <rae@lyx.org>
12695
12696         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12697         Works for 2.95.3, from what I understand of Garst's reports this should
12698         work for other g++ versions.  We're screwed if the abs(int) definition
12699         changed between bugfix releases of gcc.
12700
12701 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12702
12703         * text.C: fix chapter label offset !
12704
12705 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12706
12707         * lyxtext.h:
12708         * text.C: fix hfill at end of line, clean up
12709
12710 2001-12-04  Juergen Vigna  <jug@sad.it>
12711
12712         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12713         that we force an update of the inset and it's owners if neccessary.
12714
12715 2001-12-03  Juergen Vigna  <jug@sad.it>
12716
12717         * text.C (rowLast): simplified code
12718
12719 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12720
12721         * lyxfunc.C: fix show options on timeout
12722
12723 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12724
12725         * screen.C (topCursorVisible): scroll half a page when the cursor
12726         reached top of bottom of screen
12727
12728 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12729
12730         * minibuffer.C: deactivate on loss of focus
12731
12732 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12733
12734         * vspace.[Ch] (operator!=): add operator.
12735
12736 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12737
12738         * BufferView_pimpl.C: refuse to open an inset when
12739         there's a selection.
12740
12741 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12742
12743         * BufferView_pimpl.C: allow to click on RHS of full row insets
12744
12745 2001-11-30  Juergen Vigna  <jug@sad.it>
12746
12747         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12748         insets for undo reasons.
12749
12750 2001-11-28  André Pönitz <poenitz@gmx.net>
12751
12752         * vspace.[Ch]: cosmetical changes
12753
12754 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12755
12756         * LyXAction.h:
12757         * LyXAction.C:
12758         * lyxfunc.h:
12759         * lyxfunc.C:
12760         * kbmap.h:
12761         * kbmap.C:
12762         * lyxrc.C:
12763         * kbsequence.h:
12764         * kbsequence.C: part re-write of old kb code
12765
12766         * Painter.C:
12767         * WorkArea.C: remove Lgb_bug_find_hack
12768
12769 2001-11-30  José Matos <jamatos@fep.up.pt>
12770
12771         * buffer.C (makeDocBookFile): add a comment to point a hack.
12772         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12773         Fixed a double write of labels.
12774
12775 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12776
12777         * LaTeX.C:
12778         * LaTeX.h Fixed bug in LaTeX class where it would not
12779         re-run latex if no depfiles were changed, but the .dvi was removed.
12780
12781 2001-11-28  André Pönitz <poenitz@gmx.net>
12782
12783         * all the files from the change on 2001/11/26:
12784         use lyx::layout_type instead of LyXTextClass::size_type
12785         use lyx::textclass_type instead of LyXTextClassList::size_type
12786
12787 2001-11-29  Juergen Vigna  <jug@sad.it>
12788
12789         * text.C: added support for paragraph::isFreeSpacing()
12790
12791         * buffer.C: same as above
12792
12793         * paragraph.h: inserted isFreeSpacing() function to enable
12794         FreeSpacing inside InsetERT.
12795
12796         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12797         of the paragraph's in the cut/copy buffer to 0!
12798
12799         * text2.C (removeRow): remove the assert as it can!
12800
12801         * lyxtext.h: added helper function firstRow returning firstrow and
12802         made firstrow private again.
12803
12804         * BufferView2.C (lockInset): don't relock if we're already locked!
12805
12806         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12807         the only paragraph.
12808         (removeRow): added Assert::(firstrow)
12809
12810         * debug.C: forgot to add INSETTEXT here.
12811
12812 2001-11-28  Juergen Vigna  <jug@sad.it>
12813
12814         * sp_spell.C (initialize): changed error text to more general
12815         spellchecker command use (not only ispell!)
12816
12817         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12818
12819         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12820
12821 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12822
12823         * vspace.C: initialise lyxgluelength on failure
12824
12825 2001-11-28  Allan Rae  <rae@lyx.org>
12826
12827         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12828         declaration & definition that looks like a function declaration.
12829
12830 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12831
12832         * BufferView2.C (copy):
12833         (copyEnvironment): do not clear the selection when doing a copy.
12834
12835         * text.C (paintFirstRow): compilation fix
12836
12837 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12838
12839         * tabular.C (Latex): correct line count when writing latex.
12840
12841 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12842
12843         * paragraph_pimpl.h:
12844         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12845           bug a bit
12846
12847 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12848
12849         * text.C:
12850         * LColor.h:
12851         * LColor.C: change vfillline->added_space
12852
12853         * text.C: add markers and text for added space
12854
12855         * vspace.C: fix comment
12856
12857 2001-11-28  André Pönitz <poenitz@gmx.net>
12858
12859         * paragraph.C: whitespace changes
12860         * all the other files from the change on 2001/11/26:
12861         change *::pos_type into lyx::pos_type
12862
12863 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12864
12865         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12866         language of the document when inserting error insets.
12867
12868 2001-11-26  André Pönitz <poenitz@gmx.net>
12869
12870         * BufferView_pimpl.[Ch]:
12871         *       CutAndPaste.C:
12872         * buffer.[Ch]:
12873         * lyxcursor.[Ch]:
12874         * lyxfind.C:
12875         * lyxfunc.C:
12876         * lyxrow.[Ch]:
12877         * paragraph.[Ch]:
12878         * paragraph_pimpl.[Ch]:
12879         * sp_spell.C:
12880         * text.C:
12881         * text2.C: reduce header dependencies, introduce type for positions
12882
12883 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12884
12885         * <various>: change to use Alert.h
12886
12887 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12888
12889         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12890         when encountering an unknown token.
12891         (readLyXformat2): Show an error message if there were unknown tokens.
12892
12893 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12894
12895         * BufferView2.C:
12896         * BufferView_pimpl.C:
12897         * buffer.C:
12898         * paragraph.h:
12899         * text.C:
12900         * text2.C: use par->isInset()
12901
12902 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12903
12904         * paragraph_pimpl.h:
12905         * paragraph_pimpl.C: cleanup
12906
12907 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12908
12909         * text2.C (removeRow):
12910         * text.C (setHeightOfRow): remove useless (and costly) call to
12911         getRow.
12912
12913 2001-11-20  Allan Rae  <rae@lyx.org>
12914
12915         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12916         Now need Inset*::checkInsertChar() to return true for appropriate
12917         cases so that the characters in the minibuffer will actually be
12918         inserted.
12919
12920 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12921
12922         * text.C: change the order of the includes.
12923         (workWidth): initialize it at once.
12924         (workWidth): make maxw unsigned
12925         (setHeightOfRow): remove unused variable (inset)
12926         (selectSelectedWord): remove unused variable (inset)
12927         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12928
12929 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12930
12931         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12932         server is not running.
12933         (openConnection):
12934         (closeConnection): add debug info when server is disabled.
12935
12936         * ColorHandler.C (getGCForeground): send debug message to GUI
12937         channel.
12938
12939         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12940
12941         * kbmap.C (bind): modify because return conventions of
12942         kb_sequence::parse have changed.
12943
12944         * kbsequence.C (parse): only ignore spaces and not any stupid
12945         control character. This avoids tests like s[i] <= ' ', which are
12946         guaranteed to fail with 8bit characters and signed chars.
12947         Change return code to string::npos when there have been no error
12948         (0 was a bad idea when error is at first character)
12949
12950 2001-11-14  José Matos  <jamatos@fep.up.pt>
12951
12952         * buffer.h:
12953         * buffer.C (simpleDocBookOnePar): removed unused argument.
12954
12955 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12956
12957         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12958         insets which are part of a word. Paragraph::isLetter takes care of
12959         that now. Use Paragraph::isInset to identify insets.
12960         (selectSelectedWord): do not test for hyphenation break.
12961
12962         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12963         that protected spaces are considered as spaces.
12964
12965         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12966         Inset::isLetter.
12967
12968 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12969
12970         * lyxserver.h:
12971         * lyxserver.C: fix it. and small cleanup.
12972
12973 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12974
12975         * BufferView_pimpl.C: use inline helpers
12976
12977         * LaTeXFeatures.h:
12978         * LaTeXFeatures.C: fix typos
12979
12980         * Spacing.h:
12981         * Spacing.C: move spacing_string into class
12982
12983         * ToolbarDefaults.C: move stuff into namespace anon
12984
12985         * layout.h: update enum
12986
12987         * lyxfunc.C: use better debug
12988
12989         * minibuffer.h: fix typo
12990
12991         * debug.h:
12992         * debug.C:
12993         * WorkArea.C: add and use Debug::WORKAREA
12994
12995         * lyxtext.h:
12996         * text.C:
12997         * text2.C: code re-organisation, inline helpers
12998
12999 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13000
13001         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13002         std::vector.empty().
13003
13004 2001-11-09  Allan Rae  <rae@lyx.org>
13005
13006         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13007         '\n's after tables.  Tabular and ERT inset work now makes this no
13008         longer necessary.
13009
13010 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13011
13012         * minibuffer.h:
13013         * minibuffer.C: fix crash, improve drop-down completion
13014
13015 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13016
13017         * lyxserver.h:
13018         * lyxserver.C: invalidate fd's when doing endPipe()
13019
13020 2001-11-08  José Matos  <jamatos@fep.up.pt>
13021
13022         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13023         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13024
13025         * paragraph.h:
13026         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13027
13028 2001-11-07  José Matos  <jamatos@fep.up.pt>
13029
13030         * buffer.h:
13031         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13032         const qualifier.
13033
13034         * buffer.C (sgmlOpenTag):
13035         * buffer.C (sgmlCloseTag): removed debug info.
13036
13037         * buffer.h (sgmlOpenTag):
13038         * buffer.h (sgmlCloseTag): made public.
13039
13040 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13041
13042         * buffer.C (saveParamsAsDefaults):
13043         * lyx_cb.C (MenuLayoutSave): remove
13044
13045         * LyXAction.C (init):
13046         * commandtags.h:
13047         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13048
13049 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13050
13051         * buffer.C (setPaperStuff): removed from here...
13052
13053         * bufferparams.C (setPaperStuff): ... and moved there.
13054
13055 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13056
13057         * minibuffer.h:
13058         * minibuffer.C:
13059         * XFormsView.C: add support for drop-down completion
13060
13061 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13062
13063         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13064         commands.
13065
13066 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13067
13068         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13069         disabled.
13070
13071 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13072
13073         * lyx_main.C: change ref to known bugs
13074
13075 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13076
13077         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13078         to work around older babel problems.
13079
13080 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13081
13082         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13083
13084 2001-10-24  Juergen Vigna  <jug@sad.it>
13085
13086         * tabular-old.C (ReadOld): below variable changes reflected.
13087
13088         * tabular.[Ch]: added ltType struct for longtable header/footer
13089         defines and changed all instances where they are used. Added
13090         future support for double top/bottom rows.
13091
13092 2001-10-24  José Matos  <jamatos@fep.up.pt>
13093
13094         * buffer.h (docbookHandleCaption):
13095         * buffer.C (docbookHandleCaption): removed unused function.
13096         (makeDocBookFile): moved docbook supported version to v4.1.
13097
13098 2001-10-24  José Matos  <jamatos@fep.up.pt>
13099
13100         * tabular.h:
13101         * tabular.C (docbookRow): new function to export docbook code of a row.
13102         (DocBook): now honors the longtable flags.
13103
13104 2001-10-23  José Matos  <jamatos@fep.up.pt>
13105
13106         * LaTeXFeatures.h:
13107         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13108         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13109
13110         * buffer.C (makeLinuxDocFile):
13111         (makeDocBookFile): reworked the preamble, more clean, and with
13112         support for lyx defined entities. Changed the document declaration
13113         to be more XML friendly.
13114
13115         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13116         if we need to output XML that should be done with a filter.
13117
13118 2001-10-22  Juergen Vigna  <jug@sad.it>
13119
13120         * sp_pspell.h (class PSpell): add alive function needed in the
13121         controller to see if the spellchecker could be started.
13122
13123 2001-10-22  Juergen Vigna  <jug@sad.it>
13124
13125         * buffer.C (insertStringAsLines): modify the font for inserting
13126         chars in certain conditions by calling checkInsertChar(font).
13127
13128 2001-10-19  Juergen Vigna  <jug@sad.it>
13129
13130         * text.C (workWidth): use getRow instead of wrong algorithm.
13131         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13132
13133 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13134
13135         * lyxserver.h:
13136         * lyxserver.C:
13137         * lyx_main.h:
13138         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13139
13140 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13141
13142         * text.C (workWidth): do not search for the exact row when
13143         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13144         optimization for big documents.
13145
13146 2001-10-18  Juergen Vigna  <jug@sad.it>
13147
13148         * text.C (workWidth): new function with added Inset * parameter.
13149
13150 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13151
13152         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13153
13154         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13155         change return type of getColumnNearX.
13156
13157
13158         * text.C (changeRegionCase): use uppercase/lowercase instead of
13159         toupper/tolower.
13160         (leftMargin):
13161         (rightMargin): simplify code by factoring out the uses of
13162         textclasslist.
13163         (labelFill):
13164         (numberOfHfills):
13165         (setHeightOfRow):
13166         (appendParagraph): use Paragraph::size_type
13167
13168 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13169
13170         * vspace.C (asLatexString): add a missing break
13171
13172 2001-10-15  Herbert Voss  <voss@perce.de>
13173
13174         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13175
13176 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13177
13178         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13179         is not available.
13180
13181 2001-10-10  André Pönitz <poenitz@gmx.net>
13182
13183         * lyxfunc.C: removed greek_kb_flag.
13184
13185 2001-10-10  Herbert Voss  <voss@perce.de>
13186
13187         * lyx_main.C: delete global string help_lyxdir.
13188
13189 2001-10-09  Herbert Voss  <voss@perce.de>
13190
13191         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13192
13193         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13194
13195         * lyx_main.C: added global string help_lyxdir.
13196
13197         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13198
13199 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13200
13201         * lyxrc.C (set_font_norm_type): support iso8859-4
13202
13203 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13204
13205         * LaTeX.C (deplog): add another regex for MikTeX
13206
13207 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13208
13209         * lyxrc.C (set_font_norm_type): support iso8859-3
13210
13211 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13212
13213         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13214
13215         * LaTeXFeatures.C: remove special case of french and index
13216
13217         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13218         before \begin{document}). This solves several incompatibilities.
13219
13220 2001-10-03  Garst Reese  <reese@isn.net>
13221
13222         * lyx_cb.C: change CheckTex error msg.
13223
13224 2001-10-03  José Matos  <jamatos@fep.up.pt>
13225
13226         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13227
13228 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13229
13230         * .cvsignore: update
13231
13232         * lyx_main.C (commandLineVersionInfo): use new style version info.
13233
13234         * buffer.C (writeFile):
13235         (makeLaTeXFile):
13236         (makeLinuxDocFile):
13237         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13238
13239         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13240
13241         * version.h: update to use stuff in version.C
13242
13243         * version.C.in: new file. Contains version information determined
13244         at compile time. This is a merging of version.h and
13245         version_info.h.in.
13246
13247 2001-10-03  Juergen Vigna  <jug@sad.it>
13248
13249         * BufferView_pimpl.C (update): don't change "dirty" status in
13250         updateInset call.
13251
13252 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13253
13254         * WorkArea.C (c-tor): re-position version string slightly.
13255
13256 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13257
13258         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13259         revert to previous code.
13260
13261         WorkArea.[Ch]: (show, destroySplash): methods removed.
13262
13263         WorkArea.C: rework code so that it's an amalgam of the codes before and
13264         after the splash screen was moved to WorkArea.
13265
13266 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13267
13268         * lyxrc.C (read):
13269         * vspace.C (inPixels):
13270         (lyx_advance):
13271         * kbmap.C (bind):
13272         * buffer.C (insertStringAsLines):
13273         (asciiParagraph): fix types to be large enough
13274
13275         * lyxlex_pimpl.h: change member status from short to int
13276
13277         * layout.h: fix type of endlabeltype
13278
13279         * kbmap.C (bind):
13280         * kbsequence.C (parse): change return type to string::size_type
13281
13282         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13283         variable
13284
13285         * Bullet.C (bulletSize):
13286         (bulletEntry): do not use short ints as parameters
13287
13288         * BufferView2.C (insertLyXFile): change a char to an int.
13289
13290         * WorkArea.C (WorkArea): remove unneeded floats in computation
13291
13292 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13293
13294         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13295
13296         * paragraph.C (asString): Do not ignore newline/hfill chars when
13297         copying to the clipboard.
13298
13299 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13300
13301         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13302         after a multi-line inset.
13303
13304 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13305
13306         * paragraph.C (validate): Set NeedLyXFootnoteCode
13307
13308 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13309
13310         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13311         and decrease-error to decrease.
13312
13313 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13314
13315         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13316         it more readable (should be equivalent)
13317
13318 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13319
13320         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13321
13322 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13323
13324         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13325         of a cursor (row, etc.) after a character has been deleted
13326         (deleteEmptyParagraphMechanism): call the method above on _all_
13327         cursors held by the LyXText when a double space has been
13328         detected/deleted.
13329
13330 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13331
13332         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13333         pixmap.
13334         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13335
13336         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13337         background. Use greyOut() and the new show() methods to toggle between
13338         the foreground and background. Add code to remove the splash after
13339         its initial showing.
13340
13341         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13342         (create_forms): no longer call Dialogs::showSplash.
13343
13344 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13345
13346         * .cvsignore: add version_info.h
13347
13348 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13349
13350         * version_info.h.in: new file
13351
13352         * Makefile.am: add version_info.h.in
13353
13354         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13355         version_info.h instead of VERSION_INFO
13356
13357 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13358
13359         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13360         The ERT inset now returns string().
13361
13362 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13363
13364         * lyxtext.h, text.C (selectNextWord): renamed as
13365         selectNextWordToSpellcheck.
13366
13367         * text.C (selectNextWordToSpellcheck): Modified to not select
13368         words inside an ERT inset.
13369
13370 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13371
13372         * lyx_cb.C (MenuLayoutSave): change a bit the question
13373
13374         * sp_base.h: include <sys/types.h>
13375
13376 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13377
13378         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13379
13380 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13381
13382         * several files: fix typos in user-visible strings
13383
13384 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13385
13386         * text2.C (pasteSelection): do not set the selection, since it
13387         will be cleared later. Actually, the intent was to fix the way the
13388         selection was set, but I figured rmoving the code was just as good.
13389
13390 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13391
13392         * FontLoader.C (available): Check if font is available without
13393         loading the font.
13394
13395 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13396
13397         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13398
13399 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13400
13401         * lyxrc.[Ch]: added display_graphics variable and associated code.
13402
13403 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13404
13405         * bufferparams.C (hasClassDefaults): new method. Returns true if
13406         the buffer parameters correspond to known class defaults
13407
13408 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13409
13410         * XFormsView.C (show): set minimum size to the main window.
13411
13412 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13413
13414         * text2.C (copySelection):
13415         (cutSelection):
13416         * lyxfind.C (LyXReplace):
13417         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13418         LyXText::selectionAsString.
13419
13420         * paragraph.C (asString): add "label" argument to the second form
13421
13422         * text2.C (selectionAsString): add "label" argument and pass it to
13423         Paragraph::asString.
13424
13425 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13426
13427         * lyx_main.C (commandLineHelp): remove version information
13428
13429 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13430
13431         * lyx_main.C: add -version commandline option
13432
13433 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13434
13435         * paragraph.h: make the optional constructor arg required instead.
13436         some modifications to other files because of this.
13437
13438         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13439
13440         * lyxserver.C (C_LyXComm_callback): make it static
13441
13442         * lyx_main.C (error_handler): make it static
13443
13444         * lyx_gui.C (LyX_XErrHandler): make it static
13445
13446         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13447
13448         * WorkArea.C: make the extern "C" methods static.
13449
13450         * Makefile.am (lyx_LDADD): simplify
13451
13452 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13453
13454         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13455         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13456
13457         * LyXAction.C (init):
13458         * lyxfunc.C (dispatch): associated code removal.
13459
13460 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13461
13462         * lyxfont.h (isSymbolFont): shut off warning
13463
13464         * text.C (setHeightOfRow):
13465         (getVisibleRow): fix crash with empty paragraphs which have a
13466         bottom line
13467
13468 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13469
13470         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13471         code.
13472
13473 2001-09-04  José Matos  <jamatos@fep.up.pt>
13474         * buffer.C
13475         * buffer.h
13476         * tabular.C (docbook): rename docBook method to docbook.
13477
13478 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13479
13480         * Makefile.am: add dependencies to main.o.
13481
13482 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13483
13484         * FontLoader.C (available): Return false if !lyxrc.use_gui
13485
13486 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13487
13488         * FontInfo.C (query):
13489         * converter.C (view):
13490         * importer.C (Import):
13491         * exporter.C (Export): Can not -> cannot.
13492
13493 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13494
13495         * BufferView_pimpl.C: allow to create index inset even if
13496           string is empty
13497
13498 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13499
13500         * buffer.C (getLists): replace boost::tie code with an explicit pair
13501         as boost::tie can break some compilers.
13502
13503         * iterators.h: Added a std:: declaration to the return type of
13504         ParIterator::size.
13505
13506 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13507
13508         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13509           case.
13510
13511 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13512
13513         * iterators.[Ch]: New files. Provide paragraph iterators.
13514
13515         * buffer.C (changeLanguage): Use paragraph iterators.
13516         (isMultiLingual): ditto
13517
13518         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13519
13520 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13521
13522         * FontLoader.C: Support for cmr font.
13523
13524 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13525
13526         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13527         (available): New method.
13528
13529         * FontInfo.C (getFontname): Use scalable fonts even when
13530         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13531         found.
13532
13533 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13534
13535         * converter.C (Formats::view): reverted! Incorrect fix.
13536
13537 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13538
13539         * converter.C (Formats::view): only output the -paper option
13540         if the dvi viewer is xdvi, thereby fixing bug #233429.
13541
13542 2001-08-23  Herbert Voss  <voss@perce>
13543
13544         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13545
13546 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13547
13548         * Spacing.h (Spacing): Set space to Default on in the default
13549         constructor.
13550
13551 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13552
13553         * vc-backend.h (RCS::versionString): add RCS to version
13554         (CVS::versionString): add CVS to version
13555
13556         * vc-backend.C (scanMaster): do not add CVS to version.
13557         (scanMaster): do not add RCS to version
13558
13559         * lyxvc.C (versionString): new method
13560
13561         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13562
13563 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13564
13565         * Spacing.C (set): initialize fval
13566
13567 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13568
13569         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13570         " or \.
13571
13572 2001-08-16  Juergen Vigna  <jug@sad.it>
13573
13574         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13575
13576 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13577
13578         * BufferView_pimpl.C:
13579         * figureForm.C:
13580         * lyxtext.h:
13581         * text2.C: setParagraph takes linespacing now
13582
13583 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13584
13585         * LyxAction.C: add internal LFUN_CITATION_INSERT
13586
13587         * LyXView.C: actually apply fix
13588
13589         * bufferlist.C: fix open non-existent file
13590
13591         * lyxfind.C: fix indentation
13592
13593         * lyxfunc.C: remove unneeded assert, fix typo
13594
13595 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13596
13597         * MenuBackend.C: use "Floatname List"
13598
13599 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13600
13601         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13602         when converting LaTeX layout to insetERT.
13603         Generate a non-collapsed float when reading old float
13604
13605 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13606
13607         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13608         ERT insets.
13609
13610 2001-08-13  Juergen Vigna  <jug@sad.it>
13611
13612         * text.C (fill): return 0 instead of 20 as this seems to be the more
13613         correct value.
13614
13615 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13616
13617         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13618         lyxrc.font_norm.
13619
13620 2001-08-13  Juergen Vigna  <jug@sad.it>
13621
13622         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13623         casesensitive off.
13624         (SearchBackward): comment out the unlocking of the inset_owner this
13625         should not be needed!
13626
13627 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13628
13629         * Many files: Remove inherit_language, and add latex_language
13630
13631         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13632         collapsible insets.
13633
13634 2001-08-10  Juergen Vigna  <jug@sad.it>
13635
13636         * text.C (prepareToPrint): fixed hfill-width in draw!
13637
13638         * BufferView2.C (selectLastWord): save the selection cursor as this
13639         now is cleared in the function LyXText::clearSelection!
13640
13641 2001-08-08  Juergen Vigna  <jug@sad.it>
13642
13643         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13644         BACKSPACE type functions.
13645
13646         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13647         is only cutted from the document but not put in the cut-buffer, where
13648         still the old stuff should be.
13649
13650         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13651
13652         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13653
13654         * tabular.C (SetWidthOfCell): fixed special case where the width
13655         was not updated!
13656         (LeftLine): handle '|' in align_special.
13657         (RightLine): ditto
13658         (LeftAlreadyDrawed): ditto
13659         (SetWidthOfCell): ditto
13660
13661 2001-08-07  Juergen Vigna  <jug@sad.it>
13662
13663         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13664
13665 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13666
13667         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13668         * lyxlex.[hC]: ditto
13669
13670 2001-08-06  Juergen Vigna  <jug@sad.it>
13671
13672         * text.C (getVisibleRow): fix up row clearing a bit.
13673
13674 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13675
13676         * minibuffer.C: make sure the X server sees the changes in the input.
13677
13678 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13679
13680         * paragraph.C (getFont): split into...
13681         (getLabelFont): this
13682         (getLayoutFont): and this
13683         * paragraph_pimpl.C (realizeFont): calling this
13684
13685         * text2.C (getFont): split into...
13686         (getLayoutFont): this
13687         (getLabelFont): and this
13688         (realizeFont): all three calling this
13689
13690         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13691         files where used.
13692
13693 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13694
13695         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13696
13697 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13698
13699         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13700         layouts from the Quote inset insertion.
13701
13702 2001-08-03  Juergen Vigna  <jug@sad.it>
13703
13704         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13705
13706         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13707         only if status not is already CHANGED_IN_DRAW (second level).
13708
13709         * text.C (draw): don't set the need_break_row when inside an
13710         InsetText LyXText.
13711
13712 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13713
13714         * buffer.C (parseSingleLyXformat2Token): handle more latex
13715         conversion cases.
13716
13717         * bufferview_funcs.[hC]: change function names to
13718         begin with small char, adjust other files.
13719
13720 2001-08-02  André Pönitz <poenitz@gmx.net>
13721
13722         * lyxfunc.C:
13723         BufferView_pimpl.C: remove broken special code for math-greek
13724
13725 2001-08-02  Juergen Vigna  <jug@sad.it>
13726
13727         * BufferView_pimpl.C (update): redone this function so that we
13728         update the text again if there was a CHANGE_IN_DRAW.
13729
13730         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13731         (drawFromTo): added a new internal bool which is used by draw() and
13732         redraw() function.
13733         (general): some cursor drawing problems fixed.
13734
13735 2001-08-01  Juergen Vigna  <jug@sad.it>
13736
13737         * lyxfind.C (LyXFind): fixed
13738         (SearchForward): ditto
13739         (SearchBackward): ditto
13740
13741         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13742         spurius drawing of the cursor in the main area.
13743
13744         * text2.C (status): small fix which could lead to a segfault!
13745         (clearSelection): remove unneeded BufferView param.
13746
13747 2001-08-01  André Pönitz <poenitz@gmx.net>
13748
13749         * lyxfunc.C: small change due to changed mathed interface
13750
13751 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13752
13753         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13754
13755 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13756
13757         * lyxfunc.c: fail gracefully if file doesn't exist
13758
13759         * LyXSendto.C:
13760         * buffer.C:
13761         * lyxfunc.C:
13762         * BufferView_pimpl.C: IsDirWriteable() proto changed
13763
13764         * LyXView.C: fix updateWindowTitle() to store the last title
13765
13766 2001-07-31  Juergen Vigna  <jug@sad.it>
13767
13768         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13769         the font (wrong since using of Paragraph::highestFontInRange).
13770
13771         * paragraph.C (highestFontInRange): added a default_size parameter.
13772
13773         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13774         (setHeightOfRow): reformat
13775
13776 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13777
13778         * converter.[hC] + affected files: move to (inital-char)lowercase
13779         function names.
13780
13781         * ParagraphParameters.C (ParagraphParameters): remove commented code
13782
13783         * PainterBase.[Ch]: remove commented code
13784
13785         * LaTeXFeatures.h: add "bool floats" for float.sty
13786
13787         * LaTeXFeatures.C (LaTeXFeatures): init floats
13788         (require): handle float
13789         (getPackages): do it with floats
13790
13791 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13792
13793         * BufferView_pimpl.C (Dispatch): improve handling of
13794         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13795
13796         * commandtags.h: #include lyxfont.h here temporarily to avoid
13797         keybinding bug.
13798
13799         * bufferlist.h: include LString.h here.
13800
13801 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13802
13803         * text2.C (getStringToIndex): new method.
13804
13805 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13806
13807         * *: Reduced header file dependencies all over.
13808
13809 2001-07-30  Baruch Even  <baruch@lyx.org>
13810
13811         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13812
13813 2001-07-29  Baruch Even  <baruch@lyx.org>
13814
13815         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13816
13817 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13818
13819         * ParameterStruct.h (endif): add a default constructor to make
13820         sure that all variables is initialized.
13821
13822         * ParagraphParameters.C (ParagraphParameters): adjust
13823
13824 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13825
13826         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13827         index; also, check that there is something to index, and that it
13828         does not span over several paragraphs.
13829         (doubleClick): use WHOLE_WORD_STRICT for double click.
13830
13831         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13832
13833         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13834         scheme.
13835
13836 2001-07-26  Baruch Even  <baruch@lyx.org>
13837
13838         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13839         an InsetFig figure, backwards compatible reading of old figure code.
13840
13841 2001-07-27  Juergen Vigna  <jug@sad.it>
13842
13843         * text2.C: font.realize function adaption.
13844
13845         * text.C (draw): add a warnings lyxerr text if needed.
13846
13847         * layout.C: font.realize function adaption.
13848
13849         * language.C: add inherit_language and implement it's handlings
13850
13851         * bufferview_funcs.C (StyleReset): remove language parameter from
13852         font creation (should be language_inherit now).
13853
13854         * bufferparams.C (writeFile): handle ignore_language.
13855
13856         * paragraph.C (getFontSettings): the language has to be resolved
13857         otherwise we have problems in LyXFont!
13858
13859         * lyxfont.C (lyxWriteChanges): added document_language parameter
13860         (update): removed unneeded language parameter
13861
13862         * paragraph.C (validate): fixed wrong output of color-package when
13863         using interface colors for certain fonts in certain environments,
13864         which should not seen as that on the final output.
13865
13866 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13867
13868         * BufferView_pimpl.C:
13869         * Thesaurus.h:
13870         * Thesaurus.C:
13871         * Makefile.am:
13872         * commandtags.h:
13873         * LyXAction.C: add thesaurus support
13874
13875         * lyxfind.h:
13876         * lyxfind.C: add "once" parameter, for thesaurus, to not
13877           move to the next match
13878
13879 2001-07-26  Juergen Vigna  <jug@sad.it>
13880
13881         * lyxfont.C (realize): honor ignore_language too!
13882         (resolved): ditto.
13883
13884         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13885
13886         * text.C (draw): one place more for ignore_language to not draw
13887         itself!
13888
13889 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13890
13891         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13892
13893 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13894
13895         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13896         the minipage conversion problem.
13897
13898 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13899
13900         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13901         insert an inset.
13902
13903 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13904
13905         * BufferView.h: don't forward declare WorkArea
13906
13907         * BufferView.C: don't include WorkArea.h
13908
13909 2001-07-25  André Pönitz <poenitz@gmx.net>
13910
13911         * commandtags.h:
13912         * LyXAction.C:
13913         * lyxfunc.C:  new LFUN 'math-space'
13914
13915         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13916
13917 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13918
13919         * text2.C (toggleInset): call open/close
13920
13921 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13922
13923         * lyxfunc.C (dispatch): add debug for the disabled case
13924
13925         * font.C (buttonText): make similar to rectText
13926
13927         * buffer.C (readInset): comment out parsing of insetlist and
13928         insttheorem
13929
13930         * PainterBase.C (rectText): small correction
13931
13932         * BufferView_pimpl.C: comment out insettheorem and insetlist
13933         * LyXAction.C: ditto
13934         * commandtags.h: ditto
13935
13936 2001-07-24  Juergen Vigna  <jug@sad.it>
13937
13938         * text.C (draw): honor the ignore_language.
13939
13940         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13941
13942 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13943
13944         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13945         char inset.
13946
13947 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13948
13949         * lyxtext.h: remove unused (and unimplemented) methods
13950
13951 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13952
13953         * text.C (getVisibleRow): honor background color
13954
13955         * PainterBase.h:
13956         * Painter.h: remove default color argument for fillRectangle
13957
13958         * text.C (backgroundColor): new method
13959
13960 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13961
13962         * text.C (getVisibleRow): adjust
13963
13964         * font.[Ch] (rectText): new method, metrics
13965         (buttonText): new method, metrics
13966
13967         * PainterBase.[hC]: make rectText and buttonText always draw and take
13968         fewer paramteres.
13969
13970 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13971
13972         * ToolbarDefaults.C (read):
13973         * MenuBackend.C (read): allow escaping in all strings
13974
13975         * BufferView_pimpl.C (insertAndEditInset): new method.
13976         (Dispatch): use insertAndEditInset whenever appropriate.
13977
13978         * BufferView_pimpl.C (insertNote): removed
13979
13980         * BufferView_pimpl.C (smartQuote): new method, moved from
13981         BufferView; if an insetquote cannot be inserted, insert a '"'
13982         character instead.
13983
13984         * BufferView2.C: remove insertCorrectQuote();
13985
13986         * lyxfunc.C (getStatus): Add support for all remaingin
13987         inset-insert lfuns.
13988
13989         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13990
13991         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13992         command (necessary to pass " as parameter of self-insert.
13993
13994         * text.C (selectWordWhenUnderCursor):
13995         (selectWord): add word_location parameter
13996         (selectWordWhenUnderCursor): same + remove special code for word
13997         boundary.
13998         (selectNextWord): use kind() to guess type of insetspecialchar,
13999         not latex().
14000
14001         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14002         (insertErtContents): create ert insets as collapsed.
14003         (readInset): better compatibility code for Info inset.
14004
14005 2001-07-20  Juergen Vigna  <jug@sad.it>
14006
14007         * lyxfunc.C (dispatch): use always LyXFind now!
14008
14009         * text2.C (init): add a reinit flag so that the LyXText can be
14010         reinited instead of deleted and reallocated (used in InsetText).
14011
14012         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14013
14014         * text.C: ditto
14015
14016         * text2.C: ditto
14017
14018 2001-07-18  Juergen Vigna  <jug@sad.it>
14019
14020         * text.C (selectNextWord): handle insets inside inset by calling
14021         always the bv->text functions so that we can go up the_locking_inset!
14022
14023         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14024         in strange locations when inside an inset!
14025
14026         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14027         handling to include insets.
14028
14029         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14030
14031 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14032
14033         * LyXAction.C (init):
14034         * commandtags.h:
14035         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14036         LIGATURE_BREAK, since the name is so stupid.
14037
14038 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14039
14040         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14041         InsetInfos.
14042
14043         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14044
14045         * sp_form.[Ch]: remove.
14046
14047         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14048
14049         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14050         InsetInfo.
14051
14052         * src/buffer.C (readInset): ditto.
14053
14054 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14055
14056         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14057         menuSeparator(), endOfSentenceDot(), ldots() and
14058         hyphenationPoint(), which are therefore removed.
14059         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14060
14061         * LyXAction.C (init):
14062         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14063
14064         * paragraph.C (getWord): removed.
14065
14066         * BufferView_pimpl.C (Dispatch): use last word or selection for
14067         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14068
14069         * lyx_main.C (queryUserLyXDir): do not ask before creating
14070         user_dir, except if it has been named explicitely.
14071
14072 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14073
14074         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14075         a document of zero size.
14076
14077 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14078
14079         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14080         approriately in the c-tor and in require().
14081         (getPackages): output the appropriate LaTeX for natbib support.
14082
14083         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14084         variables "use_natbib" and "use_numerical_citations" when reading the
14085         LyX file.
14086         (readInset): read the various natbib cite commands.
14087         (validate): white-space change.
14088
14089         * bufferparams.[Ch]: new variables "bool use_natbib" and
14090         "bool use_numerical_citations".
14091         (writeFile): output them in the LyX file.
14092
14093 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14094
14095         * lyxfunc.C (getStatus): add support for all the inset insertion
14096         commands.
14097
14098         * text2.C (insertInset):
14099         * paragraph.C (insetAllowed):
14100         * BufferView_pimpl.C (insertInset): update to take in account the
14101         renaming of insertInsetAllowed
14102
14103         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14104
14105         * text2.C (getInset): new method. returns inset at cursor position.
14106
14107         * BufferView_pimpl.C (Dispatch): changes because of this.
14108
14109         * LyXAction.C (init): rename open-stuff to inset-toggle.
14110
14111         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14112
14113         * text2.C (toggleInset): renamed from openStuff; use
14114         Inset::open().
14115
14116 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14117
14118         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14119
14120         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14121
14122 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14123
14124         * buffer.C (readLyXformat2): Add filename to the error dialog
14125
14126 2001-07-18  Juergen Vigna  <jug@sad.it>
14127
14128         * tabular.C (GetCellNumber): put an assert here instead of the check!
14129
14130 2001-07-17  Juergen Vigna  <jug@sad.it>
14131
14132         * BufferView_pimpl.C (toggleSelection): adapted too.
14133
14134         * text.C (selectNextWord): adapted for use with insets.
14135         (selectSelectedWord): ditto
14136
14137 2001-07-17  Juergen Vigna  <jug@sad.it>
14138
14139         * sp_spell.C (PSpell): fix initialitation order.
14140
14141 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14142
14143         * paragraph.C: spacing
14144
14145 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14146
14147         * sp_spell.C: repair language selection for pspell
14148
14149 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14150
14151         * lyxfunc.h: change more methods to begin with lower char.
14152
14153 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14154
14155         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14156         for unknown layouts.
14157
14158 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14159
14160         * buffer.C (readLyXformat2): Generate an error dialog if there are
14161         unknown layouts.
14162
14163 2001-07-16  Juergen Vigna  <jug@sad.it>
14164
14165         * sp_spell.C: always compile ISpell part.
14166
14167         * lyxrc.C: added use_pspell entry and it's handling.
14168
14169 2001-07-13  Juergen Vigna  <jug@sad.it>
14170
14171         * sp_spell.C: removed double includes.
14172
14173 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14174
14175         Consistent use of Lsstream.h:
14176         * Lsstream.h: added using std::stringstream for consistencies sake.
14177
14178         * buffer.C: removed using std::stringstream
14179
14180         * lyxfont.C (stateText):
14181         * paragraph.C (asString):
14182         * text.C (selectNextWord, selectSelectedWord):
14183         * text2.C (setCounter):
14184         * vspace.C (asString, asLatexString):
14185         std::ostringstream -> ostringstream.
14186
14187 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14188
14189         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14190         * commandtags.h: add LFUN_HELP_ABOUTLYX
14191         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14192
14193 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14194
14195         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14196         cursorToggle()
14197         * lyx_gui_misc.C: remove spellchecker
14198         * lyxfunc.C: showSpellchecker
14199         * sp_base.h: added
14200         * sp_ispell.h: added
14201         * sp_pspell.h: added
14202         * sp_spell.C: added
14203         * sp_form.[Ch]: removed
14204         * spellchecker.[Ch]: removed
14205
14206 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14207
14208         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14209         is set.
14210         (simpleTeXSpecialChars): Simply print the input character without
14211         any special translation if pass_thru is set.
14212
14213         * layout.h: Added bool pass_thru to layout class for being able to
14214         implement pass through of a paragraph for Literate Programming.
14215
14216         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14217         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14218         * layout.C (Read): add "passthru" to list of layout tags and add
14219         code to set the pass_thru boolean when it is read.
14220
14221 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14222
14223         * trans_decl.h: remove allowed from KmodInfo
14224
14225         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14226         remove allowed code
14227         (Load): adjust
14228
14229         * paragraph_pimpl.C (erase): use boost::prior
14230
14231         * Painter.C (text): use data() instead of c_str() when length is
14232         also provided.
14233         * WorkArea.C (putClipboard): ditto
14234         * font.h (width): ditto
14235
14236         * BufferView2.C: use it-> instead of (*it). for iterators
14237         * texrow.C: ditto
14238         * paragraph_pimpl.C: ditto
14239         * paragraph.C: ditto
14240         * minibuffer.C: ditto
14241         * language.C: ditto
14242         * kbmap.C: ditto
14243         * encoding.C: ditto
14244         * counters.C: ditto
14245         * converter.C: ditto
14246         * chset.C: ditto
14247         * Variables.C: ditto
14248         * TextCache.C: ditto
14249         * MenuBackend.C: ditto
14250         * LyXAction.C: ditto
14251         * LColor.C: ditto
14252         * FloatList.C: ditto
14253         * DepTable.C: ditto
14254         * ColorHandler.C (LyXColorHandler): ditto
14255
14256 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14257
14258         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14259
14260         * text2.C (openStuff): reintroduce this method (which had been
14261         nuked in NEW_INSETS frenzy).
14262
14263         * lyxfunc.C (Dispatch): when an action has not been handled, use
14264         its name in the error message, not its number.
14265
14266         * paragraph.C (inInset): change method name to begin with lowercase.
14267
14268         * undo_funcs.C:
14269         * text2.C: updates because of this.
14270
14271 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14272
14273         * ToolbarDefaults.C (add): add spaces in error message
14274
14275 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14276
14277         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14278         (readLyXformat2): rename return_par to first_par, use lyxlex's
14279         pushToken and remove the manual push handling.
14280         (parseSingleLyXformat2Token): add another ert comp. variable:
14281         in_tabular, rename return_par to first_par. handle newlines better
14282
14283 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14284
14285         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14286
14287 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14288
14289         * text2.C (getParFromID): removed
14290
14291         * buffer.C (getParFromID): new method moved form lyxtext.
14292         * BufferView2.C (insertErrors): adjust
14293         (setCursorFromRow): adjust
14294         * BufferView_pimpl.C (restorePosition): adjust
14295         * lyxfunc.C (Dispatch): adjust
14296         * undo_funcs.C (textUndo): adjust
14297         (textRedo): adjust
14298         (textHandleUndo): adjust
14299         (textHandleUndo): adjust
14300
14301 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14302
14303         * buffer.C: up' the LYX_FORMAT
14304
14305         * lyxfont.h: turn NO_LATEX on as default
14306
14307         * buffer.C (insertErtContents): new methods of tex style compability.
14308         (parseSingleLyXformat2Token): use it several places.
14309         * tabular.C (OldFormatRead): and here
14310
14311 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14312
14313         * text2.C: remove some commented code.
14314         reindent file.
14315
14316         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14317         * trans.C: changes because of the above.
14318
14319 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14320
14321         * text2.C (setCounter): Fix counters bug with bibliography layout.
14322
14323 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14324
14325         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14326         own member functions
14327         (simpleTeXSpecialChars): ditto
14328
14329 2001-07-06  Juergen Vigna  <jug@sad.it>
14330
14331         * a lot of files: changed the access to LyXText::status and the
14332         call of undo-functions.
14333
14334         * undo.[Ch]: added a inset_id to the undo informations.
14335
14336         * undo_funcs.[Ch]: added and moved here all undo functions.
14337
14338         * lyxtext.h: give the status enum a weight, made status_ a private
14339         variable and made accessor functions for it, removed the whole bunch
14340         of undo-functions as they are now in their own file, make some
14341         functions publically available. Added function ownerParagraph with
14342         int parameter.
14343
14344         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14345         made InInset() a const function, added getParFromID() function.
14346
14347         * buffer.[Ch]: added const version for inset_iterator functions,
14348         added getInsetFromID() function.
14349
14350         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14351         changed undo functions for new version.
14352
14353 2001-07-05  Juergen Vigna  <jug@sad.it>
14354
14355         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14356         unknow mechanism does not call the proper constructor but only this
14357         one also if I request the other!?
14358
14359 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14360
14361         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14362
14363         * text2.C (LyXText): use initialization lists.
14364
14365         * lyxtext.h (Selection): initialize set_ and mark_
14366         (init): remove method
14367
14368 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14369
14370         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14371
14372 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14373
14374         * screen.[Ch]: change method names to begin with lowercase
14375
14376         * BufferView_pimpl.C (updateScrollbar): simplify further and
14377         hopefully make it a bit faster.
14378
14379 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14380
14381         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14382         calling directly xforms functions.
14383
14384         * Painter.C (Painter):
14385         * lyx_cb.C (MenuWrite):
14386         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14387         fl_display.
14388
14389         * lyx_gui.C: remove bogus guiruntime extern declaration.
14390
14391 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14392
14393         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14394         in NEW_INSETS
14395         (redoDrawingOfParagraph): ditto
14396         (redoParagraphs): ditto
14397         (cutSelection): don't create a object for CutAndPaste use the
14398         static method directly
14399         (pasteSelection): ditto
14400
14401         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14402         LyXview (+ rename)
14403
14404 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14405
14406         * modifications to some other files because of this.
14407
14408         * Makefile.am (lyx_SOURCES): add XFormsView
14409
14410         * XFormsView.[Ch]: new files
14411
14412         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14413         the main window. Move the gui dependent stuff to XFormsView
14414
14415 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14416
14417         * tabular.C (GetCellInset): update cur_cell also in the row/col
14418         version of this function.
14419
14420         * lyxfunc.C: no need to include figure_form.h here.
14421
14422         * FontLoader.h:
14423         * lyxfunc.h:
14424         * lyxscreen.h:
14425         * text2.C:
14426         * lyxvc.C: no need to include forms.h here.
14427
14428 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14429
14430         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14431
14432         * lyxfunc.C (Dispatch):
14433         * Spacing.C (set):
14434         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14435         constructor argument.
14436
14437 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14438
14439         * paragraph.C (Paragraph): dont't clear, and just set layout.
14440         (makeSameLayout): use params's copy contructor.
14441
14442         * ParagraphParameters.[Ch] (makeSame): delete method
14443
14444 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14445
14446         * Variables.[Ch]: fix indentation, rename set to isSet
14447
14448 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14449
14450         * lyxfunc.C (Dispatch): fix typo
14451
14452 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14453
14454         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14455         upper_bound.
14456
14457         * bufferlist.C: include assert.h for emergencyWrite().
14458
14459 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14460
14461         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14462           give up at last (bug #425202) !
14463
14464 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14465
14466         * lyx_gui_misc.C:
14467         * sp_form.h:
14468         * sp_form.C:
14469         * spellchecker.h:
14470         * spellchecker.C: strip spellchecker options and bring up
14471           preferences tab instead
14472
14473 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14474
14475         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14476         the istringstream constructor
14477
14478 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14479
14480         * paragraph.C (getLayout): fix return value
14481
14482         * paragraph.h: do not declare getLayout as inline.
14483
14484         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14485
14486 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14487
14488         * lyxcursor.h (operator<): new func
14489         (operator>): new func
14490         (operator>=): new func
14491         (operator<=): new func
14492
14493         * text.C (changeCase): use selection.start and selection.end
14494         (changeRegionCase): require from to be <= to. Require par to be a
14495         valid paragraph.
14496
14497         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14498
14499 2001-06-27  Juergen Vigna  <jug@sad.it>
14500
14501         * text.C (cursorLeftOneWord): changed to return the cursor and added
14502         overlay with BufferView * parameter which calls this one.
14503         (getWord): added
14504         (selectWord): use new getWord function.
14505         (changeCase): renamed from changeWordCase as and extended to work
14506         also on selections.
14507
14508         * lyxtext.h: added enum word_location
14509
14510         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14511         changeCase as this operates now also on selections.
14512
14513 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14514
14515         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14516
14517         * many files: send debug output to Debug::INFO instead of
14518         Debug::ANY.
14519
14520         * converter.C (View):
14521         (Convert):
14522         (Move): send debug output to Debug::FILES instead of console.
14523
14524 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14525
14526         * lyxfunc.C (getStatus): use func_status
14527
14528         * func_status.h: new header, describing the results of
14529         LyXFunc::getStatus;
14530
14531         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14532         LFUN_MATH_HALIGN.
14533
14534 2001-06-25  The LyX Project  <jug@sad.it>
14535
14536         * buffer.C (sgmlOpenTag):
14537         (sgmlCloseTag):
14538         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14539
14540 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14541
14542         * text2.C: remove some dead code
14543
14544         * tabular.C (GetCellInset): store the last cell checked (gotten)
14545
14546         * tabular.h: add the helper for the speedup
14547
14548         * lyxtext.h: remove some dead code
14549
14550 2001-06-26  The LyX Project  <Asger>
14551
14552         * paragraph.C: Change export to LaTeX of alignment to
14553         \begin{center} and family for better roundtrip work with reLyX.
14554
14555         * Tune the math drawing a bit.
14556
14557 2001-06-25  The LyX Project  <Asger>
14558
14559         * LColor.C (LColor): New color for math background. New color
14560         for buttons.
14561
14562 2001-06-25  The LyX Project  <jug@sad.it>
14563
14564         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14565
14566         * lyxfunc.C (Open):
14567         * bufferlist.C (newFile): do not restrict to files ending with
14568         .lyx
14569
14570         * BufferView_pimpl.C (MenuInsertLyXFile):
14571
14572 2001-06-24  The LyX Project  <jug@sad.it>
14573
14574         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14575         of compare_no_case
14576
14577 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14578
14579         * lyxtext.h: rename most methods to begin with a small char.
14580         Lots of changes because of this.
14581
14582         * paragraph.C (Paragraph): do not call fitToSize
14583         (erase): call Pimpl::erase
14584         (insertChar): call Pimpl::insertChar
14585         (insertInset): call Pipl::insertInset
14586         (breakParagraph): do not call fitToSize
14587         (breakParagraphConservative): do not call fitToSize
14588         (fitToSize): remove method
14589
14590         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14591
14592 2001-06-24  The LyX Project  <Asger>
14593
14594         * Fix Qt compilation^2
14595
14596 2001-06-24  The LyX Project  <jug@sad.it>
14597
14598         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14599         depthHook(getDepth()-1).
14600
14601         * paragraph.h:
14602         * ParagraphParameters.h:
14603         * ParameterStruct.h: change type of depth to unsigned int ==
14604         depth_type. Many adaptations to other files before of that.
14605
14606 2001-06-24  The LyX Project  <Asger>
14607
14608         * Fix Qt compilation.
14609
14610 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14611
14612         * paragraph.h: renamed several methods to begin with small letter.
14613         several changes to many parts of the code because of this.
14614
14615 2001-06-23  The LyX Project  <jug@sad.it>
14616
14617         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14618         rewritten to discard all double spaces when KeepEmpty is off
14619         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14620         to only handle newlines but not fiddle with spaces and friends.
14621
14622         * lyxfunc.C (MenuNew): when doing 'new from template', use
14623         template_path as default directory
14624
14625 2001-06-23  The LyX Project  <Asger>
14626
14627         * Clean-up of header file includes all over
14628         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14629
14630 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14631
14632         * paragraph.h: renamed from lyxparagraph.h
14633
14634 2001-06-23  Asger  <lyx@violet.home.sad.it>
14635
14636         * Buffer.h: Removed Buffer::resize
14637         * BufferList.h: Removed BufferList::resize
14638         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14639         the document lazily when we change the width, or the font settings.
14640
14641 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14642
14643         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14644
14645 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14646
14647         * buffer.h: remove out of date comment
14648
14649 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14650
14651         * lyxscreen.h:
14652         * screen.C: fix "theoretical" GC leak
14653
14654 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14655
14656         * LaTeX.C (scanAuxFile):
14657         (deplog): remove trailing \r when reading stream (useful under
14658         win32)
14659
14660 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14661
14662         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14663         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14664         and BufferView::theLockingInset(Inset*), so should use them and not
14665         access bv_->text->the_locking_inset directly.
14666
14667         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14668
14669 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14670
14671         * Makefile.am:
14672         * tex-defs.h: remove old unused file
14673
14674 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14675
14676         * BufferView_pimpl.C: fix typo, remove minibuffer message
14677           when buffer has loaded
14678
14679 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14680
14681         * lyxfunc.C (Dispatch): use stringstream
14682         (MenuNew): use stringstream
14683         (Open): use stringstream
14684
14685         * importer.C (Import): use stringstream
14686
14687         * bufferview_funcs.C (CurrentState): use stringstream
14688
14689         * LaTeX.C (run): use stringstream
14690
14691         * BufferView_pimpl.C (savePosition): use stringstream
14692         (restorePosition): use stringstream
14693         (MenuInsertLyXFile): use stringstream
14694
14695 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14696
14697         * BufferView.C:
14698         * Bullet.C:
14699         * ColorHandler.C:
14700         * FontInfo.C:
14701         * FontLoader.C:
14702         * LColor.C:
14703         * LaTeXFeatures.C:
14704         * Painter.C:
14705         * gettext.C:
14706         * lyx_gui_misc.C:
14707         * lyxserver.C:
14708         * vspace.C: removed // -*- C++ -*- as first line.
14709
14710         * lyxfind.h:
14711         * version.h: added // -*- C++ -*- as first line.
14712
14713 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14714
14715         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14716
14717         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14718         of string
14719
14720 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14721
14722         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14723         of floats.
14724
14725 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14726
14727         * gettext.C: include LString.h even when --disable-nls is on.
14728
14729 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14730
14731         * converter.h (Get): changed argument type from int to
14732         FormatList::size_type to avoid unnecessary conversion.
14733
14734         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14735         before using it.
14736
14737 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14738
14739         * gettext.h: include LString.h even when --disable-nls is on.
14740
14741 2001-06-07  Juergen Vigna  <jug@sad.it>
14742
14743         * text.C (BreakAgain): subst spaces with tabs.
14744
14745         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14746         (resizeInsetsLyXText): set force on resizeLyXText.
14747
14748 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14749
14750         * gettext.h (gettext_init):
14751         (locale_init): use a real definition instead of a macro
14752
14753 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14754
14755         * Bufferview_pimpl.C:
14756         * LColor.h:
14757         * LColor.C: further lcolor tidies
14758
14759 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14760
14761         * BufferView_pimpl.C (updateScrollbar): simplify.
14762
14763         * BufferView2.C: don't include insets/insetinfo.h, change
14764         prototype for insertInset and call the Pimpl version. let
14765         updateInset call Pimpl version.
14766
14767         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14768         gotoInset to BufferView::Pimpl
14769
14770 2001-06-01  Juergen Vigna  <jug@sad.it>
14771
14772         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14773         inside a LockingInset (is the update needed at all?).
14774
14775 2001-05-31  Juergen Vigna  <jug@sad.it>
14776
14777         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14778         here not the old one otherwise how should we compare it afterwards
14779         if it's the same!
14780
14781 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14782
14783         * lyxfont.C:
14784         * tabular.C:
14785         * tabular-old.C:
14786         * FontInfo.C: bring C functions into global namespace when
14787         necessary
14788
14789 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14790
14791         * LString.h: make sure config.h has been loaded before LString.h.
14792
14793         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14794         (one for each char read by EatLine!).
14795
14796         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14797         variables.
14798
14799 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14800
14801         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14802         to the same as the par we break from
14803
14804 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14805
14806         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14807
14808         * MenuBackend.C (expand): also create menu entries for wide
14809         versions of the floats.
14810
14811         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14812
14813         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14814
14815         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14816         frontends/Makefile.am
14817
14818         * text2.C: adjust
14819         * text.C: adjust
14820
14821
14822         * tabular.C (getTokenValue): add std::
14823
14824         * tabular-old.C (getTokenValue): add std::
14825         (getTokenValue): ditto
14826         (getTokenValue): ditto
14827
14828         * screen.C (ToggleSelection): adjust
14829
14830         * lyxtext.h: put selection cursors inside a Selection struct.
14831
14832         * lyxfunc.C (moveCursorUpdate): adjust
14833
14834         * lyxfont.C (latexWriteStartChanges): add std::
14835
14836         * lyxfind.C: adjust
14837
14838         * font.h: delete with(char const *, LyXFont const &)
14839
14840         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14841
14842         * FontInfo.C (getFontname): add std::
14843
14844         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14845         (workAreaButtonPress): adjust
14846         (tripleClick): adjust
14847         (update): adjust
14848         (moveCursorUpdate): adjust
14849         (Dispatch): adjust
14850
14851         * BufferView2.C (gotoInset): adjust
14852
14853 2001-05-30  Juergen Vigna  <jug@sad.it>
14854
14855         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14856         to check pspell I add this as default as I now have new pspell
14857         libraries and they seem to use this.
14858
14859 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14860
14861         * text2.C (CutSelection): make the cursor valid before the call to
14862         ClearSelection.
14863
14864 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14865
14866         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14867         relied on 0 terminated strings and other horrors. Bug found due to
14868         the new assert in lyxstring!
14869
14870         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14871         KP_ keys.
14872
14873 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14874
14875         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14876         to latinkeys.bind.
14877
14878         * lyxfunc.C (processKeySym): change method of getting to the
14879         self-insert char.
14880
14881         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14882         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14883         * BufferView_pimpl.[Ch]: here as private methods.
14884
14885 2001-05-28  Juergen Vigna  <jug@sad.it>
14886
14887         * text.C (SetHeightOfRow): added the update() call again as it is
14888         needed to initialize inset dimensions!
14889
14890 2001-05-16  Juergen Vigna  <jug@sad.it>
14891
14892         * text2.C (SetCharFont): Add new function with BufferView * and
14893         bool toggleall parameters for setting insets internal fonts.
14894         (SetFont): Freeze the undo as we may change fonts in Insets and
14895         all this change should be inside only one Undo!
14896
14897         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14898         setting font's in insets as for them we have the SetFont function!
14899
14900 2001-05-15  Juergen Vigna  <jug@sad.it>
14901
14902         * text2.C (ClearSelection): to be sure we REALLY don't have any
14903         selection anymore!
14904
14905         * tabular.C (TeXCellPreamble): fixed the left border problem for
14906         multicolumn cells.
14907
14908 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14909
14910         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14911         dependancy file
14912
14913 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14914
14915         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14916         LFUN_BREAKPARAGRAPH.
14917
14918         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14919         help test to "internal only", similar for LFUN_INSERT_URL
14920
14921         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14922         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14923         auto_region_delete and deadkeys.
14924
14925 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14926
14927         * LColor.h:
14928         * LColor.C: remove some dead entries, tidy a little
14929
14930 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14931
14932         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14933         commented code.
14934         (Dispatch): implement LFUN_ESCAPE
14935
14936         * commandtags.h: add LFUN_ESCAPE
14937
14938         * LyXAction.C (init): add entry for LFUN_ESCAPE
14939
14940         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14941         Remove commented code.
14942         (insertNote): moved here
14943         (open_new_inset): moved here
14944
14945         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14946         BufferView_pimpl
14947
14948 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14949
14950         * kbmap.C (findbinding): clean it up and make it work correctly.
14951
14952         * lyx_main.C (init): do not pass argc and argv as parameters
14953
14954 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14955
14956         * buffer.C: fix path for OS/2 & Win32
14957
14958         * lyx_gui.C:
14959         * lyx_main:
14960         * lyx_main.C: Added os:: class.
14961
14962         * os2_defines.h: update
14963
14964 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14965
14966         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14967         better by trying again with reduced state.
14968
14969 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14970
14971         * lyxrc.C (read): print error about invalid key sequence only when
14972         debugging (because not all latinX keysyms are known to some X
14973         servers)
14974
14975         * kbsequence.C (getiso): add a few std:: qualifiers
14976         (getiso): comment out extra return statement.
14977
14978 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14979
14980         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14981         handling.
14982         (Dispatch): enhance the accent inset a bit. (not perfect)
14983
14984 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14985
14986         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14987
14988 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14989
14990         * bufferlist.C (emergencyWrite): fix assert() call
14991
14992 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14993
14994         * text.C (InsertChar): Added trivial patch to only send the "you
14995         can not do multiple spaces this way" message once during a
14996         session.
14997
14998 2001-05-08  Baruch Even  <baruch@lyx.org>
14999
15000         * Makefile.am: Changed order of libraries to get LyX to link properly
15001         with the gnome frontend.
15002
15003 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15004
15005         * LaTeXFeatures.h: add a std:: qualifier
15006
15007 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15008
15009         * paragraph.C (String): use stringstream
15010
15011 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15012
15013         * paragraph.C (writeFile): remove footflag arg
15014
15015         * buffer.C (makeLaTeXFile): use stringstream
15016         (latexParagraphs): remove footnot gurba
15017
15018         * LaTeXFeatures.C (getPackages): use stringstream
15019         (getMacros): likewise
15020         (getTClassPreamble): likewise
15021         (getFloatDefinitions): new method
15022
15023         * paragraph.C (writeFile): reindent
15024         (Erase): reindent
15025
15026         * WorkArea.h: revert the xpos + etc changes.
15027
15028         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15029
15030         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15031
15032         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15033         (pasteSelection): likewise
15034         * text2.C (CreateUndo): likewise
15035
15036 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15037
15038         * minibuffer.C (peek_event): temporarily reduce the functionality
15039         of the minibuffer (to allow args on lfuns)
15040
15041         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15042         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15043
15044         * buffer.C (readInset): add compability reading of old float
15045         lists, add reading of new style float list.
15046         (readInset): avoid reevaluation of inscmd.getCmdName()
15047         (getLists): reindent
15048
15049         * MenuBackend.C (MenuItem): implement parsing of
15050         md_floatlistinsert and md_floatinsert.
15051         (expand::LastFiles): move initalizaton of iterators out of loop,
15052         avoid reevaluation.
15053         (expand::Documents): introduce typdedef vector<string> Strings,
15054         and use it.
15055         (expand::ExportFormats): introduce typedef vector<Format const *>
15056         Formats, and use it.
15057         (expand): implement FloatListInsert and FloatInsert.
15058
15059         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15060         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15061         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15062
15063         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15064         handling.
15065         (Dispatch::LFUN_FLOAT_LIST): implement
15066
15067 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15068
15069         * LaTeX.C (run): Fix problem with --export code.
15070
15071 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15072
15073         * BufferView.[Ch] (workarea): removed.
15074         (getClipboard) new method; wrapper for workarea()->getClipboard()
15075
15076         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15077         bug.
15078
15079         * WorkArea.h (width, height, xpos, ypos): These methods all
15080         returned the dimensions of the work_area sub-area of WorkArea,
15081         resulting in a position error if the WorkArea were resized. Now
15082         return the dimensions of the entire WorkArea.
15083
15084         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15085
15086 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15087
15088         * LaTeX.C (deplog): correct the syntax of regex reg1
15089
15090 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15091
15092         * undo.C: remove !NEW_INSETS cruft
15093
15094 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15095
15096         * text2.C: remove !NEW_INSETS cruft
15097
15098         * text.C: remove !NEW_INSETS cruft
15099
15100         * tabular.C: remove !NEW_INSETS cruft
15101
15102         * spellchecker.C: remove !NEW_INSETS cruft
15103
15104         * lyxtext.h: remove !NEW_INSETS cruft
15105
15106         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15107
15108         * lyxfunc.C: remove !NEW_INSETS cruft
15109
15110         * lyxfind.C: remove !NEW_INSETS cruft
15111
15112         * lyx_cb.C: remove !NEW_INSETS cruft
15113
15114         * figureForm.C: remove  !NEW_INSETS cruft
15115
15116         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15117
15118         * buffer.[Ch]: remove !NEW_INSETS cruft
15119
15120         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15121
15122         * CutAndPaste.C: remove !NEW_INSETS cruft
15123
15124         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15125
15126         * BufferView2.C: remove !NEW_INSETS cruft
15127
15128         * BufferView.h: remove !NEW_INSETS cruft
15129
15130 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15131
15132         * Lsstream.h: include LString.h before the sstream headers to
15133         fix problem with gcc 2.95.3 and lyxstring
15134
15135 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15136
15137         * lyx_main.C: add using directives when needed for C functions
15138         declared in std:: namespace.
15139
15140 2001-04-27  Juergen Vigna  <jug@sad.it>
15141
15142         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15143         (SetHeightOfRow): comment out the update call should not be needed!
15144
15145 2001-04-13  Juergen Vigna  <jug@sad.it>
15146
15147         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15148         (LyXTabular): tried to minimize operator= operations (and realized
15149         hopfully Lars wish).
15150
15151 2001-04-27  Juergen Vigna  <jug@sad.it>
15152
15153         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15154
15155 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15156
15157         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15158
15159         * buffer.C (readInset): hack to make listof algorithm work
15160
15161         * BufferView_pimpl.C: hack to make listof algorithm work
15162
15163 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15164
15165         * LyXAction.C: removed all !NEW_INSETS cruft
15166         (init): moved lfun_item in method
15167
15168         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15169
15170 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15171
15172         * BufferView2.C (theLockingInset): white space.
15173
15174 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15175
15176         * minibuffer.C: include <iostream>
15177
15178         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15179
15180         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15181
15182         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15183
15184         * text.[Ch] (TransposeChars): new method
15185
15186 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15187
15188         * call message directly through LyXView instead of through LyXFunc
15189         * BufferView2.C: adjust
15190         * BufferView_pimpl.C: adjust
15191         * FontLoader.C: adjust
15192         * buffer.C: adjust
15193         * bufferview_funcs.C: adjust
15194         * converter.C: adjust
15195         * figureForm.C: adjust
15196         * importer.C: adjust
15197         * lyx_cb.C: adjust
15198         * lyx_gui_misc.C: adjust
15199         * lyxfunc.C: adjust
15200         * lyxvc.C: adjust
15201         * text2.C: adjust
15202         + more files in subdirs
15203
15204         * lyxparagraph.h (size): move up int file
15205         (GetLayout): ditto
15206
15207         * adjust all uses of Assert to lyx::Assert.
15208
15209         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15210         lyxfunctional in namespace lyx
15211         * layout.C (hasLayout): ditto
15212         (GetLayout): ditto
15213         (GetLayout): ditto
15214         (delete_layout): ditto
15215         (NumberOfClass): ditto
15216         * converter.C (GetFormat): ditto
15217         (GetNumber): ditto
15218         (Add): ditto
15219         (Delete): ditto
15220         (SetViewer): ditto
15221         * bufferlist.C (getFileNames): ditto
15222         (emergencyWriteAll): ditto
15223         (exists): ditto
15224         (getBuffer): ditto
15225         * MenuBackend.C (hasSubmenu): ditto
15226         (hasMenu): ditto
15227         (getMenu): ditto
15228         * BufferView_pimpl.C (getInsetByCode): ditto
15229
15230 2001-04-18  Juergen Vigna  <jug@sad.it>
15231
15232         * vspace.C (asLatexString): fixed the 100% problem.
15233
15234 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15235
15236         * lyxfunc.C (Dispatch):
15237         * minibuffer.C:
15238         * minibuffer.h: add a few std:: qualifiers
15239
15240 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15241
15242         * minibuffer.[Ch]: reimplement so that commands is initiated and
15243         run from lyxfunc, simplified som handling, and made the completion
15244         and history code for complete. wip.
15245
15246         * lyxfunc.C (processKeySym): call message
15247         (miniDispatch): new temporary method
15248         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15249         (LFUN_MESSAGE): implement
15250         (LFUN_MESSAGE_PUSH): implement
15251         (LFUN_MESSAGE_POP): implement
15252         (initMiniBuffer): the initial/defualt minibuffer message.
15253
15254         * lyxfont.[Ch]: inline some more getters
15255
15256         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15257
15258         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15259
15260         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15261         (AutoSave): use LFUN_MESSAGE
15262         (Reconfigure): ditto
15263
15264         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15265
15266         * figureForm.C: use LFUN_MESSAGE
15267
15268         * converter.C (runLaTeX): use LFUN_MESSAGE
15269
15270         * bufferview_funcs.C: use LFUN_MESSAGE
15271         (Melt): ditto
15272         (changeDepth): ditto
15273
15274         * bufferparams.h: use boost::
15275
15276         * bufferlist.h: inherit privately from noncopyable
15277
15278         * bufferlist.C (loadLyXFile): remove some commented code.
15279
15280         * buffer.C (runChktex): use LFUN_MESSAGE
15281
15282         * ShareContainer.h: inherit privately from noncopyable
15283
15284         * ParagraphParameters.[hC] (depth): inline it.
15285
15286         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15287         methods.
15288         (message): new method
15289         (messagePush): ditto
15290         (messagePop): ditto
15291         (show): init minibuffer
15292         (showState): direct call
15293
15294         * LaTeX.[Ch]: inherit privately from noncopyable
15295         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15296         instead of WriteStatus.
15297
15298         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15299
15300         * BufferView_pimpl.C (buffer): don't init minibuffer
15301         (workAreaButtonPress): use LFUN_MESSAGE
15302         (workAreaButtonRelease): ditto
15303         (savePosition): ditto
15304         (restorePosition): ditto
15305         (MenuInsertLyXFile): ditto
15306         (workAreaExpose): don't init minibuffer
15307         (update): remove commented code, simplify
15308
15309         * BufferView2.C (openStuff): use LFUN_MESSAGE
15310         (toggleFloat): ditto
15311         (menuUndo): ditto
15312         (menuRedo): ditto
15313         (copyEnvironment): ditto
15314         (pasteEnvironment): ditto
15315         (copy): ditto
15316         (cut): ditto
15317         (paste): ditto
15318         (gotoInset): ditto
15319         (updateInset): remove some commented code
15320
15321         * lastfiles.h: inherit privately from noncopyable
15322         * layout.h: ditto
15323         * lyx_gui.h: ditto
15324         * lyx_main.h: ditto
15325         * lyxlex.h: ditto
15326         * lyxlex_pimpl.h: ditto
15327
15328         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15329         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15330         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15331
15332         * LyXAction.h: inherit privately from noncopyable, add methods
15333         func_begin, func_end, returning iterators to the func map.
15334
15335         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15336         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15337         (func_begin): new method
15338         (func_end): new method
15339
15340         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15341         and not)
15342         (copySelection): ditto
15343         (pasteSelection): ditto
15344
15345         * BufferView.C: whitespace change
15346         * BufferView.h: inherit privately from noncopyable
15347
15348 2001-04-16  Allan Rae  <rae@lyx.org>
15349
15350         * tabular-old.C (l_getline):
15351         * spellchecker.C (sc_check_word):
15352         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15353         an unrecognised preprocessor directive.  So ensure they're wrapped.
15354
15355 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15356
15357         * src/exporter.C (Export): Give an error message when path to file
15358         contains spaces.
15359
15360 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15361
15362         * LaTeX.C (deplog): Always check that foundfile exists.
15363
15364 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15365
15366         * lyx_main.h:
15367         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15368
15369 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15370
15371         * tabular.[Ch] (getLabelList): implement new method
15372
15373         * minibuffer.h: comment ouf setTiimer
15374
15375         * minibuffer.C (ExecutingCB): constify res
15376         (peek_event): constify s
15377         (Set): constify ntext
15378         (Init): constify nicename
15379
15380         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15381
15382         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15383         (savePosition): use two params to Minibuffer::Set
15384         (restorePosition): ditto
15385
15386 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15387
15388         * lyx_main.C: include language.h
15389
15390         * Makefile.am (lyx_main.o): add language.h
15391
15392 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15393
15394         * exporter.C:
15395         * paragraph.C:
15396         * screen.C:
15397         * tabular.C:
15398         * CutAndPaste.C: include gettext.h
15399
15400         * lyxfont.h: remove old hack with ON and OFF.
15401
15402         * lyxparagraph.h:
15403         * lyxfont.h: do not include language.h...
15404
15405         * BufferView2.C:
15406         * LaTeXFeatures.C:
15407         * Painter.C:
15408         * bufferview_funcs.C:
15409         * font.C:
15410         * lyxfont.C:
15411         * text.C:
15412         * text2.C:
15413         * trans_mgr.C:
15414         * paragraph.C: ... but do it here instead
15415
15416 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15417
15418         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15419
15420         * tabular.C: small reformat
15421
15422         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15423         NEW_INSETS version
15424         (GetChar): ditto
15425         (BreakParagraph): ditto
15426         (SetOnlyLayout): ditto
15427         (SetLayout): ditto
15428
15429         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15430         with one arg less.
15431
15432         * lastfiles.C: removed most using decl, add std:: where needed
15433
15434         * buffer.C: ws changes
15435
15436         * MenuBackend.C (class compare_format): put into anon namespace
15437         (expand): constify label, names, action, action2
15438         (expand):
15439
15440         * text.C (SingleWidth): constify font
15441         (IsBoundary): constify rtl2
15442         (GetVisibleRow): constify ww
15443
15444         * LaTeX.C (deplog): constify logfile
15445
15446         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15447         start_x, end_x
15448         (workAreaExpose): constify widthChange, heightChange
15449
15450         * lyxrow.C (par): moved
15451         (height): moved
15452         (next): moved
15453         * lyxrow.h: as inlines here
15454
15455         * lyxfont.h (shape): moved from lyxfont.C
15456         (emph): moved from lyxfont.C
15457
15458         * lyxfont.C (LyXFont): use initialization list for all
15459         constructors
15460         (shape): move to lyxfont.h as inline
15461         (emph): move to lyxfont.h as inline
15462
15463
15464 2001-04-04  Juergen Vigna  <jug@sad.it>
15465
15466         * vspace.C: had to include stdio.h for use of sscanf
15467
15468 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15469
15470         * BufferView.h:
15471         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15472         independent of xforms.
15473
15474 2001-04-02  Juergen Vigna  <jug@sad.it>
15475
15476         * spellchecker.C: fixed namespace placing!
15477
15478 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15479
15480         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15481         the LyXParagraph * is 0.
15482
15483 2001-03-29  Juergen Vigna  <jug@sad.it>
15484
15485         * vspace.C: added support for %, c%, p%, l%.
15486         (stringFromUnit): added helper function.
15487         (asLatexString): changed to give right results for the %-values.
15488
15489         * buffer.C: convert the widthp in a width%.
15490
15491 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15492
15493         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15494         figureForm.[Ch].
15495
15496         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15497         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15498
15499         * lyx_cb.[Ch]: see above.
15500
15501         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15502         form1.[Ch].
15503
15504         * form1.[Ch]:
15505         * lyx.[Ch]: replaced by figure_form.[Ch].
15506
15507         * lyx_gui.C:
15508         * lyx_gui_misc.C:
15509         * lyxfunc.C: changed headers associated with above changes.
15510
15511 2001-03-27  Juergen Vigna  <jug@sad.it>
15512
15513         * BufferView_pimpl.C: set the temporary cursor right!
15514
15515 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15516
15517         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15518
15519 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15520
15521         * LString.h: removed "using std::getline"!
15522
15523         * BufferView_pimpl.C (Dispatch): changes due to changes in
15524         InsetInclude::Params.
15525
15526         * buffer.C (tag_name): removed redundant break statements as they were
15527         producing lots of warnings with my compiler.
15528
15529 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15530
15531         * LString.h: add "using std::getline" when using the real <string>.
15532
15533 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15534
15535         * buffer.C: removed bitset usage.
15536         PAR_TAG moved to an anonymous name space.
15537         (tag_name): new funtion, also in the anonymous namespace.
15538         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15539         (makeDocBookFile): clean code. Completed transition from string arrays
15540         to string vectors.
15541         (SimpleDocBookOnePar): code clean.
15542
15543 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15544
15545         * tabular.C: add some comments.
15546
15547 2001-03-22  Juergen Vigna  <jug@sad.it>
15548
15549         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15550         compatibility read a bit and fixed bug with minipage in different
15551         depth.
15552
15553 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15554
15555         * buffer.C (pop_tag): removed.
15556         (push_tag): removed.
15557         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15558         array replaced with vector. Added support for CDATA sections.
15559         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15560         at any nest level.
15561         (makeDocBookFile): XML conformant declaration of CDATA section,
15562         fixed bug related to <emphasis> in the first paragraph char.
15563         (sgmlOpenTag): exclude empty tags.
15564         (sgmlCloseTag): ditto.
15565
15566         * buffer.h (pop_tag): removed.
15567         (push_tag): removed.
15568
15569 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15570
15571         * language.h (Languages): added size_type and size().
15572
15573 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15574
15575         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15576         response on compability reading of minipages. One probliem is that
15577         the old usage of minipages was «flertydig»
15578
15579         * several files here and in subdirs: don't use static at file
15580         scope use anon namespaces instead.
15581
15582 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15583
15584         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15585         LaTeX output. This is necessary for Literate document
15586         processing.
15587
15588 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15589
15590         * buffer.C: insert hfill when needed.
15591
15592         * tabular.C (l_getline): use string::erase, small whitespace change.
15593
15594         * BufferView_pimpl.C: try the anon namespace.
15595         * WorkArea.C: ditto
15596
15597 2001-03-16  Juergen Vigna  <jug@sad.it>
15598
15599         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15600         otherwise it won't open options-dialogs.
15601
15602         * buffer.C: honor pextraWidth(p) on converting minipages.
15603
15604         * tabular.C (l_getline): changed the functions to strip trailing \r.
15605
15606 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15607
15608         * BufferView_pimpl.C:
15609         * minibuffer..C: added "using SigC::slot" declaration.
15610
15611 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15612
15613         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15614
15615         * text2.C: ditto
15616
15617         * text.C: ditto
15618
15619         * paragraph.C: ditto
15620
15621         * lyxtext.h: NO_PEXTRA
15622
15623         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15624
15625         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15626         * ParameterStruct.h: ditto
15627         * ParagraphParameters.h: ditto
15628         * lyxparagraph.h: ditto
15629
15630 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15631
15632         * buffer.C: add compability for minipage alignment.
15633         (latexParagraphs): remove unwanted pextra check.
15634
15635         * several files: remove CXX_WORKING_NAMESPACES
15636
15637         * buffer.C (pop_tag): tie is in namespace boost
15638
15639         * BufferView.h: noncopyable is in namespace boost
15640         * lyxlex.h: ditto
15641         * lyx_main.h: ditto
15642         * lyx_gui.h: ditto
15643         * layout.h: ditto
15644         * lastfiles.h: ditto
15645         * bufferlist.h: ditto
15646         * ShareContainer.h: ditto
15647         * LyXView.h: ditto
15648         * LyXAction.h: ditto
15649         * LaTeX.h: ditto
15650
15651 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15652
15653         * Merging changes from BRANCH_MVC back into HEAD.
15654
15655         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15656
15657 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15658
15659         * BufferView_pimpl.C: change from intl.C
15660
15661         * combox.h:
15662         * combox.C:
15663         * Makefile.am: move combox.*
15664
15665         * form1.h:
15666         * form1.C:
15667         * lyx_gui.C:
15668         * intl.h:
15669         * intl.C: remove dialog (covered by prefs)
15670
15671 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15672
15673         * lyxfunc.C (Dispatch): removed redundant break statement.
15674
15675 2001-03-14  Juergen Vigna  <jug@sad.it>
15676
15677         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15678
15679 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15680
15681         * buffer.C: add hack to fix compability reading of minipages.
15682
15683 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15684
15685         * buffer.C (getLists): Cleanup.
15686
15687 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15688
15689         * lyxfont.C (update): don't honor toggleall on font size.
15690
15691 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15692
15693         * bmtable.c:
15694         * bmtable.h:
15695         * Makefile.am: moved to frontends/xforms/
15696
15697         * lyx_gui_misc.C:
15698         * lyxfunc.C:
15699         * BufferView_pimpl.C: changes for moved mathpanel
15700
15701 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15702
15703         * gettext.h: fix gettext_init() in --disable-nls
15704
15705 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15706
15707         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15708
15709 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15710
15711         * lyx.C:
15712         * lyx.h: strip external form
15713
15714 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15715
15716         * BufferView_pimpl.C: add comment, destroySplash()
15717
15718 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15719
15720         * BufferView_pimpl.C:
15721         * LyXAction.C:
15722         * buffer.C:
15723         * commandtags.h:
15724         * lyxfunc.C: use re-worked insetinclude
15725
15726 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15727
15728         * buffer.C: add using std::stringstream.
15729
15730         * lyx_cb.C: readd using std::ios.
15731
15732         * buffer.C: add using std::map.
15733
15734         * BufferView_pimpl.C: add using std::vector.
15735
15736         * ShareContainer.h: add std:: to swap.
15737
15738         * buffer.h: add some typedefs
15739         * buffer.C (getLists): use them
15740         (getLists): renamed from getTocList.
15741         add a counter for the different float types and use it in the
15742         generated string.
15743         (getLists): use the same counter for the NEW_INSETS and the "non"
15744         NEW_INSETS
15745
15746         * lyx_cb.h: remove unused items, includes, using etc.
15747
15748         * ShareContainer.h: remove some commented code, add more comments
15749         and "documentation".
15750
15751 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15752
15753         * buffer.C (getTocList): make the list also when NEW_INSETS is
15754         defined.
15755
15756         * buffer.h: remove TocType
15757
15758         * buffer.C (getTocList): change to return a map<string,
15759         vector<TocItem> >, implement for dynamic number of list.
15760
15761         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15762         * text2.C (PasteSelection): adjust
15763         * CutAndPaste.C (pasteSelection): adjust
15764
15765         * FloatList.C (FloatList): update from the new_insets branch.
15766         * Floating.[Ch]: ditto
15767         * LaTeXFeatures.C: ditto
15768         * buffer.C: ditto
15769         * lyxlex_pimpl.C: ditto
15770
15771         * paragraph.C (Last): remove when NEW_INSETS is defined.
15772
15773         * other file: changes because of the above.
15774
15775 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15776
15777         * lyxparagraph.h: rename next to next_, previous to previous_,
15778         make them private for NEW_INSETS. Rename Next() to next(),
15779         Previous() to previous().
15780
15781         * other files: changes because of the above.
15782
15783 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15784
15785         * BufferView.h:
15786         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15787         problem.
15788
15789 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15790
15791         * main.C (main): pass lyx_localedir to gettext_init().
15792
15793         * gettext.h: remove locale_init and gettext_init macros
15794
15795         * gettext.C (locale_init): new function
15796         (gettext_init): new function
15797
15798         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15799         setlocale().
15800
15801 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15802
15803         * Moved credits to frontends:
15804         * credits.[Ch]: removed
15805         * credits_form.[Ch]: removed
15806         * lyx_gui_misc.C: remove credits stuff
15807         * Makefile.am:
15808
15809 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15810
15811         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15812
15813         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15814         unneeded destructor.
15815
15816         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15817         a standalone pointer again.
15818
15819         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15820
15821 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15822
15823         * Makefile.am:
15824         * filedlg.h:
15825         * filedlg.C:
15826         * LyXAction.C:
15827         * ToolbarDefaults.C:
15828         * bufferlist.C:
15829         * commandtags.h:
15830         * form1.C:
15831         * form1.h:
15832         * lyx_cb.C:
15833         * lyx_cb.h:
15834         * lyxfunc.h:
15835         * lyxfunc.C:
15836         * BufferView_pimpl.C: use new file dialog in GUII
15837
15838         * lyx_cb.h:
15839         * lyx_cb.C: remove LayoutsCB to Toolbar
15840
15841 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15842
15843         * ShareContainer.h (get): add std:: qualifier
15844
15845 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15846
15847         * ShareContainer.h: define a proper ShareContainer::value_type
15848         type (and use typename to please compaq cxx)
15849
15850 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15851
15852         * lyxparagraph.h: move serveral local vars to
15853         ParameterStruct/ParagraphParameters., use ShareContainer in
15854         FontTable., make vars in FontTable private and add getter and
15855         setter.
15856
15857         * paragraph.C: changes because of the above.
15858
15859         * lyxfont.h: remove copy constructor and copy assignment. (the
15860         default ones is ok), move number inside FontBits. move inlines to
15861         lyxfont.C
15862
15863         * lyxfont.C: add number to initializaton of statics, move several
15864         inlines here. constify several local vars. some whitespace
15865         cleanup. Dont hide outerscope variables.
15866
15867         * Spacing.h: add two new constructors to match the set methods.
15868
15869         * ShareContainer.h: new file, will perhaps be moved to support
15870
15871         * ParameterStruct.h: new file
15872
15873         * ParagraphParameters.h: new file
15874
15875         * ParagraphParameters.C: new file
15876
15877         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15878         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15879
15880         * BufferView_pimpl.C: ParagraphParameter changes.
15881         * buffer.C: Likewise.
15882         * bufferview_funcs.C: Likewise.
15883         * text.C: Likewise.
15884         * text2.C: Likewise.
15885
15886 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15887
15888         * lyxfind.C (LyXReplace): do not redefine default argument in
15889         implementation.
15890         (IsStringInText): ditto
15891         (SearchForward): ditto
15892         (SearchBackward): ditto
15893
15894 2001-03-06  Juergen Vigna  <jug@sad.it>
15895
15896         * lyxfind.C (IsStringInText): put parentes around expressions.
15897
15898 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15899
15900         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15901
15902 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15903
15904         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15905
15906         * stl_string_fwd.h: add comment
15907
15908         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15909
15910         * tabular.h:
15911         * tabular.C: remove unused DocBook methods
15912
15913         * intl.C:
15914         * language.C:
15915         * paragraph.C:
15916         * buffer.C:
15917         killed DO_USE_DEFAULT_LANGUAGE
15918
15919 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15920
15921         * lyx_gui.C: do not include language.h.
15922
15923         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15924         arguments in function implementation.
15925
15926 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15927
15928         * BufferView_pimpl.C: add <ctime>
15929
15930 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15931
15932         * BufferView_pimpl.C: add using std::find_if
15933
15934 2001-02-27  José Matos  <jamatos@fep.up.pt>
15935
15936         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15937         by OnlyPath.
15938
15939 2001-02-11  José Matos  <jamatos@fep.up.pt>
15940
15941         * buffer.C (makeDocBookFile): command styles now have a parameter as
15942         "title" by default.
15943
15944 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15945
15946         * layout_forms.[Ch]: removed
15947         * lyx_cb.[Ch]: out character
15948         * lyx_gui.C: out character
15949         * lyx_gui_misc.C: out character
15950         * bufferview_funcs.C: : out character,
15951         added toggleall as parameter in ToggleAndShow
15952
15953 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15954
15955         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15956
15957         * text2.C (SetCurrentFont): Disable number property at boundary.
15958
15959 2001-02-26  Juergen Vigna  <jug@sad.it>
15960
15961         * lyxfunc.C (getStatus): added a string argument override function so
15962         that this is correctly called from LyXFunc::Dispatch if it contains a
15963         do_not_use_argument which is used!
15964         (Dispatch): added check for "custom" export and call appropriate func.
15965
15966 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15967
15968         * lyxrc.C: Add language_command_local, language_use_babel and
15969         language_global_options.
15970
15971         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15972
15973         * buffer.C (makeLaTeXFile): Use language_use_babel and
15974         language_global_options.
15975
15976 2001-02-23  Juergen Vigna  <jug@sad.it>
15977
15978         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15979         which works with LyXText and putted it inside BufferView. Here now we
15980         only call for that part the BufferView::Dispatch() function.
15981
15982         * BufferView.C (Dispatch): added.
15983
15984         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15985         functions which needs to use a LyXText over from LyXFunc.
15986         (MenuInsertLyXFile): added
15987         (getInsetByCode): added
15988         (moveCursorUpdate): added
15989         (static TEXT): added
15990
15991 2001-02-22  Juergen Vigna  <jug@sad.it>
15992
15993         * BufferView_pimpl.C (update): call a status update to see if LyXText
15994         needs it.
15995
15996 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15997
15998         * vc-backend.C (revert): implement for CVS
15999         (getLog): implement for CVS
16000
16001 2001-02-20  Juergen Vigna  <jug@sad.it>
16002
16003         * text2.C (ClearSelection): added BufferView param for inset_owner call
16004
16005         * lyxfunc.C (TEXT): added this function and use it instead of
16006         directly owner->view()-text of getLyXText().
16007
16008 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16009
16010         * src/layout_forms.C: out preamble
16011         * src/layout_forms.h: out preamble
16012         * src/lyx_cb.C: out preamble
16013         * src/lyx_cb.h: out preamble
16014         * src/lyx_gui.C: out preamble
16015         * src/lyx_gui_misc.C: out preamble
16016         * src/lyxfunc.C: connect with guii preamble
16017
16018 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16019
16020         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16021
16022 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16023
16024         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16025         whether to run bibtex.
16026
16027 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16028
16029         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16030
16031 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16032
16033         * Makefile.am (lyx_SOURCES): removed bibforms.h
16034
16035         * vspace.h: doxygen
16036
16037         * text.C (GetVisibleRow): make several local vars const
16038
16039         * tabular.C: small cleanup.
16040
16041         * lyxserver.C (callback): use compare instead of strncmp
16042
16043         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16044         inlines to after class or to paragraph.C
16045
16046         * lyxfont.h: remove friend operator!=
16047
16048         * converter.h: move friend bool operator< to non friend and after
16049         class def.
16050
16051         * combox.h: small cleanup
16052
16053         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16054         to inlines after class def.
16055
16056         * buffer.C (pop_tag): use string operations instead of strcmp
16057
16058         * bmtable.c: doxygen, small cleanup
16059
16060         * LaTeX.h: remove friend operator==
16061
16062 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16063
16064         * screen.C:
16065         * lyxrc.[Ch]:
16066         * lyxfunc.C:
16067         * lyxfont.[Ch]:
16068         * lyx_cb.C:
16069         * intl.[Ch]:
16070         * commandtags.h:
16071         * buffer.C:
16072         * WorkArea.[Ch]:
16073         * LyXAction.C:
16074         * BufferView_pimpl.C:
16075         * BufferView.[Ch]: remove cruft
16076
16077 2001-02-14  Juergen Vigna  <jug@sad.it>
16078
16079         * lyxfunc.C: removed #if 0 unused code
16080
16081         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16082
16083         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16084
16085         * text2.C (SetSelection): added a BufferView * parameter
16086
16087 2001-02-13  Juergen Vigna  <jug@sad.it>
16088
16089         * lyxfunc.C (Dispatch): fixed protected blank problem.
16090         * BufferView2.C (protectedBlank): added LyxText * parameter.
16091
16092         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16093         (AppendColumn): same as above for column_info.
16094
16095         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16096         (moveCursorUpdate): use a LyXText param for support of InsetText.
16097
16098         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16099         (tripleClick): ditto
16100
16101         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16102
16103         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16104
16105         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16106
16107         * text2.C (SetSelection): set correct update status if inset_owner
16108         (ToggleFree): ditto
16109
16110 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16111
16112         * tabular.C: remove some commented code.
16113
16114 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16115
16116         * BufferView_pimpl.C: call hideSplash()
16117
16118         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16119
16120         * include_form.h:
16121         * bibforms.h: remove
16122
16123         * lyxfunc.C:
16124         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16125           add LFUN_CHILD_CREATE
16126
16127         * counters.h: fix tiny typo
16128
16129         * lyx_cb.C:
16130         * lyx.h:
16131         * lyx_gui.C:
16132         * lyx.C: move splash to frontends/xforms/
16133
16134         * lyx_gui_misc.C: move Include and Bibform to frontends
16135
16136         * lyxvc.h: clarify comment
16137
16138         * vspace.C: tiny housekeeping
16139
16140 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16141
16142         * text.C (PrepareToPrint): RTL Fix.
16143
16144         * paragraph.C (GetUChar): New method.
16145         (String):  Use GetUChar.
16146
16147         * buffer.C (asciiParagraph): Use GetUChar.
16148
16149 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16150
16151         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16152
16153 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16154
16155         * buffer.h:
16156         * buffer.C: rename to getLogName(), handle
16157           build log / latex log nicely
16158
16159 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16160
16161         * MenuBackend.C:
16162         * MenuBackend.h: remove support for reference menuitem type.
16163
16164 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16165
16166         * BufferView_pimpl.C: housekeeping
16167         * BufferView_pimpl.h:
16168         * LyXView.h:
16169         * Makefile.am:
16170         * Timeout.C:
16171         * Timeout.h:
16172         * minibuffer.h: move Timeout GUI-I
16173
16174 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16175
16176         * lyxrc.C (read): Update converters data-structures.
16177
16178 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16179
16180         * LaTeX.h (operator!=): add operator != for Aux_Info
16181
16182 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16183
16184         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16185
16186         * LaTeXLog.C: deleted, useful code moved to Buffer
16187
16188         * buffer.h:
16189         * buffer.C: new function getLatexLogName()
16190
16191         * lyx_gui_misc.C:
16192         * lyx_gui.C:
16193         * lyxvc.C:
16194         * lyxvc.h:
16195         * lyxfunc.C: use frontends for LaTeX and VC logs
16196
16197 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16198
16199         * LaTeX.h: yet another std:: that Allan forgot.
16200
16201         * Variables.C (set): renamed from isset(), because this clashes
16202         with some HP-UX macros (grr).
16203
16204 2001-02-06  Allan Rae  <rae@lyx.org>
16205
16206         * LaTeX.h: Another bug fix.  Missing std:: this time.
16207
16208 2001-02-04  Allan Rae  <rae@lyx.org>
16209
16210         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16211         floats problem. I've left it commented out because it's not quite
16212         correct.  It should also test that the current object is a table or
16213         figure inset.  But I haven't gotten around to figuring out how to do
16214         that.  I *think* it'll be something like: "table" == inset.type()
16215
16216         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16217         bool.
16218
16219 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16220
16221         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16222         all the citation/databases/styles in the auxilary file.
16223         (run): Rerun latex if there was a babel language error.
16224
16225 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16226
16227         * text.C (Backspace): Preserve the font when changing newline char
16228         with a space.
16229         (BreakParagraph): If the cursor is before a space, delete the space.
16230
16231         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16232
16233 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16234
16235         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16236         new argument (code).
16237         (ChangeCitationsIfUnique): New method.
16238
16239         * paragraph.C (GetPositionOfInset): Handle bibkey.
16240
16241 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16242
16243         * BufferView_pimpl.h: change type of Position::par_pos to
16244         LyXParagraph::size_type.
16245
16246 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16247
16248         * BufferView_pimpl.C (savePosition, restorePosition): Write
16249         messages to minibuffer.
16250
16251 2001-01-28  José Matos  <jamatos@fep.up.pt>
16252
16253         * buffer.C (makeDocBookFile): adds support for document language.
16254         A silly restriction on the name of LatexCommand types where removed.
16255         Added support for CDATA sections, allows to chars unescaped, used
16256         among others in code, to avoid escape < and >.
16257
16258 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16259
16260         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16261         saved positions instrad of a stack. Furthermore, a position is
16262         stored using paragraph id/paragraph position.
16263
16264         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16265         Remove LFUN_REF_BACK.
16266
16267 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16268
16269         * converter.C (dvipdfm_options): New method.
16270
16271 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16272
16273         * vspace.C (isValidLength): Fix for empty input string.
16274
16275 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16276
16277         * LyXAction.C (init): change description of LFUN_FIGURE to
16278         "Insert Graphics"
16279
16280 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16281
16282         * LaTeX.C: add using directive
16283
16284 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16285
16286         * MenuBackend.C (expand): Fix the sorting of the formats.
16287
16288 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16289
16290         * lyx_main.C: tiny error message fix
16291
16292 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16293
16294         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16295         calling fl_initialize(). This fixes the problem with ',' as
16296         decimal separator in text files.
16297
16298 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16299
16300         * trans.C (process): Fix the keymap bug.
16301
16302 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16303
16304         * LaTeX.C (scanAuxFiles): New method. Provides support for
16305         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16306         (scanLogFile) Scan for "run BibTeX" messages.
16307
16308         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16309         OT1 font encoding. Also, load the aecompl package if the ae
16310         package is loaded.
16311
16312         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16313
16314 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16315
16316         * texrow.C (increasePos): turn two error messages into debug
16317         messages.
16318
16319 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16320
16321         * LaTeX.C (scanAux): Handle the \@input macro.
16322         (runBibTeX): Use scanAux().
16323
16324         * language.C (latex_options_): New field.
16325
16326         * LaTeXFeatures.C (getMacros): Add language macros.
16327
16328         * buffer.C (makeLaTeXFile): Small fix.
16329
16330 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16331
16332         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16333
16334         * text2.C: add a using directive.
16335
16336 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16337
16338         * BufferView2.C:
16339         * lyx_gui_misc.h:
16340         * lyxfr1.C:
16341         * lyxfunc.C: kill LyXBell.
16342
16343 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16344
16345         * text.C (IsBoundary): Remove the error message
16346
16347         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16348
16349         * lyxrc.C (setDefaults): Correct initialization value for
16350         font_norm_type.
16351
16352 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16353
16354         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16355         gotoError().
16356
16357         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16358         and GotoNextNote().
16359
16360         * src/LyXAction.C: Added reference-next.
16361
16362         * text.C (InsertChar): Use contains instead of strchr.
16363
16364         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16365
16366 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16367
16368         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16369         alignment commands (when needed).
16370
16371         * text.C (InsertChar): Add ':' to number separator chars.