]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
72e7e17643e52f63353560f5c47f937ce072f3f3
[lyx.git] / src / ChangeLog
1 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * buffer.C, lyxlex_pimpl.C:
4         * lyxlex_pimpl.C (setFile):
5         s/getExtFromContents/getFormatFromContents/
6
7 2004-10-28  José Matos  <jamatos@lyx.org>
8
9         * output_docbook.C (makeEnvironment): move id to broadest possible scope.
10
11         * sgml.C (openTag): apply substitution of <> for all attribuites.
12
13 2004-10-28  José Matos  <jamatos@lyx.org>
14
15         * buffer.C (makeLinuxDocFile, makeDocBookFile):
16         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
17         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
18
19         * sgml.[Ch]: new version for open and closeTag for paragraph and
20         for strings. Now they handle the ids of paragraphs.
21
22 2004-10-26  Angus Leeming  <leeming@lyx.org>
23
24         * Makefile.am: add mover.[Ch].
25
26         * converter.C (convert, move): use the new Movers to move external
27         files to the temp directory.
28
29         * lyx_main.C (init): ensure that the global system_movers data
30         is initialised.
31
32         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
33         preferences file.
34
35         * mover.[Ch]: new files, defining a Mover as a utility to move an
36         external file between directories and, if necessary, manipulate this
37         file using a helper script.
38
39 2004-10-25  José Matos  <jamatos@lyx.org>
40
41         * output_docbook.C (makeCommand): merge two if's that tested the same condition.
42
43 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
44
45         * sgml.C (escapeString): fix warning in a better way
46
47 2004-10-25  José Matos  <jamatos@lyx.org>
48
49         * sgml.C (escapeString): import the require boosts header file for
50         tie, and avoid a signed unsigned comparison.
51
52 2004-10-25  José Matos  <jamatos@lyx.org>
53
54         * sgml.h: add #include <string>
55
56 2004-10-25  José Matos  <jamatos@lyx.org>
57
58         * sgml.[Ch] (escapeString): new function to escape all the string.
59
60 2004-10-24  José Matos  <jamatos@lyx.org>
61
62         * paragraph.[Ch] (getFirstWord): new function to get the first
63         word. Useful for description.
64         (simpleDocBookOnePar): remove depth argument, add another that
65         says where to start the paragraph.
66
67         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
68         use the new functions to fix cleanly the support for descriptions.
69
70 2004-10-24  José Matos  <jamatos@lyx.org>
71
72         * buffer.C (makeLinuxDocFile, makeDocBookFile):
73         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
74         * output_linuxdoc.C (linuxdocParagraphs):
75         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
76         add buffer as argument.
77
78 2004-10-24  José Matos  <jamatos@lyx.org>
79
80         * output_docbook.C (makeEnvironment, searchEnvironment): place
81         CDATA inside paragraphs and fix scope for listitems.
82
83 2004-10-24  José Matos  <jamatos@lyx.org>
84
85         * output_docbook.C: remove using statement for stack.
86
87 2004-10-23  José Matos  <jamatos@lyx.org>
88
89         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
90         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
91         docbook. The new scheme is recursive and makes use of iterators, the
92         same as latex export works.
93         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
94         directly with the paragraph contents. This code was moved up to
95         output_docbook.C (docbookParagraphs).
96         * sgml.C (openTag, closeTag): removed unneeded newlines.
97         (closeEnvTags) removed.
98
99 2003-10-23  André Pönitz  <poenitz@gmx.net>
100
101         * undo.C (textUndoOrRedo):
102         * dociterator.C (asDocIterator): work around crash
103
104         * cursor.C (getStatus): replace ASSERT by more verbose error message
105           and manual correction of the problem. Should increase stability
106           while providing more sensible information.
107
108 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
109
110         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
111
112         * bufferlist.C (previous, next): new methods
113
114         * lfuns.h:
115         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
116
117 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
118
119         * buffer.C (makeDocBookFile): add dsssl stylesheet control
120         entities to preamble.
121
122 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
123
124         * messages.C (Pimpl): strip off translation context information
125
126 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
127
128         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
129         the cursor is correct (bug 1694)
130
131 2004-10-13  José Matos  <jamatos@lyx.org>
132
133         * output_docbook.C (docbookParagraphs): fix closing tags in the
134         end of the document.
135
136 2004-10-09  José Matos  <jamatos@lyx.org>
137
138         * buffer.C: format up to 237.
139         * bufferparams.C (write): use tostr to convert booleans to strings.
140
141 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
142
143         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
144
145 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
146
147         * LaTeX.C: implement use of babel language in xindy.
148
149 2004-10-05  José Matos  <jamatos@lyx.org>
150
151         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
152         Add new translators to help reading and writing the lyx file.
153
154 2004-10-05  José Matos  <jamatos@lyx.org>
155
156         * ParagraphParameters.C (read):
157         * text.C (readParToken): replace nexToken by more appropriate lex
158         methods.
159
160 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
161
162         * LaTeX.C (runMakeIndex):
163         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
164         (usually 'makeindex') configurable.
165
166         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
167         with a variable rather than with a number.
168
169 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
170
171         * output_latex.C (TeXOnePar): make sure font setting is the first
172         thing that gets output (and the last at the end). Should fix bug
173         1404.
174
175 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
176
177         * pch.h: use proper signal include
178
179         * LaTeX.h: Use preferred calling of Boost.Signal
180         * buffer.h: ditto
181
182 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
183
184         * pch.h: dont include <boost/function/function0.hpp>
185
186         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
187
188         * paragraph_pimpl.h: remove usage of ShareContainer
189
190         * paragraph_pimpl.C: remove initialization of ShareContainer.
191
192 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
193
194         Fix bug #1666
195
196         * BufferView.C (putSelectionAt): change the semantics when
197         backwards == true: now, this just swaps cursor and anchor wrt the
198         forward case
199
200         * BufferView.h (putSelectionAt): add some documentation
201
202         * lyxfind.C (findBackwards): rewrite using while(). In particular,
203         make sure backwardChar is done at least once (to avoid getting
204         stuck)
205         (findNextChange): use putSelectionAt in the forward direction
206         (operator()): use Paragraph::isWord
207
208 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
209
210         * Spacing.C (set): c_str fix
211
212 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
213
214         * lyx_cb.C (Reconfigure): quote the name of configure script in
215         case it contains spaces
216
217 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
218
219         * client: new dir
220
221         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
222         (BOOST_LIBS): use top_buildir when looking for the file
223
224 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
225
226         * pch.h: do not use include boost/format.hpp, multiple symbols
227                 will result (gcc bug)
228
229
230 2004-08-23  José Matos  <jamatos@lyx.org>
231
232         * bufferparams.C (readToken): fix reading of the author field.
233
234 2004-08-20  José Matos  <jamatos@lyx.org>
235
236         * lyxrc.C: remove support/translator.h inclusion since it is not used.
237
238 2004-08-20  José Matos  <jamatos@lyx.org>
239
240         * lyxlex.[Ch] (findToken): remove function.
241
242         * ParagraphParameters.C (findToken):
243         * bufferparams.C (findToken): replace call for previous function
244         with local copy. This local function has one more argument, the
245         read string argument.
246
247 2004-08-16  José Matos  <jamatos@lyx.org>
248
249         * ParagraphParameters.C (write):
250         * Spacing.C (writeFile):
251         * bufferparams.C (writeLaTeX):
252         * lyx_cb.C (Reconfigure):
253         * paragraph.C (write):
254         * tabular.C (write): remove unnecessary space at end of line.
255
256
257 2004-08-16  José Matos  <jamatos@lyx.org>
258
259         * text.C (readParagraph): remove debug message.
260
261 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
262
263         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
264         crash
265
266         * output_plaintext.C (asciiParagraph): set depth correctly
267
268         * outputparams.h: add member depth
269
270         * paragraph_funcs.C (ownerPar): remove.
271
272         * text2.C (setCounter): remove first_pit; comment out some
273         non-working code that uses ownerPar
274
275         * BufferView.C (getParentLanguage): remove. Not used anymore, and
276         uses ownerPar
277
278 2004-08-16  José Matos  <jamatos@lyx.org>
279
280         * text.C (readParToken, readParagraph, read): report all unknown tokens.
281         For the same level of importance use the same chanel to report problems.
282         (read): add code to deal with \begin_body and \end_body.
283
284
285 2004-08-15  José Matos  <jamatos@lyx.org>
286
287         * lyxlex.C (getString): fix comment, buffer::readBody is now
288         buffer:readDocument.
289
290         * tex-strings.C (string_papersize): Default -> default,
291         Custom -> custom, for consistency with other options.
292
293 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
294
295         * pch.h: new file
296
297         * Makefile.am: support pch
298
299 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
300
301         * text.C (readParToken): remove the static LyXFont variable and
302         pass it as a parameter instead. This fixes a nasty bug where an
303         inset will be inserted with a bad font in some situations
304         (readParagraph): adapt
305
306         * text2.C (setCounter): reduce number of calls to pars_[pit]
307
308         * text.C (singleWidth): add an assert, fix a test
309
310         * rowpainter.C (paintText): reduce number of calls to singleWidth
311
312         * paragraph.C (isHfill):
313         (isNewline): ws only
314
315 2004-08-14  André Pönitz  <poenitz@gmx.net>
316
317         * text.C:
318         * text2.C:
319         * rowpainter.C:
320         * lyxtext.h (several functions): use a Paragraph & argument
321         instead of par_type
322
323 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
324
325         * metricsinfo.h: add a new field ltr_pos to PainterInfo
326
327         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
328
329         * text.C (singleWidth): remove useless test
330
331 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
332
333         * tabular.h: remove bogus comments
334
335         * tabular.C (getDescentOfRow):
336         (isPartOfMultiColumn): add assertions
337
338         * lyxlength.C (inPixels): remove #warning
339
340 2004-08-14  André Pönitz  <poenitz@gmx.net>
341
342         * paragraph.h: inline getChar()
343
344         * BufferView.h: remove unused declarations
345
346 2004-08-14  José Matos  <jamatos@lyx.org>
347
348         * Buffer.[Ch] (readDocument): new name for old readBody.
349         * Buffer.C: new file format, new keywords: \begin_document,
350         \begin_header, \begin_body, \end_body.
351
352         * bufferparams.C (readToken): replace all calls to lex.nextToken
353         by lex.next(). Do the same to eatLine except where really needed.
354
355         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
356         line when writing to the lyx file.
357
358         * output_plaintext.C (asciiParagraph): fix Bibliography style
359         handling.
360
361         * text.C (read): fix end of file handling.
362
363 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
364
365         * MenuBackend.C (Menu::operator[]): new method to access
366         individual menu items
367         (Menu::hasFunc): new method. search for an item that corresponds
368         to a given func
369         (MenuBackend::specialMenu): new method
370         (MenuBackend::expand): if a special menu has been set, skip
371         entries whose func() appears in this menu
372
373 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
374
375         * text3.C: use Debug::DEBUG a bit more
376
377         * text.C (leftMargin): try to simplify a tiny bit change var x to
378         l_margin. Dont output the wide margins always.
379         (rightMargin): no margin in inner texts
380
381         * rowpainter.h (nestMargin): new func
382         (changebarMargin): new func
383         (rightMargin): new func
384
385         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
386         now functions.
387         (paintLast): ditto
388
389         * factory.C (createInset): modify setDrawFrame
390
391         * cursor.C: use Debug::DEBUG a bit more
392
393 2004-08-14  André Pönitz  <poenitz@gmx.net>
394
395         * coordcache.[Ch]:
396         * Makefile.am: new files to accomodate an 'external' (x,y)-position
397         cache for all insets in (at least partially) visible (top-level)
398         paragraphs.
399
400         * BufferView_pimpl.C: reset external coord cache before every update.
401         This means the coord cache only contains valid entries.
402
403 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
404
405         bug 1096
406         * BufferView_pimpl.C (getInsetByCode): move function out of class
407         and change in to a template in anon namespace. Also fix to do what
408         suits us better.
409
410 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
411
412         bug 1305
413         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
414         of char
415         (breakParagraph): rename par to par_offset and use a local
416         reference. Add code to keep the language over a rebreak.
417         (breakParagraphConservative): rename par to par_offset, use a
418         local reference
419         (mergeParagraph): ditto
420         (outerHook): ditto
421         (isFirstInSequence): ditto
422         (outerFont): rename pit to par_offset
423
424         * paragraph.C: ws change
425         * paragraph.h: ditto
426         * text3.C: ditto
427         * text.C: ditto
428
429 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
430
431         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
432         treatment for ']'
433
434         * paragraph.C (simpleTeXOnePar): when we have a \item with
435         optional argument, enclose the argument with curly brackets (in
436         case it contains a closing square bracket)
437
438         * text2.C (editXY):
439         * text2.C (editXY):
440         * text3.C (checkInsetHit): constify
441
442 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
443
444         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
445         documents (bug 1629)
446
447 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
448
449         Fix toggling of collapsable insets with the mouse (bug 1558)
450
451         * lyxfunc.C (dispatch): adapt to LCursor changes
452
453         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
454         make sure that dispatch is not invoked twice
455
456         * cursor.C (needsUpdate): new method
457         (dispatch): return void
458         (result): new method, to access the DispatchResult of the cursor.
459
460 2004-08-13  José Matos  <jamatos@lyx.org>
461
462         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
463
464 2004-08-13  André Pönitz  <poenitz@gmx.net>
465
466         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
467
468         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
469           multiple cells
470
471 2004-08-12  André Pönitz  <poenitz@gmx.net>
472
473         * text3.C: take out the 'cursor right' form insertInset and only
474         do it in those places when it is really needed. Fixes crash on
475         C-m...
476
477 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
478
479         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
480
481         * BufferView_pimpl.C (setBuffer): initialize the current font of
482         the underlying LyXText
483
484 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
485
486         * kbsequence.C (print): use UI native formatting for menu
487         shortcuts
488
489         * text.C (insertChar): call Paragraph::insertChar with a font
490         argument (cosmetic)
491
492         * paragraph.C (insertInset, insertChar): the version that takes a
493         LyXFont argument is now a wrapper around the other one (the
494         opposite used to be true).
495
496         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
497         argument. Font setting is done in Paragraph now.
498
499 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
500
501         * outputparams.h: add new members intitle and lang.
502
503         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
504         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
505
506 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
507
508         * text3.C (dispatch): remove special handling of button 4 and 5,
509         it is now taken care of in the frontend code.
510
511 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
512
513         * Spacing.h: add <string> (STLPort compile fix)
514
515 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
516
517         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
518
519 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
520
521         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
522         to bool.
523
524         * converter.C (showMessage): inherit from unary_function, make
525         operator() const.
526
527         * buffer.C (writeFile): initialize retval
528
529         * InsetList.h: rename private variable list to list_
530         * InsetList.[Ch]: adjust accordingly.
531
532 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
533
534         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
535         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
536         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
537         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
538         * ParagraphParameters.C, LaTeXFeatures.C: replace
539         "support/std_sstream.h" with <sstream>
540
541 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
542
543         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
544         * lyxsocket.C (LyXServerSocket): ditto
545         (serverCallback): ditto
546
547 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
548
549         * LaTeXFeatures.C: check release date when loading jurabib.
550
551 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
552
553         * lyxserver.C (startPipe): call register_socket_callback
554         (endPipe): call unregister_socket_callback
555
556 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
557
558         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
559         (LyXServerSocket): register the callback
560         (LyXServerSocket): unregister the callback
561         (fd): delete function
562         (serverCallback): improve error checking and setup the callbacks.
563         (dataCallback): change arg to fd.
564         (writeln): new func (copied fro the client socket) used for server
565         write to client.
566         (LyXDataSocket): simplify
567         (~LyXDataSocket): close ann unregiser callback
568         (server): delete function
569         (fd): delete function
570         (readln): small changes, improve some std::string usage
571         (writeln): constify a bit
572
573 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
574
575         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
576         Qt frontend
577
578 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
579
580         * BufferView_pimpl.C (setBuffer): set the layout combox value only
581         after it has been populated
582
583 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
584
585         * text2.C (insertInset): move cursor when inserting inset.
586
587 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
588
589         * kbmap.C (findbindings): a couple of new methods. returns a
590         container of kb_sequence objects. The real work is done by the
591         private recursive version
592         (printbindings): uses findbindings to print out a bracketed list
593         of bindings (renamed from findbinding).
594
595         * MenuBackend.C (binding): use kb_keymap::findbindings
596
597         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
598
599 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
600
601         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
602
603 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
604
605         * paragraph.C (isWord): return true on insets that report
606         isLetter().
607
608         * text.C (getWord): use Paragraph::isWord to decide what is in a
609         word and what is not; fix bug 1609.
610
611 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
612
613         * tex-strings.C: add "none" to string_paperpackages[], fixes
614         off-by-one-error in the paperpackage selection.
615
616         * lyxlex.[Ch]:
617         * tex-strings.[Ch]: char const * string[n]
618         -> char const * const string[]
619
620 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
621
622         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
623         command, return early.
624
625 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
626
627         * debug.h: add DEBUG to enum and fix size of ANY.
628
629         * debug.C: add support for Debug::DEBUG
630         (showTags): cast errorTags.level to unsigned int
631
632         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
633         (redoCurrentBuffer): ditto
634         (updateScrollbar): ditto
635         * cursor.C (dispatch): ditto
636         * text2.C (setLayout): ditto
637         (setFont): ditto
638         (updateCounters): ditto
639         (editXY): ditto
640         (deleteEmptyParagraphMechanism): ditto
641
642 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
643
644         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
645         annotations to cleanup the Makefile slightly.
646
647 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
648
649         * lyxrc.C: do not set user_email to a default value but use empty
650         instead. The entry used to be translated, which does not work
651         since at the point where lyxrc is constructed there is no
652         translation service available
653
654         * messages.C (getLocaleDir): remove and use directly
655         lyx_localedir() instead
656
657 2004-06-02  Angus Leeming  <leeming@lyx.org>
658
659         Fix crash caused by dereferencing null pointer 'exportdata' in
660         OutputParams by creating a new ExportData variable on the heap,
661         storing it in a boost::shared_ptr.
662         The crash was triggered when generating an Instant Preview
663         of an external inset.
664
665         * Makefile.am: add outputparams.C
666
667         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
668         (c-tor): allocate memory to it.
669
670         * exporter.C (c-tor): associated changes.
671
672 2004-06-01  Angus Leeming  <leeming@lyx.org>
673
674         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
675         contains data before calling isInset(0). (Bug 1513.)
676
677 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
678
679         * exporter.C (checkOverwrite): new method
680         * exporter.C (copyFile): new method
681         * exporter.C (Export): copy referenced files to the document dir
682         * exporter.[Ch]: new class ExportedFile
683         * exporter.[Ch]: new class ExportData. Contains currently the
684         names of referenced external files
685         * outputparams.h: add exportdata member.
686
687 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
688
689         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
690         version.C-tmp
691
692 2004-05-19  Angus Leeming  <leeming@lyx.org>
693
694         * LaTeXFeatures.C:
695         * ToolbarBackend.C:
696         * bufferparams.C:
697         * lyxfunc.C: small changes due to the introduction of namespace
698         lyx::frontend and the moving of namespace biblio to lyx::biblio.
699
700 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
701
702         * text3.C (dispatch): supress update when only moving the cursor
703         * cursor.C (selHandle): remove commented code
704
705 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
706
707         * paragraph.C (startTeXParParams): correct column count
708         * CutAndPaste.C (pasteSelection): remove const_cast
709         * output_docbook.C (docbookParagraphs): remove const_cast
710         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
711         const_cast and return ParagraphList::const_iterator
712         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
713         * output_plaintext.C (writeFileAscii): remove const_cast
714         * paragraph.[Ch] (simpleTeXOnePar): make const
715         * paragraph_funcs.C (outerPar): use const iterators
716         * paragraph_pimpl.C (validate): use const iterators
717         * text.C (setHeightOfRow): use const iterators
718
719 2004-05-17  Angus Leeming  <leeming@lyx.org>
720
721         * lfuns.h:
722         * LyXAction.C (init): new LFUN_INSET_REFRESH.
723
724         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
725         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
726         if the citation engine has changed.
727
728 2004-05-14  José Matos  <jamatos@lyx.org>
729
730         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
731         if the textclass does not provide it. Have it different for sgml and
732         xml.
733         support the language of document.
734         * output_docbook.C (docbookParagraphs):
735         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
736         first anchor as the id of the paragraph, remove special case code.
737         * sgml.C (escapeChar): escape only < & >.
738
739 2004-05-14  Angus Leeming  <leeming@lyx.org>
740
741         * bufferparams.h: move biblio::CiteEngine enum here to minimize
742         dependencies on src/frontends/controllers/biblio.h. Define a
743         CiteEngine_enum wrapper class to enable the enum to be forward
744         declared.
745
746 2004-05-12  Angus Leeming  <leeming@lyx.org>
747
748         * buffer.C: up LYX_FORMAT to 234.
749         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
750         use_numerical_citations with a single biblio::CiteEngine cite_engine
751         variable.
752         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
753
754 2004-05-13  José Matos  <jamatos@lyx.org>
755
756         * converter.h:
757         * converter.C (Converter, readFlags): add xml member.
758         * outputparams.h: add XML flavor.
759         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
760
761 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
762
763         * lyxfunc.C (dispatch):
764         (getStatus): fix handling of LFUN_SEQUENCE
765
766 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
767
768         * debug.C (showLevel): do not forget the end-of-line marker
769
770 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
771
772         * kbmap.C (read): do not stop parsing a bind file when an error
773         occurs (bug 1575)
774
775 2004-04-29  Angus Leeming  <leeming@lyx.org>
776
777         * cursor.C:
778         * factory.C:
779         * pariterator.C:
780         * text2.C: wrap a bunch of #warning statements
781         inside #ifdef WITH_WARNINGS blocks.
782
783 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
784
785         * buffer.C: increment format to 233.
786
787 2004-04-28  Angus Leeming  <leeming@lyx.org>
788
789         * BufferView_pimpl.C:
790         * lyxfunc.C:
791         * text3.C:
792         s/updateToolbar()/updateToolbars()/
793         s/Toolbar.h/Toolbars.h/
794
795 2004-04-28  Angus Leeming  <leeming@lyx.org>
796
797         * BufferView.[Ch] (c-tor):
798         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
799         No longer passes these data to the WorkArea generator.
800
801 2004-04-28  Angus Leeming  <leeming@lyx.org>
802
803         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
804
805 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
806
807         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
808
809 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
810
811         * output_latex.C (TeXEnvironment): make sure that there is a line
812         break before \end{foo} for the last paragraph of a document
813         (TeXOnePar): if the paragraph is at the end of the document (or
814         inset) and the language has to be reset, then make sure that the
815         line break is _before_ the language command, not after (fixes bug
816         1225); also make sure that the language reset command is the first
817         thing after the paragraph (to ensure proper nesting of
818         environments and thus fix bug 1404)
819
820 2004-04-21  John Levon  <levon@movementarian.org>
821
822         * ToolbarBackend.h:
823         * ToolbarBackend.C: make "name" be a programmatic name
824         and a gui_name field.
825
826         * lyxfunc.C: display the minibuffer on M-x
827
828 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
829
830         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
831         (bug 1526)
832
833 2004-04-19  Angus Leeming  <leeming@lyx.org>
834
835         * BufferView_pimpl.C (setBuffer): changed preview interface.
836
837         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
838         possible values.
839
840 2004-04-19  John Levon  <levon@movementarian.org>
841
842         * BufferView_pimpl.C:
843         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
844
845 2004-04-05  Angus Leeming  <leeming@lyx.org>
846
847         * text.C (redoParagraphs): add call to updateCounters(), thereby
848         fixing the missing "Figure #:" label from the caption of a
849         figure float.
850
851 2004-04-13  Angus Leeming  <leeming@lyx.org>
852
853         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
854         cursor is clicked out of an inset.
855
856 2004-04-13  Angus Leeming  <leeming@lyx.org>
857
858         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
859         than an InsetOld one.
860
861 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
862
863         * format.[Ch]: add editor to Format
864         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
865         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
866
867 2004-04-08  André Pönitz  <poenitz@gmx.net>
868
869         * metricsinfo.h: remove PainterInfo::width member
870
871 2004-04-08  Angus Leeming  <leeming@lyx.org>
872
873         * lyx_sty.C (boldsymbol_def): modify so that it outputs
874         "\providecommand" rather than "\newcommand", thereby preventing
875         clashes with packages that define "\boldsymbol" themselves.
876         Eg, beamer.
877
878 2004-04-08  Angus Leeming  <leeming@lyx.org>
879
880         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
881         thereby squashing an unnecessary warning.
882
883 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
884
885         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
886         setBuffer()
887
888 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
889
890         * BufferView.C (setCursor): call redoParagraph (some insets could
891         have been opened)
892         (putSelectionAt): remove the 'double update' trick
893
894         * BufferView_pimpl.C (fitCursor): call refreshPar
895         (workAreaDispatch): remove an uneeded update call
896         (dispatch): remove some manual update calls
897
898         * cursor.[Ch]: remove cached_y_, updatePos
899         (selHandle): set noUpdate when appropriate
900
901         * lyxfunc.C (dispatch): track if we need an update
902
903         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
904
905         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
906         (paintSelection): cheap optimization, do not call cursorX when not
907         needed
908         (paintPars): change signature
909         (refreshPar): add
910         (paintText): adjust
911         (paintTextInset): adjust
912
913         * text.C: adjust
914
915 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
916
917         * lengthcommon.C: compilation fix: remove explicit array size from
918         unit_name[] and friends
919
920 2004-04-05  Angus Leeming  <leeming@lyx.org>
921
922         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
923
924         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
925         present only for the preferences dialog.
926         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
927
928 2004-04-05  Angus Leeming  <leeming@lyx.org>
929
930         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
931         to enable the frontends to export changes to lyxrc correctly.
932
933         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
934
935 2004-04-07  André Pönitz  <poenitz@gmx.net>
936
937         * cursor.[Ch] (selClear, adjust): remove math
938
939         * cursor_slice.C: more agressive assert
940
941         * lyxfunc.C:
942         * BufferView_pimpl.C: rework mouse event dispatch
943
944         * dociterator.C:
945         * paragraph.C:
946         * text2.C:
947         * text3.C: adjust
948
949 2004-04-05  André Pönitz  <poenitz@gmx.net>
950
951         * cursor.[Ch] (valign, halign...): remove unneeded functions
952
953 2004-04-05  Angus Leeming  <leeming@lyx.org>
954
955         * lyxlength.[Ch] (unit_name et al.): const-correct.
956
957 2004-04-05  Angus Leeming  <leeming@lyx.org>
958
959         * BufferView_pimpl.C:
960         * buffer.C:
961         * counters.C:
962         * cursor.C:
963         * lyxfunc.C
964         * paragraph.C:
965         * pariterator.C:
966         * text.C:
967         * text2.C:
968         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
969
970 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
971
972         * text3.C (getStatus): add LFUN_BEGINNINGBUF
973
974 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
975
976         * lyxfind.C: add a couple of inTexted() tests + other small fixes
977         * BufferView_pimpl.[Ch] (getStatus)
978         * BufferView.[Ch] (getStatus): add
979         * lyxfunc.C (getStatus): move lfuns handled in
980         BufferView::dispatch to te function above
981         * Cursor.C (setSelection): set selection() = true
982
983 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
984
985         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
986
987 2004-03-31  Angus Leeming  <leeming@lyx.org>
988
989         * lyxfunc.C (dispatch): Fall through to the generic
990         Dialogs::show("preamble").
991
992 2004-03-31  Angus Leeming  <leeming@lyx.org>
993
994         * lyxfunc.C (dispatch): Fall through to the generic
995         Dialogs::show("spellchecker").
996
997 2004-03-31  Angus Leeming  <leeming@lyx.org>
998
999         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1000         preferences dialog.
1001
1002 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1003
1004         * BufferView.C
1005         * cursor.[Ch]
1006         * dociterator.[Ch]:
1007         * insetiterator.[Ch]:
1008         * lyxfind.C:
1009         * lyxfunc.C:
1010         * pariterator.[Ch]:
1011         * text2.C:
1012         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1013
1014 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1015
1016         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1017         insets where we are putting the cursor.
1018
1019 2004-03-31  Angus Leeming  <leeming@lyx.org>
1020
1021         * lfuns.h:
1022         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1023
1024         * lyxrc.[Ch] (read, write): overloaded member functions taking
1025         a std::[io]stream arguments.
1026
1027         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1028
1029 2004-03-31  Angus Leeming  <leeming@lyx.org>
1030
1031         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1032         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1033
1034         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1035         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1036
1037 2004-03-31  Angus Leeming  <leeming@lyx.org>
1038
1039         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1040         the LFUN_ALL_INSETS_TOGGLE code.
1041
1042 2004-03-30  Angus Leeming  <leeming@lyx.org>
1043
1044         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1045         has died. Fall through to the generic Dialogs::show("document").
1046
1047 2004-03-30  Angus Leeming  <leeming@lyx.org>
1048
1049         * lfuns.h:
1050         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1051         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1052
1053         * lyxfunc.C (getStatus, dispatch): define the actions for these
1054         lfuns. Little more than a cut and pste job from ControlDocument.C
1055
1056         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1057
1058 2004-03-30  Angus Leeming  <leeming@lyx.org>
1059
1060         * lfuns.h:
1061         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1062         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1063
1064         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1065         open/closed state of ollapsable insets. Usage:
1066
1067         all-inset-toggle <state> <name>, where
1068         <state> == "open" || "closed" || "toggle" and
1069         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1070
1071         * lyxtext.h, text2.C (toggleInset): removed.
1072
1073         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1074         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1075         now passes LFUN_INSET_TOGGLE to the found inset.
1076
1077         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1078         is now invoked as "all-insets-toggle toggle branch".
1079
1080 2004-03-30  Angus Leeming  <leeming@lyx.org>
1081
1082         * dociterator.C:
1083         * insetiterator.C:
1084         * pariterator.[Ch]: added/corrected header blurb.
1085
1086 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1087
1088         * dociterator.[Ch]: add an inset_ member
1089         (backwardPos): implemented
1090         (backwardPos, forwardPos): use inset_ when the stack is empty.
1091         (doc_iterator_begin, doc_iterator_end): implemented
1092         * pariterator.[Ch]: adjust, add begin, end
1093         * insetiterator.[Ch]: adjust, add begin, end
1094         * cursor.C:
1095         * document.C:
1096         * BufferView.C:
1097         * BufferView_pimpl.C:
1098         * CutAndPaste.C: adjust
1099
1100 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1101
1102         * buffer.C: increment file format to 232.
1103         * LaTeXFeatures.C: add bibtopic package.
1104         * bufferparams.[Ch]: param \use_bibtopic.
1105
1106         * lyxrc.[Ch]: add lyxrc bibtex_command
1107         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1108
1109         * buffer.C: increment file format to 231.
1110
1111 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1112
1113         * dociterator.C: implement forwardPar
1114         * iterators.[Ch]: remove, replaced by
1115         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1116         * BufferView.C:
1117         * BufferView_pimpl.C:
1118         * CutAndPaste.C:
1119         * buffer.C:
1120         * bufferview_funcs.C:
1121         * cursor.C:
1122         * lyxfind.C
1123         * lyxfunc.C
1124         * paragraph_funcs.C
1125         * toc.C:
1126         * Makefile.am: adjust
1127
1128 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1129
1130         * CutAndPaste.C (pasteSelection): fix 2 crashes
1131         (eraseSelection): fix a crash
1132         * paragraph_funcs.C: remove a warning
1133
1134 2004-03-28  Angus Leeming  <leeming@lyx.org>
1135
1136         * lfuns.h:
1137         * LyXAction.C (init): new LFUN_PRINT.
1138
1139         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1140
1141 2004-03-27  Angus Leeming  <leeming@lyx.org>
1142
1143         * lfuns.h:
1144         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1145
1146         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1147
1148 2004-03-27  Angus Leeming  <leeming@lyx.org>
1149
1150         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1151         insetlist always contains non-null pointers to insets.
1152
1153 2004-03-26  Angus Leeming  <leeming@lyx.org>
1154
1155         * src/BufferView_pimpl.C:
1156         * src/CutAndPaste.C:
1157         * src/buffer.C:
1158         * src/iterators.C:
1159         * src/output_plaintext.C:
1160         * src/outputparams.h:
1161         * src/paragraph_funcs.C:
1162         * src/rowpainter.C:
1163         * src/text.C:
1164         * src/text2.C:
1165         * src/frontends/controllers/ControlErrorList.C:
1166         * src/frontends/gtk/FileDialogPrivate.C:
1167         * src/frontends/gtk/GPainter.C:
1168         * src/frontends/gtk/GToolbar.C:
1169         * src/frontends/qt2/QRef.C:
1170         * src/mathed/math_scriptinset.C: squash compiler warnings.
1171
1172 2004-03-26  Angus Leeming  <leeming@lyx.org>
1173
1174         * ispell.C (LaunchIspell::start):
1175         * lyx_cb.C (AutoSaveBuffer::start):
1176         invoke run(DontWait) rather than runNonBlocking().
1177
1178 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1179
1180         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1181
1182 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1183
1184         * kbsequence.C (print): adjust
1185
1186         * kbmap.C (printKeySym): rename and change signature
1187         (printKey): use LyXKeySym::print()
1188
1189 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1190
1191         * undo.C: add using std::advance to compile for stlport
1192
1193 2004-03-24  Angus Leeming  <leeming@lyx.org>
1194
1195         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1196         it leads to a crash when no buffer is present.
1197
1198 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1199             Martin Vermeer  <martin.vermeer@hut.fi>
1200
1201         * lyxfunc.C (dispatch):
1202         * bufferparams.C (readToken): use the new LColor::setColor
1203
1204         * LColor.[Ch] (setColor): new version that takes two strings as
1205         argument and creates a new color entry if necessary
1206
1207 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1208
1209         * buffer.C (makeLaTeXFile): if the main latex file that is
1210         processed is usually a subdocument of some master, then pretend
1211         for a while that it is actually the master
1212
1213 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1214
1215         * buffer.C (getLabelList):
1216         (getBibkeyList): use getMasterBuffer()
1217         (getMasterBuffer): new method. Returns the main document in the
1218         case where one is using included documents.
1219
1220 2004-03-25  André Pönitz  <poenitz@gmx.net>
1221
1222         * Makefile.am:
1223         * iterators.[Ch]:
1224         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1225
1226         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1227
1228         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1229         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1230
1231         * ParameterStruct.h: merge with ParagraphParameters
1232
1233         * lyxtext.h: remove LyXText::parOffset() and getPar()
1234
1235         * text3.C: Remove all 'manual' update calls. We do now one per user
1236         interaction which is completely sufficient.
1237
1238         * Bidi.C:
1239         * BufferView.[Ch]:
1240         * BufferView_pimpl.C:
1241         * FontIterator.[Ch]:
1242         * MenuBackend.C:
1243         * ParagraphParameters.[Ch]:
1244         * buffer.C:
1245         * buffer.h:
1246         * bufferlist.C:
1247         * cursor.[Ch]:
1248         * cursor_slice.[Ch]:
1249         * dociterator.[Ch]:
1250         * errorlist.[Ch]:
1251         * factory.C:
1252         * lfuns.h:
1253         * lyxfind.C:
1254         * lyxfunc.C:
1255         * output_docbook.[Ch]:
1256         * output_latex.[Ch]:
1257         * output_linuxdoc.[Ch]:
1258         * output_plaintext.[Ch]:
1259         * paragraph.[Ch]:
1260         * paragraph_funcs.[Ch]:
1261         * paragraph_pimpl.[Ch]:
1262         * rowpainter.C:
1263         * tabular.[Ch]:
1264         * text.C:
1265         * text2.C:
1266         * toc.C:
1267         * undo.[Ch]: adjust
1268
1269         * frontends/controllers/ControlDocument.C:
1270         * frontends/controllers/ControlErrorList.C:
1271         * frontends/controllers/ControlSpellchecker.C:
1272         * insets/inset.C:
1273         * insets/inset.h:
1274         * insets/insetbase.h:
1275         * insets/insetbibitem.C:
1276         * insets/insetbox.C:
1277         * insets/insetbranch.C:
1278         * insets/insetcaption.C:
1279         * insets/insetcharstyle.C:
1280         * insets/insetcharstyle.h:
1281         * insets/insetcollapsable.C:
1282         * insets/insetcollapsable.h:
1283         * insets/insetert.C:
1284         * insets/insetfloat.C:
1285         * insets/insetfoot.C:
1286         * insets/insetmarginal.C:
1287         * insets/insetnote.C:
1288         * insets/insetoptarg.C:
1289         * insets/insettabular.C:
1290         * insets/insettext.C:
1291         * insets/insettext.h:
1292         * insets/insetwrap.C:
1293         * mathed/math_mboxinset.C:
1294         * mathed/math_nestinset.C:
1295         * mathed/math_scriptinset.C:
1296         * mathed/math_scriptinset.h:
1297         * support/types.h:
1298
1299 2004-03-24  Angus Leeming  <leeming@lyx.org>
1300
1301         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1302         deal with any child processes that have finished but are waiting to
1303         communicate this fact to the rest of LyX.
1304
1305 2004-03-24  Angus Leeming  <leeming@lyx.org>
1306
1307         64-bit compile fixes.
1308
1309         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1310         (c-tor): pass lyx::pos_types rather than ints.
1311
1312         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1313         lyx::pos_type.
1314
1315         * text.C (Delete): compile fix.
1316         (getPar): ensure that function declaration is the same as that in
1317         the header file.
1318
1319 2004-03-23  Angus Leeming  <leeming@lyx.org>
1320
1321         * ispell.C (LaunchIspell):
1322         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1323         a boost::shred_ptr rather than a std::auto_ptr.
1324
1325 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1326
1327         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1328         handle LFUN_FILE_INSERT_*
1329
1330         * lyxrc.C (setDefaults, getDescription, output, read):
1331         * lyxrc.h: remove ps_command
1332
1333 2004-03-22  Angus Leeming  <leeming@lyx.org>
1334
1335         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1336         Ensure that error_handler is processed once only and that all data
1337         is saved before attempting to output any warning messages.
1338
1339         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1340
1341 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1342
1343         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1344
1345 2004-03-19  André Pönitz  <poenitz@gmx.net>
1346
1347         * cursor.[Ch] (reset): take main text inset as argument
1348
1349         * BufferView: adjust
1350         * BufferView_pimpl.C: adjust
1351
1352         * paragraph.[Ch]: fix completely broken operator=()
1353
1354 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1355
1356         * LColor.C (getFromLyXName): make sure that the color name is used
1357         as lowercase.
1358
1359 2004-03-17  Angus Leeming  <leeming@lyx.org>
1360
1361         * lfuns.h:
1362         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1363
1364         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1365         dialog and to kill a forked process.
1366
1367 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1368
1369         * text2.C (setCursorFromCoordinates): fix font problem
1370
1371 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1372
1373         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1374         bogus "rebuild cursor" code
1375
1376 2004-03-11  André Pönitz  <poenitz@gmx.net>
1377
1378         * buffer.[Ch]: use InsetText instead of LyXText as container for
1379         the main lyx text.
1380
1381         * dociterator.[Ch]: drop the BufferView * member which is not needed
1382         anymore after the change to buffer.C
1383
1384         * paragraph_funcs.C:
1385         * text.C:
1386         * text2.C:
1387         * BufferView.[Ch]:
1388         * BufferView_pimpl.[Ch]:
1389         * cursor.[Ch]:
1390         * cursor_slice.[Ch]: adjust
1391
1392         * text3.C: fix bug in mathDispatch
1393
1394 2004-03-08  André Pönitz  <poenitz@gmx.net>
1395
1396         * undo.[Ch]: use 'StableDocumentIterator' as base for
1397         the Undo struct.
1398
1399 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1400
1401         * LaTeXFeatures.C:
1402         * bufferparams.[Ch]: add jurabib support and param.
1403
1404         * LaTeX.C: add FIXME/comment.
1405
1406 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1407
1408         * buffer.C: increment file format to 230.
1409
1410 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1411
1412         * cursor.C (dispatch): avoid infinite loops
1413
1414 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1415
1416         * rowpainter.C (paintSelection): fix x coordinates
1417
1418 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1419
1420         * text.C (rowBreakPoint): fix breaking before displayed insets
1421
1422 2004-03-01  André Pönitz  <poenitz@gmx.net>
1423
1424         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1425
1426         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1427
1428         * Makefile.am:
1429         * BufferView.C:
1430         * BufferView_pimpl.C:
1431         * buffer.C:
1432         * lyxfind.C:
1433         * lyxfunc.C:
1434         * text.C:
1435         * text2.C:
1436         * text3.C: adjust
1437
1438 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1439
1440         * lyxtext.h:
1441         * text.C:
1442         * text2.C:
1443         * rowpainter.C:
1444         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1445         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1446
1447 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1448
1449         * Bidi.[Ch] (computeTables): const correctness
1450         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1451         fill_hfill, fill_label_hfill and x from Row
1452         * lyxtext.h: prepareToPrint returns a RowMetrics
1453         * rowPainter.C: adjust
1454         * text.C (prepareToPrint): use width, not textWidth. adjust
1455         (redoParagraphInternal, cursorX): adjust
1456         * text2.C (getColumnNearX): adjust
1457         (init): put a default value to the top LyXText::width
1458
1459 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1460
1461         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1462
1463 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1464
1465         * lyxtext.h: add FontIterator class
1466
1467         * text.C (FontIterator, operator*, operator->, operator++): add
1468         (rowBreakPoint, setRowWidth): adjust (fixing a
1469         rebreaking bug)
1470
1471 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1472
1473         * BufferView_pimpl.C (workAreaDispatch): allow also
1474         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1475
1476 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1477
1478         * text.C (rowBreakPoint): fix a bug showing with very large insets
1479
1480 2004-02-25  André Pönitz  <poenitz@gmx.net>
1481
1482         * text3.C:
1483         * cursor.[Ch]: move some mathed specific code to mathed
1484
1485 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1486
1487         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1488         use_tempdir in preferences
1489         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1490         tempfile creation
1491         * lyx_main.C: ensure that tempdir is valid
1492         * lyxlex.h: correct typo
1493         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1494         * paragraph.[Ch] (isMultiLingual): make const
1495         * cursor.[Ch] (openable): make const
1496
1497 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1498
1499         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1500
1501 2004-02-20  André Pönitz  <poenitz@gmx.net>
1502
1503         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1504
1505         * cursor.[Ch]: prepare for localized getStatus()
1506
1507         * lyxtext.h:
1508         * tabular.C:
1509         * text.C:
1510         * text2.C:
1511         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1512
1513 2004-02-20  André Pönitz  <poenitz@gmx.net>
1514
1515         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1516
1517 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1518
1519         * text2.C (setCursorFromCoordinates): switch to absolute coords
1520         (cursorUp): adjust
1521         (cursorDown): adjust
1522         * text3.C (dispatch): adjust
1523
1524 2004-02-16  André Pönitz  <poenitz@gmx.net>
1525
1526         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1527           insets/ChangeLog)
1528
1529         * cursor_slice.[Ch]: remove unneeded acessor function
1530
1531         * lyxtext.h: rename rtl() to isRTL()
1532
1533         * rowpainter.C:
1534         * tabular.C:
1535         * text.C:
1536         * text2.C:
1537         * text3.C: adjust
1538
1539 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1540
1541         * rowpainter.C (paintSelection): coord fix
1542
1543 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1544
1545         * Spacing.C: compile fix
1546
1547 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1548
1549         * cursor.C (dispatch): restore current_ before returning
1550
1551 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1552
1553         * text2.C (cursorUp, cursorDown): fix coords
1554         (moveUp): fix crash
1555
1556 2004-02-12  André Pönitz  <poenitz@gmx.net>
1557
1558         * lyxtext.h:
1559         * text.C:
1560         * text2.C:
1561         * text3.C: add LCursor & parameter to most cursor movement functions
1562           remove usage of LyXText::cursorRow() and cursorPar()
1563
1564         * cursor.[Ch]: add textRow() needed members
1565
1566         * BufferView.C:
1567         * BufferView_pimpl.C:
1568         * paragraph.[Ch]:
1569         * BufferView.C:
1570         * BufferView_pimpl.C: adjust
1571
1572 2004-02-11  André Pönitz  <poenitz@gmx.net>
1573
1574         * lyxfunc.C:
1575         * BufferView.[Ch]:
1576         * BufferView_pimpl.C: shift undo/redo handling
1577
1578         * cursor.[Ch]: fix mathed crash
1579
1580         * lyxfind.C:
1581         * lyxtext.h: move selectionAsText to LCursor
1582
1583         * output_latex.C:
1584         * paragraph.C:
1585         * text.C:
1586         * text2.C:
1587         * text3.C: adjust
1588
1589         * rowpainter.C: fix excessive drawing
1590
1591 2004-02-06  André Pönitz  <poenitz@gmx.net>
1592
1593         * BufferView.[Ch]:
1594         * BufferView_pimpl.[Ch]:
1595         * text3.C: move some text specific LFUN handling
1596
1597 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1598
1599         * text3.C (checkInsetHit): adjust coords
1600         * text2.C (getColumnNearX): adjust coords
1601         (edit): adjust coords
1602         * text.C (getRowNearY): add two asserts
1603
1604 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1605
1606         * converter.C:
1607         * format.C: add using std::distance to compile on gcc 2.95/stlport
1608
1609 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1610
1611         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1612
1613 2004-02-04  André Pönitz  <poenitz@gmx.net>
1614
1615         * BufferView.[Ch] (insertInset):
1616         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1617
1618         * text2.C:
1619         * text3.C: adjust
1620
1621 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1622
1623         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1624         on the default clause of the switch
1625         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1626         wasn't catched by LCursor::dispatch
1627
1628 2004-02-03  André Pönitz  <poenitz@gmx.net>
1629
1630         * BufferView.C:
1631         * cursor.[Ch]: some additional asserts
1632
1633         * undo.[Ch]: remove LyXText dependency in interface
1634
1635         * lyxfunc.C: adjust
1636
1637         * lyxtext.h (firstPar, lastPar): remove dead functions
1638
1639         * text.C:
1640         * text2.C:
1641         * text3.C:
1642         * paragraph.[Ch]: adjust
1643
1644 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1645
1646         * lyxfind.C (find): fix argument order in call to ::find
1647
1648 2004-02-02  André Pönitz  <poenitz@gmx.net>
1649
1650         * cursor.[Ch]: remove direct access to anchor
1651
1652         * text.C: remove findText() hack
1653
1654 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1655
1656         * iterators.[Ch] (lockPath): remove in favour of...
1657         * BufferView.[Ch] (setCursor): this addition
1658         * BufferView.C (putSelectionAt): adjust
1659         * undo.C (performUndoOrRedo): adjust
1660         * lyxfunc.C (dispatch): adjust
1661
1662 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1663
1664         * iterators.C (lockPath): add a missing slice
1665         * undo.C (performUndoOrRedo): remove redundant positioning code
1666
1667 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1668
1669         * vc-backend.C (scanMaster): ";" -> ';'
1670
1671 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1672
1673         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1674         std::binary_function
1675
1676         * lyxtextclass.C (compare_name): rename to...
1677         (LayoutNamesEqual): ...this
1678
1679         * lyxlex_pimpl.C (compare_tags): inherit from
1680         std::binary_function, put back into anon namespace
1681
1682         * lyxfind.C (MatchString): inherig from std::binary_function
1683         (findChange): use empty() istead of !size()
1684
1685         * format.C (FormatNamesEqual): new functor
1686         (getFormat): use it
1687         (getNumber): use it
1688         (add): use it
1689         (erase): use it
1690         (setViewer): use it
1691
1692         * converter.C (compare_Converter): rename to...
1693         (ConverterEqual): ...this, and fixup a bit.
1694         (getConverter): use it, and make function const
1695         (getNumber): use it, and make function const
1696         (add): use it
1697         (erase): use it:
1698
1699         * bufferlist.C: add using boost::bind
1700
1701         * MenuBackend.C (MenuNamesEqual): new functor
1702         (hasMenu): use it, and make function const
1703         (hasSubmenu): use nested bind to get rid of compare_memfun.
1704
1705 2004-01-30  André Pönitz  <poenitz@gmx.net>
1706
1707         * BufferView_pimpl.C:
1708         * cursor.C:
1709         * cursor.h:
1710         * cursor_slice.[Ch]:
1711         * lyxfunc.C:
1712         * lyxtext.h:
1713         * paragraph_funcs.C:
1714         * paragraph_funcs.h:
1715         * rowpainter.C:
1716         * text.C:
1717         * text2.C:
1718         * text3.C: move some of the edit(x,y) handling to the insets
1719         some coordinate changes.
1720
1721 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1722
1723         * text.C: add using statements for std::advance and std::distance
1724
1725         * paragraph.C: add using statement for std::distance
1726
1727         * lyxfind.C: add using statement for std::advance
1728
1729         * cursor.C (region): remove std:: from swap
1730         (openable): use nucleus in stead of operator->
1731
1732         * BufferView.C: add using statements for std::distance and std::swap
1733
1734 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1735
1736         * iterators.C: Remove the pimple, move the needed structures to
1737         the header file. Create accessor for the positions stack.
1738         (asPosIterator): remove function
1739
1740         * PosIterator.C (PosIterator): move constructors to top of file
1741         (PosIterator): reimplement the constructor taking a ParIterator in
1742         terms of setFrom.
1743         (setFrom): new function
1744         (operator!=): inline it
1745
1746 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1747
1748         * lyxfind.C (replaceAll): use std::advance
1749
1750         * iterators.h: inherit from std::iterator.
1751
1752         * PosIterator.C (advance, distance): remove
1753         * PosIterator.h: interit from std::iterator.
1754
1755 2004-01-26  André Pönitz  <poenitz@gmx.net>
1756
1757         * BufferView.[Ch]:
1758         * BufferView_pimpl.[Ch]:
1759         * InsetList.[Ch]:
1760         * PosIterator.[Ch]:
1761         * buffer.h:
1762         * bufferview_funcs.C:
1763         * cursor.[Ch]:
1764         * cursor_slice.h:
1765         * factory.[Ch]:
1766         * iterators.[Ch]:
1767         * lyxfind.C:
1768         * lyxfunc.C:
1769         * lyxtext.h:
1770         * output_docbook.C:
1771         * output_latex.C:
1772         * output_linuxdoc.C:
1773         * output_plaintext.C:
1774         * paragraph.[Ch]:
1775         * paragraph_funcs.[Ch]:
1776         * paragraph_pimpl.[Ch]:
1777         * rowpainter.C:
1778         * tabular.C:
1779         * tabular.h:
1780         * text.C:
1781         * text2.C:
1782         * text3.C: more IU:  dumps most of the rest of the mathcursor
1783     implementation into cursor.[Ch]; "globalize" a bit of it.
1784
1785 2004-01-25  Angus Leeming  <leeming@lyx.org>
1786
1787         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1788
1789 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1790
1791         * LaTeXFeatures.h: add nice_ and nice() const
1792         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1793
1794 2004-01-20  André Pönitz  <poenitz@gmx.net>
1795
1796         * BufferView.[Ch]:
1797         * BufferView_pimpl.C:
1798         * PosIterator.C:
1799         * bufferview_funcs.C:
1800         * cursor.[Ch]:
1801         * cursor_slice.[Ch]:
1802         * factory.C:
1803         * iterators.C:
1804         * lyx_cb.C:
1805         * lyxfind.C:
1806         * lyxfunc.C:
1807         * lyxtext.h:
1808         * rowpainter.C:
1809         * text.C:
1810         * text2.C:
1811         * text3.C:
1812         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1813           LCursor and mathcursor parts to LCursor and InsetBase.
1814
1815 2004-01-15  André Pönitz  <poenitz@gmx.net>
1816
1817         * cursor_slice.[Ch]: add a few covienience functions
1818
1819         * funcrequest.[Ch]: remove BufferView * member
1820
1821         * BufferView_pimpl.C:
1822         * cursor.C:
1823         * factory.[Ch]:
1824         * lyxfind.[Ch]:
1825         * lyxfunc.C:
1826         * lyxtext.h:
1827         * text3.C:
1828         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1829
1830 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1831
1832         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1833         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1834
1835 2004-01-13  André Pönitz  <poenitz@gmx.net>
1836
1837         * textcursor.[Ch]:
1838         * lyxtext.h: hide cursor and selection anchor behind accessor function
1839
1840         * BufferView.C:
1841         * BufferView_pimpl.[Ch]:
1842         * PosIterator.C:
1843         * bufferview_funcs.C:
1844         * cursor.h:
1845         * lyxfind.C:
1846         * lyxfunc.C:
1847         * text.C:
1848         * text2.C:
1849         * text3.C:
1850         * undo.C: adjust
1851
1852         * cursor.h:
1853         * cursor_slice.[Ch]: some integer type changes for inset unification
1854
1855         * lyxcursor.[hC]: remove, it's CursorSlice now.
1856
1857         * Makefile.am:
1858         * BufferView_pimpl.[Ch]:
1859         * bufferview_funcs.C:
1860         * cursor_slice.C:
1861         * lyxtext.h:
1862         * text.C:
1863         * text2.C:
1864         * text3.C:
1865         * textcursor.[Ch]: adjust
1866
1867 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1868
1869         * text2.C (undoSpan): add and use
1870         * text.C (breakParagraph): use undoSpan (fix bug 578)
1871         * lyxtext.h: adjust
1872
1873 2004-01-08  Angus Leeming  <leeming@lyx.org>
1874
1875         * BufferView_pimpl.C (MenuInsertLyXFile):
1876         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1877         * lyxfunc.C (menuNew, open, doImport):
1878         FileFilterList change to the FileDialog open and save functions.
1879
1880 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1881
1882         * ShareContainer.h: make isEqual and isUnique adaptable
1883
1884         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1885
1886 2004-01-07  Angus Leeming  <leeming@lyx.org>
1887
1888         * LyXAction.C:
1889         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1890
1891         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1892
1893         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1894         functions replacing find, replace and replaceAll.
1895
1896         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1897         LFUN_WORDFIND(FORWARD|BACKWARD).
1898
1899 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1900
1901         * text.C (breakParagraph): remove an outdated #warning
1902
1903 2004-01-07  André Pönitz  <poenitz@gmx.net>
1904
1905         * lyxfind.C: somewhat clearer logic
1906
1907         * text.C: prevent crash in cursorX on unitialized row cache
1908
1909 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1910
1911         * lyxcursor.[Ch] (operator>): add
1912         * textcursor.C (selStart, selEnd): use std::min and std::max
1913
1914 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1915
1916         * Chktex.C: include boost/format.hpp
1917
1918 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1919
1920         * InsetList.C: replace functor MathcIt with adaptable functor
1921         InsetTablePosLess
1922         (insetIterator): modify accordingly
1923
1924         * BranchList.h: move the BranchNamesEqual functor here from...
1925         * BranchList.C: ... to here
1926
1927         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1928         SameName and match.
1929         (add): replace a finding loop with std::find_if.
1930
1931 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1932
1933         * output_docbook.C: moving LatexParam functionality into
1934         .layout files
1935
1936 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1937
1938         * buffer.C: increment format to 229.
1939
1940 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1941
1942         * LaTeXFeatures.C:
1943         * lyx_sty.[Ch]: remove minipageindent_def
1944
1945         * LyXAction.C:
1946         * factory.C:
1947         * lfuns.h:
1948         * lyxfunc.C:
1949         * text3.C: remove LFUN_INSET_MINIPAGE
1950
1951 2003-12-28  Angus Leeming  <leeming@lyx.org>
1952
1953         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1954
1955 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1956
1957         * text2.C (setParagraph): fix off-by-one crash
1958
1959 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1960
1961         * output_docbook.C: header stuff for AGU
1962
1963 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1964
1965         * text2.C (redoCursor): remove
1966         * text.C:
1967         * text3.C:
1968         * BufferView_pimpl.C: remove calls to redoCursor and
1969         setCursor(cursor.par(), cursor.pos()) all around
1970
1971 2003-12-15  Angus Leeming  <leeming@lyx.org>
1972
1973         * buffer.C: up the format to 228.
1974
1975 2003-12-15  André Pönitz  <poenitz@gmx.net>
1976
1977         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1978         slices
1979
1980         * Makefile.am:
1981
1982         * BufferView_pimpl.C:
1983         * cursor.[Ch]:
1984         * lyxcursor.[Ch]:
1985         * rowpainter.[Ch]:
1986         * lyxtext.h:
1987         * text.C:
1988         * text2.C:
1989         * text3.C: adjust
1990
1991 2003-12-15  Angus Leeming  <leeming@lyx.org>
1992
1993         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1994         than getFromGUIName to manipulate the color.
1995
1996 2003-12-14  Angus Leeming  <leeming@lyx.org>
1997
1998         * BranchList.[Ch]: minimize the API.
1999         (Branch::getBranch, getColor): now return a 'const &'.
2000         (Branch::setSelected) now returns a bool set to true if the
2001         selection status changes.
2002         (BranchList::clear, size, getColor, setColor, setSelected,
2003         allBranches, allSelected, separator): removed.
2004         (BranchList::find): new functions, returning the Branch with
2005         the given name.
2006         (BranchList::add, remove): return a bool indicating that
2007         the operation was successful.
2008
2009         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2010         new InsetBranch::isBranchSlected member function.
2011
2012         * LColor.[Ch]: mimimize the API.
2013         (fill): renamed as addColor and made private.
2014         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2015         versions of these functions taking a string arg have been removed.
2016
2017         * bufferparams.C (readToken):
2018         * lyxfunc.C (dispatch):
2019         * lyxrc.C (read): changes due to the altered BranchList and
2020         LColor APIs.
2021
2022         * factory.C (createInset, readInset): changes due to altered
2023         InsetBranch c-tor.
2024
2025 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2026
2027         * factory.C:
2028         * lyxfunc.C: remove insetminipage. "minipage-insert"
2029         now produces a frameless minipage box inset.
2030
2031 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2032
2033         * textcursor.[Ch] (selStart,selEnd): add new methods
2034         remove selection::start, end, use LyXCursor::operator<
2035         * lyxcursor.[Ch] (operator<): add
2036         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2037         * BufferView.[Ch] (unsetXSel): add
2038         * text2.C (clearSelection): use unsetXSel,adjust
2039         * text.C: adjust
2040         * text3.C: adjust
2041         * rowpainter.C: adjust
2042         * bufferview_funcs.C (put_selection_at): adjust
2043
2044 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2045
2046         * BufferView_pimpl.C: small coord. correction
2047
2048 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2049
2050         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2051         dragging over the splash screen.
2052
2053 2003-12-11  Angus Leeming  <leeming@lyx.org>
2054
2055         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2056         as it is now handled in LyXText::dispatch.
2057
2058         * text3.C (doInsertInset): remove a level of nesting.
2059
2060 2003-12-11  Angus Leeming  <leeming@lyx.org>
2061
2062         * factory.C (createInset): changes due to the changed interface to
2063         InsetCommandMailer::string2params.
2064
2065 2003-12-10  Angus Leeming  <leeming@lyx.org>
2066
2067         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2068         'dialog-show-new-inset <inset name>'
2069
2070 2003-12-10  Angus Leeming  <leeming@lyx.org>
2071
2072         * buffer.C: up the format to 227.
2073
2074         * factory.C: the box inset is now identified simply by 'Box'.
2075
2076 2003-12-10  Angus Leeming  <leeming@lyx.org>
2077
2078         * buffer.C: up the format to 226.
2079
2080         * factory.C: the note inset is now identified simply by 'Note'.
2081
2082 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2083
2084         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2085         when a pit is enough. Standarize a couple of loops.
2086
2087 2003-12-05  Angus Leeming  <leeming@lyx.org>
2088
2089         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2090         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2091         data to the re-worked "log" dialog.
2092
2093 2003-12-03  André Pönitz  <poenitz@gmx.net>
2094
2095         * PosIterator.C:
2096         * iterators.C:
2097         * lyxtext.h:
2098         * output_latex.C:
2099         * paragraph_funcs.C:
2100         * text.C:
2101         * text2.C: use Inset::getText instead of Inset::getParagraph
2102
2103 2003-12-03  André Pönitz  <poenitz@gmx.net>
2104
2105         * buffer.[Ch]:
2106         * lyxtext.h:
2107         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2108         InsetText::read() as LyXText::read()
2109
2110 2003-12-02  Angus Leeming  <leeming@lyx.org>
2111
2112         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2113         type. Add a comment in the implementation that the function uses
2114         the stream's bad() function rather than fail() as the std::streams
2115         would do.
2116
2117 2003-12-02  André Pönitz  <poenitz@gmx.net>
2118
2119         * lyxlex.[Ch]: make interface more similar to std::stream
2120
2121         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2122
2123 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2124
2125         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2126
2127 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2128
2129         * vspace.[Ch]: remove VSpace::NONE
2130
2131 2003-12-01  André Pönitz  <poenitz@gmx.net>
2132
2133         * buffer.[Ch]:
2134         * lyxtext.h: move ParagraphList member to LyXText
2135         rename LyXText::ownerParagraphs to LyXText::paragraph
2136
2137         * CutAndPaste.C:
2138         * bufferview_funcs.C:
2139         * iterators.[Ch]:
2140         * lyx_cb.C:
2141         * paragraph.C:
2142         * rowpainter.C:
2143         * tabular.C:
2144         * text.C:
2145         * text2.C:
2146         * text3.C: adjust
2147
2148         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2149
2150         * undo.C: fix cursor positioning
2151
2152 2003-12-01  John Levon  <levon@movementarian.org>
2153
2154         * BufferView_pimpl.C: fix a crash on exit with
2155         a buffer open
2156
2157 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2158
2159         * BranchList.C: fix setSelected() method.
2160
2161 2003-11-28  André Pönitz  <poenitz@gmx.net>
2162
2163         * ParagraphParameters.[Ch]:
2164         * ParameterStruct.h: remove space above/below from Paragraph to
2165          InsetVSpace
2166
2167         * BufferView_pimpl.C:
2168         * factory.C:
2169         * lyxfunc.C:
2170         * lyxtext.h:
2171         * output_latex.C:
2172         * paragraph.C:
2173         * paragraph_funcs.C:
2174         * rowpainter.[Ch]:
2175         * text.C:
2176         * text2.C:
2177         * text3.C: adjust
2178
2179 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2180
2181         * factory.C: Syntax change for CharStyles
2182
2183 2003-11-28  André Pönitz  <poenitz@gmx.net>
2184
2185         * BufferView.[Ch]:
2186         * BufferView.[Ch]:
2187         * buffer.[Ch]:
2188         * buffer.[Ch]: move LyXText member
2189
2190 2003-11-28  André Pönitz  <poenitz@gmx.net>
2191
2192         * BufferView.[Ch]: make LyXText * text a private member
2193
2194         * BufferView_pimpl.C:
2195         * cursor.C:
2196         * iterators.C:
2197         * lyx_cb.C:
2198         * lyxfind.C:
2199         * lyxtext.h:
2200         * rowpainter.[Ch]:
2201         * text.C:
2202         * text2.C:
2203         * undo.C: adjust
2204
2205         * output_plaintext.C: cleanup
2206
2207 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2208
2209         * buffer.C:
2210         * lyxtextclass.[Ch]: parametrize SGML document header
2211
2212 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2213
2214         * converter.[Ch]:
2215         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2216         getFlavor().
2217
2218 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2219
2220         * text2.C (setFont): rework using PosIterator (no more recursive)
2221         (setCharFont): no more needed
2222         (setLayout): no more selection cursors fiddling (done by redoCursor)
2223         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2224         destroy remaining ones)
2225
2226 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2227
2228         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2229         * lyxtext.h: ditto
2230         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2231         selection cursors
2232         * lyxfunc.C: adjust
2233         * text3.C: adjust + re-allow multi par depth changes
2234         * textcursor.C: simplify a bit
2235
2236 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2237
2238         * src/buffer.C:
2239         * src/lyxlayout.C:
2240         * src/lyxlayout.h:
2241         * src/lyxtext.h:
2242         * src/output_docbook.C:
2243         * src/output_latex.C:
2244         * src/paragraph.C:
2245         * src/paragraph.h:
2246         * src/sgml.C:
2247         * src/sgml.h:
2248         * src/text2.C: Introducing a number of tags parametrizing various
2249         XML formats that we may want to support
2250
2251 2003-11-25  André Pönitz  <poenitz@gmx.net>
2252
2253         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2254
2255         * lyxtext.h (leftMargin/rightMargin): simplify interface
2256
2257         * rowpainter.C:
2258         * text.C:
2259         * text2.C:
2260         * text3.C: adjust
2261
2262 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2263
2264         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2265         master file to any child files. Fixes bug 546.
2266
2267 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2268
2269         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2270
2271 2003-11-24  André Pönitz  <poenitz@gmx.net>
2272
2273         * rowpainter.C: simplification
2274
2275         * text2.C (updateCounters): remove call to redoParagraph on
2276         changed labels as this is far too expensive.
2277
2278 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2279
2280         * converter.C (convert): fix a crash: this function gets
2281         called with buffer == 0 from importer code.
2282
2283 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2284
2285         * text3.C (cursorPrevious): make sure that we do not compare
2286         iterators form different containers.
2287         (cursorNext): ditto
2288
2289         * rowpainter.C (paintSelection): make sure that we do not compare
2290         iterators from different containers.
2291
2292         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2293         iterators from different ParagraphList containers.
2294         [NEXT] ditto
2295
2296         * text2.C (LyXText): change order of initialization slightly
2297         (operator=): new function. copy all variables except cache_par_
2298         (moveUp): make sure that we do not compare iterators from
2299         different ParagraphList constainers.
2300         (moveDown): ditto
2301
2302         * text.C (firstPar): new function
2303         (lastPar): new function
2304         (endPar): new function
2305
2306         * lyxtext.h: move things around and group public functions, public
2307         variables, private functions, private variables
2308
2309 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2310
2311         * factory.C: change call to InsetERT constructor to avoid
2312         additional invocation of method status
2313         * text2.C (toggleInset): remove redundant update() call
2314         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2315         instead of a Bufferview pointer
2316
2317 2003-11-21  André Pönitz  <poenitz@gmx.net>
2318
2319         * rowpainter.C: simplification
2320
2321 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2322
2323         * text3.C (dispatch): make possible to extend a word/row selection
2324         with the mouse
2325
2326 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2327
2328         * lyxtext.h: x0_,y0_ -> xo_,yo_
2329         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2330         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2331         * rowpainter.C (paintRows): paint full paragraphs
2332
2333 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2334
2335         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2336         screen coordinates)
2337
2338 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2339
2340         * lyxtext.h: add x0_, y0_
2341         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2342         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2343
2344 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2345
2346         * text2.C (setCursorIntern): move the x_target update here *
2347         * text3.C: change some bv() to true/false in calls to
2348         cursorUp/Down/Right/Left
2349         * cursor.C: use helper function.
2350
2351 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2352
2353         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2354         * paragraph_funcs.[Ch]: correct comment
2355         * rowpainter.C: do not paint selections away from bv->cursor()
2356         Fix a long standing selection painting bug.
2357         * text3.C: generalize mouse-selection code to LyXTexts other that
2358         top one
2359         * textcursor.C: do not use y coords if we can use par offsets
2360
2361 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2362
2363         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2364         cursor position after e.g. inset insert)
2365
2366 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2367
2368         * lyxfind.C (replace): adjust to locking removal + some
2369         code simplification
2370
2371 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2372
2373         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2374         of the path
2375
2376 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2377
2378         * lyxlayout.[Ch]:
2379         * output_docbook.C: XML sanitation: new layout
2380         parameters InnerTag and CommandDepth
2381
2382 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2383
2384         * BufferView_pimpl.C:
2385         * factory.C:
2386         * text3.C: Fix the insertion and modification of button-style
2387         insets
2388
2389 2003-11-13  André Pönitz  <poenitz@gmx.net>
2390
2391         * InsetList.[Ch]: remove deleteLyXText
2392
2393         * paragraph.[Ch]: cache beginOfBody position
2394
2395         * Bidi.C:
2396         * text.C:
2397         * text2.C:
2398         * text3.C: remove superfluous update() calls
2399
2400         * vspace.C: cleanup
2401
2402 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2403
2404         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2405         * BufferView.C (fitLockedInsetCursor): remove
2406         * cursor.[Ch] (getDim): add
2407         * text.C (getRowNearY): add faster version
2408         * text3.C: remove some update calls
2409
2410 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2411
2412         * LaTeXFeatures.C:
2413         * LyXAction.C:
2414         * MenuBackend.C:
2415         * MenuBackend.h:
2416         * dispatchresult.h:
2417         * factory.C:
2418         * lfuns.h:
2419         * lyxfunc.C:
2420         * lyxtextclass.C:
2421         * lyxtextclass.h:
2422         * text3.C: The Character Style /XML short element patch.
2423
2424 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2425
2426         * text3.C:
2427         * factory.C: Small step to solving 'unable to insert some insets'
2428         problem
2429
2430 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2431
2432         * cursor.[Ch] (updatePos): new function for updating the y
2433         position of the tip inset
2434         * bufferview_funcs.C (put_selection_at):
2435         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2436
2437 2003-11-11  André Pönitz  <poenitz@gmx.net>
2438
2439         * text.C: remove big comment on invalid Paragraph pointers as it is
2440         not valid anymore
2441
2442 2003-11-11  André Pönitz  <poenitz@gmx.net>
2443
2444         * text_funcs.[Ch]: merge with ...
2445
2446         * text.C: ... this
2447
2448         * lyxtext.h:
2449         * text2.C:
2450         * text3.C: adjust
2451
2452         * Makefile.am: remove text_funcs.[Ch]
2453
2454 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2455
2456         * cursor.C (getPos): return absolute cached y coord
2457
2458         * BufferView_pimpl.C (fitCursor): new simplistic code
2459         (workAreaDispatch): add a fitCursor call
2460
2461 2003-11-10  André Pönitz  <poenitz@gmx.net>
2462
2463         * BufferView.[Ch]:
2464         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2465
2466 2003-11-10  André Pönitz  <poenitz@gmx.net>
2467
2468         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2469         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2470         indicate that the cursor needs to leave an inset
2471
2472         * lyxtext.h: remove inset locking
2473
2474         * cursor.[Ch]: re-implement functionality provided by inset locking
2475
2476         * BufferView.[Ch]:
2477         * BufferView_pimpl.[Ch]:
2478         * LyXAction.C:
2479         * bufferview_funcs.[Ch]:
2480         * factory.C:
2481         * funcrequest.[Ch]:
2482         * iterators.C:
2483         * lyx_cb.C:
2484         * lyxfind.C:
2485         * lyxfunc.C:
2486         * text.C:
2487         * text2.C:
2488         * text3.C:
2489         * undo.C: adjust
2490
2491 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2492
2493         * PosIterator.[Ch]: replace the stack with a vector, add inset
2494         accesor
2495         * iterators.[C]: adjust
2496
2497 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2498
2499         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2500         replaced
2501         * paragraph_funcs.C (readParToken): put the correct id in the
2502         error item, not the id of the top paragraph
2503
2504 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2505
2506         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2507         * bufferview_funcs.C (put_selection_at): use the above
2508
2509 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2510
2511         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2512
2513 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2514
2515         * output_linuxdoc.h:
2516         * output_plaintext.h:
2517         * output.h:
2518         * output_docbook.h: add #include statements
2519
2520 2003-11-05  José Matos  <jamatos@lyx.org>
2521
2522         * output_docbook.[Ch]:
2523         * output_latex.[Ch]:
2524         * output_linuxdoc.[Ch]:
2525         * output_plaintext.[Ch]: New files for output formats.
2526         * output.[Ch]: New file for helper functions.
2527
2528         * buffer.[Ch]:
2529         * paragraph_funcs.[Ch]: output functions moved to new files.
2530
2531         * outputparams.h: rename of latexrunparams.h
2532
2533         * LaTeX.[Ch]:
2534         * buffer.[Ch]:
2535         * bufferlist.[Ch]:
2536         * converter.[Ch]:
2537         * exporter.C:
2538         * paragraph.[Ch]:
2539         * paragraph_funcs.[Ch]:
2540         * paragraph_pimpl.[Ch]:
2541         * tabular.[Ch]: rename ascii to plaintext
2542         and LatexRunParams to OutputParams.
2543
2544 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2545
2546         * iterators.[Ch] (text): require bv argument
2547         * undo.C (recordUndo):
2548         * lyxfunc.C (dispatch):
2549         * bufferview_funcs.C (put_selection_at): adjust
2550
2551 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2552
2553         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2554
2555 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2556
2557         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2558         nestings
2559
2560 2003-11-04  André Pönitz  <poenitz@gmx.net>
2561
2562         * cursor.[Ch]: restructure
2563
2564         * BufferView.[Ch]:
2565         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2566
2567         * iterators.[Ch] (asCursor): remove
2568
2569         * lfuns.h: remove LFUN_INSET_EDIT
2570
2571         * lyxfunc.C:
2572         * tabular.C:
2573         * text.C:
2574         * text2.C:
2575         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2576
2577 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2578
2579         * lyxfind.[Ch]: complete overhaul
2580         * BufferView_pimpl.C:
2581         * lyxfunc.C: adjust
2582         * paragraph.[Ch] (insert): add
2583
2584 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2585
2586         * BufferView.[Ch]:
2587         * lyxtext.h:
2588         * text.C: remove dead spellcheck code
2589
2590 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2591
2592         * dispatchresult.h: add a val setter
2593
2594         * cursor.C (dispatch): use a tempvar for data_[i]
2595
2596 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2597
2598         * PosIterator.[Ch]: compile fix
2599
2600 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2601
2602         * text.C (cursorPar): deactivate the cursor cache
2603
2604 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2605
2606         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2607
2608 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2609
2610         * text3.C (dispatch): adjust for new DisptchResult semantics.
2611
2612         * lyxfunc.C (dispatch): handle update when return from
2613         Cursor::dispatch, adjust for new DispatchResult semantics.
2614
2615         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2616         DispatchResult(true) mean to not update. Add class functions for
2617         setting dispatched and update, as well as reading.
2618
2619         * cursor.C (dispatch): don't handle update here
2620
2621 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2622
2623         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2624         * trans_mgr.C: adjust
2625
2626         * paragraph_funcs.C (readParToken): exception safety
2627
2628         * lyxvc.h: store the vcs pointer in a scoped_ptr
2629         * lyxvc.C: adjust
2630
2631         * lyxsocket.C (serverCallback): exception safety
2632
2633         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2634
2635         * ispell.C (clone): make it return a auto_ptr
2636
2637         * factory.C (createInset): exception safety
2638         (readInset): exception safety
2639
2640         * bufferlist.C (newBuffer): exception safety
2641
2642         * Thesaurus.C (Thesaurus): use initialization for aik_
2643
2644         * MenuBackend.C (expandToc): exception safety.
2645
2646 2003-11-03  André Pönitz  <poenitz@gmx.net>
2647
2648         * buffer.C:
2649         * buffer.h:
2650         * bufferview_funcs.C: remove getInsetFromId()
2651
2652         * lyxcursor.[Ch]:
2653         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2654
2655         * lyxfunc.C:
2656         * text2.C:
2657         * text3.C: adjust
2658
2659 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2660
2661         * PosIterator.C (distance, advance): new
2662         * bufferview_funcs.[Ch] (put_selection_at): new
2663         * iterators.[Ch] (lockPath): new
2664
2665 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2666
2667         * iterators.[Ch] (asPosIterator): added
2668         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2669         * PosIterator.[Ch]: added
2670
2671 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2672
2673         * text3.C:
2674         * lyxfunc.C:
2675         * cursor.C (dispatch):
2676         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2677
2678         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2679         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2680         contructor, add a class function dispatched. Remove operator>=
2681
2682 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2683
2684         * debug.C: only use the default constructor for debugstream
2685         (lyxerr) here.
2686
2687         * main.C (main): include debug.h and setup the lyxerr streambuf
2688         here.
2689
2690 2003-10-31  José Matos  <jamatos@lyx.org>
2691
2692         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2693
2694         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2695         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2696         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2697         * paragraph_pimpl.C (simpleTeXSpecialC):
2698         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2699         add LatexRunParams argument.
2700
2701         * exporter.C (Export): change call accordingly.
2702
2703         * latexrunparams.h: add new member to take care of the other backends.
2704 2003-10-30  José Matos  <jamatos@lyx.org>
2705
2706         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2707         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2708         factorise code for paragraph output.
2709         * buffer.[Ch]:
2710         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2711         move functions.
2712
2713 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2714
2715         * text3.C (dispatch):
2716         * lyxfunc.C (dispatch):
2717         * cursor.C (dispatch):
2718         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2719
2720         * dispatchresult.h: make the dispatch_result_t ctor explicit
2721
2722 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2723
2724         * sgml.[Ch]:
2725         * buffer.C: small refactoring of docbook stuff
2726
2727 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2728
2729         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2730         meaning.
2731
2732 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2733
2734         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2735         operator dispatch_result_t, and operators for == != and >=
2736
2737         * cursor.C (dispatch): adjust for operator dispatch_result_t
2738         removal. comment out call to update
2739
2740         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2741
2742 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2743
2744         * text3.C:
2745         * text2.C:
2746         * text.C:
2747         * lyxtext.h:
2748         * lyxfunc.C:
2749         * cursor.C:
2750         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2751         (dispatch):
2752
2753         * dispatchresult.h: new file, DispatchResult broken out of
2754         insets/insetbase.h
2755
2756         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2757
2758 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2759
2760         * text.C (rowBreakPoint): put a hack inside #if 0
2761
2762 2003-10-28  André Pönitz  <poenitz@gmx.net>
2763
2764         * lyxtext.h:
2765         * metricsinfo.C:
2766         * paragraph_funcs.C:
2767         * rowpainter.C:
2768         * text.C:
2769         * text2.C: general cleanup (lots of small stuff)
2770
2771 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2772
2773         * text2.C (cursorEnd): simple fix to the "end key goes to one
2774         before the end on last row" bug
2775
2776 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2777
2778         * text.C (backspace): fix the "zombie characters"
2779
2780 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2781
2782         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2783
2784 2003-10-27  André Pönitz  <poenitz@gmx.net>
2785
2786         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2787
2788         * factory.C: handle new InsetPagebreak, InsetLine
2789
2790         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2791         and move handling into new InsetPagebreak, InsetLine
2792
2793         * BufferView_pimpl.C:
2794         * LyXAction.C:
2795         * ParagraphParameters.C:
2796         * ParameterStruct.h:
2797         * lyxfunc.C:
2798         * lyxtext.h:
2799         * paragraph.C:
2800         * paragraph.h:
2801         * paragraph_funcs.C:
2802         * paragraph_pimpl.C:
2803         * rowpainter.C:
2804         * text.C:
2805         * text2.C:
2806         * text3.C: adjust
2807
2808 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2809
2810         * text.C:
2811         * lyxrow_funcs.[Ch]:
2812         * Bidi.C:
2813         * paragraph.C:
2814         * lyxtext.h:
2815         * rowpainter.C:
2816         * text2.C:
2817         * text3.C: remove lastPos uses in favour of Row::endpos
2818
2819 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2820
2821         * undo.C (performUndoOrRedo): fix two crashes by setting a
2822         cursor by hand and reordering some calls. Use bv->lockInset instead
2823         of inset->edit because the latter loses cursor information
2824
2825 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2826
2827         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2828         by Martin
2829         (rowBreakPoint): fix width. change point to point + 1.
2830         Add a missing check.
2831
2832 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2833
2834         * MenuBackend.C:
2835         * lyxfunc.C: fix (at least partly) the problems
2836         with the Nav menu and headers inside branch insets
2837         reported by Kayvan
2838
2839 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2840
2841         * paragraph.C (getChar): add strong asserts
2842
2843         * lyxrow_funcs.C (lastPos): remove hideous hack
2844
2845         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2846         (fill): adjust to that (avoid an infinite loop)
2847
2848 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2849
2850         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2851
2852 2003-10-23  André Pönitz  <poenitz@gmx.net>
2853
2854         * RowList_fwd.h: change list<> to vector<> to gain speed
2855         after suggestion from Alfredo
2856
2857 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2858
2859         * lyxtext.h: move the bidi stuff from here...
2860         * text.C: and here
2861         * text2.C: and here
2862         * Bidi.[Ch]: ... to here
2863
2864 2003-10-23  André Pönitz  <poenitz@gmx.net>
2865
2866         * lyxtext.h:
2867         * text.C (isLastRow, isFirstRow): new functions
2868
2869         * paragraph.h: new width cache member
2870
2871         * rowpainter.C: replace RowList::iterator with Row & where possible
2872
2873         * lyxfunc.C: replace several view()->text with a single call
2874
2875         * toc.C: fix 'unused' warning
2876
2877 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2878
2879         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2880         when woring with stream::pos_type
2881         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2882
2883 2003-10-22  André Pönitz  <poenitz@gmx.net>
2884
2885         * lyxtext.h:
2886         * text.C: use Row & instead of RowList::iterator
2887
2888         * lyxrow.h: rename end() to endpos()
2889
2890         * rowpainter.C:
2891         * text.C:
2892         * text2.C: adjust
2893
2894 2003-10-22  Angus Leeming  <leeming@lyx.org>
2895
2896         * buffer.[Ch] (fully_loaded): new member function, returning true
2897         only when the file has been loaded fully.
2898         Used to prevent the premature generation of previews and by the
2899         citation inset to prevent computation of the natbib-style label.
2900
2901         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2902         templates are all set up.
2903
2904         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2905
2906 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2907
2908         * text.C: fixed an "oops" in the "is a bit silly"
2909         bug fix
2910
2911 2003-10-21  André Pönitz  <poenitz@gmx.net>
2912
2913         * FuncStatus.[Ch]: small stuff, whitespace
2914
2915         * lyxfont.[Ch]: operator<<() for debug reasons
2916
2917         * lyxfunc.C:
2918         * lyxrow_funcs.C:
2919         * lyxtext.h: whitespace, spelling
2920
2921         * paragraph.C: naming of variables
2922
2923         * text.C:
2924         * text2.C: small stuff
2925
2926
2927 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2928
2929         * text.C: (1) finish off the inset display() work;
2930         (2) fix the "is a bit silly" bug (accessing char
2931         past end of par).
2932
2933 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2934
2935         * text.C: re-introduce display() for insets, fixing the
2936         various bugs (stretch of line above, math inset
2937         positioning, ...)
2938
2939 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2940
2941         * text.C (rightMargin): remove spurious semicolon
2942
2943         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2944         1415)
2945
2946 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2947
2948         * text3.C: fix one crash due to wrong cursor def
2949
2950 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2951
2952         * vc-backend.C (scanMaster): make the regex static
2953
2954         * LaTeX.C (scanAuxFile): make the regexs static
2955
2956         * text3.C (doInsertInset, dispatch, dispatch):
2957         * text2.C (cursorUp, cursorDown):
2958         * text.C (selectNextWordToSpellcheck):
2959         * BufferView_pimpl.C (dispatch):
2960         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2961
2962 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2963
2964         * lyxsocket.C: include <cerrno>
2965
2966 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2967
2968         * lyxfunc.C (dispatch): remove textcache stuff
2969
2970         * bufferlist.C (release): remove textcache stuff
2971         (closeAll): ditto
2972
2973         * TextCache.C: delete file
2974         * TextCache.h: delete file
2975
2976         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2977
2978         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2979         delete of the bv_->text.
2980         (resizeCurrentBuffer): remove texcache stuff
2981         (workAreaResize): ditto
2982
2983 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2984
2985         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2986         action.
2987
2988 2003-10-16  André Pönitz  <poenitz@gmx.net>
2989
2990         * lyxrow.[Ch]:
2991         * paragraph.h:
2992         * rowpainter.C:
2993         * text.C:
2994         * text2.C:
2995         * text3.C: speed up by storing y positions per paragraph plus per-row
2996         offset instead of having a 'full' y position in the row.
2997
2998 2003-10-15  André Pönitz  <poenitz@gmx.net>
2999
3000         * iterators.[Ch]:
3001         * iterators.[Ch]:
3002         * undo.[Ch]: make undo aware of inner insets
3003
3004 2003-10-14  Angus Leeming  <leeming@lyx.org>
3005
3006         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3007         static member functions LyX::ref() and LyX::cref.
3008         (lastfiles): new accessor functions for the new lastfiles_ member var.
3009         (addLyXView, views_): add a new LyXView to the list of views_.
3010         (updateInset): loop over all LyXViews to call their own updateInset
3011         member function, returning a pointer to the Buffer owning the inset.
3012
3013         * BufferView_pimpl.C (loadLyXFile):
3014         * MenuBackend.C (expandLastfiles):
3015         * bufferlist.C (MenuWrite, QuitLyX):
3016         lastfiles is no longer a global variable.
3017         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3018
3019         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3020         static function. Access through LyX::cref().emergencyCleanup().
3021
3022 2003-10-14  André Pönitz  <poenitz@gmx.net>
3023
3024         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3025
3026         * undo.[Ch]: restoring part of 'undo in insets'
3027
3028         * Makefile.am:
3029         * undo_funcs.[Ch]: merge with undo.[Ch]
3030
3031         * tabular.C: small cleansing stuff
3032
3033 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3034
3035         * paragraph_funcs.C (readParToken): report unknown insets as error
3036         boxes. Use the outer paragraph as location (also for unknown
3037         tokens).
3038
3039         * factory.C (readInset): do not abort on reading an unknown inset.
3040         Eat it and return 0.
3041
3042 2003-10-13  Angus Leeming  <leeming@lyx.org>
3043
3044         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3045
3046         * lyxrc.C: displayTranslator is now a function,
3047         declared in GraphicsTypes.h.
3048
3049 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3050
3051         * format.C: new placeholder $$a to pass the socket address.
3052
3053         * bufferlist.[Ch]: new function getBufferFromTmp.
3054
3055         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3056           files in the temporary dir.
3057
3058 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3059
3060         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3061
3062         * Makefile.am: add lyxsocket.[Ch].
3063
3064         * lyx_main.C (error_handler): handle SIGPIPE.
3065
3066 2003-10-13  André Pönitz  <poenitz@gmx.net>
3067
3068         * BufferView_pimpl.C:
3069         * lyxtext.h:
3070         * text.C:
3071         * text2.C:
3072         * text3.C:
3073         * undo_funcs.[Ch]: use paroffset_type instead of
3074           ParagraphList::iterators to prevent multiple conversion
3075           (and get a more robust interface)
3076
3077 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3078
3079         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3080         * lyxtext.h: ditto
3081         * text3.C (dispatch): ditto
3082
3083 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3084
3085         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3086         move the onlyfile, use onlyfile instead of foundfile in a couple
3087         of places.
3088
3089         * DepTable.C (update): flush the error stream a bit more
3090
3091 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3092
3093         * lyxserver.C (callback): adjust
3094
3095         * lyxfunc.C (getStatus): add a missing brace in commented code
3096         (ensureBufferClean): reindent
3097         (dispatch): delete version taking a string
3098
3099 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3100
3101         * LaTeX.C (deplog): move found file handlig from here...
3102         (handleFoundFile): .. to new function here.
3103         (deplog): make sure to discover several files mentioned on the
3104         same log line.
3105
3106 2003-10-10  André Pönitz  <poenitz@gmx.net>
3107
3108         * lyxfunc.C:
3109         * lyxtext.h:
3110         * tabular.C:
3111         * text.C:
3112         * text2.C:
3113         * text3.C: fix some of the tabular crashes
3114
3115 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3116
3117         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3118
3119         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3120
3121 2003-10-09  André Pönitz  <poenitz@gmx.net>
3122
3123         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3124
3125         * BufferView.C:
3126         * BufferView_pimpl.C:
3127         * bufferview_funcs.C:
3128         * lyx_cb.C:
3129         * lyxcursor.C:
3130         * lyxfind.C:
3131         * lyxfunc.C:
3132         * lyxtext.h:
3133         * text.C:
3134         * text2.C:
3135         * text3.C:
3136         * text_funcs.[Ch]:
3137         * textcursor.[Ch]:
3138         * undo_funcs.C: adjust
3139
3140 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3141
3142         * text2.C (incrementItemDepth): new function, use a backtracking
3143         algorithm to discover the correct item depth.
3144         (resetEnumCounterIfNeeded): new function, use a backtracking
3145         algorithm to discover if counter reset is needed.
3146         (setCounter): use them. Simplify a bit. Add different labels for
3147         different item depths for itemize.
3148
3149         * paragraph.C (Paragraph): remove initialization of enumdepth
3150         (operator=): ditto
3151
3152         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3153         enumerate and itemize. Change the type of itemdepth to signed char.
3154
3155 2003-10-08  André Pönitz  <poenitz@gmx.net>
3156
3157         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3158           thing assignable.
3159         * text.C:
3160         * text2.C: adjust
3161
3162         * tabular.[Ch]: fix crash after 'row-insert'
3163
3164 2003-10-08  Angus Leeming  <leeming@lyx.org>
3165
3166         Fix doxygen warnings.
3167
3168         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3169         Remove CutAndPaste:: prefix from header file declaration.
3170
3171         * LColor.h (fill): remove LColor:: prefix from declaration.
3172
3173         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3174         use lyx::depth_type rather than Paragraph::depth_type so that
3175         header file and .C file match.
3176
3177         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3178
3179         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3180         * aspell.C: \file aspell_local.C -> \file aspell.C
3181         * gettext.C: \file gettext.C -> \file src/gettext.C
3182         * gettext.h: \file gettext.h -> \file src/gettext.h
3183         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3184         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3185         * text.C: \file text.C -> \file src/text.C
3186
3187         * toc.C: move comment so that doxygen is not confused.
3188
3189 2003-10-07  Angus Leeming  <leeming@lyx.org>
3190
3191         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3192
3193 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3194
3195         * aspell.C:
3196         * aspell_local.h: add forgotten std::string's.
3197
3198 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3199
3200         * LaTeXFeatures.C:
3201         * LyXAction.C:
3202         * factory.C:
3203         * lfuns.h:
3204         * lyxfunc.C:
3205         * text3.C: The Box patch. Fancybox support, minipage, parbox
3206
3207 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3208
3209         * CutAndPaste.h:
3210         * DepTable.h:
3211         * FloatList.h:
3212         * LaTeXFeatures.h:
3213         * ParagraphParameters.h:
3214         * TextCache.h:
3215         * Thesaurus.h:
3216         * bufferlist.h:
3217         * exporter.h:
3218         * importer.h:
3219         * lastfiles.h:
3220         * lyxfind.h:
3221         * lyxfont.h:
3222         * lyxlex.h:
3223         * lyxtextclasslist.h:
3224         * messages.h:
3225         * paragraph.h:
3226         * paragraph_pimpl.C:
3227         * textcursor.h: add <string> and other small fixes to make Lars'
3228         std::string patch compile with STLport.
3229
3230 2003-10-06  Angus Leeming  <leeming@lyx.org>
3231
3232         * LColor.h: Add missing #include <string>.
3233
3234 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3235
3236         * All most all file in all subdirs: Make <string> be the prefered
3237         way of getting to std::string, add using declarations.
3238
3239 2003-10-06  André Pönitz  <poenitz@gmx.net>
3240
3241         * metricsinfo.C: initialize LyXFont before changing attribute.
3242         (fixes the 'math in \emph is upright' bug)
3243
3244 2003-10-06  André Pönitz  <poenitz@gmx.net>
3245
3246         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3247
3248 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3249
3250         * graph.C:
3251         * paragraph_pimpl.C: Small fixes to build using STLport
3252
3253 2003-10-02  André Pönitz  <poenitz@gmx.net>
3254
3255         * lyxfunc.C:
3256         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3257
3258 2003-10-01  André Pönitz  <poenitz@gmx.net>
3259
3260         * factory.C: assert early
3261
3262 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3263
3264         * lyx_main.C: remove the global debug object
3265
3266         * debug.h: adjust for new debugstream
3267
3268         * debug.C: adjust for new debugstream and keep the global debug
3269         object here.
3270
3271 2003-09-22  Angus Leeming  <leeming@lyx.org>
3272
3273         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3274         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3275         an incomplete class LyXFont.
3276
3277 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3278
3279         * factory.C: bug fix in branches
3280
3281 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3282
3283         * lyxfunc.C (processKeySym): adjust
3284         (dispatch): adjust
3285         (dispatch): change arg name from ev to func, adjust
3286         (sendDispatchMessage): ditto
3287
3288         * lyx_main.C (defaultKeyBindings): adjust keybindings
3289         (deadKeyBindings): ditto
3290
3291         * kbsequence.C (addkey): return a FuncRequest
3292
3293         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3294
3295         * kbmap.C (bind): take a FuncRequest as arg, adjust
3296         (read): adjust
3297         (lookup): adjust
3298         (defkey): change to take a FuncRequest as arg, adjust
3299         (findbinding): take a FuncRequest as arg, adjust.
3300
3301         * funcrequest.h (operator=): added
3302
3303         * funcrequest.C (FuncRequest): default kb_action changed from
3304         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3305
3306         * buffer.C (dispatch): simplify
3307         (dispatch): adjust to take a FuncRequest as arg, adjust
3308
3309         * boost.C (assertion_failed): change assertion message slightly
3310
3311         * ToolbarBackend.C (read): simplify
3312
3313         * MenuBackend.C (binding): adjust call to findbinding, add a
3314         message if no binding is found.
3315         (read): simplify
3316         (expandToc): correct by adding a empty FuncRequest
3317
3318         * LyXAction.C: include <boost/assert.hpp>
3319         (isPseudoAction): delete function
3320         (LookupFunc): change name to...
3321         (lookupFunc): this. change return type to FuncRequest.
3322         (getActionName): take kb_action as arg, simplify
3323         (funcHasFlag): add an assert, simplify.
3324
3325 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3326
3327         * toc.C (action): return a FuncRequest, simplify
3328
3329         * lyxfunc.C (processKeySym): adjust
3330         (getStatus): delete version that takes an int.
3331         (getStatus): adjust
3332         (dispatch): delete version that takes action as int
3333         (dispatch): adjust
3334         (sendDispatchMessage): simplify and adjust
3335
3336         * funcrequest.C (getArg): take unsigned int as arg
3337
3338         * ToolbarBackend.C (read): adjust
3339         (add): delete version that takes func as a string.
3340         (getIton): take a FuncRequest as arg
3341
3342         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3343         action.
3344
3345         * MenuBackend.C (MenuItem): add a new construct that only takes a
3346         Kind, simplify the constructor use for submenus.
3347         (add): adjust
3348         (expandLastfiles): adjust
3349         (expandDocuments): adjust
3350         (expandFormats): adjust
3351         (expandFloatListInsert): adjust
3352         (expandFloatInsert): adjust
3353         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3354
3355         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3356         Remove class variables lyx_pseudo_map and lyx_arg_map
3357
3358         * LyXAction.C (searchActionArg): delete function
3359         (getPseudoAction): delete function
3360         (retrieveActionArg): delete function
3361         (LookupFunc): make it return kb_action, simplify.
3362         (getActionName): simplify
3363
3364         * factory.C (createInset): fix new bug
3365
3366 2003-09-19  Angus Leeming  <leeming@lyx.org>
3367
3368         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3369         masterFilename_ parameter in the include inset.
3370
3371         * factory.C (createInset): changes due to the changes to InsetInclude.
3372
3373 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3374
3375         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3376
3377 2003-09-18  Angus Leeming  <leeming@lyx.org>
3378
3379         * buffer.C:
3380         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3381         Inset::fillWithBibKeys.
3382         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3383
3384 2003-09-18  Angus Leeming  <leeming@lyx.org>
3385
3386         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3387         variables.
3388         (ctor): pass and store a 'Buffer const &'
3389         (buffer): new member function.
3390
3391         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3392         '*this' to the LaTeXFeatures ctor.
3393
3394 2003-09-18  Angus Leeming  <leeming@lyx.org>
3395
3396         * LColor.h:
3397         * lyxfont.C:
3398         * lyxfont.h:
3399         * lyxtext.h:
3400         * text.C: rename EnumLColor as LColor_color.
3401
3402 2003-09-18  Angus Leeming  <leeming@lyx.org>
3403
3404         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3405         remove #include "insets/insetbase.h" from cursor.h.
3406
3407 2003-09-18  Angus Leeming  <leeming@lyx.org>
3408
3409         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3410         InsetOld_code to remove #include "inset.h".
3411
3412         * iterators.C: add #include "insets/inset.h"
3413
3414 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3415
3416         * BufferView.C: remove more locking stuff that apparently doesn't
3417         do anything sensible.
3418
3419 2003-09-16  André Pönitz  <poenitz@gmx.net>
3420
3421         * paragraph.[Ch]:
3422         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3423           performance boost.
3424
3425 2003-09-16  Angus Leeming  <leeming@lyx.org>
3426
3427         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3428
3429         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3430         arg/return type.
3431
3432         * paragraph.h: remove #include "lyxfont.h". Forward declare
3433         LyXFont_size.
3434
3435 2003-09-16  Angus Leeming  <leeming@lyx.org>
3436
3437         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3438         of support/textutils.h.
3439         (isWord): move the contents of support/textutils.h's IsWordChar here.
3440
3441         * buffer.C:
3442         * lyxfind.C:
3443         * rowpainter.C:
3444         * text.C:
3445         * text2.C: add #include "paragraph.h".
3446
3447         * rowpainter.C:
3448         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3449
3450 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3451
3452         * main.C:
3453         * lyx_main.C:
3454         * lyx_cb.C:
3455         * buffer.C:
3456         * LaTeX.C: use namespace alias for lyx::support::os
3457
3458 2003-09-16  Angus Leeming  <leeming@lyx.org>
3459
3460         * bufferparams.C:
3461         * bufferview_funcs.C:
3462         * factory.C:
3463         * lyxfunc.C:
3464         * paragraph_pimpl.C:
3465         * rowpainter.C:
3466         * text.C: add #include "LColor.h".
3467
3468 2003-09-16  Angus Leeming  <leeming@lyx.org>
3469
3470         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3471         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3472         return LyXFont &.
3473         Store the FontBits::color variable as an int rather than as an
3474         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3475         file.
3476
3477         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3478         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3479         string calls together.
3480
3481         * lyxrc.C: add #include "LColor.h".
3482
3483 2003-09-15  Angus Leeming  <leeming@lyx.org>
3484
3485         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3486         a cow_ptr.
3487
3488 2003-09-15  Angus Leeming  <leeming@lyx.org>
3489
3490         * LColor.h: add an EnumLColor wrapper for LColor::color.
3491
3492         * lyxfont.[Ch] (color, setColor, realColor):
3493         * lyxtext.h, text.C (backgroundColor):
3494         pass EnumLColor args to/from the functions, rather than LColor::color
3495         ones.
3496
3497         * lyxfont.h:
3498         * lyxtext.h: forward declare EnumLColor.
3499
3500         * lyx_main.C: add #include "LColor.h".
3501
3502 2003-09-15  Angus Leeming  <leeming@lyx.org>
3503
3504         * .cvsignore: add lyx-gtk.
3505
3506 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3507
3508         * Chktex.C
3509         * LaTeX.C
3510         * LaTeXFeatures.C
3511         * ParagraphParameters.C
3512         * Spacing.C
3513         * buffer.C
3514         * bufferparams.C
3515         * bufferview_funcs.C
3516         * chset.C
3517         * counters.C
3518         * funcrequest.C
3519         * lyxfont.C
3520         * lyxgluelength.C
3521         * lyxlength.C
3522         * paragraph.C
3523         * paragraph_funcs.C
3524         * text3.C
3525         * vc-backend.C: remove usage of STRCONV
3526
3527 2003-09-15  Angus Leeming  <leeming@lyx.org>
3528
3529         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3530         explicitly define the color passed to the painter.
3531
3532 2003-09-15  Angus Leeming  <leeming@lyx.org>
3533
3534         * bufferparams.C (BufferParams): reorder member initializers to avoid
3535         compiler warning.
3536
3537 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3538
3539         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3540         * text.C (updateRowPositions): remove an unusual nop
3541
3542 2003-09-12  André Pönitz  <poenitz@gmx.net>
3543
3544         * BufferView_pimpl.C:
3545         * Bullet.C:
3546         * layout.h:
3547         * lyxfunc.C:
3548         * lyxlayout.[Ch]:
3549         * lyxtextclass.C:
3550         * rowpainter.C:
3551         * text.C:
3552         * text2.C:
3553         * Counters.[Ch]: finish the 'automatic counters' job
3554
3555 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3556
3557         * aspell.C: include <boost/assert.cpp> (compile fix)
3558
3559 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3560
3561         * boost.C (assertion_failed): use lyx::support::abort instead of
3562         assert.
3563
3564 2003-09-10  Angus Leeming  <leeming@lyx.org>
3565
3566         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3567         with their _fwd progeny.
3568
3569 2003-09-09  Angus Leeming  <leeming@lyx.org>
3570
3571         134 files throughtout the source tree: replace 'using namespace abc;'
3572         directives with the appropriate 'using abc::xyz;' declarations.
3573
3574 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3575
3576         * boost.C (emergencyCleanup): moved here from LAssert.c
3577         (assertion_failed): new function, called by BOOST_ASSERT
3578
3579         * several files: change Assert to BOOST_ASSERT
3580
3581 2003-09-09  Angus Leeming  <leeming@lyx.org>
3582
3583         * buffer.[Ch]: Add an Impl class and move Buffer's member
3584         variables into it. As a result move several header files out of
3585         buffer.h.
3586
3587         Add header files to lots of .C files all over the tree as a result.
3588
3589 2003-09-09  Angus Leeming  <leeming@lyx.org>
3590
3591         * buffer.[Ch]: make Buffer's member variables private. Add
3592         accessor functions.
3593
3594         Lots of changes all over the tree as a result.
3595
3596 2003-09-08  Angus Leeming  <leeming@lyx.org>
3597
3598         * graph.C: #include <config.h>.
3599
3600 2003-09-08  Angus Leeming  <leeming@lyx.org>
3601
3602         * BranchList.C:
3603         * BufferView.C:
3604         * BufferView_pimpl.C:
3605         * CutAndPaste.C:
3606         * DepTable.C:
3607         * LaTeX.C:
3608         * LaTeXFeatures.C:
3609         * LyXAction.C:
3610         * MenuBackend.C:
3611         * TextCache.C:
3612         * aspell.C:
3613         * buffer.C:
3614         * bufferlist.C:
3615         * changes.C:
3616         * chset.C:
3617         * converter.C:
3618         * counters.C:
3619         * debug.C:
3620         * graph.C:
3621         * ispell.C:
3622         * lyx_cb.C:
3623         * lyxfind.C:
3624         * lyxfunc.C:
3625         * lyxlex_pimpl.C:
3626         * lyxrc.C:
3627         * lyxrow.C:
3628         * paragraph.C:
3629         * rowpainter.C:
3630         * texrow.C:
3631         * text.C:
3632         * text2.C:
3633         * toc.C: remove redundant using directives.
3634
3635 2003-09-07  Angus Leeming  <leeming@lyx.org>
3636
3637         * LaTeXFeatures.h: remove #include "support/types.h".
3638         * ToolbarBackend.h: remove #include <algorithm>.
3639         * changes.h: remove #include <ctime>.
3640         * debug.h: remove #include <iosfwd>.
3641         * graph.h: remove #include "support/std_string.h".
3642         * lyx_main.h: remove #include <csignal>.
3643         * lyxlex_pimpl.h: remove #include <fstream>.
3644         * sgml.h: remove #include <algorithm>, <utility>.
3645         * toc.h: remove #include "support/std_ostream.h".
3646         Add #include <iosfwd>.
3647
3648 2003-09-07  Angus Leeming  <leeming@lyx.org>
3649
3650         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3651
3652         * converter.h: forward declare LatexRunParams.
3653         * encoding.h: remove #include "lyxrc.h".
3654         * lyxtext.h: remove #include "LColor.h".
3655         * lyxtextclass.h: remove #include "support/types.h".
3656         * trans.h: remove #include "tex-accent.h".
3657         * trans_mgr.h: remove #include "tex-accent.h".
3658         * insets/inset.h: remove #include "support/types.h", <vector>.
3659         * insets/insetcollapsable.h: remove #include "LColor.h".
3660         * insets/insetinclude.h: remove #include "dimension.h".
3661         * insets/insetlatexaccent.h: remove #include "dimension.h".
3662         * insets/insetoptarg.h:: remove #include "insettext.h".
3663         * insets/insettext.h: remove #include "dimension.h",
3664         <boost/shared_ptr.hpp>
3665
3666         * insets/renderers.h: add #include "dimension.h".
3667         * insets/updatableinset.h: add #include "support/types.h".
3668
3669         * many .C files: Associated changes.
3670
3671 2003-09-06  Angus Leeming  <leeming@lyx.org>
3672
3673         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3674         one, inside testInvariant.
3675
3676         * PrinterParams.C: new file.
3677         * PrinterParams.[Ch]: move the function bodies out of line.
3678
3679 2003-09-06  Angus Leeming  <leeming@lyx.org>
3680
3681         * ParagraphParameters.h: forward declare ParameterStruct rather than
3682         including its header file.
3683         (depth): moved out-of-line.
3684
3685 2003-09-06  Angus Leeming  <leeming@lyx.org>
3686
3687         * BufferView_pimpl.h:
3688         * kbmap.h:
3689         * kbsequence.h:
3690         * lyxfunc.h: forward declare LyXKeySym rather than
3691         #include "frontends/LyXKeySym.h".
3692
3693         * BufferView_pimpl.C:
3694         * kbmap.C:
3695         * kbsequence.C:
3696         * lyxfunc.C: associated changes.
3697
3698 2003-09-06  Angus Leeming  <leeming@lyx.org>
3699
3700         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3701         As a result, can remove the #include "insets/inset.h" from BufferView.h
3702
3703 2003-09-06  Angus Leeming  <leeming@lyx.org>
3704
3705         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3706         As a result, can remove the #include "insets/inset.h" from BufferView.h
3707
3708 2003-09-06  Angus Leeming  <leeming@lyx.org>
3709
3710         * buffer_funcs.C:
3711         * buffer.h:
3712         * bufferlist.C:
3713         * BufferView.C:
3714         * bufferview_funcs.C:
3715         * BufferView_pimpl.C:
3716         * CutAndPaste.C:
3717         * lyx_cb.C:
3718         * lyxfunc.C:
3719         * paragraph.h:
3720         * ParagraphParameters.C:
3721         * tabular.C:
3722         * text3.C:
3723         * toc.C:
3724         * undo_funcs.C:
3725         * frontends/controllers/ControlDocument.C:
3726         * insets/insetcaption.C: rearrange the #includes into some sort of
3727         coherent order.
3728
3729         * buffer.h: remove #includes ErrorList.h, undo.h
3730
3731 2003-09-06  Angus Leeming  <leeming@lyx.org>
3732
3733         * support/types.h: add a 'depth_type' typedef, used to store the
3734         nesting depth of a paragraph.
3735
3736         * paragraph.h:
3737         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3738         defining explicitly.
3739
3740         * buffer.h:
3741         * paragraph_funcs.h:
3742         * ParagraphParameters.h:
3743         * sgml.h: use lyx::depth_type rather than Paragraph or
3744         ParameterStruct's depth_type.
3745
3746         * buffer.h
3747         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3748
3749         * BufferView.C:
3750         * BufferView_pimpl.C:
3751         * CutAndPaste.C:
3752         * ParagraphParameters.C:
3753         * buffer_funcs.C:
3754         * bufferlist.C:
3755         * bufferview_funcs.C:
3756         * lyx_cb.C:
3757         * lyxfunc.C:
3758         * tabular.C:
3759         * text3.C:
3760         * toc.C:
3761         * undo_funcs.C:
3762         * frontends/LyXView.C:
3763         * frontends/controllers/ControlDocument.C:
3764         * frontends/controllers/ControlErrorList.C:
3765         * insets/insetbibitem.C:
3766         * insets/insetbranch.C:
3767         * insets/insetcaption.C:
3768         * insets/insetcollapsable.C:
3769         * insets/insetenv.C:
3770         * insets/insetert.C:
3771         * insets/insetfloat.C:
3772         * insets/insetfoot.C:
3773         * insets/insetfootlike.C:
3774         * insets/insetnewline.C:
3775         * insets/insetquotes.C:
3776         * insets/insettabular.C:
3777         * insets/insettext.C:
3778         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3779
3780         * frontends/controllers/ControlChanges.C: #include "changes.h".
3781
3782 2003-09-06  Angus Leeming  <leeming@lyx.org>
3783
3784         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3785         than #including paragraph.h.
3786
3787         * ParagraphList.h:
3788         * RowList.h: deleted. Superfluous.
3789
3790         * CutAndPaste.h:
3791         * iterators.h:
3792         * lyxcursor.h:
3793         * lyxtext.h:
3794         * text_funcs.h:
3795         * undo.h:
3796         * undo_funcs.h:
3797         * insets/inset.h:
3798         * insets/insettext.h: use ParagraphList_fwd.h rather than
3799         ParagraphList.h.
3800
3801         * paragraph.h: don't forward declare ParagraphList.
3802
3803         * buffer.h:
3804         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3805         rather than ParagraphList.h. paragraph.h is still needed for the
3806         Paragraph::depth_type parameters.
3807
3808         * textcursor.h: enable it to compile stand-alone in light of the
3809         above changes.
3810
3811         * bufferview_funcs.C:
3812         * iterators.C:
3813         * lyxfunc.C:
3814         * lyxrow_funcs.C:
3815         * paragraph.C:
3816         * rowpainter.C:
3817         * text.C:
3818         * text2.C:
3819         * text3.C:
3820         * text_funcs.C:
3821         * textcursor.C:
3822         * undo.C:
3823         * frontends/controllers/ControlParagraph.C:
3824         * frontends/controllers/ControlTabular.C:
3825         * insets/insetmarginal.C:
3826         * insets/insetminipage.C:
3827         * insets/insetnote.C:
3828         * insets/insetoptarg.C: add header files needed to compile again.
3829
3830 2003-09-06  Angus Leeming  <leeming@lyx.org>
3831
3832         * RowList_fwd.h: new file, forward-declaring Row rather than
3833         #including lyxrow.h.
3834
3835         * lyxrow_funcs.h:
3836         * lyxtext.h:
3837         * paragraph.h:
3838         * insets/insettext.h: use it instead of RowList.h
3839
3840         * bufferview_funcs.C:
3841         * lyxfunc.C:
3842         * lyxrow_funcs.C:
3843         * paragraph.C:
3844         * rowpainter.C:
3845         * text.C:
3846         * text2.C:
3847         * text3.C: #include "RowList.h".
3848
3849 2003-09-05  Angus Leeming  <leeming@lyx.org>
3850
3851         * factory.C (createInset):
3852         * vspace.C (c-tor): replace sscanf call with an istringstream.
3853         * ispell.C: re-add missing HP/UX headers.
3854         * lyxserver.C: re-add missing  os2 headers.
3855
3856 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3857
3858         * BranchList.C:
3859         * graph.C:
3860         * ispell.C:
3861         * lastfiles.C:
3862         * lyx_cb.C:
3863         * lyxserver.C:
3864         * texrow.C:
3865         * text3.C: re-add missing system headers, needed for 2.95.2.
3866
3867 2003-09-05  Angus Leeming  <leeming@lyx.org>
3868
3869         Changes most place everywhere due to the removal of using directives
3870         from support/std_sstream.h.
3871
3872 2003-09-05  Angus Leeming  <leeming@lyx.org>
3873
3874         Replace LString.h with support/std_string.h,
3875         Lsstream.h with support/std_sstream.h,
3876         support/LIstream.h with support/std_istream.h,
3877         support/LOstream.h with support/std_ostream.h.
3878
3879         Changes resulting throughout the tree.
3880
3881 2003-09-05  Angus Leeming  <leeming@lyx.org>
3882
3883         * sgml.h: ensure that the header file can be compiled stand-alone.
3884         * *.C: strip out redundant #includes. (320 in total.)
3885
3886 2003-09-04  Angus Leeming  <leeming@lyx.org>
3887
3888         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3889         here (from getPackages).
3890
3891         * debug.[Ch]: add a new EXTERNAL tag.
3892
3893 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3894
3895         * text2.C (cursorEnd): simplify
3896         (setCursor): adjust
3897         (getColumnNearX): adjust
3898
3899         * text.C (computeBidiTables): adjust
3900         (fill): adjust
3901
3902         * rowpainter.C (paintChars): adjust
3903         (paintSelection): adjust
3904         (paintChangeBar): adjust
3905         (paintText): adjust
3906
3907         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3908         lastPos instead.
3909         (numberOfSeparators): adjust
3910
3911 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3912
3913         * LyXAction.C:
3914         * box.[Ch]:
3915         * lfuns.h:
3916         * lyxfunc.C:
3917         * text3.C: Restricts the mouse click functionality
3918         of insets like bibtex, include, toc and floatlist to the visible
3919         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3920         up the dialogs. Cursor has to be in front of the inset (i.e.
3921         start of row) for this to function.
3922
3923 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3924
3925         * bufferview_funcs.C (currentState): output row information
3926
3927 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3928
3929         * bufferview_funcs.C (currentState): output paragraph position
3930
3931 2003-09-04  Angus Leeming  <leeming@lyx.org>
3932
3933         * FloatList.h: move out #include "Floating.h".
3934         * LaTeX.h: move out #include "DepTable.h".
3935         * LyXAction.h: move out #include "funcrequest.h".
3936         * buffer.h: move out #include "author.h", "iterators.h".
3937         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3938         * lyx_main.h: move out #include "errorlist.h".
3939         * lyxfunc.h: move out #include "FuncStatus.h".
3940         * lyxtext: move out #include "lyxcursor.h".
3941         * paragraph_pimpl.h: move out #include "counters.h".
3942
3943 2003-09-03  Angus Leeming  <leeming@lyx.org>
3944
3945         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3946         preamble_snippets list, enabling us to add snippets to the preamble
3947         only if the snippet was not there already.
3948
3949 2003-09-04  Angus Leeming  <leeming@lyx.org>
3950
3951         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3952
3953 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3954
3955         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3956         update
3957
3958 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3959
3960         * BranchList.C: point fix, earlier forgotten
3961
3962 2003-09-02  Angus Leeming  <leeming@lyx.org>
3963
3964         * box.C (contains): renamed from 'contained' after a fantastic
3965         amount of hot air.
3966
3967 2003-09-02  John Levon  <levon@movementarian.org>
3968
3969         * BufferView.C:
3970         * lyxcursor.h:
3971         * lyxcursor.C:
3972         * lyxfunc.C:
3973         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3974
3975 2003-09-02  John Levon  <levon@movementarian.org>
3976
3977         * text2.C: simplification of cursorEnd(), including partial
3978         fix for bug 1376
3979
3980 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3981
3982         * buffer.C (readFile): add a space
3983
3984 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3985
3986         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3987
3988 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3989
3990         * buffer.C (readFile): new function, take a filename and a
3991         ParagraphList::iterator
3992         (readFile): adjust
3993         (readFile): adjust, make it private. don't use setStream, make
3994         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3995         always contain the filename.
3996
3997         * BufferView.C (insertLyXFile): simplify and make it work for
3998         gzipped files.
3999
4000 2003-08-30  John Levon  <levon@movementarian.org>
4001
4002         * Makefile.am: fix dist (from Kayvan)
4003
4004 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4005
4006         * most files: change to use const Buffer refs
4007
4008 2003-08-27  André Pönitz  <poenitz@gmx.net>
4009
4010         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4011         on top of ownerPar().
4012
4013 2003-08-27  John Levon  <levon@movementarian.org>
4014
4015         * funcrequest.C: properly initialise POD members
4016
4017 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4018
4019         * lyxtext.h (top_y): move top_y from here
4020         * text.C:
4021         * text2.C:
4022         * text3.C:
4023         * BufferView.[Ch]:
4024         * BufferView_pimpl.[Ch]: to here
4025         * frontends/screen.C:
4026         * insets/insettabular.C:
4027         * insets/insettext.C: adjust
4028         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4029
4030 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4031
4032         * BufferView.[Ch]:
4033         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4034
4035 2003-08-26  André Pönitz  <poenitz@gmx.net>
4036
4037         * paragraph_func.[Ch] (outerPar): new function
4038
4039         * paragraph.C:
4040         * paragraph_funcs.C:
4041         * paragraph_funcs.h:
4042         * paragraph_pimpl.C:
4043         * text2.C: remove Inset::par_owner
4044
4045 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4046
4047         * lyxrow_funcs.C:
4048         * lyxtext.h:
4049         * text.C:
4050         * text2.C: eliminates the needFullRow/display() stuff
4051         altogether, putting the logic in metrics/draw in the insets.
4052
4053 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4054
4055         * text2.C (redoParagraphInternal, redoParagraphs):
4056         * text.C (redoParagraph): add a call to updateRowPositions at the
4057         end of each 'metrics-like' call. Remove all others.
4058         (getRow): remove the 'y-computing' version.
4059         (getRowNearY): do not compute nor return the real y. Solve the
4060         'y < 0' problem and simplify.
4061
4062 2003-08-22  Angus Leeming  <leeming@lyx.org>
4063
4064         * *.[Ch]: clean-up of licence and author blurbs.
4065         Also move config.h out of a few .h files and into a few .C files.
4066
4067 2003-08-22  André Pönitz  <poenitz@gmx.net>
4068
4069         * lyxrow.[Ch]: add x_ and *fill_ members
4070
4071         * lyxtext.h:
4072         * text.C:
4073         * rowpainter.C:
4074         * text2.C: adjust/remove prepareToPrint() calls
4075
4076 2003-08-22  André Pönitz  <poenitz@gmx.net>
4077
4078         * lyxrow.[Ch]: add  end_ member
4079
4080         * lyxrow_funcs.C: use LyXRow::end_
4081
4082         * lyxtext.h (singleWidth): add LyXFont parameter
4083
4084         * rowpainter.C:
4085         * text2.C: adjust LyXText::singleWidth() calls
4086
4087         * text.C (redoParagraph): simplify row breaking logic
4088
4089
4090 2003-08-19  André Pönitz  <poenitz@gmx.net>
4091
4092         * funcrequest.C: initialize button_ member
4093
4094         * text3.C:
4095         * rowpainter.[Ch]: interface consolidation
4096
4097 2003-08-18  André Pönitz  <poenitz@gmx.net>
4098
4099         * BufferView.C:
4100         * BufferView_pimpl.C:
4101         * lyxfind.C:
4102         * paragraph_funcs.C:
4103         * rowpainter.C:
4104         * text3.C: remove LyXScreen::draw() and fitCursor calls
4105
4106         * BranchList.h: remove spurious semicolons
4107
4108         * MenuBackend.C: fix branchlist related crash
4109
4110 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4111
4112         * BranchList.[Ch]:
4113         * InsetList.[Ch]:
4114         * LColor.[Ch]:
4115         * LyXAction.C:
4116         * Makefile.am:
4117         * MenuBackend.[Ch]:
4118         * bufferparams.[Ch]:
4119         * factory.C:
4120         * lfuns.h:
4121         * lyxfunc.C:
4122         * text3.C: implements the 'branch inset'
4123         idea. This allows the output of various versions of a document
4124         from a single source version, selectively outputing or suppressing
4125         output of parts of the text.
4126         This implementation contains a 'branch list editor' in a separate
4127         tab of the document settings dialog. Branches are user definable
4128         and have a "display colour" to distinguish them on-screen.
4129
4130         ColorHandler was somewhat cleaned up.
4131         (1) make possible a dynamically growing LColor list by allowing
4132         the graphic context cache to grow along (vector);
4133         (2) eliminate an IMHO unnecessary step in colour allocation.
4134
4135 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4136
4137         * BufferView_pimpl.C: compile fix
4138
4139 2003-08-15  André Pönitz  <poenitz@gmx.net>
4140
4141         * rowpainter.C: remove extra metrics calls
4142
4143         * lyxtext.h: merge the two constructors into a single one,
4144           pass reference to owner's par list
4145
4146         * BufferView_pimpl.C:
4147         * text.C:
4148         * text2.C: adjust
4149
4150 2003-08-15  André Pönitz  <poenitz@gmx.net>
4151
4152         * lyxrow_funcs.[Ch]:
4153         * lyxtext.h:
4154         * paragraph.h:
4155         * paragraph_funcs.C:
4156         * rowpainter.C:
4157         * text.C:
4158         * text2.C:
4159         * text3.C:
4160         * text_funcs.C: split LyXText::rowlist_ into individual
4161         Paragraph::rows_ chunks
4162
4163         * BufferView.[Ch]:
4164         * BufferView_pimpl.[Ch]:
4165         * lyxfind.C:
4166         * lyxtext.h:
4167         * text3.C: remove toggleSelection()
4168
4169 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4170
4171         * bufferlist.C: beautify two alerts (shorter text of buttons)
4172         * buffer.C: Remove redundant ' ' from message
4173         * tabular.h:
4174         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4175         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4176         rename VALIGN_CENTER to VALIGN_MIDDLE
4177
4178 2003-08-11  André Pönitz  <poenitz@gmx.net>
4179
4180         * lyxtext.h (getPar):
4181         * text.C: new function
4182
4183 2003-08-11  André Pönitz  <poenitz@gmx.net>
4184
4185         * Makefile.am:
4186         * tracer.[Ch]: remove unneeded files
4187
4188         * InsetList.[Ch]: remove resizeInsetsLyXText()
4189
4190         * lyxtext.h:
4191         * text.C:
4192         * text2.C:
4193         * text3.C: merge insertParagraphs() and appendParagraph()
4194         remove breakAgain(), update()
4195
4196         * BufferView_pimpl.[Ch]:
4197         * bufferview_funcs.[Ch]:
4198         * lyxfunc.C:
4199         * paragraph.[Ch]:
4200         * rowpainter.C:
4201         * tabular.C: adjust after text & InsetList changes.
4202
4203 2003-08-08  André Pönitz  <poenitz@gmx.net>
4204
4205         * text.C (insertChar, backspace): replace rowlist fiddling
4206         with rebreak of full par
4207
4208         * lyxtext.h:
4209         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4210         checkParagraph, updateInset): removed
4211
4212 2003-08-07  André Pönitz  <poenitz@gmx.net>
4213
4214         * paragraph.C:
4215         * text3.C: merge some LFUN handlers, remove dead code
4216
4217 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4218
4219         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4220
4221 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4222
4223         * text2.C (DEPM): fix part of bug 1255 and 1256
4224
4225 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4226
4227         * BufferView_pimpl.C (workAreaDispatch): change to use
4228         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4229         that are no mouse related.
4230
4231 2003-08-05  André Pönitz  <poenitz@gmx.net>
4232
4233         * BufferView.[Ch]:
4234         * BufferView_pimpl.[Ch]:
4235         * bufferview_funcs.C:
4236         * text2.C:
4237         * text3.C: rip out "deep update"
4238
4239         * textcursor.[Ch] (last_sel_cursor): remove unused member
4240
4241 2003-08-04  André Pönitz  <poenitz@gmx.net>
4242
4243         * BufferView.[Ch]:
4244         * BufferView_pimpl.[Ch]:
4245         * ParagraphParameters.C:
4246         * bufferview_funcs.C:
4247         * lyx_cb.C:
4248         * lyxfind.C:
4249         * lyxfunc.C:
4250         * text.C:
4251         * text2.C:
4252         * text3.C: replace "complicated" BufferView::update(...) calls with
4253         simpler ones.
4254
4255         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4256
4257 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4258
4259         * Makefile.am (lyx_SOURCES): add paper.h
4260
4261 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4262
4263         * Makefile.am: move things around so that both lyx-qt and
4264         lyx-xforms can be built (according to --with-frontend). Then lyx
4265         is a symbolic link to lyx-[firstfrontend]
4266
4267 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4268
4269         * Always use std::endl with lyxerr
4270
4271 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4272
4273         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4274
4275 2003-08-01  André Pönitz  <poenitz@gmx.net>
4276
4277         * BufferView.[Ch]:
4278         * BufferView_pimpl.[Ch]:
4279         * lyxfunc.C:
4280         * text3.C: merge BufferView::repaint() and BufferView::update()
4281
4282 2003-08-01  José Matos  <jamatos@lyx.org>
4283
4284         * buffer.[Ch]: file_format is no longer a buffer data element.
4285
4286 2003-08-01  André Pönitz  <poenitz@gmx.net>
4287
4288         * BufferView.C:
4289         * lyxtext.h:
4290         * text.C:
4291         * text2.C: make redoParagraph more independent of current cursor
4292
4293         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4294         * text.C:
4295         * text2.C: remove unneeded members
4296
4297 2003-07-30  André Pönitz  <poenitz@gmx.net>
4298
4299         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4300
4301         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4302           create a single function...
4303
4304         * paragraph_funcs.C (moveItem): ... here.
4305
4306         * text.C:
4307           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4308
4309 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4310
4311         * LColor.[Ch]: Add comment and greyedout logical colors.
4312
4313 2003-07-30  André Pönitz  <poenitz@gmx.net>
4314
4315         * tabular.C: don't use Assert too heavily. This crashes where it
4316           shouldn't
4317
4318 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4319
4320         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4321         is disabled (bug 1232)
4322
4323 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4324
4325         * factory.C: limited 'arg' scope
4326
4327 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4328
4329         * factory.C: fixed Note submenu issues
4330
4331 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4332
4333         * factory.C: submenu for Note/Comment/Greyedout
4334
4335 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4336
4337         * lyx_main.C (LyX):
4338         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4339
4340 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4341
4342         * LaTeXFeatures.C:
4343         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4344         greyedout. Patch provided by Jürgen Spitzmüller.
4345
4346 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4347
4348         * kbmap.C (read): fix error message when reading bind files
4349
4350 2003-07-29  Angus Leeming  <leeming@lyx.org>
4351
4352         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4353         certainly does not do what it purports to do. I am doing it, and
4354         us, a favour by killing it.
4355
4356 2003-07-28  José Matos  <jamatos@lyx.org>
4357
4358         * buffer.C (readBody, do_writeFile):
4359         * paragraph.C(readParagraph): \end_document replaces \the_end.
4360
4361 2003-07-29  André Pönitz  <poenitz@gmx.net>
4362
4363         * BufferView.[Ch]:
4364         * BufferView_pimpl.[Ch]:
4365         * lyxfunc.C:
4366         * text2.C:
4367         * text3.C:
4368         * textcursor.[Ch]: remove toggleToggle & Co
4369
4370 2003-07-28  José Matos  <jamatos@fep.up.pt>
4371
4372         * buffer.C (readParagraph):
4373         * params_func (readParToken, readParagraph):
4374         * paragraph.C (write): \layout -> \begin_layout.
4375
4376 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4377
4378         * lyxlex_pimpl.C (setFile): clean up slightly.
4379
4380         * bufferparams.h: add compressed var
4381
4382         * buffer_funcs.C (readFile): adjust for LyXLex change
4383         (newFile): ditto + simplify
4384
4385         * buffer.C (writeFile): handle writing of compressed files
4386
4387         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4388         Check if the file is compressed and set a bufferparm if so.
4389
4390         * Makefile.am (lyx_LDADD): remove explicit -lz
4391
4392 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4393
4394         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4395         makeDocBookFile): put the real LyX version in the first line of
4396         the file
4397
4398         * version.h:
4399         * version.C.in: remove lyx_docversion
4400
4401         * tabular.C (write_attribute): add a template-based version to
4402         write enums properly
4403
4404 2003-07-28  André Pönitz  <poenitz@gmx.net>
4405
4406         * lyxtext.h:
4407         * text.C:
4408         * text2.C:
4409         * text3.C: use doubles again for x-coordinates. They are needed.
4410
4411 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4412
4413         * messages.C (getLocaleDir): use lyx_localedir()
4414
4415         * lyxlex_pimpl.C (setFile): compress stuff
4416
4417         * buffer.C (writeFile): add some compression stuff
4418         (do_writeFile): new func, dont call expliti close... will this
4419         breake anything?
4420
4421         * Makefile.am (lyx_LDADD): add -lz
4422
4423 2003-07-28  José Matos  <jamatos@fep.up.pt>
4424
4425         * buffer.C: increment file format.
4426         * paragraph_funcs (readParagraph, readParToken):
4427         * paragraph.C (readParagraph): add \end_layout.
4428
4429 2003-07-27  Angus Leeming  <leeming@lyx.org>
4430
4431         * Makefile.am: remove special casing for configure-time setting of
4432         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4433
4434         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4435         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4436
4437 2003-07-26  André Pönitz  <poenitz@gmx.net>
4438
4439         * paragraph_func.[Ch]:
4440         * paragraph.C (realizeFont): inline it whereever it is used
4441
4442         * rowpainter.C:
4443         * text.C:
4444         * text2.C:
4445         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4446
4447
4448 2003-07-26  André Pönitz  <poenitz@gmx.net>
4449
4450         *       lyxtext.h:
4451         * text.C:
4452         * text2.C: get rid of LyXText::need_break_row
4453
4454 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4455
4456         * toc.[Ch]: put namespace toc inside namespace lyx
4457
4458         * MenuBackend.C (expandToc2): adjust for lyx::toc
4459         (expandToc): ditto
4460
4461         * lyxfunc.C (dispatch): adjust for lyx::find
4462
4463         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4464         lyx::find instead. Reorganize a bit.
4465         (LyXReplace): rename to replace
4466         (LyXFind): rename to find
4467
4468         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4469         (dispatch): ditto
4470
4471 2003-07-26  André Pönitz  <poenitz@gmx.net>
4472
4473         * text.C (setHeightOfRow): restrict scope of temporary variable
4474
4475         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4476           code (never has been used?)
4477
4478 2003-07-27  Asger Alstrup  <alstrup@local>
4479
4480         * text.C (fill): Optimise algorithm to exploit that we can reuse
4481         the LyXFont for many characters.
4482         (setHeightOfRow): Same thing.
4483         (rowBreakPoint): Same thing.
4484
4485 2003-07-26  Asger Alstrup  <alstrup@local>
4486
4487         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4488
4489         * text.C (singleWidth): Spurious font copying in hot-spot
4490         singleWidth avoided. Reorder tests for arabic for efficiency.
4491
4492         * text.C (fill): handle empty paragraphs better.
4493
4494 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4495
4496         * ispell.C:
4497         * encoding.h: add includes
4498
4499         * lyxrc.C: remove reading of bind files
4500
4501         * lyx_main.C (init): setup bindings and menus only if we have a
4502         gui.
4503
4504         * kbmap.C (read): new method. Do the actual reading of bind
4505         files.
4506
4507         * converter.C (dvipdfm_options):
4508         * bufferparams.C:
4509         * lyxrc.C (read):
4510         (output): adapt PAPER_* enums.
4511
4512         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4513
4514         * bufferparams.h: remove paper-related enums from there
4515
4516         * paper.h: New file. A trivial header file to hold paper-related
4517         enums. It should later expand to contain many paper-related
4518         horrors access.
4519
4520         * lyxrc.C: declare extern displayTranslator
4521
4522 2003-07-27  José Matos  <jamatos@fep.up.pt>
4523
4524         * tabular.[Ch] (linuxdoc): add support for tables and figures
4525         (linuxdoc).
4526
4527 2003-07-27  José Matos  <jamatos@fep.up.pt>
4528
4529         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4530         consistency in both functions.
4531         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4532
4533 2003-07-26  Asger Alstrup  <alstrup@local>
4534
4535         * rowpainter.C (paintRows): Change algorithm to work directly on
4536         the insets rather than asking every character in the document
4537         whether its an inset.
4538
4539 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4540
4541         * buffer.C (openFileWrite): factorize some code
4542
4543 2003-07-26  Angus Leeming  <leeming@lyx.org>
4544
4545         * lyx_cb.C:
4546         * lyx_main.[Ch]: replace occurances of system_tempdir with
4547         os::getTmpDir().
4548
4549 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4550
4551         * rename Inset to InsetOld
4552
4553 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4554
4555         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4556         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4557         which I think is a bit clearer. EDIT is gone, since it was
4558         premature optimisation, and broken for mathed anyway.
4559         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4560         with cursor positioning in insets as well (math insets still do not
4561         work, but that's a different story anyway.) It mysteriously
4562         crashes sometimes with undo in the first paragraph, but I'm fairly
4563         confident that this is a compiler bug.
4564
4565 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * paragraph.C (Paragraph): adjust for new clone return type
4568         (operator==): ditto
4569         (copyIntoMinibuffer): ditto
4570
4571 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4572
4573         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4574         by not having a special case, and always doing a full rebreak of
4575         the document after undo.
4576
4577 2003-07-23  Angus Leeming  <leeming@lyx.org>
4578
4579         * factory.C (createInset): InsetExternal::setParams now takes a
4580         Buffer const * arg.
4581
4582 2003-07-23  Angus Leeming  <leeming@lyx.org>
4583
4584         * factory.C (createInset): changed interface to the external and
4585         graphics mailers' string2params functions.
4586
4587 2003-07-23  Angus Leeming  <leeming@lyx.org>
4588
4589         * factory.C (createInset): pass a
4590         Buffer const * parameter to InsetExternalMailer's string2params.
4591
4592 2003-07-22  John Levon  <levon@movementarian.org>
4593
4594         * Thesaurus.h: include the right aiksaurus header
4595
4596 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4597
4598         * MenuBackend.C (expand): check menu shortcuts unconditionally
4599
4600 2003-07-21  Angus Leeming  <leeming@lyx.org>
4601
4602         * factory.C (createInset): pass a
4603         buffer_path parameter to InsetGraphicsMailer's string2params.
4604
4605 2003-07-21  Angus Leeming  <leeming@lyx.org>
4606
4607         * BufferView_pimpl.C (buffer):
4608         * buffer.C (d-tor):
4609         * lyx_main.C (LyX):
4610         * lyxfunc.C (dispatch):
4611         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4612         rather than the grfx shortcut.
4613
4614 2003-07-21  André Pönitz  <poenitz@gmx.net>
4615
4616         * rowpainter.C: remove unused variables
4617
4618         * tabular_funcs.C:
4619         * tabular_funcs.h: move to tabular.C
4620         * Makefile.am: adjust
4621
4622         * tabular.[Ch]: basic optical cleaning
4623
4624         * author.h: pass references, not values
4625
4626 2003-07-18  André Pönitz  <poenitz@gmx.net>
4627
4628         * lyxtext.h:
4629         * metricsinfo.C:
4630         * metricsinfo.h:
4631         * rowpainter.C:
4632         * text.C:
4633         * text2.C:
4634         * text3.C: two-phase drawing for InsetText and InsetTabular
4635         some float -> int changes.
4636
4637 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4638
4639         * lyx_main.C: fix the fix
4640
4641 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4642
4643         * lyx_main.C: fix a crash in batch mode if no files specified
4644         * converter.C: ws
4645
4646 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4647
4648         * format.[Ch] (papersize): moved to BufferParams
4649         * converter.[Ch] (dvips_options): moved to BufferParams
4650         (dvipdfm_options): moved to anon namespace
4651         * bufferparams.[Ch]: added above functions.
4652
4653 2003-07-17  André Pönitz  <poenitz@gmx.net>
4654
4655         * lyxtext.h:
4656         * rowpainter.C:
4657         * text2.C: don't call inset->update() anymore
4658
4659         * metricsinfo.[Ch]: add convenience constructor
4660
4661 2003-07-16  André Pönitz  <poenitz@gmx.net>
4662
4663         * lyxcursor.[Ch]:
4664         * lyxfunc.[Ch]:
4665         * text.C:
4666         * text2.C: replace the LyXCursor::irow_ member with
4667          on-demand computation of the value
4668
4669 2003-07-16  John Levon  <levon@movementarian.org>
4670
4671         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4672
4673 2003-07-15  André Pönitz  <poenitz@gmx.net>
4674
4675         * text.C:
4676         * text2.C: remove no more needed refresh_row
4677
4678 2003-07-15  André Pönitz  <poenitz@gmx.net>
4679
4680         * lyxtext.h:
4681         * rowpainter.C:
4682         * text2.C:
4683         * text3.C: refresh_status tristate -> need_update bool
4684
4685 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4686
4687         * lyxtext.h (init): remove reinit argument (act as if always true)
4688         * text2.C: adjust to that
4689
4690 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4691
4692         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4693         * text3.C: use it to delete selections in some cases
4694         (bugs 441, 673, 702, 954).
4695
4696 2003-07-14  André Pönitz  <poenitz@gmx.net>
4697
4698         * rowpainter.[Ch]: reduce interface
4699
4700 2003-07-14  André Pönitz  <poenitz@gmx.net>
4701
4702         * BufferView_pimpl.C:
4703         * text2.C: adjust after removing unused BufferView * argument
4704
4705 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4706
4707         * text2.C (init): fix a crash fired on resize
4708
4709 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4710
4711         * buffer.[Ch]: added new closing signal
4712         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4713         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4714         BufferView::Pimpl via the closing the signal
4715
4716 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4717
4718         * buffer.[Ch]: take out all bv-related from buffer
4719         * BufferView.C:
4720         * BufferView_pimpl.[Ch]: connect to new signals
4721         * CutAndPaste.C: removed useless asserts
4722         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4723         * lyxvc.[Ch]:
4724         * vc-backend.[Ch]:
4725         * lyxfunc.C: moved view-related funciontality from vc here
4726         * paragraph.C: removed outdated comments
4727         * text.C: ws
4728
4729 2003-07-10  André Pönitz  <poenitz@gmx.net>
4730
4731         * BufferView_pimpl.C:
4732         * tabular.h:
4733         * tabular_funcs.C:
4734         * text.C:
4735         * text2.C: remove InsetText::InnerCache, clean up consequences
4736
4737 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4738
4739         * ispell.C: fix two typos in error messages
4740
4741 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4742
4743         * Extend Note inset to other forms of annotation like Comment
4744         and Greyedout. Right button click gives dialog.
4745
4746         Files modified or added (+):
4747
4748         * insetnote.[Ch]
4749         * FormNote.[Ch]      +
4750         * ControlNote.[Ch]   +
4751         * form_note.fd       +
4752         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4753         frontends/controllers
4754         * xforms/Dialogs.C
4755         * factory.C
4756
4757 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4758
4759         * aspell.C: add missing namespace lyx::support
4760
4761 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4762
4763         * BufferView.[Ch] (newFile): Add
4764         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4765         * LaTeX.[Ch] (message): added this signal and use it
4766         * buffer.[Ch] (busy, message): added these signals and use them
4767         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4768         * converter.C:
4769         * exporter.C:
4770         * format.C:
4771         * importer.C: use buffer signals instead of direct bv calling
4772         * lyx_cb.[Ch] (ShowMessage): removed
4773         * lyx_main.C:
4774         * lyxfunc.C:
4775         * paragraph_funcs.C:
4776         * text2.C: use buffer signals
4777
4778 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4779
4780         * introduce namespace lyx::graphics
4781
4782 2003-07-02  André Pönitz  <poenitz@gmx.net>
4783
4784         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4785
4786 2003-07-01  André Pönitz  <poenitz@gmx.net>
4787
4788         * text.C:
4789         * text2.C:
4790         * text3.C:
4791         * text_funcs.[Ch]:
4792         * textcursor.h:
4793         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4794           text*.C to text_func.C
4795
4796 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4797
4798         * introduce namespace lyx::support
4799
4800 2003-06-30  André Pönitz  <poenitz@gmx.net>
4801
4802         * Chktex.C:
4803         * funcrequest.C:
4804         * lyxtext.h:
4805         * text.C: re-enable --with-included-string
4806
4807 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4808
4809         * textcursor.C: add <config.h>
4810
4811         * text.C (getWord): remove const from word_location arg
4812
4813         * lyxvc.C (getLogFile): fix const type order
4814
4815         * lyxtext.h: remove const from word_location arg, add arg name
4816
4817         * lyxlayout.h: currect type on labeltype.
4818
4819         * importer.C: correct \file
4820
4821         * converter.C (intToFormat): use std:: on ret val, ws changes
4822
4823         * bufferlist.h: correct \file
4824
4825         * buffer.C (makeLinuxDocFile): fix const type order
4826         (makeDocBookFile): ditto
4827         (fillWithBibKeys): use std:: on stdlib args.
4828
4829         * CutAndPaste.C: fix authors.
4830         (availableSelections): use std:: on return vector
4831
4832 2003-06-27  André Pönitz  <poenitz@gmx.net>
4833
4834         * BufferView_pimpl.C:
4835         * bufferview_funcs.C:
4836         * lyxcursor.C:
4837         * lyxcursor.h:
4838         * lyxfunc.C:
4839         * lyxtext.h:
4840         * rowpainter.C:
4841         * text.C:
4842         * text2.C:
4843         * text3.C: remove LyXCursor::row_ member
4844
4845         * lyxtext.h:
4846         * text.C: rename fullRebreak() to partialRebreak() and implement
4847           a fullRebreak() that really bereks fully
4848
4849         * textcursor.h: new struct for cursor-related data
4850
4851 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4852
4853         * lyx_main.C (LyX): get full path of document loaded on the
4854         command line
4855
4856 2003-06-26  André Pönitz  <poenitz@gmx.net>
4857
4858         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4859           remove unused/broken operator>,<,>=.
4860
4861         *       text.C: remove only use of broken operator<= in an Assert().
4862
4863 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4864
4865         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4866         moved errorlist_.clear to showErrorList
4867
4868 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4869
4870         * converter.C (scanLog, runLaTeX):
4871         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4872         move the bv->showErrorList call to the callers
4873         * lyxfunc.C: i.e. here...
4874         * text2.C: and here
4875         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4876         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4877         namespace, the second to...
4878         * buffer_funcs (BufferFormat, parseErrors): added
4879         * errorlist.C (ErrorList(TeXErrors const &)): removed
4880
4881 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4882
4883         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4884
4885 2003-06-24  "Garst R. Reese" <reese@isn.net>
4886
4887         * debug.C: fix typo
4888
4889 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4890
4891         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4892
4893         * version.C.in: change docversion to 1.4
4894
4895 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4896
4897         * buffer.C: fix a bug just introduced
4898
4899 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4900
4901         * buffer.[Ch]: added the parseError signal and use it, removed
4902         sgmlError
4903         * BufferView.[Ch] (addError): moved to ...
4904         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4905         to the Buffer::parseError signal to catch (guess what) parse errors
4906         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4907
4908 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4909
4910         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4911         ability to create a buffer and to return an existing one from
4912         the list. Moved these functions to...
4913         * buffer_funcs.[Ch]: added
4914         * BufferView.[Ch] (loadLyXFile): added
4915         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4916         job removed from bufferlist::loadLyXFile.
4917         * buffer.C (setReadOnly): make it work without view
4918         (i.e added an if (users))
4919
4920 2003-06-19  Angus Leeming  <leeming@lyx.org>
4921
4922         * lfuns.h:
4923         * LyXAction.C (init):
4924         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4925         with LFUN_DIALOG_SHOW <name> <data>.
4926
4927 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4928
4929         * CutAndPaste.C (availableSelections): small compilation fix for
4930         ancient (gcc 2.9x) compilers
4931
4932 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4933
4934         * text3.C (cursorNext): add tmp var
4935
4936         * text2.C (updateCounters): for function calling out of for clause
4937         (replaceSelectionWithString): ditto
4938         (insertStringAsParagraphs): ditto
4939         (getColumnNearX): add tmp var
4940         (setCursorFromCoordinates): add tmp var
4941         (cursorDownParagraph): add tmp var
4942         (deleteEmptyParagraphMechanism): add tmp var
4943
4944         * text.C (insertChar): add tmp var
4945
4946         * rowpainter.C (paintDepthBar): add tmp var
4947
4948         * CutAndPaste.C (availableSelections): potentially check all
4949         paragraphs in a cut to fill the shown strings.
4950
4951 2003-06-18  André Pönitz  <poenitz@gmx.net>
4952
4953         * kbmap.[Ch]: use vector<> instead of list<>
4954
4955 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4956
4957         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4958         pasteSelection with index
4959
4960         * text2.C (pasteSelection): modify, call pasteSelection with index
4961
4962         * paragraph.C (asString): reimplement version with no interval to
4963         call the one with interval.
4964
4965         * lyxtext.h: add index arg to pasteSelection
4966
4967         * MenuBackend.C (MenuItem): handle PasteRecent
4968         (Menu::read::Menutags): add md_pasterecent
4969         (read): handle it
4970         (expandPasteRecent): new function
4971         (expand): use it
4972
4973         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4974
4975         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4976         the limited stack
4977         (availableSelections): new function
4978
4979 2003-06-17  Angus Leeming  <leeming@lyx.org>
4980
4981         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4982
4983 2003-06-17  Angus Leeming  <leeming@lyx.org>
4984
4985         * lfuns.h:
4986         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4987
4988         * lyxfunc.C (dispatch): invoke it.
4989
4990 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4991
4992         * iterators.C (operator++, ParPosition): reintroduce some
4993         const_cast for the benefit of older compilers.
4994
4995 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4996
4997         * text3.C (dispatch): do not modify clipboard when doing
4998         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4999         LFUN_DELETE_SKIP on a selection selection
5000
5001 2003-06-16  André Pönitz  <poenitz@gmx.net>
5002
5003         * BufferView.C:
5004         * buffer.C:
5005         * buffer.h:
5006         * paragraph.C:
5007         * tabular.[Ch]: IU of clone() and getLabelList();
5008
5009 2003-06-13  André Pönitz  <poenitz@gmx.net>
5010
5011         * tabular.h: compactification
5012
5013 2003-06-12  André Pönitz  <poenitz@gmx.net>
5014
5015         * tabular.C:
5016         * tabular.h:
5017         * tabular_funcs.h: some renaming plus whitespace
5018
5019 2003-06-12  André Pönitz  <poenitz@gmx.net>
5020
5021         * BufferView.C:
5022         * BufferView_pimpl.C:
5023         * CutAndPaste.C:
5024         * buffer.C:
5025         * iterators.[Ch]:
5026         * lyxfunc.C:
5027         * text.C:
5028         * toc.C: Return a Paragraph & for ParIterator::operator*()
5029
5030 2003-06-11  John Levon  <levon@movementarian.org>
5031
5032         * lyx_main.C:
5033         * ToolbarBackend.h:
5034         * ToolbarBackend.C: add "Toolbars" section and
5035         put the flags there
5036
5037 2003-06-10  Angus Leeming  <leeming@lyx.org>
5038
5039         * lfuns.h:
5040         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5041
5042         * lyxfunc.C (dispatch): invoke it.
5043
5044 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5045
5046         * main.C: protect <ios> with HAVE_IOS
5047         (main): protect sync_with_stdio with HAVE_IOS
5048
5049 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5050
5051         * text2.C (cutSelection): adjust
5052         (pasteSelection): adjust
5053
5054         * messages.C: handle get of empty string
5055
5056         * main.C (main): use sync_with_stdio(false)
5057
5058         * lyxfunc.C (dispatch): adjust
5059
5060         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5061         (WriteAs): remove unneeded BufferView arg.
5062
5063         * bufferparams.h: use correct types on papersize, papersize2 and
5064         paperpackage.
5065
5066         * bufferparams.C (readToken): adjust for type
5067         (writeLaTeX): add missing cases to switch.
5068
5069         * bufferlist.C (quitWriteBuffer): adjust
5070         (close): adjust
5071
5072         * buffer.C (asciiParagraph): remove some commented code.
5073
5074         * CutAndPaste.C: remove current_view extern variable.
5075         (cutSelection): add BufferParams arg.
5076         (eraseSelection): add BufferParams arg.
5077         (pasteSelection): add Buffer const & arg
5078
5079 2003-06-07  John Levon  <levon@movementarian.org>
5080
5081         * buffer.C:
5082         * paragraph_funcs.C:
5083         * paragraph_pimpl.C:
5084         * text.C:
5085         * text2.C:
5086         * paragraph.h:
5087         * paragraph.C: allow InsetERT to freely space lines,
5088         and some consolidation of code
5089
5090 2003-06-06  José Matos  <jamatos@fep.up.pt>
5091
5092         * buffer.C (makeDocBookFile): fix bug #821
5093
5094 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5095
5096         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5097
5098 2003-06-04  Angus Leeming  <leeming@lyx.org>
5099
5100         * buffer.C: bump format to 224.
5101
5102 2003-06-05  André Pönitz  <poenitz@gmx.net>
5103
5104         * text2.C (redoParagraphs): remove two const_cast<>
5105
5106 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5107
5108         * ParagraphList.h: remove last remnants of NO_STD_LIST
5109
5110 2003-06-03  Angus Leeming  <leeming@lyx.org>
5111
5112         * factory.C (createInset): small change to the way InsetExternal's params
5113         are set.
5114
5115 2003-06-04  André Pönitz  <poenitz@gmx.net>
5116
5117         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5118
5119         * paragraph_pimpl.h:
5120         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5121
5122         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5123
5124         * undo_funcs.C: make some simple cases of undo work again
5125
5126 2003-06-03  John Levon  <levon@movementarian.org>
5127
5128         * ispell.C: HPUX doesn't have sys/select.h
5129         (from Albert Chin)
5130
5131 2003-06-03  John Levon  <levon@movementarian.org>
5132
5133         * CutAndPaste.C: update tabular and include inset
5134         buffer references
5135
5136         * buffer.h:
5137         * paragraph.h:
5138         * paragraph.C: remove owningBuffer(), don't pass Buffer
5139         to clone()
5140
5141         * factory.C: insetGraphicsParams changed
5142
5143 2003-06-02  John Levon  <levon@movementarian.org>
5144
5145         * LyXAction.C:
5146         * factory.C:
5147         * lfuns.h:
5148         * lyxfunc.C:
5149         * text3.C: remove insetparent
5150
5151 2003-06-02  John Levon  <levon@movementarian.org>
5152
5153         * buffer.h:
5154         * buffer.C: fix inset_iterator.end(), move out of line
5155         (bug 1149)
5156
5157 2003-06-01  John Levon  <levon@movementarian.org>
5158
5159         * text3.C: use a proper cut/paste when doing inset
5160         insert (from Jürgen Spitzmüller)
5161
5162 2003-06-01  John Levon  <levon@movementarian.org>
5163
5164         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5165
5166 2003-05-30  André Pönitz  <poenitz@gmx.net>
5167
5168         * rowpainter.C: unify second drawing phase
5169
5170 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5171
5172         * trans_mgr.C: remove one case of current_view
5173
5174         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5175
5176         * paragraph_funcs.h: remove paragraph.h include
5177
5178         * paragraph.h: delete NO_STD_LIST stuff
5179
5180         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5181
5182         * buffer.h: remove paragraph.h include
5183
5184         * ParagraphList.C: delete file
5185
5186         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5187
5188         * toc.C (getTocList): adjust
5189
5190         * paragraph_pimpl.C (validate): adjust
5191
5192         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5193
5194         * paragraph.C (Paragraph): adjust
5195         (getPositionOfInset): use const_iterator, adjust
5196         (bibitem): use const_iterator, adjust
5197         (setInsetOwner): adjust
5198
5199         * iterators.C (operator++): adjust
5200
5201         * InsetList.[Ch]: Replace selfmade iterator with standard
5202         vector::iterator also introduce const_iterator. Remove getPos,
5203         getInset and setInset from InsetTable. Adjust accordingly.
5204
5205         * BufferView.C (lockInset): adjust
5206         (ChangeInsets): adjust
5207
5208         * tabular.[Ch]: delete commented same_id functions
5209
5210 2003-05-28  John Levon  <levon@movementarian.org>
5211
5212         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5213
5214 2003-05-28  André Pönitz  <poenitz@gmx.net>
5215
5216         * metricsinfo.[Ch]: remove 'fullredraw' member
5217
5218 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5219
5220         * lyxtextclass.C (operator): remove caching.
5221
5222 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5223
5224         * text3.C: adjust
5225
5226         * text2.C (cursorBottom): adjust
5227         (setCounter): use ParagraphList::find, adjust
5228
5229         * text.C (workWidth): use ParagraphList::find, adjust
5230
5231         * lyxcursor.C (LyXCursor): adjust
5232
5233         * buffer.C (inset_iterator): adjust
5234
5235         * ParagraphList.h: make iterator(value_type) private, make
5236         ParagraphList a friend of iterator.
5237
5238         * ParagraphList.C (find): new function
5239
5240         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5241
5242 2003-05-27  André Pönitz  <poenitz@gmx.net>
5243
5244         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5245
5246 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5247
5248         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5249
5250 2003-05-26  John Levon  <levon@movementarian.org>
5251
5252         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5253
5254 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5255
5256         * remove same_id from function signatures, adjust.
5257
5258 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5259
5260         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5261
5262         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5263
5264         * paragraph.C (Paragraph): get rid of same_ids parameter
5265
5266         * ParagraphList.C (insert): adjust
5267         (push_back): adjust
5268
5269 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5270
5271         * paragraph_funcs.C (breakParagraph): adjust
5272         (breakParagraphConservative): adjust
5273
5274         * buffer.C (readParagraph): adjust
5275
5276         * ParagraphList.C (insert): take a reference instead of a pointer
5277         (insert): adjust
5278
5279         * paragraph.[Ch] (id): new function
5280
5281         * bufferlist.C (newFile): adjust
5282
5283         * ParagraphList.C (ParagraphList): adjust
5284         (assign): adjust
5285         (push_back): take a reference instead of a pointer.
5286
5287         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5288
5289         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5290         instead.
5291
5292         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5293         set else use old code.
5294
5295         * ParagraphList.C: remove all NO_NEXT code and only compile this
5296         code of NO_STD_LIST is set.
5297
5298 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5299
5300         * BufferView_pimpl.C:
5301         * TextCache.C:
5302         * TextCache.h:
5303         * bufferlist.C:
5304         * errorlist.h:
5305         * format.C:
5306         * format.h:
5307         * graph.C:
5308         * lyxfunc.C:
5309         * lyxrc.C:
5310         * graphics/GraphicsConverter.C:
5311         * graphics/PreviewLoader.C: header adjustment
5312
5313 2003-05-23  Angus Leeming  <leeming@lyx.org>
5314
5315         * LaTeXFeatures.[Ch] (useBabel): new method.
5316         * bufferparams.C (writeLaTeX): use it.
5317
5318 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5319
5320         * ParagraphList.h (set): remove unused function.
5321
5322 2003-05-23  André Pönitz  <poenitz@gmx.net>
5323
5324         * BufferView.C:
5325         * BufferView_pimpl.C:
5326         * buffer.C:
5327         * buffer.h:
5328         * lyxfunc.C:
5329         * undo_funcs.C: setUndo reworked
5330
5331         * iterators.[Ch]: add access to topmost ParagraphList
5332
5333         * lyxtext.[Ch] (workWidth): add a const
5334
5335 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5336
5337         * texrow.[Ch] (increasePos): remove function
5338         * exporter.C (export): removed unused var and outdated comment
5339
5340 2003-05-23  Angus Leeming  <leeming@lyx.org>
5341
5342         * latexrunparams.h: rename fragile as moving_arg.
5343         * paragraph.C (simpleTeXOnePar): ditto.
5344         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5345
5346 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5347
5348         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5349         (createUndo): ditto
5350         (textUndoOrRedo): comment out a currently unused var.
5351
5352         * paragraph.h (NO_NEXT): enable NO_NEXT
5353
5354         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5355
5356         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5357
5358         * exporter.C (Export): adjust for removeAutoInsets removal.
5359
5360         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5361
5362         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5363
5364         * BufferView.[Ch] (removeAutoInsets): delete function
5365
5366 2003-05-22  Angus Leeming  <leeming@lyx.org>
5367
5368         * latexrunparams.h: add a free_spacing variable.
5369
5370         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5371         to pass moving_arg, as the data is stored in runparams.fragile.
5372
5373         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5374         to Inset::latexOptional or to simpleTeXOnePar.
5375
5376         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5377         free_spacing arg to Inset::latexOptional.
5378
5379         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5380         free_spacing arg.
5381
5382 2003-05-22  Angus Leeming  <leeming@lyx.org>
5383
5384         * latexrunparams.h: add fragile and use_babel variables.
5385
5386         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5387         * buffer.C (makeLaTeXFile): store this returned value in
5388         runparams.use_babel, thus passing it to the inset::latex methods.
5389
5390         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5391         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5392
5393         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5394         longer has a fragile arg, as it is stored in runparams.fragile.
5395
5396         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5397         moving_arg parameter as the data is stored in runparams.fragile.
5398
5399         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5400         a fragile parameter as the data is stored in runparams.fragile.
5401
5402 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5403
5404         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5405
5406 2003-05-22  Angus Leeming  <leeming@lyx.org>
5407
5408         * latexrunparams.h: add a 'bool nice' which defaults to false.
5409
5410         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5411         now encapsulated within runparams.
5412
5413         * bufferlist.C (updateIncludedTeXfiles):
5414         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5415
5416 2003-05-22  Angus Leeming  <leeming@lyx.org>
5417
5418         * latexrunparams.h: new file containing struct LatexRunParams.
5419         * Makefile.am: add new file.
5420
5421         * LaTeX.[Ch] (c-tor, run):
5422         * buffer.[Ch] (makeLaTeXFile):
5423         * bufferlist.[Ch] (updateIncludedTeXfiles):
5424         * converter.C (convert, scanLog):
5425         * converter.[Ch] (runLaTeX):
5426         * exporter.C (Export):
5427         * paragraph.[Ch] (simpleTeXOnePar):
5428         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5429         * paragraph_funcs.[Ch] (latexParagraphs):
5430         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5431         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5432         pass around a LatexRunParams parameter.
5433
5434 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5435
5436         * paragraph.[Ch]: remove unused constructor
5437
5438         * ParagraphList.C (erase): new function, taking two iterators
5439
5440 2003-05-22  André Pönitz  <poenitz@gmx.net>
5441
5442         * undo_funcs.C: remove duplicated code
5443
5444         * iterator.[Ch]: operator=
5445
5446 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5447
5448         * tabular.C (SetMultiColumn): ws changes
5449
5450         * rowpainter.C (paintFirst): get rid of a ->previous
5451
5452         * lyx_cb.C (getPossibleLabel): parlist simplification
5453
5454         * BufferView.C (ChangeInsets): simplify slightly.
5455
5456 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5457
5458         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5459         * lfuns.h: new LFUN_SPACE
5460         * lyxfunc.C: protected space has a new lfun
5461         * paragraph_funcs.C: read new space insets
5462         * text3.C:
5463         * factory.C: handle new space insets
5464
5465 2003-05-22  André Pönitz  <poenitz@gmx.net>
5466
5467         * BufferView.C:
5468         * BufferView_pimpl.C:
5469         * buffer.[Ch]:
5470         * lyxfunc.C:
5471         * undo_funcs.C: return a ParIterator from getParFromID.
5472
5473         * iterators.[Ch]: add two const's
5474
5475 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5476
5477         * toc.C (getTocList): adjust
5478
5479         * iterators.[Ch]: rework for parlist
5480
5481         * buffer.C (par_iterator_begin): adjust
5482         (par_iterator_end): adjust
5483
5484         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5485
5486         * BufferView.C (removeAutoInsets): adjust
5487         (ChangeInsets): adjust
5488
5489 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5490
5491         * text.C (top_y): fix bug 1110
5492
5493 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5494
5495         * errorlist.[Ch]: added
5496         * buffer.C:
5497         * BufferView.[Ch]:
5498         * BufferView_pimpl.C:
5499         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5500         instead
5501
5502 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5503
5504         * Makefile.am: ensure that lyx is relinked upon changes to the
5505         various "convenience" libs.
5506
5507 2003-05-20  Angus Leeming  <leeming@lyx.org>
5508
5509         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5510         files are compiled in alphabetical order again.
5511
5512         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5513
5514 2003-05-19  Angus Leeming  <leeming@lyx.org>
5515
5516         * gettext.[Ch]: remove "char const * _(char const *)".
5517
5518 2003-05-19  André Pönitz  <poenitz@gmx.net>
5519
5520         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5521
5522         * Makefile.am:
5523         * BufferView.C:
5524         * DepTable.h:
5525         * LaTeXFeatures.C:
5526         * buffer.C:
5527         * lyxfont.C:
5528         * lyxlex.h:
5529         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5530
5531 2003-05-19  André Pönitz  <poenitz@gmx.net>
5532
5533         * buffer.C:
5534         * lyxlayout.[Ch]:
5535         * lyxtextclass.[Ch]:
5536         * paragraph.C:
5537         * paragraph_funcs.[Ch]:
5538         * text2.C:
5539         * text3.C: more insetenv work
5540
5541 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5542
5543         * ParagraphParameters.C (params2string): small bug fixed
5544
5545 2003-05-16  André Pönitz  <poenitz@gmx.net>
5546
5547         * debug.C:
5548         * bufferview_funcs.C: patch from Kornel Benko to prevent
5549           crash when _(...) is called twice in a statement
5550
5551 2003-05-16  André Pönitz  <poenitz@gmx.net>
5552
5553         * BufferView.C:
5554         * lyxfunc.C:
5555         * text.C:
5556         * text2.C:
5557         * text3.C:
5558         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5559
5560 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5561
5562         * lyx_main.C (init): remove spurious static_cast
5563
5564 2003-05-14  André Pönitz  <poenitz@gmx.net>
5565
5566         * BufferView.C: fix format string
5567
5568 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5569
5570         * BufferView.[Ch] (insertErrors): removed
5571         * BufferView.[Ch] (showErrorList): added
5572         * buffer.C (runChkTeX):
5573         * converter.C (scanLog): call showErrorList instead of inserterrors
5574
5575 2003-05-13  André Pönitz  <poenitz@gmx.net>
5576
5577         * BufferView_pimpl.C:
5578         * buffer.C:
5579         * bufferview_func.C:
5580         * MenuBackend.C:
5581         * lyxfunc.C:
5582         * lyxrc.C:
5583         * tex-accent.C:
5584         * text3.C:
5585         * toc.C:
5586         * tabular_funcs.h: tostr() from its own header
5587
5588         * ParagraphParameters.C:
5589         * ToolbarBackend.C:
5590         * bufferparams.C:
5591         * format.C:
5592         * lyxlex_pimpl.C:
5593         * text3.C: STRCONV()
5594
5595 2003-05-12  André Pönitz  <poenitz@gmx.net>
5596
5597         * BufferView.C:
5598         * BufferView_pimpl.C:
5599         * CutAndPaste.C:
5600         * LaTeX.C:
5601         * LaTeXFeatures.C:
5602         * ParagraphParameters.C:
5603         * buffer.C:
5604         * bufferlist.C:
5605         * bufferparams.C:
5606         * bufferview_funcs.C:
5607         * converter.C:
5608         * counters.C:
5609         * debug.C:
5610         * exporter.C:
5611         * format.C:
5612         * importer.C:
5613         * lyx_cb.C:
5614         * lyx_main.C:
5615         * lyxfont.C:
5616         * lyxfunc.C:
5617         * lyxvc.C:
5618         * paragraph.C:
5619         * paragraph_funcs.C:
5620         * tabular.C:
5621         * tabular_funcs.C:
5622         * text2.C:
5623         * text3.C:  boost::format -> bformat  all over the place
5624
5625
5626 2003-05-09  André Pönitz  <poenitz@gmx.net>
5627
5628         * LColor.[Ch]: Pimpl the #include <map> away
5629
5630 2003-05-09  John Levon  <levon@movementarian.org>
5631
5632         * bufferlist.C: never remove emergency saves
5633
5634 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5635
5636         * Makefile.am: better lib building
5637
5638 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5639
5640         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5641         instead.
5642         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5643         (simpleTeXSpecialChars): adjust
5644         (simpleTeXSpecialChars): adjust
5645         * paragraph.C (simpleTeXOnePar): adjust
5646         * buffer.C (makeLaTeXFile): adjust
5647
5648         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5649
5650         * text2.C (changeDepth): parlist cleanup
5651         (getColumnNearX): ditto
5652
5653         * rowpainter.C (getLabelFont): parlist cleanup
5654
5655         * bufferlist.C (newFile): parlist cleanup
5656
5657         * CutAndPaste.C (eraseSelection): parlist cleanup
5658
5659         * BufferView_pimpl.C (trackChanges): parlist cleanup
5660         (dispatch): ditto
5661
5662         * BufferView.C (lockInset): parlist cleanup.
5663         (ChangeInsets): ditto
5664
5665 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5666
5667         * CutAndPaste.h: Update file header.
5668
5669         * CutAndPaste.C: Update file header.
5670         Store the parts cut out of the Document in a limited_stack.
5671         (copySelection): adjust
5672         (pasteSelection): new function, takes the index in the limited stack.
5673         (nrOfParagraphs): adjust
5674         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5675         simplify error inset insertion.
5676         (checkPastePossible): adjust
5677
5678 2003-05-06  John Levon  <levon@movementarian.org>
5679
5680         * text2.C: don't cast wrap inset to float
5681
5682 2003-05-05  André Pönitz  <poenitz@gmx.net>
5683
5684         * iterator.C:
5685         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5686
5687         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5688           few naked Paragraph *.
5689
5690 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5691
5692         * bufferparams.C: Output warning if a document with missing
5693         TeX document class is loaded
5694         * exporter.C: Disable TeX exports if the document class is missing
5695         * lyxtextclass.C:
5696         * lyxtextclass.h:
5697         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5698         isTeXClassAvailable()
5699
5700 2003-05-03  John Levon  <levon@movementarian.org>
5701
5702         * BufferView.h:
5703         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5704         explicit cursor show/hide
5705
5706         * BufferView_pimpl.h:
5707         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5708         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5709
5710         * lyxfunc.C: hide cursor before dispatching.
5711
5712         * lyx_cb.C:
5713         * lyxfind.C:
5714         * text.C:
5715         * text3.C: remove explicit cursor hides
5716
5717 2003-05-02  André Pönitz  <poenitz@gmx.net>
5718
5719         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5720
5721         * undo_funcs.C:
5722         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5723           linked lists
5724
5725         * text2.C: tiny whitespace
5726
5727 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5728
5729         * undo_funcs.C: almost only ws changes.
5730
5731         * ParagraphList.C (splice): just return if pl is empty.
5732
5733 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5734
5735         * ParagraphList.C (splice): new function.
5736
5737         * CutAndPaste.C (pasteSelection): use it
5738
5739 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5740
5741         * CutAndPaste.C (pasteSelection): remove the last next and
5742         previous from this file.
5743
5744 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5745
5746         * CutAndPaste.C (pasteSelection): more clean up, user proper
5747         ParagraphList functions for pasteing.
5748
5749         * ParagraphList.C (insert): new function, three arg insert
5750
5751 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5752
5753         * ParagraphList.C (insert): new function, three arg insert
5754
5755         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5756         not on paragraphs.
5757
5758 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5759
5760         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5761
5762 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5763
5764         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5765
5766 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5767
5768         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5769         (copySelection): clean up a bit.
5770         (pasteSelection): use make_pair
5771
5772         * ParagraphList.C (ParagraphList): implement copy constructor
5773         (operator=): implement, base on copy constructor.
5774         (assign): new func
5775
5776         * paragraph.C (erase): return a bool
5777
5778         * paragraph_pimpl.C (erasePos): remove function, move contents...
5779         (erase): ... here. Return a bool.
5780         (erase): call erase instead of erasePos.
5781
5782 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5783
5784         * ParagraphList.h: define PitPosPair
5785         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5786         ParagraphList, fix a bug on pasting multiple pars
5787         * text2.C: change interface to C&P
5788
5789 2003-04-30  André Pönitz  <poenitz@gmx.net>
5790
5791         * undo_func.C: revert part of yesterday's patch 2
5792
5793 2003-04-30  John Levon  <levon@movementarian.org>
5794
5795         * LColor.C: s/tabular/table/
5796
5797 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5798
5799         * text3.C (dispatch): do not convert iterator -> pointer
5800         * undo_funcs.C (setCursorParUndo): ditto
5801         * text_funcs.C (transposeChars): ditto
5802
5803         * text2.C (setLayout): ws changes only
5804
5805         * text.C (breakParagraph): do not convert iterator -> pointer
5806         (insertChar): ditto
5807         (acceptChange): ditto
5808         (rejectChange): ditto
5809         (changeCase): ditto
5810         (Delete): ditto
5811         (backspace): ditto
5812
5813         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5814         pointer
5815
5816 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5817
5818         * text3.C (gotoInset): YABG (yet another bad getChar)
5819
5820 2003-04-29  André Pönitz  <poenitz@gmx.net>
5821
5822         * paragraph.h: make operator= private unimplemented as long as
5823           it is unusable
5824
5825         * ParagraphList.C: whitespace
5826
5827         * paragraph.[Ch]:
5828         * paragraph_pimpl.[Ch]:
5829         * paragraph_funcs.C:
5830         * CutAndPaste.C:
5831         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5832
5833         * text2.C:
5834           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5835
5836 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5837
5838         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5839         * paragraph.[Ch] (erase):
5840         * paragraph_pimpl.[Ch] (erase): change return type and value
5841         * text2.C (cutSelection): some rework
5842
5843 2003-04-28  John Levon  <levon@movementarian.org>
5844
5845         * bufferlist.C: changes for unsaved changes dialog
5846
5847 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5848
5849         * bufferlist.C (newFile): set language (messages_) for new
5850         documents also.
5851
5852         * buffer.C (readFile): ws changes only.
5853
5854 2003-04-28  André Pönitz  <poenitz@gmx.net>
5855
5856         * undo_funcs.C:
5857         * lyxfunc.C:
5858         * buffer.[Ch]:
5859         * BufferView_pimpl.C:
5860         * BufferView.C: getParFromID related ParagraphList::iterator changes
5861
5862 2003-04-28  André Pönitz  <poenitz@gmx.net>
5863
5864         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5865           Changes
5866
5867 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5868
5869         * messages.C: remove one more localedir class variable.
5870
5871 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5872
5873         * messages.C (getLocaleDir): singleton generation function
5874         (Pimpl): use it.
5875         (Messages): add a default constructor.
5876
5877         * main.C (main): do not setup localedir here, do not call
5878         gettext_init.
5879
5880         * gettext.C (_): use it.
5881         (gettext_init): delete funciton
5882
5883 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5884
5885         * gettext.C (getLyXMessages): new singleton generating function.
5886
5887         * buffer.C (updateDocLang): adjust
5888
5889         * Makefile.am (messages.o): add target
5890         (main.o): remove target
5891
5892 2003-04-27  John Levon  <levon@movementarian.org>
5893
5894         * bufferlist.C:
5895         * lyx_cb.C:
5896         * lyxfunc.C:
5897         * lyxvc.C: specify cancel button in Alert::prompt
5898
5899 2003-04-26  John Levon  <levon@movementarian.org>
5900
5901         * text3.C:
5902         * lyxfunc.C:
5903         * lfuns.h:
5904         * LyXAction.C: add LFUN_INSET_SETTINGS
5905
5906         * lyxfunc.C: don't enable tabular-feature when there's
5907         just any locking inset
5908
5909 2003-04-26  John Levon  <levon@movementarian.org>
5910
5911         * bufferlist.C: re-add Cancel to buffer close question
5912
5913         * lyxfunc.C: fix import UI a bit
5914
5915 2003-04-25  John Levon  <levon@movementarian.org>
5916
5917         * gettext.C: remove the broken asserts for now
5918
5919 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5920
5921         * messages.C: make case where setlocale cannot comply work better.
5922
5923         * buffer.C (updateDocLang): new function
5924         (changeLanguage): use it
5925         (readFile): use it
5926
5927         * text2.C (setCounter): use B_ a bit.
5928
5929         * lyxlayout.C (Read): be sure to trim the label strings.
5930
5931         * messages.C (Messages): fix typo in comment
5932
5933         * buffer.C (readFile): set message_ after file is loaded.
5934         (makeDocBookFile): remove double return
5935         (changeLanguage): reset message_ upon language change.
5936         (B_): new func, use this to get translated buffer strings.
5937
5938         * main.C: add myself and Jean Marc as authors.
5939
5940 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5941
5942         * messages.[hC]: pimplify Messages, and three different pimpls to be
5943         used in different circumstances.
5944
5945         * gettext.[Ch]: change for use with new message code.
5946
5947 2003-04-24 André Pönitz <poenitz@gmx.net>
5948
5949         * factory.C: support for eqref
5950
5951 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5952
5953         * messages.[Ch]: add missing char
5954
5955         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5956
5957         * messages.[Ch]: New files
5958
5959 2003-04-18  John Levon  <levon@movementarian.org>
5960
5961         * BufferView.h:
5962         * BufferView.C:
5963         * BufferView_pimpl.C:
5964         * lfuns.h:
5965         * LyXAction.C:
5966         * lyxtext.h:
5967         * text2.C: remove layout-copy/paste (bug 778)
5968
5969 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5970
5971         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5972
5973 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5974
5975         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5976         if they succeed. Act accordingly.
5977
5978 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5979
5980         * text2.C (setCharFont): adjust
5981         (setCounter): adjust
5982         (insertStringAsLines): adjust
5983
5984         * text.C (leftMargin): adjust
5985         (setHeightOfRow): adjust
5986
5987         * rowpainter.C (paintFirst): adjust
5988         (paintLast): adjust
5989
5990         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5991         (outerHook): ditto
5992         (isFirstInSequence): ditto
5993         (getEndLabel): ditto
5994         (outerFont): adjust
5995
5996         * paragraph.C (getParLanguage): comment out some hard stuff.
5997
5998         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5999         (sgmlError): ditto
6000         (simpleDocBookOnePar): ditto
6001         (makeDocBookFile): use ParagraphList::iterator
6002
6003         * CutAndPaste.C (pasteSelection): adjust
6004
6005 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6006
6007         * text2.C (getFont): adjust
6008         (getLayoutFont): adjust
6009         (getLabelFont): adjust
6010
6011         * paragraph_funcs.C (TeXOnePar): adjust
6012
6013         * buffer.C (simpleLinuxDocOnePar): adjust
6014         (simpleDocBookOnePar): adjust
6015
6016         * CutAndPaste.C (pasteSelection): adjust
6017
6018         * BufferView.C (getEncoding): adjust
6019
6020         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6021
6022 2003-04-16  John Levon  <levon@movementarian.org>
6023
6024         * lyxfind.C: use parlist stuff for search/changes
6025
6026 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6027
6028         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6029
6030         * text2.C (deleteEmptyParagraphMechanism): adjust
6031
6032         * text2.[Ch] (ownerParagraph): delete func (both of them
6033
6034 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6035
6036         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6037
6038 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6039
6040         * ParagraphList.C: prepare for NO_NEXT
6041
6042 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6043
6044         * text2.C (getFont): adjust
6045         (getLayoutFont): adjust
6046         (getLabelFont): adjust
6047
6048         * paragraph.C (getFont): adjust
6049         (getLabelFont): adjust
6050         (getLayoutFont): adjust
6051
6052         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6053
6054 2003-04-15  John Levon  <levon@movementarian.org>
6055
6056         From Angus Leeming
6057
6058         * lyx_main.C: handle Include in .ui files
6059
6060 2003-04-15  John Levon  <levon@movementarian.org>
6061
6062         * MenuBackend.C: make the doc files length shorter
6063
6064         * ToolbarBackend.h:
6065         * ToolbarBackend.C: handle toolbar placement flags,
6066         Minibuffer
6067
6068 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6069
6070         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6071         adjust
6072
6073         * paragraph_funcs.C (TeXOnePar): adjust
6074
6075         * paragraph.C (getLabelFont): add outerfont arg, adjust
6076         (getLayoutFont): ditto
6077         (simpleTeXOnePar): adjust
6078
6079         * paragraph_pimpl.C (realizeFont): delete func
6080
6081 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6082
6083         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6084         row argument, constify cur argument.
6085
6086 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6087
6088         * text2.C (getFont): adjust
6089         (getLayoutFont): adjust
6090         (getLabelFont): adjust
6091
6092         * paragraph_funcs.C (TeXOnePar): adjust
6093         (outerFont): new func...
6094         (realizeFont): ...moved out from here, changed this to facilitate
6095         transition
6096
6097         * paragraph.C (getFont): take outerfont as arg, adjust
6098         (simpleTeXOnePar): add outerfont arg, adjust
6099
6100         * buffer.C (simpleLinuxDocOnePar): adjust
6101         (simpleDocBookOnePar): adjust
6102
6103         * CutAndPaste.C (pasteSelection): adjust
6104
6105         * BufferView.C (getEncoding): adjust
6106
6107 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6108
6109         * text2.C (setCharFont): adjust
6110         (setCounter): adjust
6111
6112         * text.C (leftMargin): adjust
6113         (setHeightOfRow): adjust
6114
6115         * rowpainter.C (paintFirst): adjust
6116         (paintLast): adjust
6117
6118         * paragraph_pimpl.C (realizeFont): adjust
6119
6120         * paragraph.C (isFirstInSequence): move from here...
6121         * paragraph_funcs.C (isFirstInSequence): ...to here
6122
6123         * paragraph.C (outerHook): move from here...
6124         * paragraph_funcs.C (outerHook): ...to here
6125
6126         * paragraph.C (depthHook): move from here...
6127         * paragraph_funcs.C (depthHook): ...to here
6128
6129         * paragraph.C (getEndLabel): move from here...
6130         * paragraph_funcs.C (getEndLabel): ...to here
6131
6132         * text2.C (realizeFont): move from here...
6133         * paragraph_funcs.C (realizeFont): ...to here
6134
6135 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6136
6137         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6138
6139 2003-04-14  Angus Leeming  <leeming@lyx.org>
6140
6141         * LColor.[Ch]: scrap LColor mathcursor.
6142
6143 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6144
6145         * lyxlex.[Ch] (text): delete function
6146         * trans.C (Load): adjust
6147         * paragraph_funcs.C (readParToken): adjust
6148
6149 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6150
6151         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6152         vector<char> instead of a char[].
6153
6154         * lyxlex_pimpl.C (getString): adjust
6155         (next): adjust
6156         (lex): use getString
6157         (eatLine): adjust
6158         (nextToken): adjust
6159
6160         * lyxlex.C (text): use pimpl_->getString()
6161         (getBool): ditto
6162         (findToken): ditto
6163
6164 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6165
6166         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6167         (makeFontEntriesLayoutSpecific): temp var for par.size()
6168         (setLayout): temp var for ownerParagraphs().end()
6169         (fullRebreak): temp var for rows().end()
6170         (selectionAsString): temp var for boost::next(startpit), realize
6171         that the while really is a regular for loop.
6172         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6173         setCursor in one place.
6174         (setParagraph): temp vr for ownerParagraphs().end()
6175         (updateCounters): make the while loop a for loop
6176         (cutSelection): temp var for ownerParagraphs().end()
6177         (updateInset): make the do {} while() a regular for loop
6178         (getCursorX): use temp vars
6179         (setCurrentFont): use temp vars
6180         (getColumnNearX): use temp vars
6181
6182 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6183
6184         * text.C (transformChar): use temp var for getChar
6185         (computeBidiTables): use temp var for row->par()
6186         (fill): move temp vars for row->par() and pit->layout() earlier in
6187         the function.
6188         (labelFill): use temp var for row->par()
6189         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6190         asc and desc, realize that pit never changes and that firstpit is
6191         just a duplicate and not needed. Exchange rit->par() with pit in a
6192         lot of places.
6193         (breakAgain): use a temp var for boost::next(rit)
6194         (breakAgainOneRow): ditto
6195         (breakParagraph): use a temp var for rows().begin()
6196         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6197         (cursorRightOneWord): use temp var for cursor.par() and
6198         cursor.pos(), remove usage of tmpcursor.
6199         (cursorLeftOneWord): use temp var for cursor.par() and
6200         cursor.pos() only set cur at end of function.
6201
6202 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6203
6204         * text.C, text2.C: exchange all usage of Paragraph::next with
6205         boost::next(ParagraphList::iterator)
6206
6207         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6208
6209         * text2.C (cursorTop): simplify implementation
6210         (cursorBottom): ditto
6211         (setParagraph): use ParagraphList::iterator
6212         (setCurrentFont): adjust
6213         (getColumnNearX): adjust
6214         (cursorRight): adjust
6215         (cursorLeft): remove usage of Paragraph::previous
6216         (cursorUpParagraph): ditto
6217         (deleteEmptyParagraphMechanism): slight cleanup
6218
6219         * text.C (isBoundary): take a Paragraph const & instead of a
6220         pointer as arg.
6221         (addressBreakPoint): ditto
6222         (leftMargin): remove usage of Paragraph::previous.
6223         (setHeightOfRow): ditto
6224         (cursorLeftOneWord): ditto
6225         (selectNextWordToSpellcheck): ditto
6226         (Delete): ditto
6227         (backspace): ditto
6228         (breakParagraph): remove one usage of Paragraph::next
6229         (redoParagraph): ditto
6230         (acceptChange): ditto
6231         (insertChar): adjust
6232         (rowBreakPoint): adjust
6233
6234         * bufferview_funcs.C (toggleAndShow): adjust
6235
6236 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6237
6238         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6239         methods to access it.
6240         * lyxtext.h:
6241         * text.C: Added updateRowPositions to compute all row positions.
6242         Make top_y and getRowNearY() to use the cached y position
6243
6244 2003-04-11  John Levon  <levon@movementarian.org>
6245
6246         * text.C (rowBreakPoint): reintroduce the labelEnd
6247         checks, code copied from the row fill stuff. Deep voodoo.
6248
6249         * text.C (fill): add a comment and debugging for the
6250         next poor soul.
6251
6252 2003-04-11  John Levon  <levon@movementarian.org>
6253
6254         * text.C: make sure fullrow insets get wrapped to the next line,
6255         even when they're in a manual label
6256
6257 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6258
6259         * text2.C (insertParagraph): make it take ParagraphList::iterator
6260         as arg.
6261         (setLayout): make it return ParagraphList::iterator
6262         (redoParagraphs): ditto
6263         (setCounter): ditto
6264         (checkParagraph): ditto
6265
6266         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6267
6268         * text2.C: adjust several funcs.
6269         (realizeFont): take a ParagraphList::iterator as arg.
6270         (getLayoutFont): ditto
6271         (getLabelFont): ditto
6272         (setCharFont): ditto
6273
6274         * text.C: adjust several funcs.
6275
6276 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6277
6278         * text.C (selectNextWordToSpellcheck): don't accidentally
6279         skip insets
6280
6281 2003-04-10  John Levon  <levon@movementarian.org>
6282
6283         * ToolbarBackend.C (getIcon): special handling for
6284         LFUN_MATH_DELIM
6285
6286 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6287
6288         * text2.C (cursorRight): a getChar assert fixed
6289
6290 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6291
6292         * text2.C (getFont): change to take a ParagraphList::iterator
6293         instead of Paragraph*
6294         Adjust several functions.
6295
6296         * text.C (transformChar): change to take a ParagraphList::iterator
6297         instead of Paragraph*
6298         (singleWidth): ditto
6299         Adjust several functions.
6300
6301         * rowpainter.C: adjust several functions
6302         * rowpainter.h:store a ParagraphList::iterator and not a
6303         Paragraph&.
6304
6305
6306 2003-04-09  John Levon  <levon@movementarian.org>
6307
6308         * lyxfunc.C:
6309         * lfuns.h:
6310         * LyXAction.h:
6311         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6312         and the "help" bits as well
6313
6314 2003-04-09  John Levon  <levon@movementarian.org>
6315
6316         * ToolbarBackend.h:
6317         * ToolbarBackend.C: allow multiple toolbars
6318
6319 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6320
6321         * undo_funcs.C (setCursorParUndo): adjust
6322
6323         * text_funcs.C (transposeChars): adjust
6324
6325         * text3.C (gotoNextInset): adjust
6326         (dispatch): adjust
6327
6328         * text2.C (setLayout): adjust
6329         (changeDepth): adjust
6330         (setFont): adjust
6331         (redoParagraphs): adjust
6332         (selectionAsString): adjust
6333         (setParagraph): adjust
6334         (insertInset): adjust
6335         (cutSelection): adjust
6336         (copySelection): adjust
6337         (pasteSelection): adjust
6338         (insertStringAsLines): adjust
6339         (updateInset): adjust
6340         (setCursor): change to take a ParagraphList::iterator parameter
6341         (setCursorIntern): change to take a ParagraphList::iterator parameter
6342         (setCurrentFont): adjust
6343         (cursorLeft): adjust
6344         (cursorRight): adjust
6345         (deleteEmptyParagraphMechanism): adjust
6346
6347         * text.C (breakParagraph): adjust
6348         (insertChar): adjust
6349         (acceptChange): adjust
6350         (rejectChange): adjust
6351         (selectNextWordToSpellcheck): adjust
6352         (changeCase): adjust
6353         (Delete): adjust
6354         (backspace): adjust
6355
6356         * lyxfind.C (SearchForward): adjust
6357         (SearchBackward): adjust
6358         (nextChange): adjust
6359
6360         * lyxcursor.C (par): adjust
6361
6362         * lyxcursor.h: store a ParagraphList::iterator instead of a
6363         Paragraph*
6364
6365         * lyx_cb.C (getPossibleLabel): adjust
6366
6367         * bufferview_funcs.C (toggleAndShow): adjust
6368
6369         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6370         (dispatch): adjust
6371
6372         * BufferView.C (removeAutoInsets): adjust
6373         (lockedInsetStoreUndo): adjust
6374
6375 2003-04-09  John Levon  <levon@movementarian.org>
6376
6377         * ToolbarBackend.C: try icon without argument
6378         if with argument fails
6379
6380 2003-04-08  John Levon  <levon@movementarian.org>
6381
6382         * ToolbarBackend.h:
6383         * ToolbarBackend.C: add getIcon(), handle tooltip,
6384         and change from "Icon" to "Item".
6385
6386 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6387
6388         * BufferView.C (lockInset): another bad getchar crunched
6389
6390 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6391
6392         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6393         again)
6394
6395 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6396
6397         * lyxfind.C (searchForward, searchBackwards): bug 782
6398
6399 2003-04-07  John Levon  <levon@movementarian.org>
6400
6401         * paragraph.C: remove dead comment
6402
6403         * text.C: remove troublesome depth-fiddling code
6404         in leftMargin() and rightMargin() (bug 1017)
6405
6406         * text.C: fix breaking of rows in nested lists
6407         (bug 1004)
6408
6409         * text2.C (updateCounters): fix up depth values
6410         (bug 1013)
6411
6412 2003-04-07  John Levon  <levon@movementarian.org>
6413
6414         * BufferView_pimpl.C: clear message when doc finishes resizing,
6415         and after a mouse event
6416
6417         * lyxfunc.C: clear message after exiting inset
6418
6419 2003-04-07  John Levon  <levon@movementarian.org>
6420
6421         * bufferview_funcs.C: show math status not outside
6422         status in the statusbar
6423
6424 2003-04-07  John Levon  <levon@movementarian.org>
6425
6426         * lyxfunc.C: note status changed after a depth change
6427
6428 2003-04-04  Angus Leeming  <leeming@lyx.org>
6429
6430         * LaTeX.h: move AuxInfo operator==, != out of line.
6431         Remove LaTeX virtual destructor; nothing derives from it.
6432         Move operator()() out of public area and rename it startscript().
6433         Change protected for private.
6434
6435 2003-04-04  Angus Leeming  <leeming@lyx.org>
6436
6437         * lyxfunc.C:
6438         * text2.C: remove unneeded #includes.
6439
6440 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6441
6442         * text2.C (dEPM): fix the heigth of the next row
6443
6444 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6445
6446         * text.C: squashed an invalid getChar requester + some ws changes
6447
6448 2003-04-03  John Levon  <levon@movementarian.org>
6449
6450         * bufferview_funcs.h:
6451         * bufferview_funcs.C:
6452         * lyxfunc.C:
6453         * lyxtext.h:
6454         * text2.C: make getStatus work for the env depth lfuns
6455
6456 2003-04-03  John Levon  <levon@movementarian.org>
6457
6458         * bufferview_funcs.h:
6459         * bufferview_funcs.C:
6460         * lyxfunc.C:
6461         * lyxtext.h:
6462         * text2.C: parlistize decDepth(), by merging it with incDepth()
6463
6464 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6465
6466         * lyxrow.h: store a ParagraphList::iterator instead of a
6467         Paragraph* and adjust other class functions to suit.
6468
6469         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6470         above.
6471
6472 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6473
6474         * text2.C (setCursor): do not anchor to cursor row for the time being
6475
6476 2003-04-02  John Levon  <levon@movementarian.org>
6477
6478         * LyXAction.C:
6479         * lfuns.h:
6480         * lyx_main.C:
6481         * lyxtext.h:
6482         * text.C:
6483         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6484
6485 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6486
6487         * paragraph.h: make ParagraphList and ParagraphList::iterator
6488         friends of Paragraph.
6489
6490         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6491
6492         * ParagraphList.C: Use the private next_ and previous_ from
6493         Paragraph.
6494
6495 2003-04-01  John Levon  <levon@movementarian.org>
6496
6497         * ToolbarBackend.h:
6498         * ToolbarBackend.C:
6499         * Makefile.am: rename, remove defaults gunk
6500
6501         * MenuBackend.h:
6502         * MenuBackend.C: remove defaults gunk
6503
6504         * Languages.h:
6505         * Languages.C: remove defaults gunk
6506
6507         * lyx_main.h:
6508         * lyx_main.C: error out if files couldn't be found.
6509
6510 2003-04-02  John Levon  <levon@movementarian.org>
6511
6512         * text2.C: make incDepth() use parlist
6513
6514 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6515
6516         * undo_funcs.C (firstUndoParagraph): adjust
6517
6518         * text3.C (gotoInset): adjust
6519         (dispatch): adjust, and rewrite loop.
6520
6521         * text2.C (init): adjust, and rewrite loop.
6522         (redoParagraphs): adjust
6523         (updateInset): adjust, and rewrite loop.
6524         (deleteEmptyParagraphMechanism): adjust
6525
6526         * tabular.C (LyXTabular): adjust
6527         (SetMultiColumn): adjust
6528         (TeXRow): adjust
6529
6530         * lyxtext.[Ch] (ownerParagraph): delete function
6531         (ownerParagraphs): new function returns a ParagraphList.
6532
6533         * BufferView.C (removeAutoInsets): adjust
6534         (insertErrors): adjust
6535         (setCursorFromRow): adjust
6536
6537 2003-04-01  Angus Leeming  <leeming@lyx.org>
6538
6539         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6540         in the frontends.
6541
6542 2003-04-02  John Levon  <levon@movementarian.org>
6543
6544         * lyxtext.h:
6545         * text.C:
6546         * Makefile.am:
6547         * text_funcs.h:
6548         * text_funcs.C: make transposeChars a free function
6549
6550         * lyxrow_funcs.C: remove wrong comment
6551
6552 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6553
6554         * lyxtext.h: adjust
6555         * rowpainter.C: adjust
6556         * text.C: adjust
6557         * text2.C: adjust
6558         * text3.C: adjust
6559
6560         * lyxrow_funcs. [Ch]: new files
6561
6562         * lyxrow.[Ch]: remove next and previous pointers
6563         (next,previous): remove accessor functions
6564         (isParEnd): move to lyxrow_funcs
6565         (lastPos): move to lyxrow_funcs
6566         (nextRowIsAllInset): move to lyxrow_funcs
6567         (lastPrintablePos): move to lyxrow_funcs
6568         (numberOfSeparators): move to lyxrow_funcs
6569         (numberOfHfills): move to lyxrow_funcs
6570         (numberOfLabelHfills): move to lyxrow_funcs
6571         (hfillExpansion): move to lyxrow_funcs
6572
6573         * lyxfunc.C: adjust
6574
6575         * bufferview_funcs.C (toggleAndShow): adjust
6576
6577         * RowList.h: Remove class RowList from file leave just a
6578         std::list<Row>.
6579
6580         * RowList.C: delete file
6581
6582         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6583         and lyxrow_funcs.h
6584
6585 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6586
6587         * text3.C (cursorPrevious): adjust
6588         (cursorNext): adjust
6589         (dispatch): adjust
6590
6591         * text2.C (redoHeightOfParagraph): adjust
6592         (redoDrawingOfParagraph): adjust
6593         (setCursor): adjust
6594
6595         * text.C (breakParagraph): adjust
6596         (insertChar): adjust
6597         (backspace): adjust
6598
6599         * rowpainter.C (RowPainter): adjust
6600         (leftMargin): simplify and adjust
6601         (most rowpainter functions): adjust.
6602
6603         * rowpainter.h: store the row as RowList::iterator not as Row*
6604
6605         * lyxcursor.C (row): taka RowList::iterator as arg
6606         (irow): ditto
6607
6608         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6609         of Row*.
6610
6611 2003-04-01  Angus Leeming  <leeming@lyx.org>
6612
6613         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6614         stuff like bool Bool.
6615
6616 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6617
6618         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6619         rewrite a loop
6620
6621 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6622
6623         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6624         RowList::iterator.
6625
6626         * lyxtext.h (rows): drop one version and leve a const variant that
6627         returns a RowList::iterator.
6628
6629 2003-03-31  Angus Leeming  <leeming@lyx.org>
6630
6631         * text.C (fill): ensure that the signature is the same as that in the
6632         header file.
6633
6634 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6635
6636         * text2.C (redoParagraphs): adjust
6637         (updateCounters): adjust
6638         (checkParagraph): adjust
6639         (getColumnNearX): adjust and reformat a bit.
6640
6641         * text.C (top_y): adjust
6642         (workWidth): adjust
6643         (leftMargin): adjust
6644         (prepareToPrint): adjust
6645         (getRow): adjust
6646         (getRowNearY): adjust
6647
6648         * lyxtext.h: make rowlist_ mutable.
6649
6650         * RowList.h: add const_iterator
6651         * RowList.C: adjust for RowList::const_iterator.
6652
6653         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6654         adjust.
6655
6656 2003-03-31  John Levon  <levon@movementarian.org>
6657
6658         * lyxrc.h:
6659         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6660
6661         * lyx_main.C: set default fonts from using lyx_gui funcs
6662
6663         * exporter.C: pdf_mode moved from lyxrc
6664
6665         * lyx_cb.C:
6666         * lyxfunc.C: changes from above
6667
6668 2003-03-31  John Levon  <levon@movementarian.org>
6669
6670         * lyx_main.C: fix to the last fix
6671
6672 2003-03-31  John Levon  <levon@movementarian.org>
6673
6674         * bufferlist.C: "Load original" -> "Load Original"
6675
6676         * converter.C:
6677         * exporter.C:
6678         * importer.C:
6679         * lyx_main.C:
6680         * format.C: more Alert cleanups
6681
6682 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6683
6684         * text2.C (removeParagraph): make it take a RowList::iterator as
6685         arg, adjust.
6686         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6687         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6688
6689         * text.C (anchor_row): make it take a RowList::iterator as arg,
6690         adjust.
6691         (computeBidiTables): make it take a const reference to Row instead
6692         of Row pointer, adjust.
6693         (leftMargin): make it take a RowList::iterator as arg, adjust.
6694         (rowBreakPoint): adjust
6695         (breakAgainOneRow): make it take a RowList::iterator as arg,
6696         adjust.
6697         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6698
6699         * bufferview_funcs.C (toggleAndShow): adjust
6700
6701 2003-03-30  John Levon  <levon@movementarian.org>
6702
6703         * Makefile.am:
6704         * BoostFormat.h:
6705         * boost-inst.C: moved to support
6706
6707         * several files: changes as a result
6708
6709 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6710
6711         * text2.C (LyXText): adjust.
6712         (init): adjust
6713         (removeRow): make it take a RowList::iterator as arg, adjust.
6714         (fullRebreak): adjust
6715         (deleteEmptyParagraphMechanism): adjust
6716         (clearPaint): adjust
6717         (postPaint): adjust
6718
6719         * text.C (top_y): adjust
6720         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6721         (breakAgain): make it take a RowList::iterator as arg, adjust.
6722         (breakParagraph): adjust
6723         (insertChar): adjust
6724         (backspace): adjust
6725
6726         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6727         need_break_row, and refresh_row.
6728
6729         * text3.C (dispatch): adjust
6730
6731         * text2.C (checkParagraph): adjust
6732         (setCursor): adjust
6733         (setCursorFromCoordinates): adjust
6734
6735         * text.C (top_y): adjust
6736         (workWidth): adjust
6737         (getRow): make it return a RowList::iterator, adjust
6738         (getRowNearY): make it return a RowList::iterator, adjust
6739
6740         * text2.C (init): adjust
6741         (insertRow): remove function
6742         (insertParagraph): adjust
6743         (redoParagraphs): adjust
6744         (fullRebreak): adjust
6745         (updateCounters): adjust
6746
6747         * text.C (top_y): rewrite to use RowList iterators.
6748         (top_y): adjust
6749         (setHeightOfRow): rewrite to sue RowList iterators.
6750         (appendParagraph): adjust
6751         (breakAgain): adjust
6752         (breakAgainOneRow): adjust
6753         (breakParagraph): adjust
6754         (getRow): adjust
6755         (getRowNearY): adjust, and remove commented code.
6756
6757         * lyxtext.h (firstRow): delete function
6758         (lastRow): delete function
6759         (rows): new function (const and non-const versions.)
6760         (insertRow): delete function
6761
6762         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6763
6764 2003-03-29  John Levon  <levon@movementarian.org>
6765
6766         * BufferView_pimpl.C: always update scrollbar top
6767         because pasting text when we're anchored could mean we
6768         miss an update altogether
6769
6770 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6771
6772         * text2.C (init): use rowlist_.end() and not 0.
6773         (insertRow): change to take a RowList::iterator as arg, adjust
6774         for this.
6775         (insertParagraph): change to take a RowList::iterator as arg,
6776         adjust for this.
6777         (redoParagraphs): remove some debug msgs.
6778
6779         * text.C (appendParagraph): change to take a RowList::iterator
6780         arg, adjust for this.
6781         (breakAgain): add an assert
6782         (breakAgainOneRow): ditto
6783
6784 2003-03-29  John Levon  <levon@movementarian.org>
6785
6786         * text2.C: do not clear selection after inc/decDepth
6787         (bug 550)
6788
6789 2003-03-29  John Levon  <levon@movementarian.org>
6790
6791         * BufferView.C:
6792         * buffer.C: fix broken strerrors according to Lars
6793
6794 2003-03-29  John Levon  <levon@movementarian.org>
6795
6796         * converters.C: more Alert cleanups
6797
6798 2003-03-29  John Levon  <levon@movementarian.org>
6799
6800         * bufferview_funcs.C: remove pointless Alert
6801
6802         * buffer.C: fix confusing error message when
6803         a template is chmoded 000
6804
6805 2003-03-29  John Levon  <levon@movementarian.org>
6806
6807         * BufferView.C:
6808         * BufferView.h:
6809         * BufferView_pimpl.C: Alert fixes
6810
6811         * Makefile.am:
6812         * tabular.C:
6813         * tabular-old.C: remove unused table compat reading
6814
6815 2003-03-29  John Levon  <levon@movementarian.org>
6816
6817         * BufferView.C:
6818         * buffer.C:
6819         * lyx_cb.h:
6820         * lyx_cb.C: more Alert cleanups
6821
6822         * lyxfunc.C: don't allow chktex if not latex document
6823
6824 2003-03-29  John Levon  <levon@movementarian.org>
6825
6826         * lyx_cb.C:
6827         * BufferView.C:
6828         * buffer.C: warnings pushed down from support/,
6829         kill err_alert
6830
6831 2003-03-29  John Levon  <levon@movementarian.org>
6832
6833         * lyxfunc.C: safety check for C-r (revert)
6834
6835 2003-03-29  John Levon  <levon@movementarian.org>
6836
6837         * bufferlist.h:
6838         * bufferlist.C: several UI fixes using Alert::prompt.
6839         Fix the pointless looping quit code. Fix stupid revert
6840         behaviour (bug 938)
6841
6842         * lyxvc.h:
6843         * lyxvc.C:
6844         * lyx_cb.C: use Alert::prompt
6845
6846         * lyx_main.C: remove a silly question
6847
6848         * lyxfunc.C: remove a couple of silly questions,
6849         use Alert::prompt
6850
6851 2003-03-28  John Levon  <levon@movementarian.org>
6852
6853         * text2.C: fix bug 974 (End on empty par)
6854
6855 2003-03-28  John Levon  <levon@movementarian.org>
6856
6857         * BufferView_pimpl.C:
6858         * LyXAction.C:
6859         * lfuns.h: remove do-nothing math greek lfuns
6860
6861 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6862
6863         * lyxgluelength.h (isValidGlueLength): add default arg on
6864         parameter 2. Remove default arg from friend in class.
6865
6866         * lyxlength.h (isValidLength): add default arg on parameter 2.
6867         Remove default arg from friend in class.
6868
6869         * text2.C (LyXText): adjust, initialize refresh_row.
6870         (init): adjust
6871         (removeRow): adjust
6872         (insertRow): adjust
6873         (insertParagraph): adjst
6874         (redoParagraphs): adjust
6875         (fullRebreak): adjust
6876         (updateCounters): adjust
6877         (deleteEmptyParagraphMechanism): first attempt at fixing a
6878         crashing bug.
6879
6880         * text.C (top_y): adjust
6881         (setHeightOfRow): adjust
6882         (getRow): adjust
6883         (getRowNearY): adjust
6884
6885         * lyxtext.h: include RowList.h
6886         (~LyXText): not needed anymore, deleted.
6887         (firstRow): modify for RowList
6888         (lastRow): new function
6889         Delete firstrow and lastrow class variables, add a Rowlist
6890         rowlist_ class variable.
6891
6892         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6893         paragraph is empty.
6894
6895         * RowList.C (insert): fix case where it == begin().
6896
6897 2003-03-26  Angus Leeming  <leeming@lyx.org>
6898
6899         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6900         the thesaurus dialog.
6901
6902 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6903
6904         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6905
6906         * RowList.[Ch]: new files
6907
6908         * ParagraphList.C (erase): handle the case where it == begin
6909         correctly.
6910
6911 2003-03-25  John Levon  <levon@movementarian.org>
6912
6913         * Makefile.am:
6914         * aspell_local.h:
6915         * aspell.C: add new aspell support
6916
6917         * lyxrc.h:
6918         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6919         have it accessible.
6920
6921 2003-03-25  Angus Leeming  <leeming@lyx.org>
6922
6923         * lfuns.h:
6924         * LyXAction.C (init): new LFUN_INSET_INSERT.
6925
6926         * BufferView_pimpl.C (dispatch): split out part of the
6927         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6928
6929         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6930         LFUN_INSET_APPLY.
6931
6932 2003-03-25  Angus Leeming  <leeming@lyx.org>
6933
6934         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6935
6936 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6937
6938         * text2.C:
6939         * text3.C: remove useless row->height(0)
6940
6941 2003-03-25  John Levon  <levon@movementarian.org>
6942
6943         * lyxtext.h:
6944         * text2.C:
6945         * text3.C: rename the refreshing stuff to better names
6946
6947 2003-03-24  John Levon  <levon@movementarian.org>
6948
6949         * BufferView_pimpl.h:
6950         * BufferView_pimpl.C: update layout choice on a mouse
6951         press/release
6952
6953 2003-03-23  John Levon  <levon@movementarian.org>
6954
6955         * Makefile.am: fix commandtags.h reference
6956
6957 2003-03-22  John Levon  <levon@movementarian.org>
6958
6959         * BufferView_pimpl.C:
6960         * lyxtext.h:
6961         * rowpainter.C:
6962         * rowpainter.h:
6963         * text.C:
6964         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6965
6966 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6967
6968         * lyxtext.h:
6969         * text.C: take the rtl methods out of line
6970
6971 2003-03-21 André Pönitz <poenitz@gmx.net>
6972
6973         * metricsinfo.[Ch]: new files containing structures to be passed around
6974         during the two-phase-drawing...
6975
6976 2003-03-21 André Pönitz <poenitz@gmx.net>
6977
6978         * lyxtextclass.C: read 'environment' tag.
6979
6980 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6981
6982         * text2.C (removeRow): fix bug 964
6983
6984 2003-03-20  John Levon  <levon@movementarian.org>
6985
6986         * rowpainter.C:
6987         * text.C:
6988         * text2.C: paint cleanups. Inset::update() dropped font
6989         parameter
6990
6991 2003-03-19  John Levon  <levon@movementarian.org>
6992
6993         * lyxfunc.C: only fitcursor/markDirty if available()
6994
6995 2003-03-19  John Levon  <levon@movementarian.org>
6996
6997         * commandtags.h: rename to ...
6998
6999         * lfuns.h: ... this, and renumber / cleanup
7000
7001 2003-03-19  John Levon  <levon@movementarian.org>
7002
7003         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7004         fit the cursor after an lfun
7005
7006         * BufferView.h:
7007         * BufferView.C:
7008         * BufferView_pimpl.h:
7009         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7010
7011         * LyXAction.C: layout-character should have ReadOnly
7012
7013         * ParagraphParameters.C:
7014         * buffer.C:
7015         * bufferview_funcs.C:
7016         * lyx_cb.C:
7017         * lyxfind.C:
7018         * lyxtext.h:
7019         * text.C:
7020         * text2.C:
7021         * text3.C:
7022         * undo_funcs.C: changes from above
7023
7024 2003-03-18  John Levon  <levon@movementarian.org>
7025
7026         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7027         remove it from update()
7028
7029         * lyxfunc.C: update layout choice after an lfun
7030
7031         * text3.C: remove extra updateLayoutChoice()s
7032
7033 2003-03-18  John Levon  <levon@movementarian.org>
7034
7035         * text.C: top_y change means full repaint, fix
7036         a drawing bug with cursor movement
7037
7038 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7039
7040         * lyxtext.h:
7041         * text.C:
7042         * text2.C: anchor row on setCursor
7043
7044 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7045
7046         * lyxtext.h: remove almost all mutable keywords
7047         * text.C:
7048         * text2.C:
7049         * text3.C: remove const keywords accordingly
7050
7051 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7052
7053         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7054         anon namespace
7055         (TeXEnvironment): ditto
7056         (TeXOnePar): ditto
7057
7058 2003-03-17  John Levon  <levon@movementarian.org>
7059
7060         * text.C (rowBreakPoint): remove attempt to fix displayed
7061         math insets inside a manual label
7062
7063 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7064
7065         * lyxtext.h: remove BufferView* as first arg from almost all class
7066         functions.
7067         * other files: adjust.
7068
7069 2003-03-17  John Levon  <levon@movementarian.org>
7070
7071         * lyxtext.h:
7072         * undo_funcs.C:
7073         * text2.C: more paint cleanups
7074
7075         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7076
7077         * rowpainter.h:
7078         * rowpainter.C: remove "smart" background painting code
7079
7080 2003-03-16  John Levon  <levon@movementarian.org>
7081
7082         * lyxtext.h:
7083         * text.C:
7084         * text2.C:
7085         * text3.C: add helper functions for setting refresh_row/y
7086
7087 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7088
7089         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7090         newline inset which *can* get inserted in the pass_thru layouts.
7091         This is primarily for literate documents.
7092
7093 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7094
7095         * buffer.C: increment LYX_FORMAT to 223
7096
7097 2003-03-14 André Pönitz <poenitz@gmx.net>
7098
7099         * textclass.h: prepare for environment handling, ws changes
7100         * lyxlayout.C: read latexheader and latexfooter tags
7101
7102 2003-03-14  John Levon  <levon@movementarian.org>
7103
7104         * text2.C: rewrite ::status() a bit
7105
7106 2003-03-13  John Levon  <levon@movementarian.org>
7107
7108         * lyxtext.h: add some docs
7109
7110 2003-03-13  John Levon  <levon@movementarian.org>
7111
7112         * lyxtext.h:
7113         * text.C:
7114         * text2.C:
7115         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7116
7117 2003-03-13  John Levon  <levon@movementarian.org>
7118
7119         * text3.C: fix appendix redrawing
7120
7121 2003-03-13  John Levon  <levon@movementarian.org>
7122
7123         * text.C (setHeightOfRow):
7124         * rowpainter.h:
7125         * rowpainter.C: make appendix mark have the text
7126           "Appendix" so the user knows what it is
7127
7128         * LColor.h:
7129         * LColor.C: s/appendixline/appendix/ from above
7130
7131 2003-03-13  John Levon  <levon@movementarian.org>
7132
7133         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7134
7135         * text.C: fix a getChar(pos) bug properly
7136
7137 2003-03-13  Angus Leeming  <leeming@lyx.org>
7138
7139         * commandtags.h:
7140         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7141         Probably only temporary. Let's see how things pan out.
7142
7143         * BufferView.C (unlockInset):
7144         * BufferView_pimpl.C (fitCursor):
7145         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7146
7147         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7148         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7149
7150         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7151         new functions that convert ParagraphParameters to and from a string.
7152
7153         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7154         BufferView::Pimpl's dispatch.
7155         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7156
7157 2003-03-13 André Pönitz <poenitz@gmx.net>
7158
7159         * lyxfunc.C:
7160         * text3.C:
7161         * factory.C: make it aware of InsetEnv
7162
7163 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7164
7165         * text2.C (setCursor): never ask for one past last
7166         (setCursor): add some debugging messages.
7167
7168         * text.C (singleWidth): never ask for one past last
7169         (singleWidth): ditto
7170         (leftMargin): ditto
7171         (rightMargin): ditto
7172         (rowBreakPoint): ditto
7173         (setHeightOfRow): ditto
7174         (prepareToPrint): ditto
7175
7176         * rowpainter.C (paintBackground): never ask for one past last
7177         (paintText): never ask for one past last
7178
7179         * paragraph_pimpl.C (getChar): make the assert stricter, never
7180         allow the one past last pos to be taken
7181
7182         * paragraph.C (getChar): ws changes only
7183
7184         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7185         (numberOfSeparators): ditto
7186         (numberOfHfills): ditto
7187
7188 2003-03-12  John Levon  <levon@movementarian.org>
7189
7190         * author.h:
7191         * author.C:
7192         * bufferparams.h:
7193         * bufferparams.C:
7194         * paragraph_funcs.C: fix per-buffer authorlists
7195
7196 2003-03-12  John Levon  <levon@movementarian.org>
7197
7198         * text.C: fix newline in right address
7199
7200 2003-03-12  Angus Leeming  <leeming@lyx.org>
7201
7202         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7203         duplicate those in LyXFunc::dispatch.
7204
7205         * commandtags.h:
7206         * LyXAction.C:
7207         * ToolbarDefaults.C:
7208         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7209         Add LFUN_FONTFREE_UPDATE.
7210
7211         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7212         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7213
7214         * bufferview_func.[Ch]: several new functions to facilliate
7215         transfer of data to and from the character dialog.
7216
7217 2003-03-12  John Levon  <levon@movementarian.org>
7218
7219         * buffer.C:
7220         * paragraph.h:
7221         * paragraph.C:
7222         * paragraph_funcs.C:
7223         * paragraph_pimpl.C:
7224         * sgml.C:
7225         * tabular.C:
7226         * text.C:
7227         * text3.C: remove META_NEWLINE in favour of an inset
7228
7229         * rowpainter.h:
7230         * rowpainter.C: remove paintNewline (done by inset)
7231
7232 2003-03-12  John Levon  <levon@movementarian.org>
7233
7234         * paragraph_pimpl.C: complain about bad getChar()s
7235         for a while at least
7236
7237 2003-03-12  John Levon  <levon@movementarian.org>
7238
7239         * buffer.h:
7240         * buffer.C: move paragraph read into a separate function,
7241         a little renaming to reflect that.
7242
7243         * bufferparams.h:
7244         * bufferparams.C: remove the author_ids map, not necessary now
7245
7246         * factory.h:
7247         * factory.C: moved Buffer::readInset to here
7248
7249         * paragraph_funcs.h:
7250         * paragraph_funcs.C: readParagraph free function moved from
7251         buffer.C
7252
7253         * tabular.C: name change
7254
7255 2003-03-12  John Levon  <levon@movementarian.org>
7256
7257         * buffer.C:
7258         * ParagraphParameters.C: move par params input to
7259         a read() method
7260
7261         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7262         behave like a normal read from the stream wrt reading
7263         a line vs. a \\token
7264
7265 2003-03-12  John Levon  <levon@movementarian.org>
7266
7267         * paragraph.C:
7268         * ParagraphParameters.h:
7269         * ParagraphParameters.C: move output code to a
7270         ::write() method
7271
7272 2003-03-12  John Levon  <levon@movementarian.org>
7273
7274         * BufferView.C (insertLyXFile):
7275         * buffer.h:
7276         * buffer.C:
7277         * tabular.C: use a parlist iterator for creating the
7278           document.
7279
7280 2003-03-12  John Levon  <levon@movementarian.org>
7281
7282         * buffer.C: make current_change static local not
7283           static file-scope
7284
7285 2003-03-12  John Levon  <levon@movementarian.org>
7286
7287         * buffer.C: fix insertStringAsLines for change tracking
7288
7289 2003-03-12  John Levon  <levon@movementarian.org>
7290
7291         * BufferView.C:
7292         * tabular.C:
7293         * buffer.h:
7294         * buffer.C:
7295         * bufferparams.h:
7296         * bufferparams.C: move author list into params. Rename some
7297           functions. Move the header reading into a separate token
7298           loop. Move the header token reading into BufferParams.
7299
7300 2003-03-12  John Levon  <levon@movementarian.org>
7301
7302         * changes.C: put debug inside lyxerr.debugging() checks
7303
7304 2003-03-11 André Pönitz <poenitz@gmx.net>
7305
7306         * factory.C: make it aware of InsetHFill
7307
7308 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7309
7310         * buffer.C (latexParagraphs): move function from here...
7311         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7312         args.
7313
7314 2003-03-10  Angus Leeming  <leeming@lyx.org>
7315
7316         * LyXAction.C (init): fix bug in poplating array with multiple entries
7317         with the same LFUN (spotted by JMarc).
7318
7319 2003-03-10  John Levon  <levon@movementarian.org>
7320
7321         * text.C:
7322         * text2.C: move getColumnNearX() near its
7323         only call site
7324
7325 2003-03-10  John Levon  <levon@movementarian.org>
7326
7327         * text.C: fix break before a minipage
7328
7329 2003-03-10  John Levon  <levon@movementarian.org>
7330
7331         * text.C: fix the last commit
7332
7333 2003-03-09  John Levon  <levon@movementarian.org>
7334
7335         * lyxtext.h:
7336         * text.C:
7337         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7338         bug 365 (don't break before insets unless needed). Don't
7339         return a value > last under any circumstances.
7340
7341 2003-03-09  Angus Leeming  <leeming@lyx.org>
7342
7343         * BufferView_pimpl.C (trackChanges, dispatch): call
7344         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7345
7346 2003-03-09  Angus Leeming  <leeming@lyx.org>
7347
7348         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7349         than Dialogs::showAboutlyx().
7350
7351 2003-03-09  Angus Leeming  <leeming@lyx.org>
7352
7353         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7354         than Dialogs::showTabularCreate().
7355
7356 2003-03-09  John Levon  <levon@movementarian.org>
7357
7358         * lyxtext.h:
7359         * text.C:
7360         * text2.C: 3rd arg to nextBreakPoint was always the same.
7361           Use references.
7362
7363 2003-03-08  John Levon  <levon@movementarian.org>
7364
7365         * lyxrow.C:
7366         * paragraph.C:
7367         * paragraph.h:
7368         * rowpainter.C:
7369         * text.C:
7370         * text2.C: Remove the "main" bit from the "main body"
7371           notion.
7372
7373 2003-03-08  John Levon  <levon@movementarian.org>
7374
7375         * text.C (leftMargin): The left margin of an empty
7376         manual label paragraph should not include the label width
7377         string length.
7378
7379         * text.C (prepareToPrint): don't attempt to measure hfills
7380         for empty manual label paragraphs - the answer should be 0
7381
7382 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7383
7384         * CutAndPaste.C: remove commented code and reindent.
7385
7386 2003-03-08  John Levon  <levon@movementarian.org>
7387
7388         * lyxfunc.h:
7389         * lyxfunc.C: move reloadBuffer()
7390
7391         * BufferView.h:
7392         * BufferView.C: to here
7393
7394         * lyxvc.C: add comment
7395
7396         * vc-backend.h:
7397         * vc-backend.C: call bv->reload() to avoid
7398           getStatus() check on MENURELOAD
7399
7400 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7401
7402         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7403         to an old format .dep file.
7404
7405 2003-03-07  Angus Leeming  <leeming@lyx.org>
7406
7407         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7408         when the LFUN_MOUSE_RELEASE should have been handled by
7409         inset->localDispatch.
7410
7411 2003-03-07  Angus Leeming  <leeming@lyx.org>
7412
7413         * BufferView_pimpl.C (dispatch):
7414         * LyXAction.C (init):
7415         * ToolbarDefaults.C (init):
7416         * commandtags.h:
7417         * lyxfunc.C (getStatus):
7418         remove LFUN_INSET_GRAPHICS.
7419
7420         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7421
7422 2003-03-07  Angus Leeming  <leeming@lyx.org>
7423
7424         * commandtags.h:
7425         * LyXAction.C (init):
7426         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7427
7428         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7429
7430         * commandtags.h:
7431         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7432
7433         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7434         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7435
7436 2003-03-07  Angus Leeming  <leeming@lyx.org>
7437
7438         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7439         remove "ert".
7440
7441 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7442
7443         * ParagraphList.C (front): new function
7444         (back): implement
7445
7446 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7447
7448         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7449         and top_row_offset_. removed var first_y.
7450         * text.C (top_y):
7451         * text2.C (LyXText, removeRow):
7452         * text3.C:
7453         * BufferView_pimpl.C:
7454         use these methods instead of using first_y
7455
7456 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7457
7458         * text2.C (pasteSelection): adjust for checkPastePossible
7459
7460         * CutAndPaste.C: remove Paragraph * buf and replace with
7461         ParagraphList paragraphs.
7462         (DeleteBuffer): delete
7463         (cutSelection): change the tc type to textclass_type
7464         (copySelection): change the tc type to textclass_type
7465         (copySelection): adjust for ParagraphList
7466         (pasteSelection): change the tc type to textclass_type
7467         (pasteSelection): adjust for Paragraphlist
7468         (nrOfParagraphs): simplify for ParagraphList
7469         (checkPastePossible): simplify for ParagraphList
7470         (checkPastePossible): remove unused arg
7471
7472         * ParagraphList.C (insert): handle the case where there are no
7473         paragraphs yet.
7474
7475         * CutAndPaste.h: make CutAndPaste a namespace.
7476
7477         * text3.C (dispatch): adjust
7478
7479         * text.C (breakParagraph): add a ParagraphList as arg
7480
7481         * paragraph_funcs.C (breakParagraph): change to take a
7482         BufferParams and a ParagraphList as args.
7483         (breakParagraphConservative): ditto
7484         (mergeParagraph): ditto
7485         (TeXDeeper): add a ParagraphList arg
7486         (TeXEnvironment): ditto
7487         (TeXOnePar): ditto
7488
7489         * buffer.C (readLyXformat2): adjust
7490         (insertStringAsLines): adjust
7491         (latexParagraphs): adjust
7492
7493         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7494         (cutSelection): adjust
7495         (pasteSelection): adjust
7496
7497         * BufferView_pimpl.C (insertInset): adjust
7498
7499 2003-03-05  Angus Leeming  <leeming@lyx.org>
7500
7501         * commandtags.h:
7502         * LyXAction.C (init):
7503         * BufferView_pimpl.C (dispatch):
7504         * lyxfunc.C (getStatus):
7505         remove LFUN_CHILD_INSERT.
7506
7507         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7508
7509 2003-03-05  Angus Leeming  <leeming@lyx.org>
7510
7511         * commandtags.h:
7512         * LyXAction.C (init):
7513         * src/factory.C (createInset):
7514         * lyxfunc.C (getStatus):
7515         * text3.C (dispatch):
7516         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7517
7518         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7519
7520 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7521
7522         * ParagraphList.C (insert): handle insert right before end()
7523         (erase): fix cases where it can be first or last paragraph.
7524
7525 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7526
7527         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7528         Paragraph::next and Paragraph::previous
7529         (TeXOnePar): ditto
7530
7531         * text.C (breakParagraph): adjust
7532
7533         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7534         BufferParams& as arg.
7535         (breakParagraph): use ParagraphList::insert
7536         (breakParagraphConservative): take a Buffer* instead of a
7537         BufferParams& as arg.
7538         (breakParagraphConservative): use ParagraphList::insert.
7539
7540         * buffer.C (insertStringAsLines): un-const it
7541         (insertStringAsLines): adjust
7542
7543         * ParagraphList.C (insert): new function
7544
7545         * CutAndPaste.C (pasteSelection): adjust
7546
7547         * text.C (backspace): adjust
7548
7549         * tabular.C (SetMultiColumn): adjust
7550
7551         * CutAndPaste.C (cutSelection): adjust
7552         (pasteSelection): adjust
7553
7554         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7555         Buffer const * as arg
7556
7557         * ParagraphList.C (erase): new function
7558         * paragraph_funcs.C (mergeParagraph): use it
7559         (mergeParagraph): make it take a Buffer* instead of a
7560         BufferParams* as arg
7561
7562         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7563         as arg
7564         (breakParagraphConservative): ditto
7565
7566         * paragraph.h: remove the breakParagraph friend
7567
7568         * paragraph.C (eraseIntern): new function
7569         (setChange): new function
7570
7571         * paragraph_funcs.C (mergeParagraph): make it take a
7572         ParagraphList::iterator instead of a Paragraph *, adjust
7573         accordingly.
7574
7575         * paragraph.h: move an #endif so that the change tracking stuff
7576         also works in the NO_NEXT case.
7577
7578 2003-03-04  Angus Leeming  <leeming@lyx.org>
7579
7580         * commandtags.h:
7581         * LyXAction.C: new LFUN_INSET_MODIFY.
7582
7583         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7584         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7585
7586 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7587
7588         * several files: ws changes only
7589
7590         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7591         (TeXEnvironment): ditto
7592         (TeXDeeper): ditto
7593
7594         * buffer.C (makeLaTeXFile): adjust
7595         (latexParagraphs): make it take ParagraphList::iterator as args
7596
7597 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7598
7599         * buffer.C (latexParagraphs): adjust
7600
7601         * paragraph.C (TeXOnePar): move function...
7602         (optArgInset): move function...
7603         (TeXEnvironment): move function...
7604         * paragraph_pimpl.C (TeXDeeper): move function...
7605         * paragraph_funcs.C: ...here
7606
7607         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7608
7609 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7610
7611         * buffer.C (readInset): remove compability code for old Figure and
7612         InsetInfo insets
7613
7614 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7615
7616         * buffer.C: ws changes
7617         (readInset):
7618
7619         * BufferView_pimpl.C: ditto
7620         * author.C: ditto
7621         * buffer.h: ditto
7622         * bufferlist.h: ditto
7623         * changes.h: ditto
7624         * lyxfunc.C: ditto
7625
7626 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7627
7628         * converter.[Ch]: split into itself +
7629         * graph.[Ch]
7630         * format.[Ch]
7631         * Makefile.am: += graph.[Ch] + format.[Ch]
7632         * MenuBackend.C
7633         * buffer.C
7634         * exporter.C
7635         * importer.C
7636         * lyx_main.C
7637         * lyxfunc.C
7638         * lyxrc.C: added #include "format.h"
7639
7640 2003-02-27  Angus Leeming  <leeming@lyx.org>
7641
7642         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7643           a label.
7644
7645         * factory.C (createInset): add "label" to the factory.
7646
7647         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7648           string and do no more.
7649
7650 2003-02-27  Angus Leeming  <leeming@lyx.org>
7651
7652         * commandtags.h:
7653         * LyXAction.C (init):
7654         * factory.C (createInset):
7655         * BufferView_pimpl.C (dispatch):
7656           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7657
7658         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7659
7660         * lyxfunc.C (dispatch):
7661         * text3.C (dispatch): pass name to params2string.
7662
7663 2003-02-26  Angus Leeming  <leeming@lyx.org>
7664
7665         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7666           blocks together.
7667           Rearrange the ~includes. Strip out the unnecessary ones.
7668
7669         * factory.C (createInset): reformat.
7670           create new insets for the various LFUN_XYZ_APPLY lfuns.
7671
7672 2003-02-26  John Levon  <levon@movementarian.org>
7673
7674         * lyxrow.h:
7675         * lyxrow.C: add isParStart,isParEnd helpers
7676
7677         * paragraph.h: make isInserted/DeletedText take refs
7678
7679         * paragraph_funcs.h:
7680         * paragraph_funcs.C: remove #if 0'd code
7681
7682         * lyxtext.h:
7683         * text3.C:
7684         * text2.C:
7685         * text.C: use lyxrow helpers above.
7686           Move draw and paint routines to RowPainter.
7687           Make several methods use refs not pointers.
7688           Make backgroundColor() const.
7689           Add markChangeInDraw(), isInInset().
7690           Merge changeRegionCase into changeCase.
7691           Make workWidth() shouldn't-happen code into an Assert.
7692
7693         * rowpainter.h:
7694         * rowpainter.C: new class for painting a row.
7695
7696         * vspace.h:
7697         * vspace.C: make inPixels take a ref
7698
7699 2003-02-26  Angus Leeming  <leeming@lyx.org>
7700
7701         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7702         LFUN_REF_APPLY.
7703
7704 2003-02-25  John Levon  <levon@movementarian.org>
7705
7706         * ispell.C: give the forked command a more accurate name
7707
7708 2003-02-22  John Levon  <levon@movementarian.org>
7709
7710         * toc.h:
7711         * toc.C: make TocItem store an id not a Paragraph *
7712           (bug #913)
7713
7714 2003-02-21  Angus Leeming  <leeming@lyx.org>
7715
7716         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7717           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7718           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7719           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7720           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7721           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7722
7723         * BufferView_pimpl.C (dispatch):
7724         * LyXAction.C (init):
7725         * factory.C (createInset):
7726         * lyxfunc.C (getStatus, dispatch):
7727         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7728
7729 2003-02-21  Angus Leeming  <leeming@lyx.org>
7730
7731         * BufferView_pimpl.C (MenuInsertLyXFile):
7732         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7733         * lyxfunc.C (menuNew, open, doImport):
7734           no longer pass a LyXView & to fileDlg.
7735
7736 2003-02-21  Angus Leeming  <leeming@lyx.org>
7737
7738         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7739         * LyXAction.C: change, BIBKEY to BIBITEM.
7740         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7741         Change InsetBibKey to InsetBibitem.
7742         Change BIBKEY_CODE to BIBITEM_CODE.
7743         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7744         * factory.C: replace insetbib.h with insetbibitem.h.
7745         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7746         * paragraph.C: replace insetbib.h with insetbibitem.h.
7747         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7748         Change bibkey() to bibitem().
7749         * text.C: remove insetbib.h.
7750         * text2.C: replace insetbib.h with insetbibitem.h.
7751         change bibkey() to bibitem().
7752         * text3.C: remove insetbib.h.
7753         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7754
7755 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7756
7757         * lyxrc.C (output): enclose user email in quotes (in case there are
7758         several words)
7759
7760 2003-02-18  John Levon  <levon@movementarian.org>
7761
7762         * buffer.h: add std::
7763
7764 2003-02-17  John Levon  <levon@movementarian.org>
7765
7766         * SpellBase.h:
7767         * ispell.h:
7768         * ispell.C:
7769         * pspell.h:
7770         * pspell.C: reworking. Especially in ispell, a large
7771           number of clean ups and bug fixes.
7772
7773         * lyxfunc.C: fix revert to behave sensibly
7774
7775 2003-02-17 André Pönitz <poenitz@gmx.net>
7776
7777         * LyXAction.C:
7778         * commandtags.h: new LFUN_INSERT_BIBKEY
7779
7780         * layout.h:
7781         * lyxlayout.C:
7782         * buffer.C:
7783         * factory.C:
7784         * text.C:
7785         * text2.C:
7786         * text3.C:
7787         * paragraph.[Ch]:
7788         * paragraph_func.C: remove special bibkey handling
7789
7790 2003-02-17  John Levon  <levon@movementarian.org>
7791
7792         * text.C (Delete): fix case where delete at the end of
7793           the very first paragraph would not merge the pars
7794
7795 2003-02-17  John Levon  <levon@movementarian.org>
7796
7797         * lyxrow.C: fix lastPrintablePos()
7798
7799 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7800
7801         * bufferparams.C (writeLaTeX): add a std:here
7802
7803         * buffer.C: and remove a using directive there
7804
7805 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7806
7807         * buffer.C (makeLaTeXFile): move the code that generates the
7808           preamble...
7809
7810         * bufferparams.C (writeLaTeX): ... in this new method
7811
7812         * LaTeXFeatures.C (getEncodingSet): make const
7813           (getLanguages): make const
7814
7815         * MenuBackend.C (binding): returns the binding associated to this
7816           action
7817           (add): sets the status of each item by calling getStatus. Adds
7818           some intelligence.
7819           (read): add support for OptSubMenu
7820           (expand): remove extra separator at the end of expanded menu
7821
7822 2003-02-15  John Levon  <levon@movementarian.org>
7823
7824         * BufferView.C:
7825         * BufferView_pimpl.C:
7826         * bufferlist.h:
7827         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7828           inset code that had no actual effect. Remove unneeded status
7829           code.
7830
7831 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7832
7833         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7834           in preamble
7835
7836 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7837
7838         * text.C (drawLengthMarker): also draw an arrow marker for
7839           symbolic lengths (medskip...)
7840
7841 2003-02-14  John Levon  <levon@movementarian.org>
7842
7843         * tabular.h:
7844         * tabular.C: better method names
7845
7846 2003-02-14  John Levon  <levon@movementarian.org>
7847
7848         * BufferView_pimpl.C:
7849         * bufferlist.C:
7850         * buffer.C:
7851         * converter.C:
7852         * lyx_cb.C:
7853         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7854           it's a more accurate name. Remove some pointless uses.
7855
7856 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7857
7858         * text2.C (LyXText): change order of initilizers to shut off
7859           warnings
7860
7861 2003-02-14  John Levon  <levon@movementarian.org>
7862
7863         * buffer.C: use ParIterator for getParFromID()
7864
7865         * paragraph.h:
7866         * paragraph.C:
7867         * paragraph_pimpl.h:
7868         * paragraph_pimpl.C: remove unused getParFromID()
7869
7870 2003-02-14  John Levon  <levon@movementarian.org>
7871
7872         * buffer.C: remove some very old #if 0'd parse code
7873
7874 2003-02-13  John Levon  <levon@movementarian.org>
7875
7876         * text.h:
7877         * text.C:
7878         * text2.C: move hfillExpansion(), numberOfSeparators(),
7879           rowLast(), rowLastPrintable(), numberofHfills(),
7880           numberOfLabelHfills() ...
7881
7882         * lyxrow.h:
7883         * lyxrow.C: ... to member functions here.
7884
7885         * paragraph.h:
7886         * paragraph.C:
7887         * lyxtext.h:
7888         * text.C: remove LyXText::beginningOfMainBody(), and call
7889           p->beginningOfMainBody() directly. Move the check for
7890           LABEL_MANUAL into the latter.
7891
7892         * text.h:
7893         * text.C:
7894         * text2.C:
7895         * vspace.C:
7896         * BufferView.h:
7897         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7898
7899         * text.h:
7900         * text.C:
7901         * text2.C:
7902         * text3.C:
7903         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7904           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7905
7906 2003-02-13  John Levon  <levon@movementarian.org>
7907
7908         * CutAndPaste.C: remove debug
7909
7910 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7911
7912         * paragraph.C (asString): remove two unused variables
7913
7914         * lyxtextclass.C (readTitleType):
7915           (Read):
7916           (LyXTextClass): handle new members titletype_ and titlename_
7917
7918         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7919
7920 2003-02-09  John Levon  <levon@movementarian.org>
7921
7922         * buffer.h:
7923         * buffer.C: replace hand-coded list with a map for the dep clean
7924
7925 2003-02-08  John Levon  <levon@movementarian.org>
7926
7927         * LaTeX.C: consolidate code into showRunMessage() helper
7928
7929 2003-02-08  John Levon  <levon@movementarian.org>
7930
7931         * lyxfind.C:
7932         * lyxtext.h:
7933         * text2.C:
7934         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7935           and pass the size in explicitly
7936
7937         * BufferView_pimpl.h:
7938         * BufferView_pimpl.C:
7939         * BufferView.h:
7940         * BufferView.C: add getCurrentChange()
7941
7942         * BufferView_pimpl.h:
7943         * BufferView_pimpl.C: handle change lfuns
7944
7945         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7946           for changes. Mark pasted paragraphs as new.
7947
7948         * support/lyxtime.h:
7949         * support/lyxtime.C:
7950         * DepTable.C: abstract time_t as lyx::time_type
7951
7952         * LColor.h:
7953         * LColor.C: add colours for new text, deleted text, changebars
7954
7955         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7956           package use "usenames" option.
7957
7958         * commandtags.h:
7959         * lyxfunc.C:
7960         * LyXAction.C: add change lfuns
7961
7962         * Makefile.am:
7963         * author.h:
7964         * author.C: author handling
7965
7966         * buffer.h:
7967         * buffer.C: add a per-buffer author list, with first entry as
7968           current author. Handle new .lyx tokens for change tracking. Output
7969           author list to .lyx file. Output dvipost stuff to .tex preamble.
7970           Bump lyx format to 222.
7971
7972         * bufferlist.h:
7973         * bufferlist.C: add setCurrentAuthor() to reset current author details
7974           in all buffers.
7975
7976         * bufferparams.h:
7977         * bufferparams.C: add param for tracking
7978
7979         * bufferview_funcs.C: output change info in minibuffer
7980
7981         * Makefile.am:
7982         * changes.h:
7983         * changes.C: add change-tracking structure
7984
7985         * debug.h:
7986         * debug.C: add CHANGES debug flag
7987
7988         * lyxfind.h:
7989         * lyxfind.C: add code for finding the next change piece
7990
7991         * lyxrc.h:
7992         * lyxrc.C: add user_name and user_email
7993
7994         * lyxrow.h:
7995         * lyxrow.C: add a metric for the top of the text line
7996
7997         * lyxtext.h:
7998         * text.C: implement accept/rejectChange()
7999
8000         * lyxtext.h:
8001         * text.C: paint changebars. Paint new/deleted text in the chosen
8002         colours. Strike through deleted text.
8003
8004         * paragraph.h:
8005         * paragraph.C:
8006         * paragraph_pimpl.h:
8007         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8008           in the current change to the insert functions. Rework erase to
8009           mark text as deleted, adding an eraseIntern() and a range-based
8010           erase(). Implement per-paragraph change lookup and
8011           accept/reject.
8012
8013         * paragraph_funcs.C: Fixup paste for change tracking.
8014
8015         * tabular.C: mark added row/columns as new.
8016
8017         * text.C: fix rowLast() to never return -1. Don't allow
8018           spellchecking of deleted text. Track transpose changes. Don't
8019           allow paragraph break or merge where appropriate.
8020
8021         * text2.C: leave cursor at end of selection after a cut.
8022
8023 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8024
8025         * text.C (getLengthMarkerHeight):
8026         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8027         visible on screen too.
8028
8029 2003-02-07  John Levon  <levon@movementarian.org>
8030
8031         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8032
8033 2003-02-05  Angus Leeming  <leeming@lyx.org>
8034
8035         * lyxserver.C (read_ready): revert my patch of 11 September last year
8036         as it sends PC cpu through the roof. Presumably this means that
8037         the lyxserver will no longer run on an Alpha...
8038
8039 2003-01-30  Angus Leeming  <leeming@lyx.org>
8040
8041         * factory.C (createInset): create an InsetCommandParam of type "index"
8042         and use it to 'do the right thing'.
8043
8044         * text2.C (getStringToIndex): ensure that cursor position is always
8045         reset to the reset_cursor position.
8046
8047 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8048
8049         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8050         disabled.
8051
8052 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8053
8054         * bufferview.C:
8055         * lyxcb.C:
8056         * lyxfunc.C: Output messages with identical spelling, punctuation,
8057         and spaces
8058
8059 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8060
8061         * MenuBackend.C (expandFormats): List only viewable export formats
8062         in "View" menu
8063
8064         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8065         message
8066
8067         * lyxfunc.C (getStatus): Make sure that formats other than
8068         "fax" can also be disabled
8069
8070 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8071
8072         * text3.C (dispatch): put the lfuns that insert insets in 3
8073         groups, and call doInsertInset with appropriate arguments.
8074         (doInsertInset): new function, that creates an inset and inserts
8075         it according to some boolean parameters.
8076
8077 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8078
8079         * buffer.C (readFile): remember to pass on 'par' when calling
8080         readFile recursively.
8081
8082 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8083
8084         * MenuBackend.C (expandFormats): add "..." to import formats.
8085
8086 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8087
8088         * paragraph.C (asString): Remove XForms RTL hacks.
8089
8090 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8091         * buffer.C: fix typo
8092
8093 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8094
8095         * Makefile.am (LIBS): delete var
8096         (lyx_LDADD): add @LIBS@ here instead.
8097
8098 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8099
8100         * Clarify the meaning of "wheel mouse jump"
8101
8102 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8103
8104         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8105         tabular in a float
8106
8107 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8108
8109         * importer.C (Loaders): do not preallocate 3 elements in the
8110         vector, since one ends up with 6 elements otherwise
8111
8112 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8113
8114         * DepTable.C (write): write the file name as last element of the
8115         .dep file (because it may contain spaces)
8116         (read): read info in the right order
8117
8118 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8119
8120         * paragraph_pimpl.C (simpleTeXBlanks):
8121         (simpleTeXSpecialChars):
8122         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8123
8124         * tabular.C (latex): add some missing case statements. Reindent.
8125
8126         * MenuBackend.C (expandToc): remove unused variable.
8127
8128 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8129
8130         * LColor.C:
8131         * LaTeX.C:
8132         * LyXAction.C:
8133         * MenuBackend.C:
8134         * buffer.C:
8135         * exporter.C:
8136         * lyxfunc.C:
8137         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8138         and the like.
8139
8140 2003-01-05  John Levon  <levon@movementarian.org>
8141
8142         * BufferView.h:
8143         * BufferView.C: add getEncoding()
8144
8145         * kbsequence.h:
8146         * kbsequence.C: do not store last keypress
8147
8148         * lyxfunc.h:
8149         * lyxfunc.C: store last keypress here instead. Pass encoding
8150           to getISOEncoded()
8151
8152 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8153
8154         * lyx_main.C (init): remove annoying error message when following
8155         symbolic links (bug #780)
8156
8157 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8158
8159         * text.C (insertChar):
8160         * lyxrc.C (getDescription): remove extra spaces
8161
8162 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8163
8164         * lyxrc.C (getDescription): remove extra spaces
8165
8166 2002-12-20  John Levon  <levon@movementarian.org>
8167
8168         * text3.C: hack fix for page up/down across tall rows
8169
8170 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8171
8172         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8173         not been invoked
8174
8175 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8176
8177         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8178         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8179         thesaurus is not compiled in
8180
8181 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8182
8183         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8184
8185 2002-12-16  Angus Leeming  <leeming@lyx.org>
8186
8187         * lyxrc.[Ch]:
8188         * lyx_main.C (init): remove override_x_deadkeys stuff.
8189
8190 2002-12-12  John Levon  <levon@movementarian.org>
8191
8192         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8193           insert. Only remove shift modifier under strict
8194           circumstances.
8195
8196 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8197
8198         * MenuBackend.C (expandToc): fix crash.
8199
8200 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8201
8202         * MenuBackend.C (expandToc): gettext on float names.
8203
8204 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8205
8206         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8207         implement bool empty() [bug 490]
8208
8209 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8210
8211         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8212
8213 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8214
8215         * several files: ws changes
8216
8217 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8218
8219         * text2.C (setCounter): clean up a bit, use boost.format.
8220         (updateCounters): initialize par upon declaration.
8221
8222         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8223         if the layout exists. We do not just store the layout any more.
8224         (SwitchLayoutsBetweenClasses): use boost.format
8225
8226 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8227
8228         * converter.C (convert): if from and to files are the same, use a
8229         temporary files as intermediary
8230
8231 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8232
8233         * commandtags.h:
8234         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8235
8236 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8237
8238         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8239
8240 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8241
8242         * tabular.C (asciiPrintCell): use string(size, char) instead of
8243         explicit loop.
8244
8245         * sgml.C (openTag): fix order of arguments to string constructor
8246         (closeTag): ditto
8247
8248         * lyxfunc.C (dispatch): use boost.format
8249
8250         * lots of files: change "c" -> 'c'
8251
8252 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8253
8254         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8255
8256 2002-11-25  Angus Leeming  <leeming@lyx.org>
8257
8258         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8259
8260         * lyx_main.C (init): compile fix.
8261
8262 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8263
8264         * lyx_cb.C (start): boost.formatify
8265         do not include <iostream>
8266
8267         * lengthcommon.C: ws only
8268
8269         * boost-inst.C,BoostFormat.h: add more explict instantations
8270
8271 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8272
8273         * lots of files: handle USE_BOOST_FORMAT
8274
8275 2002-11-21  John Levon  <levon@movementarian.org>
8276
8277         * pspell.C: fix compile
8278
8279 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8280
8281         * lyxfunc.C (dispatch): use boost::format
8282         (open): ditto
8283         (doImport): ditto
8284
8285         * lyxfont.C (stateText): use boost::format
8286
8287         * lyx_main.C (LyX): use boost::format
8288         (init): ditto
8289         (queryUserLyXDir): ditto
8290         (readRcFile): ditto
8291         (parse_dbg): ditto
8292         (typedef boost::function): use the recommened syntax.
8293
8294         * importer.C (Import): use boost::format
8295
8296         * debug.C (showLevel): use boost::format
8297
8298         * converter.C (view): use boost::format
8299         (convert): ditto
8300         (move): ditto
8301         (scanLog): ditto
8302
8303         * bufferview_funcs.C (currentState): use boost::format
8304
8305         * bufferlist.C (emergencyWrite): use boost::format
8306
8307         * buffer.C (readLyXformat2): use boost::format
8308         (parseSingleLyXformat2Token): ditto
8309
8310         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8311
8312         * LaTeX.C (run): use boost::format
8313
8314         * Chktex.C (scanLogFile): use boost::format
8315
8316         * BufferView_pimpl.C (savePosition): use boost::format
8317         (restorePosition): ditto
8318         (MenuInsertLyXFile): ditto
8319
8320         * BoostFormat.h: help file for explicit instation.
8321
8322 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8323
8324         * tabular.C (latex): Support for block alignment in fixed width
8325         columns.
8326
8327 2002-11-17  John Levon  <levon@movementarian.org>
8328
8329         * BufferView_pimpl.C:
8330         * lyx_cb.C:
8331         * lyxfunc.C: split filedialog into open/save
8332
8333 2002-11-08  Juergen Vigna  <jug@sad.it>
8334
8335         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8336         by my last patch (hopefully).
8337
8338 2002-11-08  John Levon  <levon@movementarian.org>
8339
8340         * iterators.h:
8341         * iterators.C:
8342         * buffer.h:
8343         * buffer.C:
8344         * paragraph.h:
8345         * paragraph.C:
8346         * toc.h:
8347         * toc.C: ParConstIterator, and use it (from Lars)
8348
8349 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8350
8351         * lyxtextclass.[Ch]: revise and add doxygen comments
8352
8353 2002-11-07  John Levon  <levon@movementarian.org>
8354
8355         * text.C: fix progress value for spellchecker
8356
8357         * toc.C: fix navigate menu for insetwrap inside minipage
8358
8359         * paragraph_funcs.C: added FIXME for suspect code
8360
8361 2002-11-07  John Levon  <levon@movementarian.org>
8362
8363         * BufferView_pimpl.C: fix redrawing of insets
8364           on buffer switch
8365
8366 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8367
8368         * text2.C (updateCounters): fix bug 668
8369
8370 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8371
8372         * text3.C (dispatch): Do not make the buffer dirty when moving the
8373         cursor.
8374
8375 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8376
8377         * vc-backend.C: STRCONV
8378         (scanMaster): ditto
8379
8380         * text2.C (setCounter): STRCONV
8381
8382         * paragraph.C (asString): STRCONV
8383
8384         * lyxlength.C (asString): STRCONV
8385         (asLatexString): ditto
8386
8387         * lyxgluelength.C (asString): STRCONV
8388         (asLatexString): ditto
8389
8390         * lyxfunc.C (dispatch): STRCONV
8391         (open): ditto
8392
8393         * lyxfont.C (stateText): STRCONV
8394
8395         * importer.C (Import): STRCONV
8396
8397         * counters.C (labelItem): STRCONV
8398         (numberLabel): ditto
8399         (numberLabel): remove unused ostringstream o
8400
8401         * chset.C: STRCONV
8402         (loadFile): ditto
8403
8404         * bufferview_funcs.C (currentState): STRCONV
8405
8406         * buffer.C (readFile): STRCONV
8407         (asciiParagraph): ditto
8408         (makeLaTeXFile): ditto
8409
8410         * Spacing.C (writeEnvirBegin): STRCONV
8411
8412         * LaTeXFeatures.C (getLanguages): STRCONV
8413         (getPackages): ditto
8414         (getMacros): ditto
8415         (getBabelOptions): ditto
8416         (getTClassPreamble): ditto
8417         (getLyXSGMLEntities): ditto
8418         (getIncludedFiles): ditto
8419
8420         * LaTeX.C: STRCONV
8421         (run): ditto
8422         (scanAuxFile): ditto
8423         (deplog): ditto
8424
8425         * LString.h: add the STRCONV macros
8426
8427         * BufferView_pimpl.C (savePosition): STRCONV
8428         (restorePosition): ditto
8429         (MenuInsertLyXFile): ditto
8430
8431         * vc-backend.C (scanMaster): change from submatch[...] to
8432         submatch.str(...)
8433
8434         * funcrequest.C: include config.h
8435
8436         * factory.C: include config.h
8437
8438         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8439
8440         * box.C: include config.h
8441
8442         * LaTeX.C (scanAuxFile): change from submatch[...] to
8443         submatch.str(...)
8444         (deplog): ditto
8445
8446 2002-10-25  Angus Leeming  <leeming@lyx.org>
8447
8448         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8449
8450         * ispell.[Ch] (setError): new method.
8451         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8452         Use setError() insetead of goto END.
8453
8454         * lyx_cb.C (AutoSave): move out child process into new class
8455         AutoSaveBuffer.
8456
8457 2002-10-30  John Levon  <levon@movementarian.org>
8458
8459         * text3.C: make start appendix undoable
8460
8461 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8462
8463         * lyxlength.C (inPixels): Fix returned value.
8464
8465         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8466         environment.
8467
8468 2002-10-24  Angus Leeming  <leeming@lyx.org>
8469
8470         * lyxgluelength.h: no need to forward declare BufferParams
8471         or BufferView, so don't.
8472
8473 2002-10-21  John Levon  <levon@movementarian.org>
8474
8475         * BufferView.C: menuUndo ->undo, redo
8476
8477         * BufferView.h: document, remove dead, make some methods private
8478
8479         * paragraph_funcs.h:
8480         * paragraph_funcs.C:
8481         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8482
8483         * buffer.h:
8484         * buffer.C:
8485         * sgml.h:
8486         * sgml.C: move sgml open/close tag into sgml.C
8487
8488         * bufferview_funcs.h: unused prototype
8489
8490         * lyxfunc.h:
8491         * lyxfunc.C: remove unused
8492
8493         * lyxtext.h:
8494         * text.C: remove unused
8495
8496 2002-10-21  John Levon  <levon@movementarian.org>
8497
8498         * BufferView.h:
8499         * BufferView.C:
8500         * BufferView_pimpl.h:
8501         * BufferView_pimpl.C: fix mouse wheel handling based on
8502           patch from Darren Freeman
8503
8504 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8505
8506         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8507
8508 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8509
8510         * lyxlength.C (inPixels): Fix hanfling of negative length.
8511         Fix LyXLength::MU case.
8512
8513 2002-10-16  John Levon  <levon@movementarian.org>
8514
8515         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8516
8517 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8518
8519         * converter.C (view): add support for $$i (file name) and $$p
8520         (file path) for the viewer command. If $$i is not specified, then
8521         it is appended to the command (for compatibility with old syntax)
8522
8523 2002-10-14  Juergen Vigna  <jug@sad.it>
8524
8525         * undo_funcs.C (textHandleUndo): alter the order in which the
8526         new undopar is added to the LyXText, as we have to set first
8527         the right prev/next and then add it as otherwise the rebuild of
8528         LyXText is not correct. Also reset the cursor to the right paragraph,
8529         with this IMO we could remove the hack in "redoParagraphs()".
8530
8531 2002-10-09  Angus Leeming  <leeming@lyx.org>
8532
8533         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8534         to turn off an optimisation if a new inset is to be inserted.
8535
8536 2002-10-11 André Pönitz <poenitz@gmx.net>
8537
8538         * lyxtext.h: make some functions public to allow access
8539         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8540
8541 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8542
8543         * text3.C (dispatch): when changing layout, avoid an infinite loop
8544         [bug #652]
8545
8546 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8547
8548         * lyxrc.C (read): treat a viewer or converter command of "none" as
8549         if it were empty.
8550
8551         * MenuBackend.C (expandFormats): for an update, also allow the
8552         formats that are not viewable
8553
8554         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8555         script if it is newer than the lyxrc.defaults in user directory
8556
8557 2002-10-07 André Pönitz <poenitz@gmx.net>
8558
8559         * text.C: Vitaly Lipatov's small i18n fix
8560
8561 2002-09-25  Angus Leeming  <leeming@lyx.org>
8562
8563         * ispell.h: doxygen fix.
8564
8565 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8566
8567         * buffer.h (readFile): Add a new argument to the method, to allow
8568         reading of old-format templates.
8569
8570 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8571
8572         * toc.C (getTocList): Get TOC from InsetWrap.
8573
8574 2002-09-16  John Levon  <levon@movementarian.org>
8575
8576         * lyxfunc.C: check tabular for cut/copy too
8577
8578 2002-09-12  John Levon  <levon@movementarian.org>
8579
8580         * LyXAction.C: tidy
8581
8582         * factory.h:
8583         * factory.C: add header
8584
8585         * paragraph_funcs.h:
8586         * paragraph_funcs.C: cleanup
8587
8588 2002-09-11  John Levon  <levon@movementarian.org>
8589
8590         * PrinterParams.h: odd/even default to true
8591
8592 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8593
8594         * PrinterParams.h: update printer parameters for new xforms dialog
8595
8596 2002-09-11  Angus Leeming  <leeming@lyx.org>
8597
8598         * lyxserver.C (read_ready): re-write to make it more transparent
8599         and to make it work in coherent fashion under Tru64 Unix.
8600
8601 2002-09-11  André Pönitz <poenitz@gmx.net>
8602
8603         * commandtags.h:
8604         * LyXAction.C:
8605         * text3.C: implement LFUN_WORDSEL
8606
8607 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8608
8609         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8610         make floatlist_ a boost::shared_ptr<FloatList>
8611
8612         * lyxtextclass.C: include FloatList.h
8613         (LyXTextClass): initialize floatlist_
8614         (TextClassTags): add TC_NOFLOAT
8615         (Read): match "nofloat" to TC_NOFLOAT and use it.
8616         (readFloat): modify call to floatlist_
8617         (floats): ditto
8618         (floats): ditto
8619
8620         * FloatList.[Ch] (FloatList): remove commented out float
8621         initialization.
8622         (erase): new function
8623
8624 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8625
8626         * MenuBackend.C (expandToc): fix crash when there is no document
8627         open
8628
8629 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8630
8631         * many files: Add insetwrap.
8632
8633 2002-09-09  John Levon  <levon@movementarian.org>
8634
8635         * text2.C: remove confusing and awkward depth wraparound
8636
8637 2002-09-09  John Levon  <levon@movementarian.org>
8638
8639         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8640
8641         * buffer.h:
8642         * buffer.C: remove getIncludeonlyList()
8643
8644         * paragraph.C:
8645         * lyxfunc.C: remove headers
8646
8647 2002-09-09  Juergen Vigna  <jug@sad.it>
8648
8649         * text.C (getColumnNearX): fix form Michael this is most
8650         probably a cut&paste bug.
8651
8652 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8653
8654         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8655
8656         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8657         references, ws changes.
8658
8659         * text2.C (init): update counters after init
8660         (insertParagraph): no need to set counter on idividual paragraphs.
8661         (setCounter): access the counters object in the textclass object
8662         on in the buffer object.
8663         (updateCounters): ditto
8664
8665         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8666         shared_ptr<Counters> to avoid loading counters.h in all
8667         compilation units.
8668         (LyXTextClass): initialize ctrs_
8669         (TextClassTags): add TC_COUNTER, and ...
8670         (Read): use it here.
8671         (CounterTags): new tags
8672         (readCounter): new function
8673         (counters): new funtion
8674         (defaultLayoutName): return a const reference
8675
8676         * counters.C (Counters): remove contructor
8677         (newCounter): remove a couple of unneeded statements.
8678         (newCounter): simplify a bit.
8679         (numberLabel): some small formatting changes.
8680
8681         * buffer.[Ch]: remove all traces of counters, move the Counters
8682         object to the LyXTextClass.
8683
8684 2002-09-06  Alain Castera  <castera@in2p3.fr>
8685
8686         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8687         package to set the horizontal alignment on fixed width columns.
8688
8689         * lyx_sty.C:
8690         * lyx_sty.h: added tabularnewline macro def.
8691
8692         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8693
8694 2002-09-06  John Levon  <levon@movementarian.org>
8695
8696         * LyXAction.C: tooltips for sub/superscript
8697
8698         * MenuBackend.C: a bit more verbose
8699
8700         * lyxfunc.C: tiny clean
8701
8702         * undo_funcs.C: document undo_frozen
8703
8704 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8705
8706         * counters.C (Counters): add missing algorithm counter.
8707
8708         * text2.C (setCounter): lookup the counter with layouts latexname
8709         instead of by section number.
8710         (setCounter): use a hackish way to lookup the correct enum
8711         counter.
8712         a float name->type change
8713         reset enum couners with counter name directly instead of depth value.
8714
8715         * counters.C (Counters): remove the push_backs, change to use the
8716         float type not the float name.
8717         (labelItem): remove unused string, float name->type change
8718
8719         * counters.h: don't include vector, loose the enums and sects vectors
8720
8721 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8722
8723         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8724         (Read): add float->TC_FLOAT to textclassTags
8725         (Read): and handle it in the switch
8726         (readFloat): new function
8727
8728         * FloatList.C (FloatList): comment out the hardcoded float
8729         definitions.
8730
8731         * lyxlayout.h: ws change.
8732
8733 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8734
8735         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8736
8737 2002-09-03  Angus Leeming  <leeming@lyx.org>
8738
8739         * BufferView_pimpl.h: qualified name is not allowed in member
8740         declaration: WorkArea & Pimpl::workarea() const;
8741
8742         * factory.C: added using std::endl directive.
8743
8744         * text3.C: added using std::find and std::vector directives.
8745
8746 2002-08-29  André Pönitz <poenitz@gmx.net>
8747
8748         * lyxtext.h:
8749         * text2.C: remove unused member number_of_rows
8750
8751         * Makefile.am:
8752         * BufferView2.C: remove file, move contents to...
8753         * BufferView.C: ... here
8754
8755         * BufferView_pimpl.C:
8756         * factory.C: move more inset creation to factory
8757
8758         * vspace.C: avoid direct usage of LyXText, ws changes
8759
8760         * BufferView.[Ch]:
8761                 don't provide direct access to WorkArea, use two simple
8762                 acessors haveSelction() and workHeight() instead
8763
8764
8765 2002-08-29  John Levon  <levon@movementarian.org>
8766
8767         * BufferView_pimpl.C (dispatch): do not continue when
8768           no buffer
8769
8770 2002-08-28  André Pönitz <poenitz@gmx.net>
8771
8772         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8773
8774         * BufferView.h:
8775         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8776
8777 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8778
8779         * buffer.C: increment LYX_FORMAT to 221
8780
8781         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8782         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8783
8784         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8785
8786         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8787
8788 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8789
8790         * factory.C (createInset): use LyXTextClass::floats
8791
8792         * MenuBackend.C (expandFloatListInsert):
8793         (expandFloatInsert):
8794         (expandToc):
8795
8796         * text2.C (setCounter):
8797
8798         * LaTeXFeatures.C (useFloat):
8799         (getFloatDefinitions):
8800
8801         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8802
8803         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8804         floatlist_, with accessor floats().
8805
8806         * FloatList.h: remove global FloatList
8807
8808 2002-08-26  André Pönitz <poenitz@gmx.net>
8809
8810         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8811
8812         * BufferView.h:
8813         * BufferView2.C:
8814         * BufferView_pimpl.C:
8815         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8816
8817 2002-08-25  John Levon  <levon@movementarian.org>
8818
8819         * LyXAction.C: fix margin note description
8820
8821 2002-08-24  John Levon  <levon@movementarian.org>
8822
8823         * buffer.C:
8824         * bufferlist.C:
8825         * bufferview_funcs.C:
8826         * lyxfont.C:
8827         * undo_funcs.C: cleanups
8828
8829         * lyxfunc.C: disable CUT/COPY when no selection
8830
8831 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8832
8833         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8834         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8835
8836         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8837         Add backward compatibility to "mono", "gray" and "no".
8838
8839 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8840
8841         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8842         (and file_format >= 200).
8843
8844 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8845
8846         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8847
8848 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8849
8850         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8851
8852 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8853
8854         * BufferView_pimpl.C:
8855         * LyXAction.C:
8856         * buffer.C:
8857         * commandtags.h:
8858         * lyxfunc.C:
8859         * paragraph.[Ch]:
8860         * text2.C:
8861         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8862         inset and code to make it  work with the paragraph code. The inset
8863         can be anywhere in the paragraph, but will only do the expected
8864         thing in LaTeX if the layout file contains the parameter line
8865                         OptionalArgs    1
8866         (or more generally, a nonzero value) for that layout.
8867
8868 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8869
8870         * paragraph.h: remove the declaration of undefined counters class
8871         function.
8872
8873 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8874
8875         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8876         Dr. Richard Hawkins.
8877
8878 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8879
8880         * paragraph_funcs.h: remove some unneeded includes
8881
8882         * text.C (backspace): pasteParagraph now in global scipe
8883
8884         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8885         (pasteSelection): ditto
8886
8887         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8888         * paragraph_funcs.C (pasteParagraph): ... here
8889
8890 2002-08-20  André Pönitz <poenitz@gmx.net>
8891
8892         * commandtags.h: new LFUNs for swapping/copying table row/colums
8893
8894         * LyXAction.C:
8895         * lyxfunc.C: support for new lfuns
8896
8897 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8898
8899         * tabular.C:
8900         * buffer.[Ch]: remove NO_COMPABILITY stuff
8901
8902 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8903
8904         * boost.C (throw_exception): new file, with helper function for
8905         boost compiled without exceptions.
8906
8907         * paragraph.h:
8908         * lyxlength.C:
8909         * buffer.C:
8910         * ParameterStruct.h:
8911         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8912
8913         * bufferlist.C (emergencyWriteAll): use boost bind
8914
8915         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8916
8917         * text.C: include paragraph_funcs.h
8918         (breakParagraph): breakParagraph is now in global scope
8919
8920         * paragraph_funcs.[Ch]: new files
8921
8922         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8923         global scope
8924
8925         * buffer.C: include paragraph_funcs.h
8926         (insertStringAsLines): breakParagraph is now in global scope
8927
8928         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8929         paragraph_funcs.C
8930
8931         * CutAndPaste.C: include paragraph_funcs.h
8932         (cutSelection): breakParagraphConservative is now in global scope
8933         (pasteSelection): ditto
8934
8935         * buffer.h: declare oprator== and operator!= for
8936         Buffer::inset_iterator
8937
8938         * bufferlist.C (emergencyWrite): don't use fmt(...)
8939
8940         * text3.C: add using std::endl
8941
8942         * BufferView.C (moveCursorUpdate): remove default arg
8943
8944 2002-08-20  André Pönitz <poenitz@gmx.net>
8945
8946         * buffer.[Ch]: move inline functions to .C
8947
8948         * BufferView2.C:
8949         * BufferView_pimpl.C:
8950         * text.C:
8951         * buffer.[Ch]: use improved inset_iterator
8952
8953         * buffer.C:
8954         * paragraph.[Ch]: write one paragraph at a time
8955
8956 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8957
8958         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8959         style if style is not specified.
8960
8961 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8962
8963         * text2.C (setCounter): when searching for right label for a
8964         caption, make sure to recurse to parent insets (so that a caption
8965         in a minipage in a figure float works) (bug #568)
8966
8967 2002-08-20  André Pönitz <poenitz@gmx.net>
8968
8969         * text3.C: new file for LyXText::dispatch() and helpers
8970
8971         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8972
8973         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8974
8975 2002-08-19  André Pönitz <poenitz@gmx.net>
8976
8977         * lyxtext.h:
8978         * text.C: new LyXText::dispatch()
8979
8980         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8981
8982 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8983
8984         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8985
8986         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8987         Hebrew text.
8988
8989 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8990
8991         * Makefile.am: use $(variables) instead of @substitutions@
8992
8993 2002-08-15  André Pönitz <poenitz@gmx.net>
8994
8995         * lyxfunc.C:
8996         * BufferView_pimpl.C: streamlining mathed <-> outer world
8997         interaction
8998
8999         * commandtags.h:
9000         * LyXAction.C: remove unused LFUN_MATH
9001
9002 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9003
9004         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9005
9006 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9007
9008         * paragraph.C (Paragraph): reformat a bit
9009         (cutIntoMinibuffer): use builtin InsetList function instad of
9010         doing it manually.
9011         (getInset): ditto
9012
9013         * buffer.C: include boost/bind.hpp, add using std::for_each
9014         (writeFileAscii): use ParagraphList iterators
9015         (validate): use for_each for validate traversal of paragraphs
9016         (getBibkeyList): use ParagraphList iterators
9017         (resizeInsets): use for_each to resizeInsetsLyXText for all
9018         paragraphs.
9019         (getParFromID): use ParagraphList iterators
9020
9021         * BufferView2.C (lockInset): use paragraph list and iterators
9022
9023 2002-08-14  John Levon  <levon@movementarian.org>
9024
9025         * lyxserver.C: remove spurious xforms include
9026
9027 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9028
9029         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9030
9031 2002-08-13  André Pönitz <poenitz@gmx.net>
9032
9033         * LyXAction.[Ch]:
9034         * lyxfunc.C: further cleaning
9035
9036 2002-08-13  André Pönitz <poenitz@gmx.net>
9037
9038         * funcrequest.h: new constructor
9039
9040         * funcrequest.C: move stuff here from .h
9041
9042         * Makefile.am:
9043         * BufferView_pimpl.C:
9044         * LyXAction.C:
9045         * toc.C:
9046         * lyxfunc.C: subsequent changes
9047
9048         * lyxfunc.h: new view() member function
9049
9050         * lyxfunc.C: subsequent changes
9051
9052 2002-08-13  Angus Leeming  <leeming@lyx.org>
9053
9054         * BufferView2.C:
9055         * BufferView_pimpl.C:
9056         * buffer.C:
9057         * converter.C:
9058         * importer.C:
9059         * lyxfunc.C:
9060         * lyxvc.C:
9061         * toc.C:
9062         * vc-backend.C:
9063         changes due to the changed LyXView interface that now returns references
9064         to member variables not pointers.
9065
9066 2002-08-13  Angus Leeming  <leeming@lyx.org>
9067
9068         * WordLangTuple (word, lang_code): return references to strings,
9069         not strings.
9070
9071         * BufferView.h:
9072         * SpellBase.h:
9073         * lyxtext.h: forward-declare WordLangTuple.
9074
9075         * BufferView2.C:
9076         * ispell.C:
9077         * pspell.C:
9078         * text.C: #include "WordLangTuple.h".
9079
9080         * lyxtext.h:
9081         * text.C: (selectNextWordToSpellcheck): constify return type.
9082
9083 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9084
9085         * buffer.C:
9086         * buffer.h:
9087         * lyxtext.h:
9088         * paragraph.C:
9089         * paragraph_pimpl.h:
9090         * text.C:
9091         * text2.C:
9092         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9093         suggested by Angus.
9094         Made updateCounter always count from start of buffer, and removed
9095         second argument (par).
9096         Reverted floats number display to '#'. Perhaps I'll try again when the
9097         code base is sanitized a bit.
9098
9099 2002-08-12  Angus Leeming  <leeming@lyx.org>
9100
9101         * buffer.[Ch] (getLabelList): constify.
9102
9103 2002-08-07  André Pönitz <poenitz@gmx.net>
9104
9105         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9106
9107         * funcrequest.h: extension to keep mouse (x,y) position
9108
9109 2002-08-12  Juergen Vigna  <jug@sad.it>
9110
9111         * BufferView2.C (insertErrors): forbid undo when inserting error
9112         insets.
9113
9114         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9115
9116 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9117
9118         * ParagraphList.[Ch]: new files
9119
9120         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9121
9122         * BufferView2.C (lockInset): ParagraphList changes
9123         * toc.C: ditto
9124         * text2.C: ditto
9125         * bufferlist.C: ditto
9126         * buffer.h: ditto
9127         * buffer.C: ditto
9128
9129 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9130
9131         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9132         unused class variable counter_,
9133
9134         * paragraph.[Ch] (getFirstCounter): delete unused function
9135
9136         * counters.C: include LAssert.h
9137         (reset): add a new function with no arg, change other version to
9138         not have def. arg and to not allow empty arg.
9139
9140         * text2.C (setCounter): remove empty arg from call to Counters::reset
9141
9142 2002-08-11  John Levon  <levon@movementarian.org>
9143
9144         * Makefile.am: add WordLangTuple.h
9145
9146 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9147
9148         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9149         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9150
9151         * insets/insettext.C: InsetList changes
9152
9153         * graphics/GraphicsSupport.C (operator()): InsetList changes
9154
9155         * toc.C (getTocList): InsetList changes
9156
9157         * paragraph_pimpl.[Ch]: InsetList changes
9158
9159         * paragraph.[Ch]: InsetList changes
9160
9161         * buffer.C (inset_iterator): InsetList changes
9162         (setParagraph): ditto
9163         * buffer.h (inset_iterator): ditto
9164         * iterators.C (operator++): ditto
9165         * iterators.h: ditto
9166
9167         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9168
9169         * InsetList.[Ch]: new files, most InsetList handling moved out of
9170         paragraph.C.
9171
9172         * BufferView2.C (removeAutoInsets): InsetList changes
9173         (lockInset): ditto
9174         (ChangeInsets): ditto
9175
9176 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9177
9178         * paragraph_pimpl.h (empty): new function
9179
9180         * paragraph.[Ch] (empty): new function
9181
9182         * other files: use the new Paragraph::empty function
9183
9184 2002-08-09  John Levon  <levon@movementarian.org>
9185
9186         * lyxtext.h: remove unused refresh_height
9187
9188 2002-08-09  John Levon  <levon@movementarian.org>
9189
9190         * Makefile.am:
9191         * sgml.h:
9192         * sgml.C:
9193         * buffer.C:
9194         * paragraph.h:
9195         * paragraph.C: move sgml char escaping out of paragraph
9196
9197         * paragraph.h:
9198         * paragraph.C: remove id setter
9199
9200         * buffer.C:
9201         * paragraph.C:
9202         * paragraph_pimpl.C: remove dead tex_code_break_column
9203
9204         * bufferview_funcs.C: small cleanup
9205
9206         * lyxfunc.C: remove dead proto
9207
9208         * lyxtext.h: make some stuff private. Remove some dead stuff.
9209
9210         * lyxgluelength.C: make as[LyX]String() readable
9211
9212 2002-08-08  John Levon  <levon@movementarian.org>
9213
9214         * LyXAction.h:
9215         * LyXAction.C:
9216         * MenuBackend.C:
9217         * ToolbarDefaults.C:
9218         * lyxfunc.C:
9219         * lyxrc.C:
9220         * toc.C: lyxaction cleanup
9221
9222 2002-08-08  John Levon  <levon@movementarian.org>
9223
9224         * BufferView2.C: small cleanup
9225
9226         * lyxfind.h:
9227         * lyxfind.C: move unnecessary header into the .C
9228
9229 2002-08-08  John Levon  <levon@movementarian.org>
9230
9231         * funcrequest.h: just tedious nonsense
9232
9233         * lyx_main.h:
9234         * lyx_main.C: cleanups
9235
9236         * buffer.C:
9237         * vspace.C: remove dead header lyx_main.h
9238
9239 2002-08-07  Angus Leeming  <leeming@lyx.org>
9240
9241         * Paragraph.[Ch]:
9242         * paragraph_pimpl.h:
9243         Forward declare class Counters in paragraph.h by moving the ctrs member
9244         variable into Paragraph::Pimpl.
9245         (counters): new method, returning a reference to pimpl_->ctrs.
9246
9247         * text2.C: ensuing changes.
9248
9249 2002-08-07  John Levon  <levon@movementarian.org>
9250
9251         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9252
9253         * BufferView_pimpl.C: announce X selection on double/triple
9254           click
9255
9256         * lyx_main.C: use correct bool in batch dispatch
9257
9258         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9259
9260 2002-08-07  André Pönitz <poenitz@gmx.net>
9261
9262         * funcrequest.h: new class to wrap a kb_action and its argument
9263
9264         * BufferView.[Ch]:
9265         * BufferView_pimpl[Ch]:
9266         * LaTeX.C:
9267         * LyXAction.[Ch]:
9268         * lyxfunc.[Ch]:
9269         * lyxrc.C: subsequent changes
9270
9271
9272 2002-08-07  John Levon  <levon@movementarian.org>
9273
9274         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9275           document options change.
9276
9277 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9278
9279         * counters.[Ch]
9280         * text2.C
9281         * paragraph.[Ch]
9282         * makefile.am: move counters functionality over from
9283         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9284
9285 2002-08-06  John Levon  <levon@movementarian.org>
9286
9287         * WordLangTuple.h: new file for word + language code tuple
9288
9289         * SpellBase.h:
9290         * pspell.h:
9291         * pspell.C:
9292         * ispell.h:
9293         * ispell.C:
9294         * lyxtext.h:
9295         * text.C:
9296         * text2.C:
9297         * BufferView.h:
9298         * BufferView2.C: use WordLangTuple
9299
9300         * layout.h:
9301         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9302
9303 2002-08-06  John Levon  <levon@movementarian.org>
9304
9305         * lyx_main.C: fix cmdline batch handling
9306
9307 2002-08-06  André Pönitz <poenitz@gmx.net>
9308
9309         * lyxrc.C: set default for show_banner to true
9310
9311 2002-08-06  John Levon  <levon@movementarian.org>
9312
9313         * pspell.C: fix a crash, and allow new aspell to work
9314
9315 2002-08-06  John Levon  <levon@movementarian.org>
9316
9317         * lyxfunc.C:
9318         * kbmap.C: small cleanup
9319
9320         * vspace.h:
9321         * vspace.C: add const
9322
9323 2002-08-05  John Levon  <levon@movementarian.org>
9324
9325         * LyXAction.C: back to tabular-insert
9326
9327 2002-08-04  John Levon  <levon@movementarian.org>
9328
9329         * BufferView.h:
9330         * BufferView.C: cosmetic change
9331
9332         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9333
9334         * bufferlist.C:
9335         * buffer.h:
9336         * buffer.C:
9337         * lyxcb.h:
9338         * lyxcb.C:
9339         * lyxserver.C:
9340         * lyxvc.C:
9341         * vc-backend.C:
9342         * BufferView2.C: purge all "Lyx" not "LyX" strings
9343
9344         * lyxcursor.h:
9345         * lyxcursor.C: attempt to add some documentation
9346
9347         * lyxfunc.C:
9348         * commandtags.h:
9349         * LyXAction.C:
9350         * ToolbarDefaults.C:
9351         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9352           merge with LFUN_TABULAR_INSERT
9353
9354         * Makefile.am:
9355         * SpellBase.h:
9356         * ispell.h:
9357         * ispell.C:
9358         * pspell.h:
9359         * pspell.C: split up i/pspell implementations into separate
9360           files, many cleanups
9361
9362         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9363
9364         * text2.C: some cleanup
9365
9366         * lyxfunc.C: don't check for isp_command == "none" any more, it
9367           didn't make any sense
9368
9369 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9370
9371         * counters.[Ch]
9372         * text2.C
9373         * paragraph.[Ch]
9374         * makefile.am: move counters functionality over
9375         from text2.C/paragraph.[Ch] to counters.[Ch], and
9376         make proper C++.
9377 2002-08-02  John Levon  <levon@movementarian.org>
9378
9379         * buffer.C: s/lyxconvert/lyx2lyx/
9380
9381 2002-08-02  Angus Leeming  <leeming@lyx.org>
9382
9383         * lyxlex.C: revert John's change as it breaks reading of the user
9384         preamble.
9385
9386 2002-08-02  Angus Leeming  <leeming@lyx.org>
9387
9388         * importer.C (Import):
9389         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9390         changes due to LyXView::view() now returning a boost::shared_ptr.
9391
9392 2002-08-02  John Levon  <levon@movementarian.org>
9393
9394         * lyxlex.C: small cleanup
9395
9396 2002-08-02  John Levon  <levon@movementarian.org>
9397
9398         * text2.C (status): small cleanup, no logic change
9399
9400 2002-08-01  John Levon  <levon@movementarian.org>
9401
9402         * buffer.h:
9403         * buffer.C (writeFile): don't output alerts, caller
9404           handles this
9405
9406         * bufferlist.C:
9407         * lyx_cb.C: from above
9408
9409         * lyxfunc.C: allow to open non-existent files
9410
9411 2002-07-31  John Levon  <levon@movementarian.org>
9412
9413         * lyxserver.C: don't let incidental errors get
9414           in the way (errno)
9415
9416 2002-07-30  John Levon  <levon@movementarian.org>
9417
9418         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9419
9420 2002-07-30  John Levon  <levon@movementarian.org>
9421
9422         * lyxserver.h:
9423         * lyxserver.C: remove I/O callback too
9424
9425 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9426
9427         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9428         log.
9429
9430 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9431
9432         * many files: strip,frontStrip -> trim,ltrim,rtrim
9433
9434 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9435
9436         * PrinterParams.h: remove extern containsOnly, and include
9437         support/lstrings.h instead.
9438
9439         * LaTeX.C (scanAuxFile): modify because of strip changes
9440         (deplog): ditto
9441         * buffer.C (makeLaTeXFile): ditto
9442         * bufferparams.C (writeFile): ditt
9443         * lyxfont.C (stateText): ditto
9444         * lyxserver.C (read_ready): ditto
9445         * vc-backend.C (scanMaster): ditto
9446
9447         * BufferView_pimpl.h: ws changes
9448
9449         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9450
9451 2002-07-26  André Pönitz <poenitz@gmx.net>
9452
9453         * kb_sequence.C: remove unnedred usings
9454
9455 2002-07-26  Juergen Vigna  <jug@sad.it>
9456
9457         * lyxfind.C (LyXReplace): we have to check better if the returned
9458         text is not of theLockingInset()->getLockingInset().
9459
9460 2002-07-25  Juergen Vigna  <jug@sad.it>
9461
9462         * lyxfind.C (LyXReplace): don't replace if we don't get the
9463         right LyXText.
9464
9465         * undo_funcs.C (createUndo): remove debugging code.
9466
9467 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9468
9469         * buffer.C (parseSingleLyXformat2Token): Use default placement
9470         when reading old floats.
9471
9472         * FloatList.C (FloatList): Change the default placement of figure
9473         and tables to "tbp".
9474
9475 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9476
9477         * MenuBackend.C: using std::max
9478
9479 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9480
9481         * MenuBackend.C (expandToc):
9482         (expandToc2): code moved from xforms menu frontend. It is now
9483         generic and TOCs are transparent to menu frontends.
9484
9485 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9486
9487         * toc.C (getTocList): protect against buf=0
9488
9489         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9490         Menu as first parameter. Now, this calls itself recursively to
9491         expand a whole tree (this will be useful for TOC handling)
9492         (expandFloatInsert): remove 'wide' version of floats
9493
9494         * MenuBackend.h (submenuname): returns the name of the submenu.
9495         (submenu): returns the submenu itself, provided it has been
9496         created by MenuBackend::expand
9497
9498 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9499
9500         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9501         insets which have noFontChange == true. (bug #172)
9502
9503 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9504
9505         * BufferView_pimpl.C: add connection objects and use them...
9506         (Pimpl): here.
9507
9508 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9509
9510         * MenuBackend.C (expandLastfiles):
9511         (expandDocuments):
9512         (expandFormats):
9513         (expandFloatListInsert):
9514         (expandFloatInsert):
9515         (expand): split expand in parts
9516
9517 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9518
9519         * lyx_gui.C: use lyx_gui::exit()
9520
9521 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9522
9523         * LyXAction.C: show the failing pseudo action
9524
9525 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9526
9527         * buffer.C (readFile): Run the lyxconvert script in order to read
9528         old files.
9529
9530 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9531
9532         * LyXAction.C:
9533         * commandtags.h:
9534         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9535
9536 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9537
9538         * LyXAction.C:
9539         * commandtags.h:
9540         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9541
9542 2002-07-22  Herbert Voss  <voss@lyx.org>
9543
9544         * lengthcommon.C:
9545         * lyxlength.[Ch]: add support for the vertical lengths
9546
9547 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9548
9549         * toc.[Ch]: std:: fixes
9550
9551 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9552
9553         * lyxrc.C: do not include lyx_main.h
9554
9555         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9556         for layouts
9557
9558         * lyxrc.C:
9559         * encoding.C:
9560         * bufferlist.C:
9561         * BufferView2.C: include "lyxlex.h"
9562
9563         * tabular.h:
9564         * bufferparams.h: do not #include "lyxlex.h"
9565
9566         * lyxtextclasslist.C (Add): remove method
9567         (classlist): renamed to classlist_
9568
9569         * paragraph_pimpl.C:
9570         * paragraph.C:
9571         * text2.C:
9572         * CutAndPaste.C:
9573         * bufferview_funcs.C:
9574         * bufferlist.C:
9575         * text.C:
9576         * LaTeXFeatures.C:
9577         * buffer.C:
9578         * toc.C (getTocList): use BufferParams::getLyXTextClass
9579
9580         * toc.C (getTocList): use InsetFloat::addToToc
9581
9582         * toc.[Ch]: new files, containing helper functions to handle table
9583         of contents
9584
9585         * lyxfunc.C (dispatch): no need to remove spaces around command
9586         given as a string
9587         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9588         first command of the sequence; it is not very clever, but I do not
9589         have a better idea, actually
9590
9591         * LyXAction.C (LookupFunc): make sure to remove space at the
9592         beginning and end of the command
9593
9594 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9595
9596         * MenuBackend.C (getMenubar): new method: return the menubar of
9597         this menu set
9598         (read): treat differently reading of menu and menubar (in
9599         particular, the menubar has no name now)
9600         (Menu::menubar): remove
9601
9602         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9603         saving is finished
9604
9605 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9606
9607         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9608         a bibitem inset in a RTL paragraph.
9609
9610 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9611
9612         * paragraph_pimpl.C: constify
9613
9614         * BufferView_pimpl.C:
9615         * LaTeX.C:
9616         * lyxfunc.C: fix dispatch in a nicer way
9617
9618 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9619
9620         * lyxfunc.C (dispatch):
9621         * BufferView_pimpl.C:
9622         * BufferView_pimpl.h:
9623         * BufferView.C:
9624         * BufferView.h: rename Dispatch() to dispatch()
9625
9626         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9627
9628         * lyxlayout.C (Read): honor DependsOn tag
9629
9630         * lyxlayout.[Ch] (depends_on): new method
9631
9632         * version.C.in: update lyx_docversion
9633
9634         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9635
9636         * paragraph.C (validate): remove from here...
9637         * paragraph_pimpl.C (validate): ... and move here
9638         (isTextAt): make it const
9639
9640         * buffer.C (getLists): ws cleanup
9641
9642 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9643
9644         * language.C (read): Use iso8859-1 encoding in latex_lang
9645         (this prevents LyX from crashing when using iso10646-1 encoding).
9646
9647 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9648
9649         * text2.C (toggleInset): if cursor is inside an inset, close the
9650         inset and leave cursor _after_ it
9651
9652 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9653
9654         * lyxfunc.C: move minibuffer completion handling out of here
9655
9656 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9657
9658         * BufferView_pimpl.C:
9659         * LaTeX.C: fix dispatch calls
9660
9661 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9662
9663         * text.C (drawChars): Fix Arabic text rendering.
9664
9665 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9666
9667         * LyXAction.C:
9668         * commandtags.h:
9669         * lyxfunc.C: remove message-push/pop
9670
9671         * lyxserver.C:
9672         * lyxfunc.h:
9673         * lyxfunc.C: rationalise some code by removing verboseDispatch
9674           in favour of a bool argument to dispatch()
9675
9676 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9677
9678         * lyx_main.C (init): make sure to read symlinks as absolute paths
9679
9680 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9681
9682         * lyxfunc.h:
9683         * lyxfunc.C: no need for commandshortcut to be a member
9684
9685 2002-07-15  André Pönitz <poenitz@gmx.net>
9686
9687         * converter.C: add support for $$s (scripts from lib/scripts dir)
9688         * lyx_main.C: white space
9689
9690 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9691
9692         * bufferlist.C:
9693         * lyxrc.h:
9694         * lyxrc.C: remove second exit confirmation
9695
9696 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9697
9698         * BufferView.h:
9699         * BufferView.C:
9700         * BufferView2.C:
9701         * BufferView_pimpl.h:
9702         * BufferView_pimpl.C:
9703         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9704
9705 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9706
9707         * MenuBackend.C (expand): add numeric shortcuts to document menu
9708
9709         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9710
9711 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9712
9713         * lyxfont.C (setLyXFamily):
9714         (setLyXSeries):
9715         (setLyXShape):
9716         (setLyXSize):
9717         (setLyXMisc):
9718         (lyxRead):
9719         * debug.C (value):
9720         * buffer.C (asciiParagraph): use ascii_lowercase
9721
9722 2002-07-15  Mike Fabian  <mfabian@suse.de>
9723
9724         * lyxlex_pimpl.C (search_kw):
9725         * lyxlex.C (getLongString):
9726         * converter.h (operator<):
9727         * converter.C (operator<):
9728         * buffer.C (parseSingleLyXformat2Token):
9729         (asciiParagraph):
9730         * ToolbarDefaults.C (read):
9731         * MenuBackend.C (checkShortcuts):
9732         (read):
9733         * LColor.C (getFromGUIName):
9734         (getFromLyXName): use the compare_ascii_no_case instead of
9735         compare_no_case, because in turkish, 'i' is not the lowercase
9736         version of 'I', and thus turkish locale breaks parsing of tags.
9737
9738 2002-07-16  Angus Leeming  <leeming@lyx.org>
9739
9740         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9741         now takes a Buffer const & argument.
9742
9743 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9744
9745         * BufferView.C (resize): check there's a buffer to resize
9746
9747 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9748
9749         * lyxfunc.C: remove dead code
9750
9751         * lyxserver.h:
9752         * lyxserver.C: use lyx_guii::set_read_callback
9753
9754 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9755
9756         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9757         an inset in a RTL paragraph.
9758
9759 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9760
9761         * lyxfunc.C: repaint after a font size update
9762
9763 2002-07-15  André Pönitz <poenitz@gmx.net>
9764
9765         * lyxlength.C: inBP should be able to return negative values
9766
9767 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9768
9769         * lyxfunc.C: use lyx_gui::update_fonts()
9770
9771 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9772
9773         * lyxfunc.C: use lyx_gui::update_color()
9774
9775 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9776
9777         * bufferlist.C:
9778         * lyxfunc.h:
9779         * lyxfunc.C:
9780         * lyxrc.h:
9781         * lyxrc.C: remove file->new asks for name option, and let
9782           buffer-new take an argument
9783
9784 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9785
9786         * BufferView_pimpl.C: remove unneeded extra repaint()
9787
9788 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9789
9790         * LyXAction.C: allow command-sequence with NoBuffer
9791
9792         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9793
9794 2002-07-10  Angus Leeming  <leeming@lyx.org>
9795
9796         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9797
9798 2002-07-09  Angus Leeming  <leeming@lyx.org>
9799
9800         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9801
9802 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9803
9804         * lengthcommon.h: whitespace
9805
9806         * lyxfunc.C: update scrollbar after goto paragraph
9807
9808         * lyxtext.h: factor out page break drawing, and fix it so
9809           page break/added space paints as selected nicely
9810
9811 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9812
9813         * BufferView_pimpl.C: add FIXMEs, clean up a little
9814
9815 2002-07-09  André Pönitz <poenitz@gmx.net>
9816
9817         * lyxfont.[Ch]: support for wasy symbols
9818
9819 2002-07-08  André Pönitz <poenitz@gmx.net>
9820
9821         * BufferView_pimpl.C: apply John's patch for #93.
9822
9823 2002-07-05  Angus Leeming  <leeming@lyx.org>
9824
9825         * BufferView_pimpl.C (buffer): generate previews if desired.
9826
9827         * LColor.h: add "preview" to the color enum.
9828
9829         * LColor.C (LColor): add a corresponding entry to the items array.
9830
9831         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9832         with this buffer.
9833
9834 2002-07-05  Angus Leeming  <leeming@lyx.org>
9835
9836         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9837         The body of the code is now in the method that is passed an ostream &
9838         rather than a file name.
9839         Pass an additional only_preamble parameter, useful for the forthcoming
9840         preview stuff.
9841
9842 2002-07-03  André Pönitz <poenitz@gmx.net>
9843
9844         * lyxfunc.C: simplify getStatus() a bit for math stuff
9845
9846 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9847
9848         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9849
9850 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9851
9852         * text.C (changeRegionCase): do not change case of all the
9853         document when region ends at paragraph end (bug #461)
9854
9855 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9856
9857         * paragraph.C (startTeXParParams):
9858         (endTeXParParams): add \protect when necessary
9859
9860 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9861
9862         * BufferView_pimpl.C (workAreaExpose): remove warning
9863
9864 2002-06-27  Angus Leeming  <leeming@lyx.org>
9865
9866         * Makefile.am: add lyxlayout_ptr_fwd.h.
9867
9868 2002-06-26  André Pönitz <poenitz@gmx.net>
9869
9870         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9871
9872 2002-06-25  Angus Leeming  <leeming@lyx.org>
9873
9874         * lyxfunc.C (dispatch): Comment out the call to
9875         grfx::GCache::changeDisplay. The method no longer exists now that the
9876         pixmap generation part of the graphics loader has been moved into
9877         InsetGraphics.
9878
9879 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9880
9881         * text2.C: layout as layout
9882
9883         * text.C: layout as layout
9884
9885         * tabular.C (OldFormatRead): layout as layout
9886
9887         * paragraph_pimpl.C (TeXDeeper): layout as layout
9888         (realizeFont): layout as layout
9889
9890         * paragraph.C (writeFile): layout as layout
9891         (validate): layout as layout
9892         (getFont): layout as layout
9893         (getLabelFont): layout as layout
9894         (getLayoutFont): layout as layout
9895         (breakParagraph): layout as layout
9896         (stripLeadingSpaces): layout as layout
9897         (getEndLabel): layout as layout
9898         (getMaxDepthAfter): layout as layout
9899         (applyLayout): layout as layout
9900         (TeXOnePar): layout as layout
9901         (simpleTeXOnePar): layout as layout
9902         (TeXEnvironment): layout as layout
9903         (layout): layout as layout
9904         (layout): layout as layout
9905
9906         * lyxtextclass.C (compare_name): new functor to work with
9907         shared_ptr, layout as layout
9908         (Read): layout as layout
9909         (hasLayout): layout as layout
9910         (operator): layout as layout
9911         (delete_layout): layout as layout
9912         (defaultLayout): layout as layout
9913
9914         * lyxlayout_ptr_fwd.h: new file
9915
9916         * lyxlayout.C (Read): layout as layout
9917
9918         * lyx_cb.C (MenuInsertLabel): layout as layout
9919
9920         * bufferlist.C (newFile): layout as layout
9921
9922         * buffer.C (readLyXformat2): layout as layout
9923         (parseSingleLyXformat2Token): layout as layout
9924         (insertStringAsLines): layout as layout
9925         (asciiParagraph): layout as layout
9926         (latexParagraphs): layout as layout
9927         (makeLinuxDocFile): layout as layout
9928         (simpleLinuxDocOnePar): layout as layout
9929         (makeDocBookFile): layout as layout
9930         (simpleDocBookOnePar): layout as layout
9931         (getLists): layout as layout
9932
9933         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9934
9935         * CutAndPaste.C (cutSelection): layout as layout
9936         (pasteSelection): layout as layout
9937         (SwitchLayoutsBetweenClasses): layout as layout
9938
9939         * BufferView_pimpl.C (Dispatch): layout as layout
9940         (smartQuote): layout as layout
9941
9942         * BufferView2.C (unlockInset): layout as layout
9943
9944 2002-06-24  André Pönitz <poenitz@gmx.net>
9945
9946         * lyxfunc.C: fix #487
9947
9948 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9949
9950         * lyxrc.h:
9951         * lyxrc.C:
9952         * lyxfunc.C: remove display_shortcuts, show_banner
9953
9954 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9955
9956         * Buffer_pimpl.C: oops, update on resize
9957
9958 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9959
9960         * buffer.C:
9961         * converter.C:
9962         * exporter.C:
9963         * lyxfunc.C:
9964         * BufferView.h:
9965         * BufferView.C: use repaint()
9966
9967         * BufferView_pimpl.h:
9968         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9969           as it's a clearer description. Remove superfluous
9970           redraws.
9971
9972 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9973
9974         * text.C: fix bug 488. Not ideal, but getting
9975           getWord() to work properly for the insets that
9976           matter is more difficult ...
9977
9978 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9979
9980         * BufferView_pimpl.C:
9981         * LyXAction.C:
9982         * commandtags.h:
9983         * lyxfunc.C: remove the six million index lyxfuncs to just
9984           one, and DTRT (bug 458)
9985
9986 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9987
9988         * BufferView.h:
9989         * BufferView.C:
9990         * BufferView_pimpl.h:
9991         * BufferView_pimpl.C: clean up resize() stuff,
9992           and unnecessary updateScreen()s
9993
9994 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9995
9996         * BufferView.h:
9997         * BufferView.C:
9998         * BufferView_pimpl.h:
9999         * BufferView_pimpl.C:
10000         * lyxfind.h:
10001         * lyxfind.C:
10002         * minibuffer.C: remove focus management of workarea,
10003           not needed. Use screen's greyOut()
10004
10005 2002-06-17  Herbert Voss  <voss@lyx.org>
10006
10007         * converter.C: (convert) do not post a message, when converting
10008         fails, let the calling function decide what to do in this case
10009
10010 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10011
10012         * lyxfunc.C: tidy up a little
10013
10014 2002-06-16    <alstrup@diku.dk>
10015
10016         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10017         Got rid of FORMS_H_LOCATION include. Now we are
10018         GUII.
10019
10020 2002-06-15  LyX Development team  <lyx@rilke>
10021
10022         * buffer.[Ch] (sgmlOpenTag):
10023         (sgmlCloseTag): Added support for avoiding pernicious mixed
10024         content. Return number of lines written.
10025
10026         (makeLinuxDocFile):
10027         (makeDocBookFile): Fixed calls to sgml*Tag.
10028         Simple white space clean.
10029
10030         (simpleDocBookOnePar): Simple white space clean.
10031
10032         * tabular.[Ch] (docBook): Renamed to docbook and got another
10033         argument to related with the pernicious mixed content.
10034
10035         (docbookRow): Fixed calls for docbook inset method.
10036
10037 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10038
10039         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10040         so it's X11 independent.
10041
10042         * kb*.[Ch]: ditto.
10043
10044         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10045
10046 2002-06-15  Lyx Development team  <lyx@electronia>
10047
10048         * intl.h: Renamed getTrans to getTransManager.
10049
10050 2002-06-14  Angus Leeming  <leeming@lyx.org>
10051
10052         * Makefile.am: nuke forgotten stl_string_fwd.h.
10053
10054 2002-06-12  Angus Leeming  <leeming@lyx.org>
10055
10056         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10057
10058 2002-06-13  Angus Leeming  <leeming@lyx.org>
10059
10060         * LaTeX.C:
10061         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10062
10063 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10064
10065         * kbmap.C (getiso): add support for cyrillic and greek
10066
10067 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10068
10069         * BufferView.h:
10070         * BufferView.C:
10071         * BufferView_pimpl.h:
10072         * BufferView_pimpl.C: move bogus scrolling logic
10073           to xforms
10074
10075 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10076
10077         * lyxfunc.C:
10078         * BufferView_pimpl.C: view->resize() change
10079
10080 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10081
10082         * BufferView_pimpl.C: topCursorVisible
10083           prototype change
10084
10085 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10086
10087         * Makefile.am:
10088         * lyx_gui.h:
10089         * lyx_gui.C: move to frontends/
10090
10091         * main.C:
10092         * lyx_main.h:
10093         * lyx_main.C: changes from above
10094
10095 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10096
10097         * intl.C:
10098         * intl.h:
10099         * kbmap.C:
10100         * kbsequence.C:
10101         * lyx_cb.C:
10102         * lyx_main.C: minor tidy
10103
10104 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10105
10106         * BufferView_pimpl.h:
10107         * BufferView_pimpl.C:
10108         * BufferView.h:
10109         * BufferView.C: make painter() const,
10110           remove dead code
10111
10112         * BufferView2.C: use screen() accessor
10113
10114         * lyx_main.h:
10115         * lyx_main.C: some minor cleanup
10116
10117 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10118
10119         * BufferView_pimpl.h:
10120         * BufferView_pimpl.C: remove enter/leaveView,
10121           use workHeight()
10122
10123 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10124
10125         * BufferView.h:
10126         * BufferView.C:
10127         * BufferView2.C:
10128         * BufferView_pimpl.h:
10129         * BufferView_pimpl.C: only construct screen once,
10130           rename
10131
10132         * lyxrc.C: remove pointless comment
10133
10134 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10135
10136         * BufferView.h:
10137         * BufferView.C: remove active() and belowMouse()
10138
10139         * BufferView_pimpl.h:
10140         * BufferView_pimpl.C: use workarea() not workarea_,
10141           and make it use a scoped_ptr instead
10142
10143 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10144
10145         * lyx_gui.C: add debug message on BadWindow
10146
10147 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10148
10149         * sp_spell.C: fdopen is not part of the C++ standard.
10150
10151         * paragraph.C (InsetIterator): use >= instead of ==
10152
10153 2002-06-07  Angus Leeming  <leeming@lyx.org>
10154
10155         Fixes needed to compile with Compaq cxx 6.5.
10156         * BufferView_pimpl.C:
10157         * DepTable.C:
10158         * buffer.C:
10159         * converter.C:
10160         * encoding.C:
10161         * lyx_gui.C:
10162         * lyx_main.C:
10163         * lyxtextclasslist.C:
10164         * minibuffer.C:
10165         * sp_spell.C:
10166         * tabular_funcs.C:
10167         * vc-backend.C:
10168         all c-library variables have been moved into namespace std. Wrap
10169         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10170
10171         * lyxlength.C:
10172         * tabular-old.C:
10173         * tabular.C:
10174         Add a using std::abs declaration.
10175
10176         * kbmap.h (modifier_pair):
10177         * paragraph.h (InsetTable, InsetList):
10178         * lyxfont.h (FontBits):
10179         type definition made public.
10180
10181         * bufferlist.C (emergencyWriteAll): the compiler complains that
10182         there is more than one possible lyx::class_fun template to choose from.
10183         I re-named the void specialisation as lyx::void_class_fun.
10184
10185         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10186
10187         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10188         the compiler is is unable to find tostr in write_attribute.
10189
10190 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10191
10192         * buffer.C (sgmlError): hide #warning
10193
10194 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10195
10196         * xtl/*: get rid of xtl, which is not in use anyway
10197
10198         * LyXAction.C (init):
10199         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10200         were unimplemented xtl experimentation
10201
10202 2002-06-04  André Pönitz <poenitz@gmx.net>
10203
10204         * lyxfunc.C: disable array operation on simple formulae
10205
10206 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10207
10208         * converter.C: constify a bit
10209
10210 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10211
10212         * lyx_gui.C: check xforms version correctly
10213
10214 2002-04-30  Herbert Voss  <voss@lyx.org>
10215
10216         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10217         "keep" option
10218
10219 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10220
10221         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10222           attempt to register it with a VCS)
10223
10224 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10225
10226         * lyx_main.C (init): honor variables LYX_DIR_13x and
10227         LYX_USERDIR_13x
10228
10229 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10230
10231         * buffer.h:
10232         * buffer.C:
10233         * lyx_main.C: fix a crash on bad command line,
10234           and give a useful exit status on error
10235
10236         * lyxfunc.C (doImport): allow -i lyx to work
10237
10238 2002-03-30  André Pönitz <poenitz@gmx.net>
10239
10240         * lyxfunc.C: mathed font changes
10241
10242 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10243
10244         * LaTeX.C:
10245         * importer.h:
10246         * importer.C:
10247         * lyx_sty.h:
10248         * lyx_sty.C:
10249         * lyxlex.C:
10250         * lyxrow.h:
10251         * lyxtext.h:
10252         * paragraph.h:
10253         * paragraph.C:
10254         * texrow.h:
10255         * texrow.C:
10256         * text.C:
10257         * trans_mgr.h: srcdocs, and some minor cleanups
10258
10259 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10260
10261         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10262         call getFont all the time)
10263
10264 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10265
10266         * switch from SigC signals to boost::signals
10267
10268 2002-05-29  André Pönitz <poenitz@gmx.net>
10269
10270         * paragraph_pimpl.C (getChar): don't call size() too often...
10271
10272 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10273
10274         * paragraph_pimpl.C (insertChar): do not try to update tables when
10275         appending (pos == size())
10276
10277         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10278         in order to reduce drastically the number of comparisons needed to
10279         parse a large document
10280
10281 2002-05-29  André Pönitz <poenitz@gmx.net>
10282
10283         * text.C:
10284         * text2.C:
10285         * lyxtextclass.C:
10286         * sp_pspell.h:
10287         * textclasslist.[Ch]:
10288         * sp_ispell.h: whitespace change
10289
10290 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10291
10292         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10293         lyxaction directly now.
10294
10295 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10296
10297         * trans.C:
10298         * lyxfont.C:
10299         * lyxvc.C: remove unused headers
10300
10301 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10302
10303         * Makefile.am:
10304         * buffer.h:
10305         * undostack.h:
10306         * undostack.C:
10307         * undo_funcs.h:
10308         * undo_funcs.C: some cleanups. Use shared_ptr
10309           and a template for the undo stacks.
10310
10311 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10312
10313         * BufferView_pimpl.h:
10314         * BufferView_pimpl.C:
10315         * kbmap.h:
10316         * kbmap.C:
10317         * kbsequence.h:
10318         * kbsequence.C:
10319         * lyxfunc.h:
10320         * lyxfunc.C:
10321         * text2.C: use key_state/mouse_state
10322
10323 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10324
10325         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10326         and LSubstring
10327
10328         * chset.C: change include order
10329         (loadFile): use boost regex and get rid of LRegex and LSubstring
10330
10331         * Makefile.am (BOOST_LIBS): new variable
10332         (lyx_LDADD): use it
10333
10334         * LaTeX.C: change include order.
10335         (scanAuxFile): use boost regex and get rid of LRegex and
10336         LSubstring
10337         (deplog): ditto
10338
10339 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10340
10341         * ColorHandler.h:
10342         * ColorHandler.C:
10343         * FontInfo.h:
10344         * FontInfo.C: moved to frontends/xforms/
10345
10346         * FontLoader.h:
10347         * FontLoader.C: moved into frontends for GUIIzation
10348
10349         * Makefile.am:
10350         * lyx_gui.C:
10351         * lyxfont.C:
10352         * lyxfunc.C: changes from above
10353
10354 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10355
10356         * LColor.C: remove spurious X include
10357
10358         * BufferView_pimpl.C:
10359         * Makefile.am:
10360         * font.h:
10361         * font.C:
10362         * text.C:
10363         * text2.C: move font metrics to frontends/
10364
10365 2002-05-24  Juergen Vigna  <jug@sad.it>
10366
10367         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10368         setting the undo_cursor.
10369
10370         * ParagraphParameters.h: include local includes first.
10371
10372 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10373
10374         * BufferView_pimpl.C:
10375         * BufferView_pimpl.h:
10376         * Makefile.am:
10377         * WorkArea.h:
10378         * WorkArea.C:
10379         * screen.C: move WorkArea into frontends/
10380
10381         * lyxscreen.h:
10382         * screen.C:
10383         * text.C:
10384         * BufferView.C:
10385         * BufferView2.C: move LyXScreen into frontends/
10386
10387         * lyxlookup.h:
10388         * lyxlookup.C:
10389         * lyx_gui.C: move lyxlookup into frontends/xforms/
10390
10391 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10392
10393         * BufferView2.C:
10394         * BufferView_pimpl.C:
10395         * FontLoader.C:
10396         * LyXView.h:
10397         * LyXView.C:
10398         * Makefile.am:
10399         * WorkArea.C:
10400         * XFormsView.h:
10401         * XFormsView.C:
10402         * buffer.C:
10403         * bufferlist.C:
10404         * bufferview_funcs.C:
10405         * converter.C:
10406         * importer.C:
10407         * lyx_cb.C:
10408         * lyx_gui.C:
10409         * lyx_main.C:
10410         * lyx_find.C:
10411         * lyxfunc.C:
10412         * lyxvc.C:
10413         * minibuffer.C:
10414         * text.C:
10415         * text2.C:
10416         * trans.C:
10417         * vc-backend.C: move LyX/XFormsView into frontends/
10418
10419 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10420
10421         * Makefile.am:
10422         * PainterBase.C:
10423         * PainterBase.h:
10424         * Painter.C:
10425         * Painter.h:
10426         * WorkArea.C:
10427         * WorkArea.h:
10428         * screen.C:
10429         * tabular.C:
10430         * text.C:
10431         * text2.C: move Painter to frontends/
10432
10433 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10434
10435         * buffer.C: comment out some some code that depend upon lyx_format
10436         < 220
10437
10438         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10439         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10440
10441         * buffer.h (NO_COMPABILITY): turn off compability
10442
10443         * ColorHandler.C: include scoped_array.hpp
10444
10445         * font.C: Use more specific smart_ptr header.
10446         * Painter.C: ditto
10447         * gettext.C: ditto
10448         * ShareContainer.h: ditto
10449         * lyx_main.h: ditto
10450         * kbmap.h: ditto
10451         * FontInfo.h: ditto
10452         * BufferView_pimpl.h: ditto
10453         * ColorHandler.h: ditto
10454
10455         * kbmap.C (defkey): change call to shared_ptr::reset
10456
10457 2002-05-21  Juergen Vigna  <jug@sad.it>
10458
10459         * buffer.C (insertErtContents): fix to insert ert asis if it is
10460         non empty. Skip it completely if it contains only whitespaces.
10461
10462 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10463
10464         * BufferView_pimpl.C:
10465         * BufferView2.C: clear selection on paste (bug 393)
10466
10467 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10468
10469         * DepTable.C: include ctime
10470
10471 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10472
10473         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10474
10475 2002-05-14  Juergen Vigna  <jug@sad.it>
10476
10477         * text.C (breakParagraph): fixed function to honor the keepempty
10478         layout in the right maner and also to permit the right breaking
10479         algorithm on empty or non empyt keepempty paragraphs.
10480
10481         * paragraph.C (breakParagraph): we have to check also if the par
10482         is really empty (!size()) for isempty otherwise we do the wrong
10483         paragraph break.
10484
10485 2002-05-10  Juergen Vigna  <jug@sad.it>
10486
10487         * buffer.[Ch] : The following are only changes to the ert
10488         compatibility read reading old LaTeX layout and font stuff and
10489         convert it to ERTInsets.
10490
10491         * buffer.h: added isErtInset().
10492
10493         * buffer.C (struct ErtComp): add a fromlayout bool to check
10494         if we're inside a LaTeX layout.
10495         (isErtInset): new helper function.
10496         (insertErtContents): look for other ert insets before this one
10497         and insert the contents there, so that we don't have subsequent
10498         ERT insets with nothing between them. This way we create only one
10499         inset with multiple paragraphs. Also check if we don't insert only
10500         spaces ' ' as they are ignored anyway afterwards in the .tex file
10501         so if we have only spaces we will ignore this latex part in the
10502         new file.
10503         (parseSingleLyXformat2Token \\layout): better compatibility when
10504         reading layout-latex stuff.
10505         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10506         language tag.
10507         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10508         stuff after reading the inset only get the information back from
10509         the stack.
10510
10511 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10512
10513         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10514
10515         * LaTeXFeatures.C (getBabelOptions): New method.
10516
10517 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10518
10519         * BufferView_pimpl.C (Dispatch): work around missing argument for
10520         'layout'
10521
10522 2002-05-08  Juergen Vigna  <jug@sad.it>
10523
10524         * text.C (leftMargin): handle paragraph leftindent.
10525
10526         * paragraph.C (writeFile): write the new \\leftindent tag.
10527         (validate): handle leftindent code.
10528         (TeXEnvironment): handle paragraphleftindent code again.
10529
10530         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10531
10532         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10533         for paragrap_extra indent code and new token \\leftindent.
10534         (latexParagraphs): handle the leftindent as environment.
10535
10536         * ParameterStruct.h: added leftindent support.
10537
10538         * ParagraphParameters.C (leftIndent): added support functions for
10539         the paragraph left indent.
10540
10541         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10542         more appropriate.
10543
10544 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10545
10546         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10547         inside insetERT.
10548
10549         * text.C (computeBidiTables): No bidi in insetERT.
10550
10551         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10552         in RTL documents.
10553
10554 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10555
10556         * version.C.in: pre 5
10557
10558 2002-05-02  José Matos  <jamatos@fep.up.pt>
10559         * buffer.C (makeDocBookFile): white space changes, add newline to
10560         command styles.
10561         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10562
10563         * tabular.C (docBook): fix typo.
10564
10565 2002-05-03  Juergen Vigna  <jug@sad.it>
10566
10567         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10568         change in LyXText as we can not be sure it was not freed.
10569         (drawOneRow): remove unused code.
10570
10571         * text.C (drawInset): redo the calculation of the need_break_row as
10572         it could have a row which was already freed.
10573         (draw): look at the return value of drawInset and return false if
10574         it also returned false.
10575         (paintRowText): look at the return value of draw and return false if
10576         it also returned false.
10577
10578         * lyxtext.h: added bool return type to drawInset() and draw() so that
10579         if we have a change in the row so that the rowbreak has to be redone
10580         we abort drawing as it will be called again.
10581
10582 2002-05-02  Juergen Vigna  <jug@sad.it>
10583
10584         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10585         a change in the maintext also if we're inside an inset.
10586         (Dispatch): set the cursor again after a break line and after the
10587         screen has been updated as it could be we're in a different row.
10588
10589         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10590         to set the cursor behind the pargraph with > size().
10591         (setCursor): check also for the same paragraph when checking where
10592         to put the cursor if we have a NFR inset.
10593
10594         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10595         parts of layout read further up as it still was in the wrong
10596         position.
10597
10598 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10599
10600         * screen.C (drawFromTo): change sine fullRebreak always return
10601         true.
10602
10603         * buffer.C (parseSingleLyXformat2Token): reindent some
10604
10605         * BufferView_pimpl.C (update): change since fullRebreak always
10606         return true.
10607         (Dispatch): git rid of the last hardcoded "Standard"s.
10608
10609 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10610
10611         * text2.[Ch] (fullRebreak): make it return void now that we always
10612         returned true.
10613
10614 2002-04-30  Juergen Vigna  <jug@sad.it>
10615
10616         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10617         ert compatibility check for "latex" layout.
10618
10619 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10620
10621         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10622         minipages: use col% instead of p%, and also use the current font.
10623         (makeLaTeXFile): Fix use babel condition.
10624         (parseSingleLyXformat2Token): Correct font when reading old floats.
10625
10626 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10627
10628         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10629         inserting list of floats.
10630
10631 2002-04-25  Herbert Voss  <voss@lyx.org>
10632
10633         * MenuBackend.C (expand): don't add the graphics extensions to the
10634         export menu
10635
10636 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10637
10638         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10639         non-existing layout, do not complain if it was the default layout
10640         of the original class (bug #342)
10641
10642 2002-04-24  Juergen Vigna  <jug@sad.it>
10643
10644         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10645         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10646
10647 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10648
10649         * buffer.C (getBibkeyList): If using \bibliography, return the
10650         option field with the reference itself. Enables us to provide natbib
10651         support when using \bibliography.
10652
10653 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10654
10655         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10656
10657         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10658         natbib is provided by the LaTeX class.
10659
10660 2002-04-23  Juergen Vigna  <jug@sad.it>
10661
10662         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10663         Wakeup functions.
10664
10665         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10666
10667 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10668
10669         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10670
10671         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10672         ensuremath around textordmasculine, textordfeminine and
10673         textdegree.
10674
10675 2002-04-19  Juergen Vigna  <jug@sad.it>
10676
10677         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10678         reinitializing the buffer otherwise row-dimensions may be wrong.
10679         (update): reset also the selection cursors if they do exits otherwise
10680         their x/y positions may be wrong.
10681
10682         * text2.C (cursorDown): don't enter the inset if we came from a row
10683         above and are one row over the inset.
10684
10685         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10686         really leaving an inset.
10687
10688 2002-04-18  Juergen Vigna  <jug@sad.it>
10689
10690         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10691         of the selected paragraph does not have the selected layout also if
10692         the last one had!
10693
10694         * text2.C (setLayout): fixed bug which did not change last selected
10695         paragraph.
10696
10697         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10698         changed the read and substituted \\end_float with \\end_inset!
10699
10700         * BufferView_pimpl.C (cursorPrevious):
10701         (cursorNext): fixed to make it work with rows heigher than the work
10702         area without moving the cursor only the draw of the row.
10703         (workAreaMotionNotify): fix jumping over high rows.
10704
10705 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10706
10707         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10708         Ressler.
10709
10710 2002-04-16  Juergen Vigna  <jug@sad.it>
10711
10712         * text2.C (setCursor): set also the irow().
10713         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10714         (cursorUp):
10715         (cursorDown): support for locking an inset if the x_fix value goes
10716         inside it. That way I can transverse insets too with cursor up/down.
10717
10718         * lyxrow.h: added irow helper function same as other (i) functions.
10719
10720         * BufferView_pimpl.C (cursorPrevious):
10721         (cursorNext): fixed for insets!
10722
10723 2002-04-15  Juergen Vigna  <jug@sad.it>
10724
10725         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10726         position otherwise it is wrong in some cases.
10727
10728         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10729         inside the inset before the call.
10730
10731 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10732
10733         * buffer.[Ch] (getBibkeyList): make it const.
10734
10735 2002-04-12  Juergen Vigna  <jug@sad.it>
10736
10737         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10738
10739         * text2.C (getCursorX): new helper function
10740         (setCursor): compute also ix_
10741         (setCursorFromCoordinates): set also ix.
10742
10743         * lyxcursor.h: added ix_ and helper functions.
10744
10745         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10746
10747         * buffer.C (insertStringAsLines): dont break paragraph if the this
10748         paragraph is inside an inset which does not permit it!
10749
10750         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10751         also with no chars on this paragraph.
10752         (paintRowText): only paint stuff if it's inside the workarea!
10753
10754         * paragraph.C (breakParagraph): honor keepempty flag and break the
10755         paragraph always below not above.
10756
10757         * BufferView2.C (unlockInset): update the paragraph layout on inset
10758         unlock as we changed paragraph in such a case.
10759
10760         * lyxfind.C (LyXFind): clear the former selection if not found!
10761
10762         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10763         again called in insertChar().
10764
10765         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10766         an inset which uses the whole row!
10767         (rightMargin): ditto.
10768         (insertChar): force a rebreak if we inserted an inset!
10769
10770 2002-03-28  Herbert Voss  <voss@lyx.org>
10771
10772         * lyxlength.[Ch]: add inBP() to get the right PS-point
10773         units (BigPoint). With inPixels we have rounding errors
10774
10775 2002-04-11  Juergen Vigna  <jug@sad.it>
10776
10777         * text2.C (setCursorFromCoordinates): set iy to the right value.
10778         (setCursor): add check if row->previous exists!
10779
10780         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10781         an old float_type as this was the case in the old code!
10782
10783         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10784
10785         * BufferView2.C (showLockedInsetCursor): use iy
10786         (fitLockedInsetCursor): ditto
10787
10788         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10789         locked insets as there we have the right value now.
10790
10791         * lyxcursor.C: added iy_ variable and iy functions to set to the
10792         baseline of cursor-y of the locked inset.
10793
10794         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10795         (setCursor): fixed for insets which need a full row.
10796
10797         * text.C (rowLastPrintable): don't ignore the last space when before
10798         an inset which needs a full row.
10799         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10800         as last character of a row when before a inset which needs a full row.
10801
10802 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10803
10804         * version.C.in: update date
10805
10806         * text2.C (fullRebreak): try to always return true and see what
10807         happens...
10808
10809 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10810
10811         * MenuBackend.C (expand): use Floating::listName
10812
10813         * FloatList.C (FloatList): add listName argument to the built-in
10814         floats
10815
10816         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10817         text associated with the float.
10818
10819 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10820
10821         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10822
10823 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10824
10825         * ShareContainer.h: add a couple of missing typenames.
10826
10827 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10828
10829         * lyxrc.C (getDescription): use _() correctly rather than N_().
10830
10831 2002-03-28  Herbert Voss  <voss@lyx.org>
10832
10833         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10834         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10835
10836 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10837
10838         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10839         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10840
10841 2002-03-29  Juergen Vigna  <jug@sad.it>
10842
10843         * lyxfunc.C (dispatch): add a missing fitCursor call.
10844
10845         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10846         it was scrolled by a cursor move, so return the bool status.
10847
10848         * BufferView.C (fitCursor): return the bool flag also to the outside
10849         world as this is needed.
10850
10851         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10852
10853         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10854         call the edit() as it is not needed (and wrong) IMO.
10855         (workAreaButtonPress): set the screen_first variable before evt.
10856         unlock the inset as this may change screen_first and then we have
10857         a wrong y position for the click!
10858
10859 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10860
10861         * MenuBackend.C (expand): another translation that I missed
10862
10863 2002-03-28  Juergen Vigna  <jug@sad.it>
10864
10865         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10866
10867         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10868
10869 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10870
10871         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10872
10873         * MenuBackend.C (expand): fix export/view/update when there is no
10874         document open.
10875
10876 2002-03-27  Herbert Voss  <voss@lyx.org>
10877
10878         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10879         and text%
10880
10881 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10882
10883         * bufferview_funcs.C (currentState): only show paragraph number
10884         for is DEVEL_VERSION is set.
10885
10886         * lyxfunc.C (dispatch): put warning in INFO channel
10887
10888         * MenuBackend.C (expand): translate the name of floats
10889
10890         * FloatList.C (FloatList): mark the float names for translation
10891
10892         * converter.C (convert): use LibScriptSearch
10893
10894 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10895
10896         * MenuBackend.C (defaults): fix default menu (we might as well get
10897         rid of it...)
10898
10899 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10900
10901         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10902         directory.
10903
10904 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10905
10906         * lyxvc.C: reorder includes.
10907
10908 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10909
10910         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10911           properly
10912
10913 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10914
10915         * CutAndPaste.C: change layouts earlier on paste
10916           to avoid crashing when calling getFont()
10917
10918 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10919
10920         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10921         irritating #error.
10922
10923 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10924
10925         * WorkArea.C: remove 'Pending' debug message.
10926
10927         * most files: ws cleanup
10928
10929         * buffer.[Ch]: ws changes
10930
10931         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10932
10933 2002-03-21  Juergen Vigna  <jug@sad.it>
10934
10935         * tabular.C (SetMultiColumn): collapse also the contents of the
10936         cells and set the last border right. Added a Buffer const * param.
10937
10938 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10939
10940         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10941         linking or not.
10942
10943 2002-03-19  Juergen Vigna  <jug@sad.it>
10944
10945         * text2.C (clearSelection): reset also xsel_cache.
10946
10947         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10948         where it needs to be called (John tells us to do so too :)
10949         (selectionLost): reset sel_cache.
10950
10951         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10952
10953 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10954
10955         * text2.C (setCursorIntern): put debuging code in INSETS channel
10956
10957 2002-03-19  André Pönitz <poenitz@gmx.net>
10958
10959         * lyxfunc.C: tiny whitespace change
10960
10961 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10962
10963         * ToolbarDefaults.C (init):
10964         * LyXAction.C (init):
10965         * commandtags.h:
10966         * BufferView_pimpl.C (Dispatch):
10967         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10968
10969 2002-03-19  Allan Rae  <rae@lyx.org>
10970
10971         * exporter.C (Export): removeAutoInsets before doing anything else.
10972         While I've just introduced a dependency on BufferView this really is
10973         the best place to clean the buffer otherwise you need to cleanup in
10974         a dozen places before calling export or cleanup in a dozen functions
10975         that export calls.
10976
10977         * converter.C (runLaTeX):
10978         (scanLog): Better handling of removeAutoInsets and screen updates.
10979
10980         * lyxfunc.C (dispatch): small whitespace changes
10981
10982 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10983
10984         * WorkArea.C (C_WorkAreaEvent): return a value.
10985         (event_cb): return 1 if we handled the event, 0 otherwise.
10986
10987         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10988
10989 2002-03-18  Juergen Vigna  <jug@sad.it>
10990
10991         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10992         (GetAdditionalWidth): ditto.
10993         (RightLine): ditto.
10994         (LeftLine): ditto.
10995
10996         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10997         inset if we're there actually (probably not used right now but this
10998         is the direction to go for unifying code).
10999         (paste): disable code to clear the selection.
11000
11001         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11002         inside an InsetText and move the check further up as it is in the
11003         wrong place.
11004
11005         * text2.C (pasteSelection): set a selection over the pasted text.
11006
11007 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11008
11009         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11010         and libgraphics to build on Cygwin.
11011
11012 2002-03-15  Juergen Vigna  <jug@sad.it>
11013
11014         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11015         inserting an Inset into the paragraph. I know this is not the best
11016         fix but we already use current_view in CutAndPaste so we will remove
11017         all of it's using at the same time.
11018
11019         * buffer.C (sgmlError): deactivated function till it is rewritten in
11020         the right mode, now it can create problems.
11021
11022         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11023         before accessing it.
11024
11025 2002-03-14  Juergen Vigna  <jug@sad.it>
11026
11027         * undo_funcs.C (textHandleUndo): do the right thing when updating
11028         the inset after the undo/redo.
11029
11030         * text2.C (setCursor): just some testcode for #44 not ready yet.
11031
11032         * undo_funcs.C (textHandleUndo): set the next() and previous()
11033         pointers of the paragraph to 0 before deleting otherwise we have
11034         problems with the Paragraph::[destructor].
11035
11036         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11037         on a paragraph insertion.
11038
11039 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11040
11041         * buffer.C (asciiParagraph): use += operator for char append to
11042         string.
11043
11044         * paragraph.C (getFontSettings): compare >= not just >
11045         (highestFontInRange): ditto
11046         (setFont): ditto
11047
11048 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11049
11050         * paragraph.C: change several algorithm to be more appripriate for
11051         the problem domain. This is lookip in FontList and in the InsetList.
11052
11053 2002-03-13  André Pönitz <poenitz@gmx.net>
11054
11055         * commandtags.h:
11056         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11057
11058 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11059
11060         * commandtags.h:
11061         * LyXAction.C:
11062         * lyxfunc.C:
11063         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11064
11065 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11066
11067         * Painter.C (display): anon helper function, adjust code for this
11068         change.
11069         (pixmap): remove function.
11070
11071         * Painter.h: remove private display variable.
11072
11073         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11074
11075 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11076
11077         * WorkArea.[Ch]: remove figinset_canvas cruft.
11078
11079 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11080
11081         * lyxtextclass.C (operator): add one item cache optimization.
11082
11083         * bufferlist.h: doxy changes
11084
11085         * bufferlist.C: ws changes
11086
11087         * DepTable.[Ch] (ext_exist): place const in the right spot.
11088
11089         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11090         call resizeInsets.
11091         (workAreaExpose): call resizeInsets when the with BufferView changes.
11092         (Dispatch): adjust for protectedBlank removal
11093         (specialChar): call updateInset if the insert went ok.
11094
11095         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11096         specialChar instead.
11097
11098         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11099
11100         * BufferView.h: doxy change
11101
11102         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11103
11104         * lyxtextclass.C (operator[]): remove non-const version
11105         (defaultLayout): remove non-const version
11106
11107 2002-03-12  Juergen Vigna  <jug@sad.it>
11108
11109         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11110         did resize the LyXText too.
11111
11112         * buffer.C (readLyXformat2): set layout information on newly allocated
11113         paragraphs.
11114
11115         * tabular.C (OldFormatRead): set layout information on the paragraph.
11116
11117 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11118
11119         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11120
11121 2002-03-11  Juergen Vigna  <jug@sad.it>
11122
11123         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11124         plainly wrong.
11125         (resizeCurrentBuffer): force also the insets to resize themselfes.
11126         (moveCursorUpdate): fixed up for InsetText.
11127
11128 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11129
11130         * commandtags.h:
11131         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11132         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11133         value of Dialogs::tooltipsEnabled().
11134         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11135
11136 2002-03-08  Juergen Vigna  <jug@sad.it>
11137
11138         * BufferView_pimpl.C (updateInset): update inset inside inset also
11139         if it isn't inside theLockingInset().
11140
11141 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11142
11143         * buffer.C (asciiParagraph): redo some of the word and line length
11144         handling.
11145         (getLists): look for Caption instead of caption.
11146
11147 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11148
11149         * buffer.C (Buffer): initialize niceFile to true
11150         (makeLaTeXFile):
11151         (makeLinuxDocFile):
11152         (makeDocBookFile): make sure niceFile is true on exit
11153
11154 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11155
11156         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11157
11158 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11159
11160         * LyXSendto.C: remove.
11161         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11162         * lyx_gui.C: remove now-redundant comment.
11163         * ColorHandler.h: remove forward declaration of class WorkArea.
11164         * lyxfunc.C: remove #include "WorkArea.h".
11165
11166 2002-03-07  Juergen Vigna  <jug@sad.it>
11167
11168         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11169         got moved away with the DEPM and also set the inset_owner always
11170         right which before could have been omitted.
11171
11172 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11173
11174         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11175         wanted layout is not found.
11176
11177 2002-03-07  Juergen Vigna  <jug@sad.it>
11178
11179         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11180
11181 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11182
11183         * paragraph.C (breakParagraph): use default layout not layout of
11184         prev paragraph.
11185         (Paragraph): clear ParagraphParameters.
11186
11187 2002-03-06  Juergen Vigna  <jug@sad.it>
11188
11189         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11190         otherwise it would not be a valid lenght. Fixed a special case in
11191         the minipage compatibility read where we end the document with a
11192         minipage.
11193
11194         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11195         was set as it could be 0 for InsetTexts first entry.
11196
11197 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11198
11199         * paragraph.C (writeFile): if layout is empty write out
11200         defaultLayoutName().
11201
11202         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11203         file without named layout we set layout to defaultLayoutName().
11204
11205 2002-03-06  Juergen Vigna  <jug@sad.it>
11206
11207         * CutAndPaste.C (copySelection): set layout for new paragraph.
11208
11209         * text.C (prepareToPrint): leave ERT inset left aligned
11210         (leftMargin): don't indent paragraphs inside ERT insets
11211
11212 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11213
11214         * paragraph.C (breakParagraph): dont call clear do the work manually
11215
11216         * paragraph.[Ch] (clear): remove function
11217
11218 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11219
11220         * paragraph.C (Paragraph): dont call clear, the work has already
11221         been done.
11222
11223         * lyxtextclass.C (operator): assert if n is empty
11224
11225         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11226         work manually instead.
11227
11228 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11229
11230         * BufferView_pimpl.C: protect selectionLost against text == 0
11231
11232 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11233
11234         * text.C (breakParagraph): fix a setting layout to '0' problem.
11235
11236 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11237
11238         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11239         final location of file, for the included files, and graphics.
11240
11241 2002-03-05  Juergen Vigna  <jug@sad.it>
11242
11243         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11244
11245 2002-03-04  Juergen Vigna  <jug@sad.it>
11246
11247         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11248
11249         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11250         last column of multicolumn cells.
11251         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11252
11253 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11254
11255         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11256         file if it doesn't go to a temporary file.
11257
11258         * buffer.C (sgmlOpenTag):
11259         (sgmlCloseTag):  remove extra newline insertion.
11260
11261 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11262
11263         * text.C (getRowNearY): comment out debug msg
11264
11265 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11266
11267         * text2.C: first -> first_y
11268
11269         * text.C (getRowNearY): add some attemts at a possible
11270         optimization, not working.
11271
11272         * tabular.[Ch]: add BufferParams to several function so that newly
11273         created paragraph can be initialized to he default layotu for the
11274         buffers textclass.
11275
11276         * tabular-old.C (ReadOld): add buf->params to call of Init
11277
11278         * screen.C: rename text->first to text->first_y
11279
11280         * paragraph.C (breakParagraph): always set layout in the broken
11281         paragraph
11282
11283         * lyxtextclass.C (Read): remove lowercase
11284         (hasLayout): ditto
11285         (operator): ditto
11286         (delete_layout): ditto
11287
11288         * lyxtext.h: rename first -> first_y
11289
11290         * lyxlayout.C (Read): remove lowercase
11291         (name): ditto
11292         (setName): ditto
11293         (obsoleted_by): ditto
11294
11295         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11296
11297         * buffer.C (insertErtContents): add params are to InsetERT
11298         (parseSingleLyXformat2Token): add code to check if a paragraphs
11299         layout really exist.
11300         (parseSingleLyXformat2Token): add params to several inset
11301         constructors
11302         (asciiParagraph): remove lowercase, do the layout comparisons with
11303         no_case
11304
11305         * BufferView_pimpl.C (cursorNext): first -> first_y
11306         (resizeCurrentBuffer): first -> first_y
11307         (updateScrollbar): first -> first_y
11308         (scrollCB): first -> first_y
11309         (workAreaMotionNotify): first -> first_y
11310         (workAreaButtonPress): first -> first_y
11311         (checkInsetHit): first -> first_y
11312         (cursorPrevious): first -> first_y
11313         (cursorNext): first -> first_y
11314         (Dispatch): add buffer_->params to severl inset contructors
11315
11316 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11317
11318         * lyxlayout.C (Read): remove some debug info that I forgot.
11319
11320         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11321         clean up the code slightly.
11322         (makeLinuxDocFile): ditto
11323         (makeDocBookFile): ditto
11324
11325         * text2.C: layout as string
11326
11327         * text.C: layout as string
11328
11329         * paragraph_pimpl.C: layout as string
11330
11331         * paragraph.[Ch]: layout as string
11332
11333         * lyxtextclasslist.[Ch]: layout as string
11334
11335         * lyxtextclass.[Ch]: layout as string
11336
11337         * lyxtext.h: layout as string
11338
11339         * lyxlayout.[Ch]: layout as string
11340
11341         * lyx_cb.C: layout as string
11342
11343         * bufferview_funcs.C: layout as string
11344
11345         * bufferparams.C: layout as string
11346
11347         * buffer.C: layout as string
11348
11349         * LyXView.[Ch]: layout as string
11350
11351         * LaTeXFeatures.[Ch]: layout as string
11352
11353         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11354
11355         * BufferView_pimpl.C: change current_layout to string, remove
11356         lyx::layout_type.
11357         (Dispatch):
11358         (smartQuote):
11359         (insertInset):
11360         (workAreaButtonRelease): layout as string
11361
11362         * BufferView2.C (unlockInset): adjust
11363
11364         * vspace.C (asLatexCommand): use an explict temp variable.
11365
11366 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11367
11368         * Makefile.am: use FRONTEND_*
11369
11370 2002-03-01  Juergen Vigna  <jug@sad.it>
11371
11372         * tabular.C (SetWidthOfMulticolCell): changed to something better
11373         I hope but still work in progress.
11374         (recalculateMulticolumnsOfColumn): renamed function from
11375         recalculateMulticolCells as it is more appropriate now.
11376         (SetWidthOfCell): calculate multicols better.
11377
11378 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11379
11380         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11381
11382         * lyxfunc.C (processKeySym): print sequence also if it is
11383         `deleted' (complete)
11384
11385         * kbsequence.C (print): print sequence even if it is deleted
11386         (complete would be a better word, actually).
11387
11388         * lyxfunc.C (dispatch): print complete options after a prefix key
11389
11390         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11391
11392 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11393
11394         * text2.C (setCharFont): eliminate setCharFont code duplication.
11395
11396 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11397
11398         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11399         LFUN_TABULAR_FEATURE (bug #177)
11400
11401 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11402
11403         * Makefile.am: remove figure.h
11404
11405 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11406
11407         * Bufferview_pimpl.C:
11408         * CutAndPasteC:
11409         * LaTeX.C:
11410         * LyXSendto.C:
11411         * buffer.C:
11412         * bufferlist.C:
11413         * converter.C:
11414         * language.C:
11415         * lyxfunc.C:
11416         * lyxvc.C:
11417         * paragraph.C:
11418         * text.C:
11419         * text2.C: remove #include "lyx_gui_misc.h".
11420
11421         * LaTeX.C: added #include <cstdio>
11422
11423 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11424
11425         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11426         that the paragraph following this one can have.
11427
11428         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11429
11430         * vspace.C (asLatexCommand): fix bogus gcc warning
11431
11432         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11433
11434 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11435
11436         * text2.C (setLayout): get rid of redundant code
11437
11438 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11439
11440         * text2.C (incDepth): make sure depth cannot be increased beyond
11441         reasonable values.
11442
11443 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11444
11445         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11446         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11447
11448         * PainterBase.h (image):
11449         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11450         a LyXImage const *.
11451
11452 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11453
11454         * BufferView.C:
11455         * BufferView.h:
11456         * BufferView_pimpl.C:
11457         * BufferView_pimpl.h:
11458         * LaTeXFeatures.C:
11459         * LyXAction.C:
11460         * LyXView.C:
11461         * Makefile.am:
11462         * UpdateList.h:
11463         * UpdateList.C:
11464         * buffer.C:
11465         * figure.h:
11466         * figureForm.C:
11467         * figureForm.h:
11468         * figure_form.C:
11469         * figure_form.h:
11470         * lyx_cb.C:
11471         * lyx_gui.C:
11472         * lyx_gui_misc.C:
11473         * lyxfunc.C:
11474         * sp_base.h:
11475         * sp_ispell.h:
11476         * sp_pspell.h:
11477         * sp_spell.C: remove fig inset, and the crap house of
11478           cards that follows it
11479
11480 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11481
11482         * Makefile.am:
11483         * lyxserver.C:
11484         * os2_defines.h:
11485         * os2_errortable.h:
11486         * nt_defines.h: move .h into support/
11487
11488         * vms_defines.h: remove
11489
11490         * WorkArea.C: add space in debug output
11491
11492         * text2.C:
11493         * paragraph.C:
11494         * buffer.C: add WITH_WARNINGS
11495
11496         * vc-backend.h:
11497         * vc-backend.C:
11498         * bufferlist.C: s/retrive/retrieve/, add docs
11499
11500         * vspace.h:
11501         * vspace.C:
11502         * kbmap.h:
11503         * lyxlength.h:
11504         * lyxgluelength.h:
11505         * length_common.h:
11506         * chset.h:
11507         * chset.C: add docs
11508
11509         * lyxgui.C: add ID to X error handler
11510
11511         * lyxtestclass.c: fix typo
11512
11513 2002-02-26  Juergen Vigna  <jug@sad.it>
11514
11515         * tabular_funcs.C (write_attribute): changed so that some default
11516         attributes are not written at all.
11517         (getTokenValue): set default values before trying to read the
11518         value so we have the return value always set as default if we don't
11519         find the token we search for.
11520
11521         * tabular.C (Write): write bools as bools not as strings!
11522
11523 2002-02-22  Juergen Vigna  <jug@sad.it>
11524
11525         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11526         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11527
11528         * text.C (leftMargin): don't add an indent for paragraphs inside
11529         tabular cells (fix #208).
11530
11531 2002-02-21  José Matos  <jamatos@fep.up.pt>
11532
11533         * tabular.C (docBook): fixed support for long tables.
11534
11535 2002-02-20  Juergen Vigna  <jug@sad.it>
11536
11537         * text2.C (getFont): get the drawing font of the Inset if this
11538         paragraph is inside an inset (only important for InsetERT for now).
11539
11540         * buffer.C (insertErtContents): use new lanugage params in ERT
11541         constructor.
11542
11543         * CutAndPaste.C: commenting out seemingly uneeded code.
11544
11545 2002-02-19  Allan Rae  <rae@lyx.org>
11546
11547         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11548         Iterators might be simple to use but they also get invalidated.
11549         (removeAutoInsets): renamed saved cursor tracking variables and added
11550         some comments to clarify what everything does.
11551
11552 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11553
11554         * Chktex.C:
11555         * LaTeX.C:
11556         * LyXSendto.C:
11557         * converter.C:
11558         * lyx_cb.C:
11559         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11560         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11561
11562         * lyxfunc.C:
11563         * vc-backend.h: remove #include "support/syscall.h"
11564
11565         * LaTeX.C:
11566         * LyXSendto.C:
11567         * converter.C: rearrange #includes in Lars' approved fashion.
11568
11569         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11570         forward declare class Timeout in the header file.
11571
11572         * XFormsView.C: changes due to the above.
11573
11574         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11575         similar to LyXView.
11576
11577         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11578         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11579
11580 2002-02-18  José Matos  <jamatos@fep.up.pt>
11581
11582         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11583         insets contents.
11584
11585 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11586
11587         * a lot of small ws changes
11588         * add a lot of using std::XXX
11589         * use std construcs some places where approp.
11590         * use some exisint stuff from lyxfunctional where approp.
11591         * Make file changes to use partial linking (lets test this now...)
11592
11593 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11594
11595         * Chktex.C:
11596         * buffer.C:
11597         remove #include "support/syscontr.h" as it's redundant. Always has been.
11598
11599         * Chktex.C:
11600         * LaTeX.C:
11601         * LyXSendto.C:
11602         * converter.C:
11603         * lyx_cb.C:
11604         * vc-backend.C:
11605         change Systemcalls::System to Systemcalls::Wait and
11606         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11607         No change of functionality, just reflects the stripped down Systemcalls
11608         class.
11609
11610 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11611
11612         * debug.[Ch]: add a GRAPHICS type to the enum.
11613
11614 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11615
11616         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11617
11618         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11619         there is an inset.
11620
11621 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11622
11623         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11624         match the changes below.
11625
11626         * text2.C (toggleInset): if there is not editable inset at cursor
11627         position, try to see if cursor is _inside_ a collapsable inset
11628         and close it.
11629
11630 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11631
11632         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11633         document menu has a nice checkbox
11634
11635 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11636
11637         * lyxlength.C (asLatexString): change PW to output as percent of
11638         \textwidth.
11639
11640         * lengthcommon.C: change '%' to 't%'
11641
11642         * lyxfunc.C (dispatch): a few comments from Martin
11643
11644 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11645
11646         * WorkArea.h:
11647         * WorkArea.C:
11648         * BufferView_pimpl.h:
11649         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11650           the X selection.
11651
11652 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11653
11654         * vspace.C (inPixels): fix compiler warning
11655
11656 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11657
11658         * lyxfunc.C (getStatus): fix status message for disabled commands.
11659
11660 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11661
11662         * BufferView_pimpl.C: fix crash on close buffer
11663         during selection (#227)
11664
11665 2002-01-27  Herbert Voss  <voss@lyx.org>
11666
11667         * buffer.C: link old Figure to new graphic inset
11668
11669 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11670
11671         * FontLoader.C (getFontinfo): Change the latex font names in order
11672         to match the names of type1inst.
11673
11674 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11675
11676         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11677
11678         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11679         (extchanged): ditto
11680         (ext_exist): ditto
11681         (remove_files_with_extension): ditto
11682         (remove_file): ditto
11683         (write): ditto
11684
11685         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11686         document is smaller than the work area height. Do not initialize
11687         static variables to 0.
11688
11689 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11690
11691         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11692
11693         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11694         LFUN_LAYOUT_PARAGRAPHS.
11695
11696         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11697         tabular. It is possible to provide a possible cell, which will
11698         typically be the actcell from the corresponding insettabular
11699
11700         * lyxfunc.C (getStatus): small cleanup; disable
11701         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11702         true
11703
11704 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11705
11706         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11707
11708         * paragraph.C (startTeXParParams):
11709         (endTeXParParams): new methods. The LaTeX code to
11710         start/end paragraph formatting
11711         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11712         empty (fixes bug #200)
11713
11714         * vspace.C (inPixels): adapt to the change below
11715         (inPixels): [later] more cleanups (remove unused variables)
11716
11717         * lyxlength.C (inPixels): change to use a width and a height as
11718         parameter.
11719
11720 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11721
11722         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11723         Replaced with \paperwidth
11724
11725         * DepTable.C (insert): add std:: qualifier
11726
11727 2002-01-18  Allan Rae  <rae@lyx.org>
11728
11729         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11730         updated also?
11731
11732         * text.C (drawInset): Turned out I didn't know enough about how
11733         rebreaking worked.  This fixes most of the redraw problems.  I see
11734         an occasional cursor trail when a line is broken now and the cursor
11735         placement can seem out by a few pixels also after a rebreak.
11736
11737 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11738
11739         * buffer.C (parseSingleLyXformat2Token): update because minipage
11740         width is now a LyXLength
11741
11742         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11743
11744         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11745         math insets
11746
11747 2002-01-17  Juergen Vigna  <jug@sad.it>
11748
11749         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11750
11751         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11752         is set correctly and the inset is updated correctly.
11753
11754 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11755
11756         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11757         the beginning of the loop.
11758
11759 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11760
11761         * lyxrc.C: improve help for use_scalable_fonts
11762
11763 2002-01-17  Allan Rae  <rae@lyx.org>
11764
11765         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11766
11767 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11768
11769         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11770         make sure to set their inset_owner to the right value (bug #171)
11771
11772 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11773
11774         * DepTable.h
11775         * DepTable.C: Implement mtime checking to reduce time spent doing
11776         CRCs.
11777
11778 2002-01-16  Juergen Vigna  <jug@sad.it>
11779
11780         * tabular.C (GetAdditionalHeight): one of error fixed.
11781
11782         * lyxrc.C (output): small fix in writing use_pspell.
11783
11784 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11785
11786         * sp_base.h: #include LString.h
11787
11788 2002-01-16  Allan Rae  <rae@lyx.org>
11789
11790         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11791         Can someone check this please?
11792
11793         * text.C (drawInset): It was possible that p.row would be removed by
11794         breakAgainOneRow upsetting a few other settings.  There may be another
11795         small tweak possible by setting need_break_row = 0 when p.row has been
11796         removed but I don't know enough about the logic here.
11797
11798 2002-01-15  Allan Rae  <rae@lyx.org>
11799
11800         * text.C (insertChar): removed conditional truism.
11801
11802         * BufferView2.C (removeAutoInsets): More tweaks.
11803         cur_par_prev could be a stray pointer.  Check for trailing empty line
11804         in case last line was cur_par and only had an error inset on it.
11805
11806 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11807
11808         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11809         absolute
11810
11811         * vc-backend.C (most methods):
11812         * exporter.C (Export):
11813         * converter.C (convert):
11814         (runLaTeX):
11815         * LyXSendto.C (SendtoApplyCB):
11816         * lyxfunc.C (dispatch):
11817         (menuNew):
11818         (open):
11819         (doImport):
11820         * lyx_cb.C (AutoSave):
11821         (InsertAsciiFile):
11822         * BufferView_pimpl.C (MenuInsertLyXFile):
11823         * buffer.C (runChktex): use Buffer::filePath().
11824
11825         * buffer.h: rename filename to filename_; rename filepath to
11826         filepath_ and make it private
11827         (filePath): new method
11828
11829         * buffer.C (writeFile): use fileName()
11830         (getLatexName):
11831
11832         * lyx_main.C (init): fix starting  of LyX when the binary is a
11833         link from so,ewhere else.
11834
11835         * minibuffer.C: include <cctype> for isprint
11836
11837 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11838
11839         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11840         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11841         name clash with InsetCollapsable's width function.
11842
11843 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11844
11845         * lastfiles.C: include <iterator>
11846
11847 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11848
11849         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11850         std::count.
11851
11852         * buffer.C (makeLaTeXFile): ditto.
11853         Also make loop operation more transparent.
11854
11855 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11856
11857         * ToolbarDefaults.C: remove trailing comma closing namespace.
11858
11859         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11860
11861         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11862         as in WorkArea.
11863
11864         * trans.C (Load): comment out unused variable, allowed.
11865
11866 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11867
11868         * minibuffer.[Ch] (append_char): new method to recieve input from the
11869         drop-down completion browser. If a key was pressed, then recieve this
11870         char and append it to the existing string.
11871         (peek_event): modify the positioning data passed to the completion
11872         browser so that it can be placed above the minibuffer rather than below.
11873 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11874
11875         * LyXAction.C (init): alloe error-next for readonly documents.
11876
11877         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11878         count.
11879
11880 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11881
11882         * bufferlist.C (readFile): create the buffer _after_ checking that
11883         the file exists.
11884
11885         * lyxfunc.C (verboseDispatch): fix handling of arguments
11886
11887         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11888
11889         * lyxrc.C: use string::erase() instead of initializing to "".
11890
11891
11892 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11893
11894         * BufferView_pimpl.h:
11895         * BufferView_pimpl.C:
11896         * WorkArea.h:
11897         * WorkArea.C:
11898         * text2.C: tell X when we have made a selection for copying
11899
11900 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11901
11902         * BufferView_pimpl.C (MenuInsertLyXFile):
11903         * lyxfunc.C (menuNew):
11904         (open):
11905         (doImport): add shortcuts to directory buttons
11906
11907         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11908         open a float)
11909
11910         * lyxfunc.C (setStatusMessage):
11911         (getStatusMessage): new methods
11912         (getStatus):use setStatusMessage instead of setErrorMessage
11913         (dispatch): when function is disabled, set error message here
11914         [instead of in getStatus previously]
11915
11916         * BufferView_pimpl.C (workAreaButtonRelease): update
11917         toolbar/menubar here too.
11918
11919 2002-01-13  Allan Rae  <rae@lyx.org>
11920
11921         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11922         Now seems indestructible.  Remaining task is to audit all other
11923         code affected by deleteEmptyParagraphMechanism.  One small quirk
11924         left is that an empty document with an error in the preamble can
11925         be made to report an error but no error box appears.  I don't know
11926         where it goes.
11927         (removeAutoInsets): Improved comments.
11928
11929 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11930
11931         * Thesaurus.h:
11932         * Thesaurus.C: update for Aiksaurus 0.14
11933
11934 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11935
11936         * text2.C (firstParagraph): removed member function, all uses
11937         replaces with ownerParagraph
11938         (redoParagraphs): here
11939         (updateInset): here
11940         (toggleAppendix): here
11941         * BufferView2.C (insertErrors): here
11942         (setCursorFromRow): here
11943
11944 2002-01-13  Allan Rae  <rae@lyx.org>
11945
11946         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11947         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11948         There is still a way to segfault this although you may have to do this
11949         multiple times: Have an InsetERT with an unknown command in it.
11950         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11951         <down-arrow>, <Enter> again, View->DVI, BANG!
11952
11953         * text2.C (setCursor):
11954         (deleteEmptyParagraphMechanism):
11955         * lyxtext.h (setCursor):
11956         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11957         Making use of the return value may help fix other bugs.
11958
11959 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11960
11961         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11962
11963         * LyXView.C (updateMenubar): call MenuBar::update here
11964         (updateToolbar): but not here
11965         (showState): do not update toolbar/menubar
11966
11967         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11968         should need to care about that.
11969
11970         * lyxfunc.C (verboseDispatch): simplify a bit
11971         (getStatus): have a version which takes a pseudoaction, and
11972         another which requires a (kb_action,string).
11973
11974         * LyXAction.C (retrieveActionArg): make it work also when action
11975         is not a pseudo-action.
11976         (getActionName): simplify a bit
11977         (helpText):
11978
11979 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11980
11981         * lyxfunc.C (verboseDispatch): new families of methods with
11982         several ways to specify a command and a bool to indicate whether
11983         the command name and shortcut should be displayed in minibuffer
11984         (eventually, we could extend that to a finer bitmask like
11985         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11986         (dispatch): the pristine dispatch command which just, well,
11987         dispatchs! Note it still sets its result to minibuffer; I'm not
11988         sure we want that.
11989
11990         * lyxfunc.h: remove setHintMessage
11991
11992         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11993
11994 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11995
11996         * BufferView_pimpl.C (specialChar): delete new inset if we have
11997         not been able to insert it.
11998
11999         * kbmap.C: revert to using int instead of kb_action, since all we
12000         are dealing with is pseudo-actions.
12001
12002         * LyXAction.C (searchActionArg): change to return int instead of
12003         kb_action, since the result is a pseudoaction.
12004
12005 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12006
12007         * buffer.C (insertErtContents): Fix (partially) the font bug.
12008
12009 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12010
12011         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12012         as the other one is broken on my machine!
12013
12014 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12015
12016         * commandtags.h:
12017         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12018
12019 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12020
12021         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12022         reflect their actual use. Provide compatibility code for older lyxrc
12023         files.
12024
12025         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12026         FL_NORMAL_STYLE.
12027         change names of popup font variables in line with the changes to lyxrc.C
12028
12029 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12030
12031         * buffer.C (asciiParagraph): avoid outputing a word twice after
12032         an inset.
12033
12034         * lyxrc.C (getDescription): document that document_path and
12035         template_path can be empty.
12036
12037 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12038
12039         * LaTeXFeatures.C (getMacros):
12040         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12041
12042         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12043
12044         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12045         getPackages.
12046         (getPackages): rename feature "floats" to "float". Use an array to
12047         iterate over 'simple' features (i.e. just a \usepackage). Add
12048         handling of "amsmath" (renamed from "amsstyle").
12049
12050 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12051
12052         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12053         features list.
12054
12055 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12056
12057         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12058         FuncStaus::FuncStatus & FuncStaus::some_method().
12059
12060 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12061
12062         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12063         of the func_satus stuff. Edited and massaged in various ways by
12064         JMarc.
12065
12066         * lyxfunc.C (getStatus): use FuncStatus
12067
12068 2002-01-08  Juergen Vigna  <jug@sad.it>
12069
12070         * text.C (nextBreakPoint): use function Inset::isChar().
12071
12072         * paragraph.C (TeXOnePar): use function
12073         Inset::forceDefaultParagraphs.
12074
12075         * buffer.C (latexParagraphs): use function
12076         Inset::forceDefaultParagraphs.
12077
12078 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12079
12080         * lyx_gui.C (init): set the style of the menu popups to
12081         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12082
12083 2002-01-07  Juergen Vigna  <jug@sad.it>
12084
12085         * text.C (setHeightOfRow): small fix
12086         (prepareToPrint): don't look at alignment if we don't have the place
12087         for doing it.
12088
12089 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12090
12091         * box.C: New file. Move the Box methods and functions out of box.h,
12092         following Lars' suggestion.
12093
12094 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12095
12096         * box.h: #include "support/LOstream.h", needed for inlined function.
12097
12098         * lyxtextclass.C:
12099         * lyxtextclasslist.C: added some using std declarations.
12100
12101 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12102
12103         * box.h: make signed dimensions to allow insets wider than
12104           the screen (bug #162)
12105
12106         * BufferView_pimpl.C: add some insetHit debug
12107
12108 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12109
12110         * vc-backend.C: add FIXME
12111
12112 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12113
12114         * lyxfunc.C (getStatus): enable code for showing math font status
12115         in toolbar/menu.
12116
12117 2002-01-07  Juergen Vigna  <jug@sad.it>
12118
12119         * text.C (nextBreakPoint): removed debug output not needed anymore.
12120
12121 2002-01-06  Juergen Vigna  <jug@sad.it>
12122
12123         * text.C (nextBreakPoint): fixed up this function we had this bug
12124         since ever but now hopefully we break row better.
12125         (insertChar): we have to check if an inset is the next char as it
12126         could now happen that a large inset is causing a break.
12127
12128 2002-01-05  Juergen Vigna  <jug@sad.it>
12129
12130         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12131         if it doesn't like to be drawed.
12132
12133 2002-01-04  Juergen Vigna  <jug@sad.it>
12134
12135         * BufferView2.C (lockInset): forgot to set a cursor.
12136
12137         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12138
12139 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12140
12141         * FormMathsPanel.C:
12142         * FormMathsPanel.h
12143         * MathsSymbols.C:
12144         * form_maths_panel.C:
12145         * form_maths_panel.h:
12146         * form_maths_panel.fd: implemented sub- and super- buttons in math
12147         panel.
12148
12149         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12150         (or ^ space) to be used as in TeX (req'd by André).
12151
12152         * lyxfunc.C: Allow ^ and _ again to be used both as
12153         super/subscript (mathed) and as themselves (in text).
12154
12155 2002-01-03  Allan Rae  <rae@lyx.org>
12156
12157         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12158         "LyX" or the filename of the current buffer if it has one.  This is a
12159         modified form of John Levon's patch.
12160
12161         * XFormsView.C (setWindowTitle): also set icon title.
12162
12163         * LyXView.h (setWindowTitle): signature changed.
12164         * XFormsView.h (setWindowTitle): ditto.
12165
12166 2002-01-02  Juergen Vigna  <jug@sad.it>
12167
12168         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12169
12170 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12171
12172         * screen.C (topCursorVisible): introduce a temp var for
12173         text->cursor.row(), handle the case where this row is null. (kindo
12174         hachish)
12175
12176         * text2.C (setCursor): add a couple of asserts.
12177
12178         * paragraph.h (inset_iterator): add -> operator
12179
12180         * paragraph.[Ch] (autoDeleteInsets): remove member function
12181
12182         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12183         cursor pos correctly and handle inset deletion by itself.
12184         (insertErrors): move iterator declaration out of for expression
12185
12186         * lyxtextclass.C: add <algorithm>
12187
12188         * Makefile.am: added the new files to sources, removed layout.C
12189
12190         * layout.C: removed file
12191
12192         * layout.h: remove LYX_DUMMY_LAYOUT
12193
12194         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12195         layout.
12196
12197         * lyxlayout.[Ch]:
12198         * lyxtextclass.[Ch]:
12199         * lyxtextclasslist.[Ch]: new files
12200
12201         * include order changes to a lot of files, also changes because of
12202         the six new files.
12203
12204 2001-12-27  Juergen Vigna  <jug@sad.it>
12205
12206         * buffer.C (asciiParagraph): more fixes.
12207
12208         * tabular.C (ascii): make ascii export support export of only the
12209         data separated by a column-delimiter.
12210         (ascii): better support for ascii export.
12211
12212         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12213
12214 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12215
12216         * tabular_funcs.C: use a "using std::getline" instead of the
12217         previous fix from Angus (necessary for cxx + lyxstring)
12218
12219 2001-12-24  Juergen Vigna  <jug@sad.it>
12220
12221         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12222
12223         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12224         problems. First check a minipage also if we have some ert-contents
12225         (not only on par->size(), second set the right depth of the paragraph
12226         on the relink to the root-paragraph-list!
12227
12228         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12229         which then did not anymore update the main paragraphs on undo/redo!
12230
12231 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12232
12233         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12234         code. Support all font-changing funcs (even those which are not in
12235         menu currently). Support for reporting font settings in
12236         mathed (disabled until Andre provides a function on mathed's side).
12237
12238         * func_status.h (toggle): small helper function to set toggle
12239         state on a flag.
12240
12241 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12242
12243         * tabular_funcs.C: getline -> std::getline
12244
12245 2001-12-21  Juergen Vigna  <jug@sad.it>
12246
12247         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12248         accessed and could be 0 (I couldn't generate this but it seems
12249         Michael could!).
12250
12251 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12252
12253         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12254         * tabular_funcs.h: here and include iosfwd
12255
12256 2001-12-20  Juergen Vigna  <jug@sad.it>
12257
12258         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12259         inside inset but undo_par was.
12260
12261 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12262
12263         * Thesaurus.C: always include <config.h> in sources.
12264
12265         * Painter.h:
12266         * lyxlookup.h:
12267         * box.h: do not include <config.h> in header files
12268
12269         * text.C (paintLastRow): remove unused variable
12270
12271         * text.C (transformChar):
12272         (insertChar):
12273         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12274
12275         * Painter.C (text):
12276         * font.C (width): rewrite to use uppercase() instead of
12277         islower/toupper.
12278
12279         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12280
12281 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12282
12283         * lyxfind.C: clean up of find failure position change
12284
12285 2001-12-20  Juergen Vigna  <jug@sad.it>
12286
12287         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12288
12289         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12290         (TeXRow): added to LaTeX a single tabular row.
12291         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12292         (Latex): simplified and finally good LT-h/f support.
12293         (various_functions): just small adaptions for LT-h/f support.
12294
12295         * tabular_funcs.[hC]: added and moved here all not classfunctions
12296         of LyXTabular.
12297
12298 2001-12-19  Juergen Vigna  <jug@sad.it>
12299
12300         * tabular.[Ch]: better support for longtabular options (not finished
12301         yet!)
12302
12303 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12304
12305         * text.C (paintLastRow): use the label font instead of the font of
12306         the last character to compute the size of *_BOX. This makes more
12307         sense and avoids a crash with empty paragraphs.
12308         Use Painter::rectangle to draw EMPTY_BOX.
12309
12310 2001-12-19  Juergen Vigna  <jug@sad.it>
12311
12312         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12313         the paragraphs if the replaced paragraph is not the first one!
12314         Tried to delete not used paragraphs but does not work yet so for
12315         now it's inside #ifdef's and by default off!
12316
12317 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12318
12319         * MenuBackend.C: include "lyx_main.h" instead of declaring
12320         lastfiles (actually was declared as LastFiles* instead of a
12321         scoped_ptr).
12322
12323 2001-12-17  Juergen Vigna  <jug@sad.it>
12324
12325         * tabular.C (AppendColumn): applied John's fix
12326
12327 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12328
12329         * BufferView.h:
12330         * BufferView.C:
12331         * BufferView_pimpl.h:
12332         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12333
12334         * Makefile.am:
12335         * box.h: new start of class for above
12336
12337         * lyxfunc.C: ignore space-only minibuffer dispatches.
12338           Show the command name when it doesn't exist
12339
12340         * minibuffer.C: don't add empty lines to the history
12341
12342         * minibuffer.C: add a space on dropdown completion
12343
12344 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12345
12346         * text.C: fix line above/below drawing in insets
12347
12348 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12349
12350         * lyxlength.C (LyXLength): Initialize private variables.
12351
12352 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12353
12354         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12355         when inserting error insets.
12356
12357 2001-12-13  Juergen Vigna  <jug@sad.it>
12358
12359         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12360         actually sometimes the before-paragraph.
12361         (setUndo): don't clear the redostack if we're not actually undoing!
12362
12363 2001-12-06  Juergen Vigna  <jug@sad.it>
12364
12365         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12366         and fixed redoing of main paragraph, so we can use it now ;)
12367
12368         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12369
12370 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12371
12372         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12373         Juergen's request
12374
12375 2001-12-13  André Pönitz <poenitz@gmx.net>
12376
12377         * undostack.[Ch]:
12378         * undo_func.C: minor cleanup
12379
12380 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12381
12382         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12383         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12384         font in urw-fonts package which is marked as -urw-fontspecific and
12385         does not work (incidentally, changing the encoding in the
12386         fonts.dir of this package to -adobe-fontspecific fixes the
12387         problem).
12388
12389         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12390         is a crash when undoing first paragraph (Juergen, please take a
12391         look). THis does not mean the undo fix is wrong, just that it
12392         uncovers problems.
12393
12394         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12395         the (Paragraph*) version when needed instead of duplicating the
12396         code.
12397
12398         * text.C (workWidth): use Inset::parOwner to find out where the
12399         inset has been inserted. This is a huge performance gain for large
12400         documents with lots of insets. If Inset::parOwner is not set, fall
12401         back on the brute force method
12402
12403         * paragraph_pimpl.C (insertInset):
12404         * paragraph.C (Paragraph):
12405         (cutIntoMinibuffer): set parOwner of insets when
12406         inserting/removing them
12407
12408         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12409
12410 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12411
12412         * commandtags.h:
12413         * LyXAction.C:
12414         * lyx_main.C:
12415         * lyxfunc.C:
12416         * mathed/formulabase.C:
12417         * mathed/math_cursor.[Ch]:
12418         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12419
12420
12421 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12422
12423         * lyxlength.[Ch] (operator!=): new function
12424
12425 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12426
12427         * text.C (workWidth): use Inset::parOwner to find out where the
12428         inset has been inserted. This is a huge performance gain for large
12429         documents with lots of insets. If Inset::parOwner is not set, fall
12430         back on the brute force method
12431
12432         * paragraph_pimpl.C (insertInset):
12433         * paragraph.C (Paragraph):
12434         (cutIntoMinibuffer): set parOwner of insets when
12435         inserting/removing them
12436
12437         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12438
12439 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12440
12441         * tabular-old.C (getTokenValue):
12442         * tabular.C (getTokenValue):
12443         (write_attribute): new versions for LyXLength
12444         (everywhere): adjust the use of widths
12445
12446         * tabular.h: change the type of widths from string to LyXLength
12447
12448 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12449
12450         * paragraph.C: fixed missing line number count when exporting
12451         Environments to LaTeX file
12452
12453         * buffer.C: added informational message for checking line numbers.
12454
12455 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12456
12457         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12458         paragraph, do the 'double space' part, but not the 'empty
12459         paragraph' one.
12460
12461         * text.C (workWidth): small optimization
12462         (getLengthMarkerHeight): use minimal size for negative lengths.
12463
12464 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12465
12466         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12467
12468         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12469
12470 2001-12-11  André Pönitz <poenitz@gmx.net>
12471
12472         * FontLoader.C:
12473         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12474
12475 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12476
12477         * text2.C: keep selection on a setFont()
12478
12479 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12480
12481         * lyx_cb.C: another bv->text misuse, from insert label
12482
12483 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12484
12485         * kbsequence.h:
12486         * kbsequence.C: re-instate nmodifier mask
12487
12488 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12489
12490         * lyx_main.h: make lyxGUI private.
12491
12492 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12493
12494         * lyxfind.C: place the cursor correctly on failed search
12495
12496 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12497
12498         * text.C (getLengthMarkerHeight): for small heights, the arrows
12499         are not always on top/bottom of the text
12500         (drawLengthMarker): smaller arrows; take the left margin in
12501         account; draw also vfills.
12502         (paintFirstRow):
12503         (paintLastRow): remove special code for vfill and standard spaces,
12504         since everything is handled in drawLengthMarker now.
12505
12506 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12507
12508         * buffer.C (insertErtContents): try to handle font and language
12509         interaction a bit better.g
12510
12511         * ColorHandler.C (updateColor): change the hash to cover the whole
12512         LColor enum, ws cleanup
12513         (getGCLinepars): ditto
12514         (getGCLinepars): only lookup in the linecache once.
12515
12516 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12517
12518         * iterators.C (operator++): Make the iterator more robust
12519
12520         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12521         (John's patch)
12522         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12523
12524 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12525
12526         * lyxtext.h:
12527         * text.C: better added space drawing
12528
12529 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12530
12531         * LyXView.C:
12532         * BufferView2.C: fix layout combo update on inset unlock
12533
12534 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12535
12536         * Makefile.am: don't compile unused files
12537
12538 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12539
12540         * lyxfunc.C:
12541         * commandtags.h:
12542         * LyXAction.C: remove old LFUN_LAYOUTNO
12543
12544 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12545
12546         * paragraph_pimpl.h:
12547         * paragraph_pimpl.C: isTextAt() doesn't need font param
12548
12549 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12550
12551         * lyxlex.h:
12552         * lyxlex.C: little cleanup
12553
12554 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12555
12556         * BufferView_pimpl.C: fix insertAscii for insets
12557
12558 2001-12-05  Juergen Vigna  <jug@sad.it>
12559
12560         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12561         set the right font on the "multi" paragraph paste!
12562
12563 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12564
12565         * trans_decl.h:
12566         * trans_mgr.[Ch]:
12567         * trans.[Ch]:
12568         * lyxgluelength.C:
12569         * lyxlength.C: remove out-commented code.
12570
12571         * BufferView_pimpl:
12572         * CutAndPaste.C:
12573         * DepTable.C:
12574         * buffer.C:
12575         * chset.C:
12576         * lastfiles.C:
12577         * lyxlex.C:
12578         * lyxlex_pimpl.C:
12579         * lyxserver.C:
12580         * screen.C:
12581         * tabular-old.C:
12582         * tabular.C:
12583         * text.C:
12584         * trans_mgr.C:
12585         * vc-backend.C: change "while(" to "while ("
12586
12587         * lyxlength.[Ch]: add zero function to check if length is zero or
12588         not
12589         * lyxgluelength.C: use it
12590
12591 2001-12-05  Allan Rae  <rae@lyx.org>
12592
12593         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12594         Works for 2.95.3, from what I understand of Garst's reports this should
12595         work for other g++ versions.  We're screwed if the abs(int) definition
12596         changed between bugfix releases of gcc.
12597
12598 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12599
12600         * text.C: fix chapter label offset !
12601
12602 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12603
12604         * lyxtext.h:
12605         * text.C: fix hfill at end of line, clean up
12606
12607 2001-12-04  Juergen Vigna  <jug@sad.it>
12608
12609         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12610         that we force an update of the inset and it's owners if neccessary.
12611
12612 2001-12-03  Juergen Vigna  <jug@sad.it>
12613
12614         * text.C (rowLast): simplified code
12615
12616 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12617
12618         * lyxfunc.C: fix show options on timeout
12619
12620 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12621
12622         * screen.C (topCursorVisible): scroll half a page when the cursor
12623         reached top of bottom of screen
12624
12625 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12626
12627         * minibuffer.C: deactivate on loss of focus
12628
12629 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12630
12631         * vspace.[Ch] (operator!=): add operator.
12632
12633 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12634
12635         * BufferView_pimpl.C: refuse to open an inset when
12636         there's a selection.
12637
12638 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12639
12640         * BufferView_pimpl.C: allow to click on RHS of full row insets
12641
12642 2001-11-30  Juergen Vigna  <jug@sad.it>
12643
12644         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12645         insets for undo reasons.
12646
12647 2001-11-28  André Pönitz <poenitz@gmx.net>
12648
12649         * vspace.[Ch]: cosmetical changes
12650
12651 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12652
12653         * LyXAction.h:
12654         * LyXAction.C:
12655         * lyxfunc.h:
12656         * lyxfunc.C:
12657         * kbmap.h:
12658         * kbmap.C:
12659         * lyxrc.C:
12660         * kbsequence.h:
12661         * kbsequence.C: part re-write of old kb code
12662
12663         * Painter.C:
12664         * WorkArea.C: remove Lgb_bug_find_hack
12665
12666 2001-11-30  José Matos <jamatos@fep.up.pt>
12667
12668         * buffer.C (makeDocBookFile): add a comment to point a hack.
12669         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12670         Fixed a double write of labels.
12671
12672 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12673
12674         * LaTeX.C:
12675         * LaTeX.h Fixed bug in LaTeX class where it would not
12676         re-run latex if no depfiles were changed, but the .dvi was removed.
12677
12678 2001-11-28  André Pönitz <poenitz@gmx.net>
12679
12680         * all the files from the change on 2001/11/26:
12681         use lyx::layout_type instead of LyXTextClass::size_type
12682         use lyx::textclass_type instead of LyXTextClassList::size_type
12683
12684 2001-11-29  Juergen Vigna  <jug@sad.it>
12685
12686         * text.C: added support for paragraph::isFreeSpacing()
12687
12688         * buffer.C: same as above
12689
12690         * paragraph.h: inserted isFreeSpacing() function to enable
12691         FreeSpacing inside InsetERT.
12692
12693         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12694         of the paragraph's in the cut/copy buffer to 0!
12695
12696         * text2.C (removeRow): remove the assert as it can!
12697
12698         * lyxtext.h: added helper function firstRow returning firstrow and
12699         made firstrow private again.
12700
12701         * BufferView2.C (lockInset): don't relock if we're already locked!
12702
12703         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12704         the only paragraph.
12705         (removeRow): added Assert::(firstrow)
12706
12707         * debug.C: forgot to add INSETTEXT here.
12708
12709 2001-11-28  Juergen Vigna  <jug@sad.it>
12710
12711         * sp_spell.C (initialize): changed error text to more general
12712         spellchecker command use (not only ispell!)
12713
12714         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12715
12716         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12717
12718 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12719
12720         * vspace.C: initialise lyxgluelength on failure
12721
12722 2001-11-28  Allan Rae  <rae@lyx.org>
12723
12724         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12725         declaration & definition that looks like a function declaration.
12726
12727 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12728
12729         * BufferView2.C (copy):
12730         (copyEnvironment): do not clear the selection when doing a copy.
12731
12732         * text.C (paintFirstRow): compilation fix
12733
12734 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12735
12736         * tabular.C (Latex): correct line count when writing latex.
12737
12738 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12739
12740         * paragraph_pimpl.h:
12741         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12742           bug a bit
12743
12744 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12745
12746         * text.C:
12747         * LColor.h:
12748         * LColor.C: change vfillline->added_space
12749
12750         * text.C: add markers and text for added space
12751
12752         * vspace.C: fix comment
12753
12754 2001-11-28  André Pönitz <poenitz@gmx.net>
12755
12756         * paragraph.C: whitespace changes
12757         * all the other files from the change on 2001/11/26:
12758         change *::pos_type into lyx::pos_type
12759
12760 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12761
12762         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12763         language of the document when inserting error insets.
12764
12765 2001-11-26  André Pönitz <poenitz@gmx.net>
12766
12767         * BufferView_pimpl.[Ch]:
12768         *       CutAndPaste.C:
12769         * buffer.[Ch]:
12770         * lyxcursor.[Ch]:
12771         * lyxfind.C:
12772         * lyxfunc.C:
12773         * lyxrow.[Ch]:
12774         * paragraph.[Ch]:
12775         * paragraph_pimpl.[Ch]:
12776         * sp_spell.C:
12777         * text.C:
12778         * text2.C: reduce header dependencies, introduce type for positions
12779
12780 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12781
12782         * <various>: change to use Alert.h
12783
12784 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12785
12786         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12787         when encountering an unknown token.
12788         (readLyXformat2): Show an error message if there were unknown tokens.
12789
12790 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12791
12792         * BufferView2.C:
12793         * BufferView_pimpl.C:
12794         * buffer.C:
12795         * paragraph.h:
12796         * text.C:
12797         * text2.C: use par->isInset()
12798
12799 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12800
12801         * paragraph_pimpl.h:
12802         * paragraph_pimpl.C: cleanup
12803
12804 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12805
12806         * text2.C (removeRow):
12807         * text.C (setHeightOfRow): remove useless (and costly) call to
12808         getRow.
12809
12810 2001-11-20  Allan Rae  <rae@lyx.org>
12811
12812         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12813         Now need Inset*::checkInsertChar() to return true for appropriate
12814         cases so that the characters in the minibuffer will actually be
12815         inserted.
12816
12817 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12818
12819         * text.C: change the order of the includes.
12820         (workWidth): initialize it at once.
12821         (workWidth): make maxw unsigned
12822         (setHeightOfRow): remove unused variable (inset)
12823         (selectSelectedWord): remove unused variable (inset)
12824         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12825
12826 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12827
12828         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12829         server is not running.
12830         (openConnection):
12831         (closeConnection): add debug info when server is disabled.
12832
12833         * ColorHandler.C (getGCForeground): send debug message to GUI
12834         channel.
12835
12836         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12837
12838         * kbmap.C (bind): modify because return conventions of
12839         kb_sequence::parse have changed.
12840
12841         * kbsequence.C (parse): only ignore spaces and not any stupid
12842         control character. This avoids tests like s[i] <= ' ', which are
12843         guaranteed to fail with 8bit characters and signed chars.
12844         Change return code to string::npos when there have been no error
12845         (0 was a bad idea when error is at first character)
12846
12847 2001-11-14  José Matos  <jamatos@fep.up.pt>
12848
12849         * buffer.h:
12850         * buffer.C (simpleDocBookOnePar): removed unused argument.
12851
12852 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12853
12854         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12855         insets which are part of a word. Paragraph::isLetter takes care of
12856         that now. Use Paragraph::isInset to identify insets.
12857         (selectSelectedWord): do not test for hyphenation break.
12858
12859         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12860         that protected spaces are considered as spaces.
12861
12862         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12863         Inset::isLetter.
12864
12865 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12866
12867         * lyxserver.h:
12868         * lyxserver.C: fix it. and small cleanup.
12869
12870 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12871
12872         * BufferView_pimpl.C: use inline helpers
12873
12874         * LaTeXFeatures.h:
12875         * LaTeXFeatures.C: fix typos
12876
12877         * Spacing.h:
12878         * Spacing.C: move spacing_string into class
12879
12880         * ToolbarDefaults.C: move stuff into namespace anon
12881
12882         * layout.h: update enum
12883
12884         * lyxfunc.C: use better debug
12885
12886         * minibuffer.h: fix typo
12887
12888         * debug.h:
12889         * debug.C:
12890         * WorkArea.C: add and use Debug::WORKAREA
12891
12892         * lyxtext.h:
12893         * text.C:
12894         * text2.C: code re-organisation, inline helpers
12895
12896 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12897
12898         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12899         std::vector.empty().
12900
12901 2001-11-09  Allan Rae  <rae@lyx.org>
12902
12903         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12904         '\n's after tables.  Tabular and ERT inset work now makes this no
12905         longer necessary.
12906
12907 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12908
12909         * minibuffer.h:
12910         * minibuffer.C: fix crash, improve drop-down completion
12911
12912 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12913
12914         * lyxserver.h:
12915         * lyxserver.C: invalidate fd's when doing endPipe()
12916
12917 2001-11-08  José Matos  <jamatos@fep.up.pt>
12918
12919         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12920         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12921
12922         * paragraph.h:
12923         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12924
12925 2001-11-07  José Matos  <jamatos@fep.up.pt>
12926
12927         * buffer.h:
12928         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12929         const qualifier.
12930
12931         * buffer.C (sgmlOpenTag):
12932         * buffer.C (sgmlCloseTag): removed debug info.
12933
12934         * buffer.h (sgmlOpenTag):
12935         * buffer.h (sgmlCloseTag): made public.
12936
12937 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12938
12939         * buffer.C (saveParamsAsDefaults):
12940         * lyx_cb.C (MenuLayoutSave): remove
12941
12942         * LyXAction.C (init):
12943         * commandtags.h:
12944         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12945
12946 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12947
12948         * buffer.C (setPaperStuff): removed from here...
12949
12950         * bufferparams.C (setPaperStuff): ... and moved there.
12951
12952 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12953
12954         * minibuffer.h:
12955         * minibuffer.C:
12956         * XFormsView.C: add support for drop-down completion
12957
12958 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12959
12960         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12961         commands.
12962
12963 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12964
12965         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12966         disabled.
12967
12968 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12969
12970         * lyx_main.C: change ref to known bugs
12971
12972 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12973
12974         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12975         to work around older babel problems.
12976
12977 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12978
12979         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12980
12981 2001-10-24  Juergen Vigna  <jug@sad.it>
12982
12983         * tabular-old.C (ReadOld): below variable changes reflected.
12984
12985         * tabular.[Ch]: added ltType struct for longtable header/footer
12986         defines and changed all instances where they are used. Added
12987         future support for double top/bottom rows.
12988
12989 2001-10-24  José Matos  <jamatos@fep.up.pt>
12990
12991         * buffer.h (docbookHandleCaption):
12992         * buffer.C (docbookHandleCaption): removed unused function.
12993         (makeDocBookFile): moved docbook supported version to v4.1.
12994
12995 2001-10-24  José Matos  <jamatos@fep.up.pt>
12996
12997         * tabular.h:
12998         * tabular.C (docbookRow): new function to export docbook code of a row.
12999         (DocBook): now honors the longtable flags.
13000
13001 2001-10-23  José Matos  <jamatos@fep.up.pt>
13002
13003         * LaTeXFeatures.h:
13004         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13005         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13006
13007         * buffer.C (makeLinuxDocFile):
13008         (makeDocBookFile): reworked the preamble, more clean, and with
13009         support for lyx defined entities. Changed the document declaration
13010         to be more XML friendly.
13011
13012         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13013         if we need to output XML that should be done with a filter.
13014
13015 2001-10-22  Juergen Vigna  <jug@sad.it>
13016
13017         * sp_pspell.h (class PSpell): add alive function needed in the
13018         controller to see if the spellchecker could be started.
13019
13020 2001-10-22  Juergen Vigna  <jug@sad.it>
13021
13022         * buffer.C (insertStringAsLines): modify the font for inserting
13023         chars in certain conditions by calling checkInsertChar(font).
13024
13025 2001-10-19  Juergen Vigna  <jug@sad.it>
13026
13027         * text.C (workWidth): use getRow instead of wrong algorithm.
13028         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13029
13030 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13031
13032         * lyxserver.h:
13033         * lyxserver.C:
13034         * lyx_main.h:
13035         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13036
13037 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13038
13039         * text.C (workWidth): do not search for the exact row when
13040         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13041         optimization for big documents.
13042
13043 2001-10-18  Juergen Vigna  <jug@sad.it>
13044
13045         * text.C (workWidth): new function with added Inset * parameter.
13046
13047 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13048
13049         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13050
13051         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13052         change return type of getColumnNearX.
13053
13054
13055         * text.C (changeRegionCase): use uppercase/lowercase instead of
13056         toupper/tolower.
13057         (leftMargin):
13058         (rightMargin): simplify code by factoring out the uses of
13059         textclasslist.
13060         (labelFill):
13061         (numberOfHfills):
13062         (setHeightOfRow):
13063         (appendParagraph): use Paragraph::size_type
13064
13065 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13066
13067         * vspace.C (asLatexString): add a missing break
13068
13069 2001-10-15  Herbert Voss  <voss@perce.de>
13070
13071         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13072
13073 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13074
13075         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13076         is not available.
13077
13078 2001-10-10  André Pönitz <poenitz@gmx.net>
13079
13080         * lyxfunc.C: removed greek_kb_flag.
13081
13082 2001-10-10  Herbert Voss  <voss@perce.de>
13083
13084         * lyx_main.C: delete global string help_lyxdir.
13085
13086 2001-10-09  Herbert Voss  <voss@perce.de>
13087
13088         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13089
13090         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13091
13092         * lyx_main.C: added global string help_lyxdir.
13093
13094         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13095
13096 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13097
13098         * lyxrc.C (set_font_norm_type): support iso8859-4
13099
13100 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13101
13102         * LaTeX.C (deplog): add another regex for MikTeX
13103
13104 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13105
13106         * lyxrc.C (set_font_norm_type): support iso8859-3
13107
13108 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13109
13110         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13111
13112         * LaTeXFeatures.C: remove special case of french and index
13113
13114         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13115         before \begin{document}). This solves several incompatibilities.
13116
13117 2001-10-03  Garst Reese  <reese@isn.net>
13118
13119         * lyx_cb.C: change CheckTex error msg.
13120
13121 2001-10-03  José Matos  <jamatos@fep.up.pt>
13122
13123         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13124
13125 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13126
13127         * .cvsignore: update
13128
13129         * lyx_main.C (commandLineVersionInfo): use new style version info.
13130
13131         * buffer.C (writeFile):
13132         (makeLaTeXFile):
13133         (makeLinuxDocFile):
13134         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13135
13136         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13137
13138         * version.h: update to use stuff in version.C
13139
13140         * version.C.in: new file. Contains version information determined
13141         at compile time. This is a merging of version.h and
13142         version_info.h.in.
13143
13144 2001-10-03  Juergen Vigna  <jug@sad.it>
13145
13146         * BufferView_pimpl.C (update): don't change "dirty" status in
13147         updateInset call.
13148
13149 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13150
13151         * WorkArea.C (c-tor): re-position version string slightly.
13152
13153 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13154
13155         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13156         revert to previous code.
13157
13158         WorkArea.[Ch]: (show, destroySplash): methods removed.
13159
13160         WorkArea.C: rework code so that it's an amalgam of the codes before and
13161         after the splash screen was moved to WorkArea.
13162
13163 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13164
13165         * lyxrc.C (read):
13166         * vspace.C (inPixels):
13167         (lyx_advance):
13168         * kbmap.C (bind):
13169         * buffer.C (insertStringAsLines):
13170         (asciiParagraph): fix types to be large enough
13171
13172         * lyxlex_pimpl.h: change member status from short to int
13173
13174         * layout.h: fix type of endlabeltype
13175
13176         * kbmap.C (bind):
13177         * kbsequence.C (parse): change return type to string::size_type
13178
13179         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13180         variable
13181
13182         * Bullet.C (bulletSize):
13183         (bulletEntry): do not use short ints as parameters
13184
13185         * BufferView2.C (insertLyXFile): change a char to an int.
13186
13187         * WorkArea.C (WorkArea): remove unneeded floats in computation
13188
13189 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13190
13191         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13192
13193         * paragraph.C (asString): Do not ignore newline/hfill chars when
13194         copying to the clipboard.
13195
13196 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13197
13198         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13199         after a multi-line inset.
13200
13201 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13202
13203         * paragraph.C (validate): Set NeedLyXFootnoteCode
13204
13205 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13206
13207         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13208         and decrease-error to decrease.
13209
13210 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13211
13212         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13213         it more readable (should be equivalent)
13214
13215 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13216
13217         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13218
13219 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13220
13221         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13222         of a cursor (row, etc.) after a character has been deleted
13223         (deleteEmptyParagraphMechanism): call the method above on _all_
13224         cursors held by the LyXText when a double space has been
13225         detected/deleted.
13226
13227 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13228
13229         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13230         pixmap.
13231         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13232
13233         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13234         background. Use greyOut() and the new show() methods to toggle between
13235         the foreground and background. Add code to remove the splash after
13236         its initial showing.
13237
13238         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13239         (create_forms): no longer call Dialogs::showSplash.
13240
13241 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13242
13243         * .cvsignore: add version_info.h
13244
13245 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13246
13247         * version_info.h.in: new file
13248
13249         * Makefile.am: add version_info.h.in
13250
13251         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13252         version_info.h instead of VERSION_INFO
13253
13254 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13255
13256         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13257         The ERT inset now returns string().
13258
13259 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13260
13261         * lyxtext.h, text.C (selectNextWord): renamed as
13262         selectNextWordToSpellcheck.
13263
13264         * text.C (selectNextWordToSpellcheck): Modified to not select
13265         words inside an ERT inset.
13266
13267 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13268
13269         * lyx_cb.C (MenuLayoutSave): change a bit the question
13270
13271         * sp_base.h: include <sys/types.h>
13272
13273 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13274
13275         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13276
13277 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13278
13279         * several files: fix typos in user-visible strings
13280
13281 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13282
13283         * text2.C (pasteSelection): do not set the selection, since it
13284         will be cleared later. Actually, the intent was to fix the way the
13285         selection was set, but I figured rmoving the code was just as good.
13286
13287 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13288
13289         * FontLoader.C (available): Check if font is available without
13290         loading the font.
13291
13292 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13293
13294         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13295
13296 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13297
13298         * lyxrc.[Ch]: added display_graphics variable and associated code.
13299
13300 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13301
13302         * bufferparams.C (hasClassDefaults): new method. Returns true if
13303         the buffer parameters correspond to known class defaults
13304
13305 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13306
13307         * XFormsView.C (show): set minimum size to the main window.
13308
13309 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13310
13311         * text2.C (copySelection):
13312         (cutSelection):
13313         * lyxfind.C (LyXReplace):
13314         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13315         LyXText::selectionAsString.
13316
13317         * paragraph.C (asString): add "label" argument to the second form
13318
13319         * text2.C (selectionAsString): add "label" argument and pass it to
13320         Paragraph::asString.
13321
13322 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13323
13324         * lyx_main.C (commandLineHelp): remove version information
13325
13326 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13327
13328         * lyx_main.C: add -version commandline option
13329
13330 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13331
13332         * paragraph.h: make the optional constructor arg required instead.
13333         some modifications to other files because of this.
13334
13335         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13336
13337         * lyxserver.C (C_LyXComm_callback): make it static
13338
13339         * lyx_main.C (error_handler): make it static
13340
13341         * lyx_gui.C (LyX_XErrHandler): make it static
13342
13343         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13344
13345         * WorkArea.C: make the extern "C" methods static.
13346
13347         * Makefile.am (lyx_LDADD): simplify
13348
13349 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13350
13351         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13352         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13353
13354         * LyXAction.C (init):
13355         * lyxfunc.C (dispatch): associated code removal.
13356
13357 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13358
13359         * lyxfont.h (isSymbolFont): shut off warning
13360
13361         * text.C (setHeightOfRow):
13362         (getVisibleRow): fix crash with empty paragraphs which have a
13363         bottom line
13364
13365 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13366
13367         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13368         code.
13369
13370 2001-09-04  José Matos  <jamatos@fep.up.pt>
13371         * buffer.C
13372         * buffer.h
13373         * tabular.C (docbook): rename docBook method to docbook.
13374
13375 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13376
13377         * Makefile.am: add dependencies to main.o.
13378
13379 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13380
13381         * FontLoader.C (available): Return false if !lyxrc.use_gui
13382
13383 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13384
13385         * FontInfo.C (query):
13386         * converter.C (view):
13387         * importer.C (Import):
13388         * exporter.C (Export): Can not -> cannot.
13389
13390 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13391
13392         * BufferView_pimpl.C: allow to create index inset even if
13393           string is empty
13394
13395 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13396
13397         * buffer.C (getLists): replace boost::tie code with an explicit pair
13398         as boost::tie can break some compilers.
13399
13400         * iterators.h: Added a std:: declaration to the return type of
13401         ParIterator::size.
13402
13403 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13404
13405         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13406           case.
13407
13408 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13409
13410         * iterators.[Ch]: New files. Provide paragraph iterators.
13411
13412         * buffer.C (changeLanguage): Use paragraph iterators.
13413         (isMultiLingual): ditto
13414
13415         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13416
13417 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13418
13419         * FontLoader.C: Support for cmr font.
13420
13421 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13422
13423         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13424         (available): New method.
13425
13426         * FontInfo.C (getFontname): Use scalable fonts even when
13427         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13428         found.
13429
13430 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13431
13432         * converter.C (Formats::view): reverted! Incorrect fix.
13433
13434 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13435
13436         * converter.C (Formats::view): only output the -paper option
13437         if the dvi viewer is xdvi, thereby fixing bug #233429.
13438
13439 2001-08-23  Herbert Voss  <voss@perce>
13440
13441         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13442
13443 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13444
13445         * Spacing.h (Spacing): Set space to Default on in the default
13446         constructor.
13447
13448 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13449
13450         * vc-backend.h (RCS::versionString): add RCS to version
13451         (CVS::versionString): add CVS to version
13452
13453         * vc-backend.C (scanMaster): do not add CVS to version.
13454         (scanMaster): do not add RCS to version
13455
13456         * lyxvc.C (versionString): new method
13457
13458         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13459
13460 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13461
13462         * Spacing.C (set): initialize fval
13463
13464 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13465
13466         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13467         " or \.
13468
13469 2001-08-16  Juergen Vigna  <jug@sad.it>
13470
13471         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13472
13473 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13474
13475         * BufferView_pimpl.C:
13476         * figureForm.C:
13477         * lyxtext.h:
13478         * text2.C: setParagraph takes linespacing now
13479
13480 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13481
13482         * LyxAction.C: add internal LFUN_CITATION_INSERT
13483
13484         * LyXView.C: actually apply fix
13485
13486         * bufferlist.C: fix open non-existent file
13487
13488         * lyxfind.C: fix indentation
13489
13490         * lyxfunc.C: remove unneeded assert, fix typo
13491
13492 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13493
13494         * MenuBackend.C: use "Floatname List"
13495
13496 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13497
13498         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13499         when converting LaTeX layout to insetERT.
13500         Generate a non-collapsed float when reading old float
13501
13502 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13503
13504         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13505         ERT insets.
13506
13507 2001-08-13  Juergen Vigna  <jug@sad.it>
13508
13509         * text.C (fill): return 0 instead of 20 as this seems to be the more
13510         correct value.
13511
13512 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13513
13514         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13515         lyxrc.font_norm.
13516
13517 2001-08-13  Juergen Vigna  <jug@sad.it>
13518
13519         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13520         casesensitive off.
13521         (SearchBackward): comment out the unlocking of the inset_owner this
13522         should not be needed!
13523
13524 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13525
13526         * Many files: Remove inherit_language, and add latex_language
13527
13528         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13529         collapsible insets.
13530
13531 2001-08-10  Juergen Vigna  <jug@sad.it>
13532
13533         * text.C (prepareToPrint): fixed hfill-width in draw!
13534
13535         * BufferView2.C (selectLastWord): save the selection cursor as this
13536         now is cleared in the function LyXText::clearSelection!
13537
13538 2001-08-08  Juergen Vigna  <jug@sad.it>
13539
13540         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13541         BACKSPACE type functions.
13542
13543         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13544         is only cutted from the document but not put in the cut-buffer, where
13545         still the old stuff should be.
13546
13547         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13548
13549         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13550
13551         * tabular.C (SetWidthOfCell): fixed special case where the width
13552         was not updated!
13553         (LeftLine): handle '|' in align_special.
13554         (RightLine): ditto
13555         (LeftAlreadyDrawed): ditto
13556         (SetWidthOfCell): ditto
13557
13558 2001-08-07  Juergen Vigna  <jug@sad.it>
13559
13560         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13561
13562 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13563
13564         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13565         * lyxlex.[hC]: ditto
13566
13567 2001-08-06  Juergen Vigna  <jug@sad.it>
13568
13569         * text.C (getVisibleRow): fix up row clearing a bit.
13570
13571 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13572
13573         * minibuffer.C: make sure the X server sees the changes in the input.
13574
13575 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13576
13577         * paragraph.C (getFont): split into...
13578         (getLabelFont): this
13579         (getLayoutFont): and this
13580         * paragraph_pimpl.C (realizeFont): calling this
13581
13582         * text2.C (getFont): split into...
13583         (getLayoutFont): this
13584         (getLabelFont): and this
13585         (realizeFont): all three calling this
13586
13587         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13588         files where used.
13589
13590 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13591
13592         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13593
13594 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13595
13596         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13597         layouts from the Quote inset insertion.
13598
13599 2001-08-03  Juergen Vigna  <jug@sad.it>
13600
13601         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13602
13603         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13604         only if status not is already CHANGED_IN_DRAW (second level).
13605
13606         * text.C (draw): don't set the need_break_row when inside an
13607         InsetText LyXText.
13608
13609 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13610
13611         * buffer.C (parseSingleLyXformat2Token): handle more latex
13612         conversion cases.
13613
13614         * bufferview_funcs.[hC]: change function names to
13615         begin with small char, adjust other files.
13616
13617 2001-08-02  André Pönitz <poenitz@gmx.net>
13618
13619         * lyxfunc.C:
13620         BufferView_pimpl.C: remove broken special code for math-greek
13621
13622 2001-08-02  Juergen Vigna  <jug@sad.it>
13623
13624         * BufferView_pimpl.C (update): redone this function so that we
13625         update the text again if there was a CHANGE_IN_DRAW.
13626
13627         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13628         (drawFromTo): added a new internal bool which is used by draw() and
13629         redraw() function.
13630         (general): some cursor drawing problems fixed.
13631
13632 2001-08-01  Juergen Vigna  <jug@sad.it>
13633
13634         * lyxfind.C (LyXFind): fixed
13635         (SearchForward): ditto
13636         (SearchBackward): ditto
13637
13638         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13639         spurius drawing of the cursor in the main area.
13640
13641         * text2.C (status): small fix which could lead to a segfault!
13642         (clearSelection): remove unneeded BufferView param.
13643
13644 2001-08-01  André Pönitz <poenitz@gmx.net>
13645
13646         * lyxfunc.C: small change due to changed mathed interface
13647
13648 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13649
13650         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13651
13652 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13653
13654         * lyxfunc.c: fail gracefully if file doesn't exist
13655
13656         * LyXSendto.C:
13657         * buffer.C:
13658         * lyxfunc.C:
13659         * BufferView_pimpl.C: IsDirWriteable() proto changed
13660
13661         * LyXView.C: fix updateWindowTitle() to store the last title
13662
13663 2001-07-31  Juergen Vigna  <jug@sad.it>
13664
13665         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13666         the font (wrong since using of Paragraph::highestFontInRange).
13667
13668         * paragraph.C (highestFontInRange): added a default_size parameter.
13669
13670         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13671         (setHeightOfRow): reformat
13672
13673 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13674
13675         * converter.[hC] + affected files: move to (inital-char)lowercase
13676         function names.
13677
13678         * ParagraphParameters.C (ParagraphParameters): remove commented code
13679
13680         * PainterBase.[Ch]: remove commented code
13681
13682         * LaTeXFeatures.h: add "bool floats" for float.sty
13683
13684         * LaTeXFeatures.C (LaTeXFeatures): init floats
13685         (require): handle float
13686         (getPackages): do it with floats
13687
13688 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13689
13690         * BufferView_pimpl.C (Dispatch): improve handling of
13691         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13692
13693         * commandtags.h: #include lyxfont.h here temporarily to avoid
13694         keybinding bug.
13695
13696         * bufferlist.h: include LString.h here.
13697
13698 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13699
13700         * text2.C (getStringToIndex): new method.
13701
13702 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13703
13704         * *: Reduced header file dependencies all over.
13705
13706 2001-07-30  Baruch Even  <baruch@lyx.org>
13707
13708         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13709
13710 2001-07-29  Baruch Even  <baruch@lyx.org>
13711
13712         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13713
13714 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13715
13716         * ParameterStruct.h (endif): add a default constructor to make
13717         sure that all variables is initialized.
13718
13719         * ParagraphParameters.C (ParagraphParameters): adjust
13720
13721 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13722
13723         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13724         index; also, check that there is something to index, and that it
13725         does not span over several paragraphs.
13726         (doubleClick): use WHOLE_WORD_STRICT for double click.
13727
13728         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13729
13730         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13731         scheme.
13732
13733 2001-07-26  Baruch Even  <baruch@lyx.org>
13734
13735         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13736         an InsetFig figure, backwards compatible reading of old figure code.
13737
13738 2001-07-27  Juergen Vigna  <jug@sad.it>
13739
13740         * text2.C: font.realize function adaption.
13741
13742         * text.C (draw): add a warnings lyxerr text if needed.
13743
13744         * layout.C: font.realize function adaption.
13745
13746         * language.C: add inherit_language and implement it's handlings
13747
13748         * bufferview_funcs.C (StyleReset): remove language parameter from
13749         font creation (should be language_inherit now).
13750
13751         * bufferparams.C (writeFile): handle ignore_language.
13752
13753         * paragraph.C (getFontSettings): the language has to be resolved
13754         otherwise we have problems in LyXFont!
13755
13756         * lyxfont.C (lyxWriteChanges): added document_language parameter
13757         (update): removed unneeded language parameter
13758
13759         * paragraph.C (validate): fixed wrong output of color-package when
13760         using interface colors for certain fonts in certain environments,
13761         which should not seen as that on the final output.
13762
13763 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13764
13765         * BufferView_pimpl.C:
13766         * Thesaurus.h:
13767         * Thesaurus.C:
13768         * Makefile.am:
13769         * commandtags.h:
13770         * LyXAction.C: add thesaurus support
13771
13772         * lyxfind.h:
13773         * lyxfind.C: add "once" parameter, for thesaurus, to not
13774           move to the next match
13775
13776 2001-07-26  Juergen Vigna  <jug@sad.it>
13777
13778         * lyxfont.C (realize): honor ignore_language too!
13779         (resolved): ditto.
13780
13781         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13782
13783         * text.C (draw): one place more for ignore_language to not draw
13784         itself!
13785
13786 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13787
13788         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13789
13790 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13791
13792         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13793         the minipage conversion problem.
13794
13795 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13796
13797         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13798         insert an inset.
13799
13800 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13801
13802         * BufferView.h: don't forward declare WorkArea
13803
13804         * BufferView.C: don't include WorkArea.h
13805
13806 2001-07-25  André Pönitz <poenitz@gmx.net>
13807
13808         * commandtags.h:
13809         * LyXAction.C:
13810         * lyxfunc.C:  new LFUN 'math-space'
13811
13812         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13813
13814 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13815
13816         * text2.C (toggleInset): call open/close
13817
13818 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13819
13820         * lyxfunc.C (dispatch): add debug for the disabled case
13821
13822         * font.C (buttonText): make similar to rectText
13823
13824         * buffer.C (readInset): comment out parsing of insetlist and
13825         insttheorem
13826
13827         * PainterBase.C (rectText): small correction
13828
13829         * BufferView_pimpl.C: comment out insettheorem and insetlist
13830         * LyXAction.C: ditto
13831         * commandtags.h: ditto
13832
13833 2001-07-24  Juergen Vigna  <jug@sad.it>
13834
13835         * text.C (draw): honor the ignore_language.
13836
13837         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13838
13839 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13840
13841         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13842         char inset.
13843
13844 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13845
13846         * lyxtext.h: remove unused (and unimplemented) methods
13847
13848 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13849
13850         * text.C (getVisibleRow): honor background color
13851
13852         * PainterBase.h:
13853         * Painter.h: remove default color argument for fillRectangle
13854
13855         * text.C (backgroundColor): new method
13856
13857 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13858
13859         * text.C (getVisibleRow): adjust
13860
13861         * font.[Ch] (rectText): new method, metrics
13862         (buttonText): new method, metrics
13863
13864         * PainterBase.[hC]: make rectText and buttonText always draw and take
13865         fewer paramteres.
13866
13867 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13868
13869         * ToolbarDefaults.C (read):
13870         * MenuBackend.C (read): allow escaping in all strings
13871
13872         * BufferView_pimpl.C (insertAndEditInset): new method.
13873         (Dispatch): use insertAndEditInset whenever appropriate.
13874
13875         * BufferView_pimpl.C (insertNote): removed
13876
13877         * BufferView_pimpl.C (smartQuote): new method, moved from
13878         BufferView; if an insetquote cannot be inserted, insert a '"'
13879         character instead.
13880
13881         * BufferView2.C: remove insertCorrectQuote();
13882
13883         * lyxfunc.C (getStatus): Add support for all remaingin
13884         inset-insert lfuns.
13885
13886         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13887
13888         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13889         command (necessary to pass " as parameter of self-insert.
13890
13891         * text.C (selectWordWhenUnderCursor):
13892         (selectWord): add word_location parameter
13893         (selectWordWhenUnderCursor): same + remove special code for word
13894         boundary.
13895         (selectNextWord): use kind() to guess type of insetspecialchar,
13896         not latex().
13897
13898         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13899         (insertErtContents): create ert insets as collapsed.
13900         (readInset): better compatibility code for Info inset.
13901
13902 2001-07-20  Juergen Vigna  <jug@sad.it>
13903
13904         * lyxfunc.C (dispatch): use always LyXFind now!
13905
13906         * text2.C (init): add a reinit flag so that the LyXText can be
13907         reinited instead of deleted and reallocated (used in InsetText).
13908
13909         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13910
13911         * text.C: ditto
13912
13913         * text2.C: ditto
13914
13915 2001-07-18  Juergen Vigna  <jug@sad.it>
13916
13917         * text.C (selectNextWord): handle insets inside inset by calling
13918         always the bv->text functions so that we can go up the_locking_inset!
13919
13920         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13921         in strange locations when inside an inset!
13922
13923         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13924         handling to include insets.
13925
13926         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13927
13928 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13929
13930         * LyXAction.C (init):
13931         * commandtags.h:
13932         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13933         LIGATURE_BREAK, since the name is so stupid.
13934
13935 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13936
13937         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13938         InsetInfos.
13939
13940         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13941
13942         * sp_form.[Ch]: remove.
13943
13944         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13945
13946         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13947         InsetInfo.
13948
13949         * src/buffer.C (readInset): ditto.
13950
13951 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13952
13953         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13954         menuSeparator(), endOfSentenceDot(), ldots() and
13955         hyphenationPoint(), which are therefore removed.
13956         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13957
13958         * LyXAction.C (init):
13959         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13960
13961         * paragraph.C (getWord): removed.
13962
13963         * BufferView_pimpl.C (Dispatch): use last word or selection for
13964         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13965
13966         * lyx_main.C (queryUserLyXDir): do not ask before creating
13967         user_dir, except if it has been named explicitely.
13968
13969 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13970
13971         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13972         a document of zero size.
13973
13974 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13975
13976         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13977         approriately in the c-tor and in require().
13978         (getPackages): output the appropriate LaTeX for natbib support.
13979
13980         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13981         variables "use_natbib" and "use_numerical_citations" when reading the
13982         LyX file.
13983         (readInset): read the various natbib cite commands.
13984         (validate): white-space change.
13985
13986         * bufferparams.[Ch]: new variables "bool use_natbib" and
13987         "bool use_numerical_citations".
13988         (writeFile): output them in the LyX file.
13989
13990 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13991
13992         * lyxfunc.C (getStatus): add support for all the inset insertion
13993         commands.
13994
13995         * text2.C (insertInset):
13996         * paragraph.C (insetAllowed):
13997         * BufferView_pimpl.C (insertInset): update to take in account the
13998         renaming of insertInsetAllowed
13999
14000         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14001
14002         * text2.C (getInset): new method. returns inset at cursor position.
14003
14004         * BufferView_pimpl.C (Dispatch): changes because of this.
14005
14006         * LyXAction.C (init): rename open-stuff to inset-toggle.
14007
14008         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14009
14010         * text2.C (toggleInset): renamed from openStuff; use
14011         Inset::open().
14012
14013 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14014
14015         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14016
14017         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14018
14019 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14020
14021         * buffer.C (readLyXformat2): Add filename to the error dialog
14022
14023 2001-07-18  Juergen Vigna  <jug@sad.it>
14024
14025         * tabular.C (GetCellNumber): put an assert here instead of the check!
14026
14027 2001-07-17  Juergen Vigna  <jug@sad.it>
14028
14029         * BufferView_pimpl.C (toggleSelection): adapted too.
14030
14031         * text.C (selectNextWord): adapted for use with insets.
14032         (selectSelectedWord): ditto
14033
14034 2001-07-17  Juergen Vigna  <jug@sad.it>
14035
14036         * sp_spell.C (PSpell): fix initialitation order.
14037
14038 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14039
14040         * paragraph.C: spacing
14041
14042 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14043
14044         * sp_spell.C: repair language selection for pspell
14045
14046 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14047
14048         * lyxfunc.h: change more methods to begin with lower char.
14049
14050 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14051
14052         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14053         for unknown layouts.
14054
14055 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14056
14057         * buffer.C (readLyXformat2): Generate an error dialog if there are
14058         unknown layouts.
14059
14060 2001-07-16  Juergen Vigna  <jug@sad.it>
14061
14062         * sp_spell.C: always compile ISpell part.
14063
14064         * lyxrc.C: added use_pspell entry and it's handling.
14065
14066 2001-07-13  Juergen Vigna  <jug@sad.it>
14067
14068         * sp_spell.C: removed double includes.
14069
14070 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14071
14072         Consistent use of Lsstream.h:
14073         * Lsstream.h: added using std::stringstream for consistencies sake.
14074
14075         * buffer.C: removed using std::stringstream
14076
14077         * lyxfont.C (stateText):
14078         * paragraph.C (asString):
14079         * text.C (selectNextWord, selectSelectedWord):
14080         * text2.C (setCounter):
14081         * vspace.C (asString, asLatexString):
14082         std::ostringstream -> ostringstream.
14083
14084 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14085
14086         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14087         * commandtags.h: add LFUN_HELP_ABOUTLYX
14088         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14089
14090 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14091
14092         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14093         cursorToggle()
14094         * lyx_gui_misc.C: remove spellchecker
14095         * lyxfunc.C: showSpellchecker
14096         * sp_base.h: added
14097         * sp_ispell.h: added
14098         * sp_pspell.h: added
14099         * sp_spell.C: added
14100         * sp_form.[Ch]: removed
14101         * spellchecker.[Ch]: removed
14102
14103 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14104
14105         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14106         is set.
14107         (simpleTeXSpecialChars): Simply print the input character without
14108         any special translation if pass_thru is set.
14109
14110         * layout.h: Added bool pass_thru to layout class for being able to
14111         implement pass through of a paragraph for Literate Programming.
14112
14113         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14114         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14115         * layout.C (Read): add "passthru" to list of layout tags and add
14116         code to set the pass_thru boolean when it is read.
14117
14118 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14119
14120         * trans_decl.h: remove allowed from KmodInfo
14121
14122         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14123         remove allowed code
14124         (Load): adjust
14125
14126         * paragraph_pimpl.C (erase): use boost::prior
14127
14128         * Painter.C (text): use data() instead of c_str() when length is
14129         also provided.
14130         * WorkArea.C (putClipboard): ditto
14131         * font.h (width): ditto
14132
14133         * BufferView2.C: use it-> instead of (*it). for iterators
14134         * texrow.C: ditto
14135         * paragraph_pimpl.C: ditto
14136         * paragraph.C: ditto
14137         * minibuffer.C: ditto
14138         * language.C: ditto
14139         * kbmap.C: ditto
14140         * encoding.C: ditto
14141         * counters.C: ditto
14142         * converter.C: ditto
14143         * chset.C: ditto
14144         * Variables.C: ditto
14145         * TextCache.C: ditto
14146         * MenuBackend.C: ditto
14147         * LyXAction.C: ditto
14148         * LColor.C: ditto
14149         * FloatList.C: ditto
14150         * DepTable.C: ditto
14151         * ColorHandler.C (LyXColorHandler): ditto
14152
14153 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14154
14155         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14156
14157         * text2.C (openStuff): reintroduce this method (which had been
14158         nuked in NEW_INSETS frenzy).
14159
14160         * lyxfunc.C (Dispatch): when an action has not been handled, use
14161         its name in the error message, not its number.
14162
14163         * paragraph.C (inInset): change method name to begin with lowercase.
14164
14165         * undo_funcs.C:
14166         * text2.C: updates because of this.
14167
14168 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14169
14170         * ToolbarDefaults.C (add): add spaces in error message
14171
14172 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14173
14174         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14175         (readLyXformat2): rename return_par to first_par, use lyxlex's
14176         pushToken and remove the manual push handling.
14177         (parseSingleLyXformat2Token): add another ert comp. variable:
14178         in_tabular, rename return_par to first_par. handle newlines better
14179
14180 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14181
14182         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14183
14184 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14185
14186         * text2.C (getParFromID): removed
14187
14188         * buffer.C (getParFromID): new method moved form lyxtext.
14189         * BufferView2.C (insertErrors): adjust
14190         (setCursorFromRow): adjust
14191         * BufferView_pimpl.C (restorePosition): adjust
14192         * lyxfunc.C (Dispatch): adjust
14193         * undo_funcs.C (textUndo): adjust
14194         (textRedo): adjust
14195         (textHandleUndo): adjust
14196         (textHandleUndo): adjust
14197
14198 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14199
14200         * buffer.C: up' the LYX_FORMAT
14201
14202         * lyxfont.h: turn NO_LATEX on as default
14203
14204         * buffer.C (insertErtContents): new methods of tex style compability.
14205         (parseSingleLyXformat2Token): use it several places.
14206         * tabular.C (OldFormatRead): and here
14207
14208 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14209
14210         * text2.C: remove some commented code.
14211         reindent file.
14212
14213         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14214         * trans.C: changes because of the above.
14215
14216 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14217
14218         * text2.C (setCounter): Fix counters bug with bibliography layout.
14219
14220 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14221
14222         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14223         own member functions
14224         (simpleTeXSpecialChars): ditto
14225
14226 2001-07-06  Juergen Vigna  <jug@sad.it>
14227
14228         * a lot of files: changed the access to LyXText::status and the
14229         call of undo-functions.
14230
14231         * undo.[Ch]: added a inset_id to the undo informations.
14232
14233         * undo_funcs.[Ch]: added and moved here all undo functions.
14234
14235         * lyxtext.h: give the status enum a weight, made status_ a private
14236         variable and made accessor functions for it, removed the whole bunch
14237         of undo-functions as they are now in their own file, make some
14238         functions publically available. Added function ownerParagraph with
14239         int parameter.
14240
14241         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14242         made InInset() a const function, added getParFromID() function.
14243
14244         * buffer.[Ch]: added const version for inset_iterator functions,
14245         added getInsetFromID() function.
14246
14247         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14248         changed undo functions for new version.
14249
14250 2001-07-05  Juergen Vigna  <jug@sad.it>
14251
14252         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14253         unknow mechanism does not call the proper constructor but only this
14254         one also if I request the other!?
14255
14256 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14257
14258         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14259
14260         * text2.C (LyXText): use initialization lists.
14261
14262         * lyxtext.h (Selection): initialize set_ and mark_
14263         (init): remove method
14264
14265 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14266
14267         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14268
14269 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14270
14271         * screen.[Ch]: change method names to begin with lowercase
14272
14273         * BufferView_pimpl.C (updateScrollbar): simplify further and
14274         hopefully make it a bit faster.
14275
14276 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14277
14278         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14279         calling directly xforms functions.
14280
14281         * Painter.C (Painter):
14282         * lyx_cb.C (MenuWrite):
14283         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14284         fl_display.
14285
14286         * lyx_gui.C: remove bogus guiruntime extern declaration.
14287
14288 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14289
14290         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14291         in NEW_INSETS
14292         (redoDrawingOfParagraph): ditto
14293         (redoParagraphs): ditto
14294         (cutSelection): don't create a object for CutAndPaste use the
14295         static method directly
14296         (pasteSelection): ditto
14297
14298         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14299         LyXview (+ rename)
14300
14301 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14302
14303         * modifications to some other files because of this.
14304
14305         * Makefile.am (lyx_SOURCES): add XFormsView
14306
14307         * XFormsView.[Ch]: new files
14308
14309         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14310         the main window. Move the gui dependent stuff to XFormsView
14311
14312 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14313
14314         * tabular.C (GetCellInset): update cur_cell also in the row/col
14315         version of this function.
14316
14317         * lyxfunc.C: no need to include figure_form.h here.
14318
14319         * FontLoader.h:
14320         * lyxfunc.h:
14321         * lyxscreen.h:
14322         * text2.C:
14323         * lyxvc.C: no need to include forms.h here.
14324
14325 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14326
14327         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14328
14329         * lyxfunc.C (Dispatch):
14330         * Spacing.C (set):
14331         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14332         constructor argument.
14333
14334 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14335
14336         * paragraph.C (Paragraph): dont't clear, and just set layout.
14337         (makeSameLayout): use params's copy contructor.
14338
14339         * ParagraphParameters.[Ch] (makeSame): delete method
14340
14341 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14342
14343         * Variables.[Ch]: fix indentation, rename set to isSet
14344
14345 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14346
14347         * lyxfunc.C (Dispatch): fix typo
14348
14349 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14350
14351         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14352         upper_bound.
14353
14354         * bufferlist.C: include assert.h for emergencyWrite().
14355
14356 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14357
14358         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14359           give up at last (bug #425202) !
14360
14361 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14362
14363         * lyx_gui_misc.C:
14364         * sp_form.h:
14365         * sp_form.C:
14366         * spellchecker.h:
14367         * spellchecker.C: strip spellchecker options and bring up
14368           preferences tab instead
14369
14370 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14371
14372         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14373         the istringstream constructor
14374
14375 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14376
14377         * paragraph.C (getLayout): fix return value
14378
14379         * paragraph.h: do not declare getLayout as inline.
14380
14381         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14382
14383 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14384
14385         * lyxcursor.h (operator<): new func
14386         (operator>): new func
14387         (operator>=): new func
14388         (operator<=): new func
14389
14390         * text.C (changeCase): use selection.start and selection.end
14391         (changeRegionCase): require from to be <= to. Require par to be a
14392         valid paragraph.
14393
14394         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14395
14396 2001-06-27  Juergen Vigna  <jug@sad.it>
14397
14398         * text.C (cursorLeftOneWord): changed to return the cursor and added
14399         overlay with BufferView * parameter which calls this one.
14400         (getWord): added
14401         (selectWord): use new getWord function.
14402         (changeCase): renamed from changeWordCase as and extended to work
14403         also on selections.
14404
14405         * lyxtext.h: added enum word_location
14406
14407         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14408         changeCase as this operates now also on selections.
14409
14410 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14411
14412         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14413
14414         * many files: send debug output to Debug::INFO instead of
14415         Debug::ANY.
14416
14417         * converter.C (View):
14418         (Convert):
14419         (Move): send debug output to Debug::FILES instead of console.
14420
14421 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14422
14423         * lyxfunc.C (getStatus): use func_status
14424
14425         * func_status.h: new header, describing the results of
14426         LyXFunc::getStatus;
14427
14428         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14429         LFUN_MATH_HALIGN.
14430
14431 2001-06-25  The LyX Project  <jug@sad.it>
14432
14433         * buffer.C (sgmlOpenTag):
14434         (sgmlCloseTag):
14435         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14436
14437 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14438
14439         * text2.C: remove some dead code
14440
14441         * tabular.C (GetCellInset): store the last cell checked (gotten)
14442
14443         * tabular.h: add the helper for the speedup
14444
14445         * lyxtext.h: remove some dead code
14446
14447 2001-06-26  The LyX Project  <Asger>
14448
14449         * paragraph.C: Change export to LaTeX of alignment to
14450         \begin{center} and family for better roundtrip work with reLyX.
14451
14452         * Tune the math drawing a bit.
14453
14454 2001-06-25  The LyX Project  <Asger>
14455
14456         * LColor.C (LColor): New color for math background. New color
14457         for buttons.
14458
14459 2001-06-25  The LyX Project  <jug@sad.it>
14460
14461         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14462
14463         * lyxfunc.C (Open):
14464         * bufferlist.C (newFile): do not restrict to files ending with
14465         .lyx
14466
14467         * BufferView_pimpl.C (MenuInsertLyXFile):
14468
14469 2001-06-24  The LyX Project  <jug@sad.it>
14470
14471         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14472         of compare_no_case
14473
14474 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14475
14476         * lyxtext.h: rename most methods to begin with a small char.
14477         Lots of changes because of this.
14478
14479         * paragraph.C (Paragraph): do not call fitToSize
14480         (erase): call Pimpl::erase
14481         (insertChar): call Pimpl::insertChar
14482         (insertInset): call Pipl::insertInset
14483         (breakParagraph): do not call fitToSize
14484         (breakParagraphConservative): do not call fitToSize
14485         (fitToSize): remove method
14486
14487         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14488
14489 2001-06-24  The LyX Project  <Asger>
14490
14491         * Fix Qt compilation^2
14492
14493 2001-06-24  The LyX Project  <jug@sad.it>
14494
14495         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14496         depthHook(getDepth()-1).
14497
14498         * paragraph.h:
14499         * ParagraphParameters.h:
14500         * ParameterStruct.h: change type of depth to unsigned int ==
14501         depth_type. Many adaptations to other files before of that.
14502
14503 2001-06-24  The LyX Project  <Asger>
14504
14505         * Fix Qt compilation.
14506
14507 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14508
14509         * paragraph.h: renamed several methods to begin with small letter.
14510         several changes to many parts of the code because of this.
14511
14512 2001-06-23  The LyX Project  <jug@sad.it>
14513
14514         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14515         rewritten to discard all double spaces when KeepEmpty is off
14516         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14517         to only handle newlines but not fiddle with spaces and friends.
14518
14519         * lyxfunc.C (MenuNew): when doing 'new from template', use
14520         template_path as default directory
14521
14522 2001-06-23  The LyX Project  <Asger>
14523
14524         * Clean-up of header file includes all over
14525         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14526
14527 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14528
14529         * paragraph.h: renamed from lyxparagraph.h
14530
14531 2001-06-23  Asger  <lyx@violet.home.sad.it>
14532
14533         * Buffer.h: Removed Buffer::resize
14534         * BufferList.h: Removed BufferList::resize
14535         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14536         the document lazily when we change the width, or the font settings.
14537
14538 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14539
14540         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14541
14542 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14543
14544         * buffer.h: remove out of date comment
14545
14546 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14547
14548         * lyxscreen.h:
14549         * screen.C: fix "theoretical" GC leak
14550
14551 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14552
14553         * LaTeX.C (scanAuxFile):
14554         (deplog): remove trailing \r when reading stream (useful under
14555         win32)
14556
14557 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14558
14559         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14560         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14561         and BufferView::theLockingInset(Inset*), so should use them and not
14562         access bv_->text->the_locking_inset directly.
14563
14564         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14565
14566 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14567
14568         * Makefile.am:
14569         * tex-defs.h: remove old unused file
14570
14571 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14572
14573         * BufferView_pimpl.C: fix typo, remove minibuffer message
14574           when buffer has loaded
14575
14576 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14577
14578         * lyxfunc.C (Dispatch): use stringstream
14579         (MenuNew): use stringstream
14580         (Open): use stringstream
14581
14582         * importer.C (Import): use stringstream
14583
14584         * bufferview_funcs.C (CurrentState): use stringstream
14585
14586         * LaTeX.C (run): use stringstream
14587
14588         * BufferView_pimpl.C (savePosition): use stringstream
14589         (restorePosition): use stringstream
14590         (MenuInsertLyXFile): use stringstream
14591
14592 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14593
14594         * BufferView.C:
14595         * Bullet.C:
14596         * ColorHandler.C:
14597         * FontInfo.C:
14598         * FontLoader.C:
14599         * LColor.C:
14600         * LaTeXFeatures.C:
14601         * Painter.C:
14602         * gettext.C:
14603         * lyx_gui_misc.C:
14604         * lyxserver.C:
14605         * vspace.C: removed // -*- C++ -*- as first line.
14606
14607         * lyxfind.h:
14608         * version.h: added // -*- C++ -*- as first line.
14609
14610 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14611
14612         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14613
14614         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14615         of string
14616
14617 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14618
14619         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14620         of floats.
14621
14622 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14623
14624         * gettext.C: include LString.h even when --disable-nls is on.
14625
14626 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14627
14628         * converter.h (Get): changed argument type from int to
14629         FormatList::size_type to avoid unnecessary conversion.
14630
14631         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14632         before using it.
14633
14634 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14635
14636         * gettext.h: include LString.h even when --disable-nls is on.
14637
14638 2001-06-07  Juergen Vigna  <jug@sad.it>
14639
14640         * text.C (BreakAgain): subst spaces with tabs.
14641
14642         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14643         (resizeInsetsLyXText): set force on resizeLyXText.
14644
14645 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14646
14647         * gettext.h (gettext_init):
14648         (locale_init): use a real definition instead of a macro
14649
14650 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14651
14652         * Bufferview_pimpl.C:
14653         * LColor.h:
14654         * LColor.C: further lcolor tidies
14655
14656 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14657
14658         * BufferView_pimpl.C (updateScrollbar): simplify.
14659
14660         * BufferView2.C: don't include insets/insetinfo.h, change
14661         prototype for insertInset and call the Pimpl version. let
14662         updateInset call Pimpl version.
14663
14664         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14665         gotoInset to BufferView::Pimpl
14666
14667 2001-06-01  Juergen Vigna  <jug@sad.it>
14668
14669         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14670         inside a LockingInset (is the update needed at all?).
14671
14672 2001-05-31  Juergen Vigna  <jug@sad.it>
14673
14674         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14675         here not the old one otherwise how should we compare it afterwards
14676         if it's the same!
14677
14678 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14679
14680         * lyxfont.C:
14681         * tabular.C:
14682         * tabular-old.C:
14683         * FontInfo.C: bring C functions into global namespace when
14684         necessary
14685
14686 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14687
14688         * LString.h: make sure config.h has been loaded before LString.h.
14689
14690         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14691         (one for each char read by EatLine!).
14692
14693         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14694         variables.
14695
14696 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14697
14698         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14699         to the same as the par we break from
14700
14701 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14702
14703         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14704
14705         * MenuBackend.C (expand): also create menu entries for wide
14706         versions of the floats.
14707
14708         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14709
14710         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14711
14712         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14713         frontends/Makefile.am
14714
14715         * text2.C: adjust
14716         * text.C: adjust
14717
14718
14719         * tabular.C (getTokenValue): add std::
14720
14721         * tabular-old.C (getTokenValue): add std::
14722         (getTokenValue): ditto
14723         (getTokenValue): ditto
14724
14725         * screen.C (ToggleSelection): adjust
14726
14727         * lyxtext.h: put selection cursors inside a Selection struct.
14728
14729         * lyxfunc.C (moveCursorUpdate): adjust
14730
14731         * lyxfont.C (latexWriteStartChanges): add std::
14732
14733         * lyxfind.C: adjust
14734
14735         * font.h: delete with(char const *, LyXFont const &)
14736
14737         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14738
14739         * FontInfo.C (getFontname): add std::
14740
14741         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14742         (workAreaButtonPress): adjust
14743         (tripleClick): adjust
14744         (update): adjust
14745         (moveCursorUpdate): adjust
14746         (Dispatch): adjust
14747
14748         * BufferView2.C (gotoInset): adjust
14749
14750 2001-05-30  Juergen Vigna  <jug@sad.it>
14751
14752         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14753         to check pspell I add this as default as I now have new pspell
14754         libraries and they seem to use this.
14755
14756 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14757
14758         * text2.C (CutSelection): make the cursor valid before the call to
14759         ClearSelection.
14760
14761 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14762
14763         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14764         relied on 0 terminated strings and other horrors. Bug found due to
14765         the new assert in lyxstring!
14766
14767         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14768         KP_ keys.
14769
14770 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14771
14772         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14773         to latinkeys.bind.
14774
14775         * lyxfunc.C (processKeySym): change method of getting to the
14776         self-insert char.
14777
14778         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14779         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14780         * BufferView_pimpl.[Ch]: here as private methods.
14781
14782 2001-05-28  Juergen Vigna  <jug@sad.it>
14783
14784         * text.C (SetHeightOfRow): added the update() call again as it is
14785         needed to initialize inset dimensions!
14786
14787 2001-05-16  Juergen Vigna  <jug@sad.it>
14788
14789         * text2.C (SetCharFont): Add new function with BufferView * and
14790         bool toggleall parameters for setting insets internal fonts.
14791         (SetFont): Freeze the undo as we may change fonts in Insets and
14792         all this change should be inside only one Undo!
14793
14794         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14795         setting font's in insets as for them we have the SetFont function!
14796
14797 2001-05-15  Juergen Vigna  <jug@sad.it>
14798
14799         * text2.C (ClearSelection): to be sure we REALLY don't have any
14800         selection anymore!
14801
14802         * tabular.C (TeXCellPreamble): fixed the left border problem for
14803         multicolumn cells.
14804
14805 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14806
14807         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14808         dependancy file
14809
14810 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14811
14812         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14813         LFUN_BREAKPARAGRAPH.
14814
14815         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14816         help test to "internal only", similar for LFUN_INSERT_URL
14817
14818         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14819         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14820         auto_region_delete and deadkeys.
14821
14822 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14823
14824         * LColor.h:
14825         * LColor.C: remove some dead entries, tidy a little
14826
14827 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14828
14829         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14830         commented code.
14831         (Dispatch): implement LFUN_ESCAPE
14832
14833         * commandtags.h: add LFUN_ESCAPE
14834
14835         * LyXAction.C (init): add entry for LFUN_ESCAPE
14836
14837         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14838         Remove commented code.
14839         (insertNote): moved here
14840         (open_new_inset): moved here
14841
14842         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14843         BufferView_pimpl
14844
14845 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14846
14847         * kbmap.C (findbinding): clean it up and make it work correctly.
14848
14849         * lyx_main.C (init): do not pass argc and argv as parameters
14850
14851 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14852
14853         * buffer.C: fix path for OS/2 & Win32
14854
14855         * lyx_gui.C:
14856         * lyx_main:
14857         * lyx_main.C: Added os:: class.
14858
14859         * os2_defines.h: update
14860
14861 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14862
14863         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14864         better by trying again with reduced state.
14865
14866 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14867
14868         * lyxrc.C (read): print error about invalid key sequence only when
14869         debugging (because not all latinX keysyms are known to some X
14870         servers)
14871
14872         * kbsequence.C (getiso): add a few std:: qualifiers
14873         (getiso): comment out extra return statement.
14874
14875 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14876
14877         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14878         handling.
14879         (Dispatch): enhance the accent inset a bit. (not perfect)
14880
14881 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14882
14883         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14884
14885 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14886
14887         * bufferlist.C (emergencyWrite): fix assert() call
14888
14889 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14890
14891         * text.C (InsertChar): Added trivial patch to only send the "you
14892         can not do multiple spaces this way" message once during a
14893         session.
14894
14895 2001-05-08  Baruch Even  <baruch@lyx.org>
14896
14897         * Makefile.am: Changed order of libraries to get LyX to link properly
14898         with the gnome frontend.
14899
14900 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14901
14902         * LaTeXFeatures.h: add a std:: qualifier
14903
14904 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14905
14906         * paragraph.C (String): use stringstream
14907
14908 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14909
14910         * paragraph.C (writeFile): remove footflag arg
14911
14912         * buffer.C (makeLaTeXFile): use stringstream
14913         (latexParagraphs): remove footnot gurba
14914
14915         * LaTeXFeatures.C (getPackages): use stringstream
14916         (getMacros): likewise
14917         (getTClassPreamble): likewise
14918         (getFloatDefinitions): new method
14919
14920         * paragraph.C (writeFile): reindent
14921         (Erase): reindent
14922
14923         * WorkArea.h: revert the xpos + etc changes.
14924
14925         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14926
14927         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14928
14929         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14930         (pasteSelection): likewise
14931         * text2.C (CreateUndo): likewise
14932
14933 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14934
14935         * minibuffer.C (peek_event): temporarily reduce the functionality
14936         of the minibuffer (to allow args on lfuns)
14937
14938         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14939         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14940
14941         * buffer.C (readInset): add compability reading of old float
14942         lists, add reading of new style float list.
14943         (readInset): avoid reevaluation of inscmd.getCmdName()
14944         (getLists): reindent
14945
14946         * MenuBackend.C (MenuItem): implement parsing of
14947         md_floatlistinsert and md_floatinsert.
14948         (expand::LastFiles): move initalizaton of iterators out of loop,
14949         avoid reevaluation.
14950         (expand::Documents): introduce typdedef vector<string> Strings,
14951         and use it.
14952         (expand::ExportFormats): introduce typedef vector<Format const *>
14953         Formats, and use it.
14954         (expand): implement FloatListInsert and FloatInsert.
14955
14956         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14957         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14958         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14959
14960         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14961         handling.
14962         (Dispatch::LFUN_FLOAT_LIST): implement
14963
14964 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14965
14966         * LaTeX.C (run): Fix problem with --export code.
14967
14968 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14969
14970         * BufferView.[Ch] (workarea): removed.
14971         (getClipboard) new method; wrapper for workarea()->getClipboard()
14972
14973         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14974         bug.
14975
14976         * WorkArea.h (width, height, xpos, ypos): These methods all
14977         returned the dimensions of the work_area sub-area of WorkArea,
14978         resulting in a position error if the WorkArea were resized. Now
14979         return the dimensions of the entire WorkArea.
14980
14981         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14982
14983 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14984
14985         * LaTeX.C (deplog): correct the syntax of regex reg1
14986
14987 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14988
14989         * undo.C: remove !NEW_INSETS cruft
14990
14991 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14992
14993         * text2.C: remove !NEW_INSETS cruft
14994
14995         * text.C: remove !NEW_INSETS cruft
14996
14997         * tabular.C: remove !NEW_INSETS cruft
14998
14999         * spellchecker.C: remove !NEW_INSETS cruft
15000
15001         * lyxtext.h: remove !NEW_INSETS cruft
15002
15003         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15004
15005         * lyxfunc.C: remove !NEW_INSETS cruft
15006
15007         * lyxfind.C: remove !NEW_INSETS cruft
15008
15009         * lyx_cb.C: remove !NEW_INSETS cruft
15010
15011         * figureForm.C: remove  !NEW_INSETS cruft
15012
15013         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15014
15015         * buffer.[Ch]: remove !NEW_INSETS cruft
15016
15017         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15018
15019         * CutAndPaste.C: remove !NEW_INSETS cruft
15020
15021         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15022
15023         * BufferView2.C: remove !NEW_INSETS cruft
15024
15025         * BufferView.h: remove !NEW_INSETS cruft
15026
15027 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15028
15029         * Lsstream.h: include LString.h before the sstream headers to
15030         fix problem with gcc 2.95.3 and lyxstring
15031
15032 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15033
15034         * lyx_main.C: add using directives when needed for C functions
15035         declared in std:: namespace.
15036
15037 2001-04-27  Juergen Vigna  <jug@sad.it>
15038
15039         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15040         (SetHeightOfRow): comment out the update call should not be needed!
15041
15042 2001-04-13  Juergen Vigna  <jug@sad.it>
15043
15044         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15045         (LyXTabular): tried to minimize operator= operations (and realized
15046         hopfully Lars wish).
15047
15048 2001-04-27  Juergen Vigna  <jug@sad.it>
15049
15050         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15051
15052 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15053
15054         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15055
15056         * buffer.C (readInset): hack to make listof algorithm work
15057
15058         * BufferView_pimpl.C: hack to make listof algorithm work
15059
15060 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15061
15062         * LyXAction.C: removed all !NEW_INSETS cruft
15063         (init): moved lfun_item in method
15064
15065         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15066
15067 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15068
15069         * BufferView2.C (theLockingInset): white space.
15070
15071 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15072
15073         * minibuffer.C: include <iostream>
15074
15075         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15076
15077         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15078
15079         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15080
15081         * text.[Ch] (TransposeChars): new method
15082
15083 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15084
15085         * call message directly through LyXView instead of through LyXFunc
15086         * BufferView2.C: adjust
15087         * BufferView_pimpl.C: adjust
15088         * FontLoader.C: adjust
15089         * buffer.C: adjust
15090         * bufferview_funcs.C: adjust
15091         * converter.C: adjust
15092         * figureForm.C: adjust
15093         * importer.C: adjust
15094         * lyx_cb.C: adjust
15095         * lyx_gui_misc.C: adjust
15096         * lyxfunc.C: adjust
15097         * lyxvc.C: adjust
15098         * text2.C: adjust
15099         + more files in subdirs
15100
15101         * lyxparagraph.h (size): move up int file
15102         (GetLayout): ditto
15103
15104         * adjust all uses of Assert to lyx::Assert.
15105
15106         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15107         lyxfunctional in namespace lyx
15108         * layout.C (hasLayout): ditto
15109         (GetLayout): ditto
15110         (GetLayout): ditto
15111         (delete_layout): ditto
15112         (NumberOfClass): ditto
15113         * converter.C (GetFormat): ditto
15114         (GetNumber): ditto
15115         (Add): ditto
15116         (Delete): ditto
15117         (SetViewer): ditto
15118         * bufferlist.C (getFileNames): ditto
15119         (emergencyWriteAll): ditto
15120         (exists): ditto
15121         (getBuffer): ditto
15122         * MenuBackend.C (hasSubmenu): ditto
15123         (hasMenu): ditto
15124         (getMenu): ditto
15125         * BufferView_pimpl.C (getInsetByCode): ditto
15126
15127 2001-04-18  Juergen Vigna  <jug@sad.it>
15128
15129         * vspace.C (asLatexString): fixed the 100% problem.
15130
15131 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15132
15133         * lyxfunc.C (Dispatch):
15134         * minibuffer.C:
15135         * minibuffer.h: add a few std:: qualifiers
15136
15137 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15138
15139         * minibuffer.[Ch]: reimplement so that commands is initiated and
15140         run from lyxfunc, simplified som handling, and made the completion
15141         and history code for complete. wip.
15142
15143         * lyxfunc.C (processKeySym): call message
15144         (miniDispatch): new temporary method
15145         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15146         (LFUN_MESSAGE): implement
15147         (LFUN_MESSAGE_PUSH): implement
15148         (LFUN_MESSAGE_POP): implement
15149         (initMiniBuffer): the initial/defualt minibuffer message.
15150
15151         * lyxfont.[Ch]: inline some more getters
15152
15153         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15154
15155         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15156
15157         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15158         (AutoSave): use LFUN_MESSAGE
15159         (Reconfigure): ditto
15160
15161         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15162
15163         * figureForm.C: use LFUN_MESSAGE
15164
15165         * converter.C (runLaTeX): use LFUN_MESSAGE
15166
15167         * bufferview_funcs.C: use LFUN_MESSAGE
15168         (Melt): ditto
15169         (changeDepth): ditto
15170
15171         * bufferparams.h: use boost::
15172
15173         * bufferlist.h: inherit privately from noncopyable
15174
15175         * bufferlist.C (loadLyXFile): remove some commented code.
15176
15177         * buffer.C (runChktex): use LFUN_MESSAGE
15178
15179         * ShareContainer.h: inherit privately from noncopyable
15180
15181         * ParagraphParameters.[hC] (depth): inline it.
15182
15183         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15184         methods.
15185         (message): new method
15186         (messagePush): ditto
15187         (messagePop): ditto
15188         (show): init minibuffer
15189         (showState): direct call
15190
15191         * LaTeX.[Ch]: inherit privately from noncopyable
15192         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15193         instead of WriteStatus.
15194
15195         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15196
15197         * BufferView_pimpl.C (buffer): don't init minibuffer
15198         (workAreaButtonPress): use LFUN_MESSAGE
15199         (workAreaButtonRelease): ditto
15200         (savePosition): ditto
15201         (restorePosition): ditto
15202         (MenuInsertLyXFile): ditto
15203         (workAreaExpose): don't init minibuffer
15204         (update): remove commented code, simplify
15205
15206         * BufferView2.C (openStuff): use LFUN_MESSAGE
15207         (toggleFloat): ditto
15208         (menuUndo): ditto
15209         (menuRedo): ditto
15210         (copyEnvironment): ditto
15211         (pasteEnvironment): ditto
15212         (copy): ditto
15213         (cut): ditto
15214         (paste): ditto
15215         (gotoInset): ditto
15216         (updateInset): remove some commented code
15217
15218         * lastfiles.h: inherit privately from noncopyable
15219         * layout.h: ditto
15220         * lyx_gui.h: ditto
15221         * lyx_main.h: ditto
15222         * lyxlex.h: ditto
15223         * lyxlex_pimpl.h: ditto
15224
15225         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15226         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15227         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15228
15229         * LyXAction.h: inherit privately from noncopyable, add methods
15230         func_begin, func_end, returning iterators to the func map.
15231
15232         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15233         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15234         (func_begin): new method
15235         (func_end): new method
15236
15237         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15238         and not)
15239         (copySelection): ditto
15240         (pasteSelection): ditto
15241
15242         * BufferView.C: whitespace change
15243         * BufferView.h: inherit privately from noncopyable
15244
15245 2001-04-16  Allan Rae  <rae@lyx.org>
15246
15247         * tabular-old.C (l_getline):
15248         * spellchecker.C (sc_check_word):
15249         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15250         an unrecognised preprocessor directive.  So ensure they're wrapped.
15251
15252 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15253
15254         * src/exporter.C (Export): Give an error message when path to file
15255         contains spaces.
15256
15257 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15258
15259         * LaTeX.C (deplog): Always check that foundfile exists.
15260
15261 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15262
15263         * lyx_main.h:
15264         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15265
15266 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15267
15268         * tabular.[Ch] (getLabelList): implement new method
15269
15270         * minibuffer.h: comment ouf setTiimer
15271
15272         * minibuffer.C (ExecutingCB): constify res
15273         (peek_event): constify s
15274         (Set): constify ntext
15275         (Init): constify nicename
15276
15277         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15278
15279         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15280         (savePosition): use two params to Minibuffer::Set
15281         (restorePosition): ditto
15282
15283 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15284
15285         * lyx_main.C: include language.h
15286
15287         * Makefile.am (lyx_main.o): add language.h
15288
15289 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15290
15291         * exporter.C:
15292         * paragraph.C:
15293         * screen.C:
15294         * tabular.C:
15295         * CutAndPaste.C: include gettext.h
15296
15297         * lyxfont.h: remove old hack with ON and OFF.
15298
15299         * lyxparagraph.h:
15300         * lyxfont.h: do not include language.h...
15301
15302         * BufferView2.C:
15303         * LaTeXFeatures.C:
15304         * Painter.C:
15305         * bufferview_funcs.C:
15306         * font.C:
15307         * lyxfont.C:
15308         * text.C:
15309         * text2.C:
15310         * trans_mgr.C:
15311         * paragraph.C: ... but do it here instead
15312
15313 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15314
15315         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15316
15317         * tabular.C: small reformat
15318
15319         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15320         NEW_INSETS version
15321         (GetChar): ditto
15322         (BreakParagraph): ditto
15323         (SetOnlyLayout): ditto
15324         (SetLayout): ditto
15325
15326         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15327         with one arg less.
15328
15329         * lastfiles.C: removed most using decl, add std:: where needed
15330
15331         * buffer.C: ws changes
15332
15333         * MenuBackend.C (class compare_format): put into anon namespace
15334         (expand): constify label, names, action, action2
15335         (expand):
15336
15337         * text.C (SingleWidth): constify font
15338         (IsBoundary): constify rtl2
15339         (GetVisibleRow): constify ww
15340
15341         * LaTeX.C (deplog): constify logfile
15342
15343         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15344         start_x, end_x
15345         (workAreaExpose): constify widthChange, heightChange
15346
15347         * lyxrow.C (par): moved
15348         (height): moved
15349         (next): moved
15350         * lyxrow.h: as inlines here
15351
15352         * lyxfont.h (shape): moved from lyxfont.C
15353         (emph): moved from lyxfont.C
15354
15355         * lyxfont.C (LyXFont): use initialization list for all
15356         constructors
15357         (shape): move to lyxfont.h as inline
15358         (emph): move to lyxfont.h as inline
15359
15360
15361 2001-04-04  Juergen Vigna  <jug@sad.it>
15362
15363         * vspace.C: had to include stdio.h for use of sscanf
15364
15365 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15366
15367         * BufferView.h:
15368         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15369         independent of xforms.
15370
15371 2001-04-02  Juergen Vigna  <jug@sad.it>
15372
15373         * spellchecker.C: fixed namespace placing!
15374
15375 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15376
15377         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15378         the LyXParagraph * is 0.
15379
15380 2001-03-29  Juergen Vigna  <jug@sad.it>
15381
15382         * vspace.C: added support for %, c%, p%, l%.
15383         (stringFromUnit): added helper function.
15384         (asLatexString): changed to give right results for the %-values.
15385
15386         * buffer.C: convert the widthp in a width%.
15387
15388 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15389
15390         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15391         figureForm.[Ch].
15392
15393         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15394         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15395
15396         * lyx_cb.[Ch]: see above.
15397
15398         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15399         form1.[Ch].
15400
15401         * form1.[Ch]:
15402         * lyx.[Ch]: replaced by figure_form.[Ch].
15403
15404         * lyx_gui.C:
15405         * lyx_gui_misc.C:
15406         * lyxfunc.C: changed headers associated with above changes.
15407
15408 2001-03-27  Juergen Vigna  <jug@sad.it>
15409
15410         * BufferView_pimpl.C: set the temporary cursor right!
15411
15412 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15413
15414         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15415
15416 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15417
15418         * LString.h: removed "using std::getline"!
15419
15420         * BufferView_pimpl.C (Dispatch): changes due to changes in
15421         InsetInclude::Params.
15422
15423         * buffer.C (tag_name): removed redundant break statements as they were
15424         producing lots of warnings with my compiler.
15425
15426 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15427
15428         * LString.h: add "using std::getline" when using the real <string>.
15429
15430 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15431
15432         * buffer.C: removed bitset usage.
15433         PAR_TAG moved to an anonymous name space.
15434         (tag_name): new funtion, also in the anonymous namespace.
15435         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15436         (makeDocBookFile): clean code. Completed transition from string arrays
15437         to string vectors.
15438         (SimpleDocBookOnePar): code clean.
15439
15440 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15441
15442         * tabular.C: add some comments.
15443
15444 2001-03-22  Juergen Vigna  <jug@sad.it>
15445
15446         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15447         compatibility read a bit and fixed bug with minipage in different
15448         depth.
15449
15450 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15451
15452         * buffer.C (pop_tag): removed.
15453         (push_tag): removed.
15454         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15455         array replaced with vector. Added support for CDATA sections.
15456         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15457         at any nest level.
15458         (makeDocBookFile): XML conformant declaration of CDATA section,
15459         fixed bug related to <emphasis> in the first paragraph char.
15460         (sgmlOpenTag): exclude empty tags.
15461         (sgmlCloseTag): ditto.
15462
15463         * buffer.h (pop_tag): removed.
15464         (push_tag): removed.
15465
15466 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15467
15468         * language.h (Languages): added size_type and size().
15469
15470 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15471
15472         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15473         response on compability reading of minipages. One probliem is that
15474         the old usage of minipages was «flertydig»
15475
15476         * several files here and in subdirs: don't use static at file
15477         scope use anon namespaces instead.
15478
15479 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15480
15481         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15482         LaTeX output. This is necessary for Literate document
15483         processing.
15484
15485 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15486
15487         * buffer.C: insert hfill when needed.
15488
15489         * tabular.C (l_getline): use string::erase, small whitespace change.
15490
15491         * BufferView_pimpl.C: try the anon namespace.
15492         * WorkArea.C: ditto
15493
15494 2001-03-16  Juergen Vigna  <jug@sad.it>
15495
15496         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15497         otherwise it won't open options-dialogs.
15498
15499         * buffer.C: honor pextraWidth(p) on converting minipages.
15500
15501         * tabular.C (l_getline): changed the functions to strip trailing \r.
15502
15503 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15504
15505         * BufferView_pimpl.C:
15506         * minibuffer..C: added "using SigC::slot" declaration.
15507
15508 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15509
15510         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15511
15512         * text2.C: ditto
15513
15514         * text.C: ditto
15515
15516         * paragraph.C: ditto
15517
15518         * lyxtext.h: NO_PEXTRA
15519
15520         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15521
15522         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15523         * ParameterStruct.h: ditto
15524         * ParagraphParameters.h: ditto
15525         * lyxparagraph.h: ditto
15526
15527 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15528
15529         * buffer.C: add compability for minipage alignment.
15530         (latexParagraphs): remove unwanted pextra check.
15531
15532         * several files: remove CXX_WORKING_NAMESPACES
15533
15534         * buffer.C (pop_tag): tie is in namespace boost
15535
15536         * BufferView.h: noncopyable is in namespace boost
15537         * lyxlex.h: ditto
15538         * lyx_main.h: ditto
15539         * lyx_gui.h: ditto
15540         * layout.h: ditto
15541         * lastfiles.h: ditto
15542         * bufferlist.h: ditto
15543         * ShareContainer.h: ditto
15544         * LyXView.h: ditto
15545         * LyXAction.h: ditto
15546         * LaTeX.h: ditto
15547
15548 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15549
15550         * Merging changes from BRANCH_MVC back into HEAD.
15551
15552         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15553
15554 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15555
15556         * BufferView_pimpl.C: change from intl.C
15557
15558         * combox.h:
15559         * combox.C:
15560         * Makefile.am: move combox.*
15561
15562         * form1.h:
15563         * form1.C:
15564         * lyx_gui.C:
15565         * intl.h:
15566         * intl.C: remove dialog (covered by prefs)
15567
15568 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15569
15570         * lyxfunc.C (Dispatch): removed redundant break statement.
15571
15572 2001-03-14  Juergen Vigna  <jug@sad.it>
15573
15574         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15575
15576 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15577
15578         * buffer.C: add hack to fix compability reading of minipages.
15579
15580 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15581
15582         * buffer.C (getLists): Cleanup.
15583
15584 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15585
15586         * lyxfont.C (update): don't honor toggleall on font size.
15587
15588 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15589
15590         * bmtable.c:
15591         * bmtable.h:
15592         * Makefile.am: moved to frontends/xforms/
15593
15594         * lyx_gui_misc.C:
15595         * lyxfunc.C:
15596         * BufferView_pimpl.C: changes for moved mathpanel
15597
15598 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15599
15600         * gettext.h: fix gettext_init() in --disable-nls
15601
15602 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15603
15604         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15605
15606 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15607
15608         * lyx.C:
15609         * lyx.h: strip external form
15610
15611 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15612
15613         * BufferView_pimpl.C: add comment, destroySplash()
15614
15615 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15616
15617         * BufferView_pimpl.C:
15618         * LyXAction.C:
15619         * buffer.C:
15620         * commandtags.h:
15621         * lyxfunc.C: use re-worked insetinclude
15622
15623 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15624
15625         * buffer.C: add using std::stringstream.
15626
15627         * lyx_cb.C: readd using std::ios.
15628
15629         * buffer.C: add using std::map.
15630
15631         * BufferView_pimpl.C: add using std::vector.
15632
15633         * ShareContainer.h: add std:: to swap.
15634
15635         * buffer.h: add some typedefs
15636         * buffer.C (getLists): use them
15637         (getLists): renamed from getTocList.
15638         add a counter for the different float types and use it in the
15639         generated string.
15640         (getLists): use the same counter for the NEW_INSETS and the "non"
15641         NEW_INSETS
15642
15643         * lyx_cb.h: remove unused items, includes, using etc.
15644
15645         * ShareContainer.h: remove some commented code, add more comments
15646         and "documentation".
15647
15648 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15649
15650         * buffer.C (getTocList): make the list also when NEW_INSETS is
15651         defined.
15652
15653         * buffer.h: remove TocType
15654
15655         * buffer.C (getTocList): change to return a map<string,
15656         vector<TocItem> >, implement for dynamic number of list.
15657
15658         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15659         * text2.C (PasteSelection): adjust
15660         * CutAndPaste.C (pasteSelection): adjust
15661
15662         * FloatList.C (FloatList): update from the new_insets branch.
15663         * Floating.[Ch]: ditto
15664         * LaTeXFeatures.C: ditto
15665         * buffer.C: ditto
15666         * lyxlex_pimpl.C: ditto
15667
15668         * paragraph.C (Last): remove when NEW_INSETS is defined.
15669
15670         * other file: changes because of the above.
15671
15672 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15673
15674         * lyxparagraph.h: rename next to next_, previous to previous_,
15675         make them private for NEW_INSETS. Rename Next() to next(),
15676         Previous() to previous().
15677
15678         * other files: changes because of the above.
15679
15680 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15681
15682         * BufferView.h:
15683         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15684         problem.
15685
15686 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15687
15688         * main.C (main): pass lyx_localedir to gettext_init().
15689
15690         * gettext.h: remove locale_init and gettext_init macros
15691
15692         * gettext.C (locale_init): new function
15693         (gettext_init): new function
15694
15695         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15696         setlocale().
15697
15698 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15699
15700         * Moved credits to frontends:
15701         * credits.[Ch]: removed
15702         * credits_form.[Ch]: removed
15703         * lyx_gui_misc.C: remove credits stuff
15704         * Makefile.am:
15705
15706 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15707
15708         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15709
15710         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15711         unneeded destructor.
15712
15713         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15714         a standalone pointer again.
15715
15716         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15717
15718 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15719
15720         * Makefile.am:
15721         * filedlg.h:
15722         * filedlg.C:
15723         * LyXAction.C:
15724         * ToolbarDefaults.C:
15725         * bufferlist.C:
15726         * commandtags.h:
15727         * form1.C:
15728         * form1.h:
15729         * lyx_cb.C:
15730         * lyx_cb.h:
15731         * lyxfunc.h:
15732         * lyxfunc.C:
15733         * BufferView_pimpl.C: use new file dialog in GUII
15734
15735         * lyx_cb.h:
15736         * lyx_cb.C: remove LayoutsCB to Toolbar
15737
15738 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15739
15740         * ShareContainer.h (get): add std:: qualifier
15741
15742 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15743
15744         * ShareContainer.h: define a proper ShareContainer::value_type
15745         type (and use typename to please compaq cxx)
15746
15747 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15748
15749         * lyxparagraph.h: move serveral local vars to
15750         ParameterStruct/ParagraphParameters., use ShareContainer in
15751         FontTable., make vars in FontTable private and add getter and
15752         setter.
15753
15754         * paragraph.C: changes because of the above.
15755
15756         * lyxfont.h: remove copy constructor and copy assignment. (the
15757         default ones is ok), move number inside FontBits. move inlines to
15758         lyxfont.C
15759
15760         * lyxfont.C: add number to initializaton of statics, move several
15761         inlines here. constify several local vars. some whitespace
15762         cleanup. Dont hide outerscope variables.
15763
15764         * Spacing.h: add two new constructors to match the set methods.
15765
15766         * ShareContainer.h: new file, will perhaps be moved to support
15767
15768         * ParameterStruct.h: new file
15769
15770         * ParagraphParameters.h: new file
15771
15772         * ParagraphParameters.C: new file
15773
15774         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15775         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15776
15777         * BufferView_pimpl.C: ParagraphParameter changes.
15778         * buffer.C: Likewise.
15779         * bufferview_funcs.C: Likewise.
15780         * text.C: Likewise.
15781         * text2.C: Likewise.
15782
15783 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15784
15785         * lyxfind.C (LyXReplace): do not redefine default argument in
15786         implementation.
15787         (IsStringInText): ditto
15788         (SearchForward): ditto
15789         (SearchBackward): ditto
15790
15791 2001-03-06  Juergen Vigna  <jug@sad.it>
15792
15793         * lyxfind.C (IsStringInText): put parentes around expressions.
15794
15795 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15796
15797         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15798
15799 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15800
15801         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15802
15803         * stl_string_fwd.h: add comment
15804
15805         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15806
15807         * tabular.h:
15808         * tabular.C: remove unused DocBook methods
15809
15810         * intl.C:
15811         * language.C:
15812         * paragraph.C:
15813         * buffer.C:
15814         killed DO_USE_DEFAULT_LANGUAGE
15815
15816 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15817
15818         * lyx_gui.C: do not include language.h.
15819
15820         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15821         arguments in function implementation.
15822
15823 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15824
15825         * BufferView_pimpl.C: add <ctime>
15826
15827 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15828
15829         * BufferView_pimpl.C: add using std::find_if
15830
15831 2001-02-27  José Matos  <jamatos@fep.up.pt>
15832
15833         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15834         by OnlyPath.
15835
15836 2001-02-11  José Matos  <jamatos@fep.up.pt>
15837
15838         * buffer.C (makeDocBookFile): command styles now have a parameter as
15839         "title" by default.
15840
15841 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15842
15843         * layout_forms.[Ch]: removed
15844         * lyx_cb.[Ch]: out character
15845         * lyx_gui.C: out character
15846         * lyx_gui_misc.C: out character
15847         * bufferview_funcs.C: : out character,
15848         added toggleall as parameter in ToggleAndShow
15849
15850 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15851
15852         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15853
15854         * text2.C (SetCurrentFont): Disable number property at boundary.
15855
15856 2001-02-26  Juergen Vigna  <jug@sad.it>
15857
15858         * lyxfunc.C (getStatus): added a string argument override function so
15859         that this is correctly called from LyXFunc::Dispatch if it contains a
15860         do_not_use_argument which is used!
15861         (Dispatch): added check for "custom" export and call appropriate func.
15862
15863 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15864
15865         * lyxrc.C: Add language_command_local, language_use_babel and
15866         language_global_options.
15867
15868         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15869
15870         * buffer.C (makeLaTeXFile): Use language_use_babel and
15871         language_global_options.
15872
15873 2001-02-23  Juergen Vigna  <jug@sad.it>
15874
15875         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15876         which works with LyXText and putted it inside BufferView. Here now we
15877         only call for that part the BufferView::Dispatch() function.
15878
15879         * BufferView.C (Dispatch): added.
15880
15881         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15882         functions which needs to use a LyXText over from LyXFunc.
15883         (MenuInsertLyXFile): added
15884         (getInsetByCode): added
15885         (moveCursorUpdate): added
15886         (static TEXT): added
15887
15888 2001-02-22  Juergen Vigna  <jug@sad.it>
15889
15890         * BufferView_pimpl.C (update): call a status update to see if LyXText
15891         needs it.
15892
15893 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15894
15895         * vc-backend.C (revert): implement for CVS
15896         (getLog): implement for CVS
15897
15898 2001-02-20  Juergen Vigna  <jug@sad.it>
15899
15900         * text2.C (ClearSelection): added BufferView param for inset_owner call
15901
15902         * lyxfunc.C (TEXT): added this function and use it instead of
15903         directly owner->view()-text of getLyXText().
15904
15905 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15906
15907         * src/layout_forms.C: out preamble
15908         * src/layout_forms.h: out preamble
15909         * src/lyx_cb.C: out preamble
15910         * src/lyx_cb.h: out preamble
15911         * src/lyx_gui.C: out preamble
15912         * src/lyx_gui_misc.C: out preamble
15913         * src/lyxfunc.C: connect with guii preamble
15914
15915 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15916
15917         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15918
15919 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15920
15921         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15922         whether to run bibtex.
15923
15924 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15925
15926         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15927
15928 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15929
15930         * Makefile.am (lyx_SOURCES): removed bibforms.h
15931
15932         * vspace.h: doxygen
15933
15934         * text.C (GetVisibleRow): make several local vars const
15935
15936         * tabular.C: small cleanup.
15937
15938         * lyxserver.C (callback): use compare instead of strncmp
15939
15940         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15941         inlines to after class or to paragraph.C
15942
15943         * lyxfont.h: remove friend operator!=
15944
15945         * converter.h: move friend bool operator< to non friend and after
15946         class def.
15947
15948         * combox.h: small cleanup
15949
15950         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15951         to inlines after class def.
15952
15953         * buffer.C (pop_tag): use string operations instead of strcmp
15954
15955         * bmtable.c: doxygen, small cleanup
15956
15957         * LaTeX.h: remove friend operator==
15958
15959 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15960
15961         * screen.C:
15962         * lyxrc.[Ch]:
15963         * lyxfunc.C:
15964         * lyxfont.[Ch]:
15965         * lyx_cb.C:
15966         * intl.[Ch]:
15967         * commandtags.h:
15968         * buffer.C:
15969         * WorkArea.[Ch]:
15970         * LyXAction.C:
15971         * BufferView_pimpl.C:
15972         * BufferView.[Ch]: remove cruft
15973
15974 2001-02-14  Juergen Vigna  <jug@sad.it>
15975
15976         * lyxfunc.C: removed #if 0 unused code
15977
15978         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15979
15980         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15981
15982         * text2.C (SetSelection): added a BufferView * parameter
15983
15984 2001-02-13  Juergen Vigna  <jug@sad.it>
15985
15986         * lyxfunc.C (Dispatch): fixed protected blank problem.
15987         * BufferView2.C (protectedBlank): added LyxText * parameter.
15988
15989         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15990         (AppendColumn): same as above for column_info.
15991
15992         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15993         (moveCursorUpdate): use a LyXText param for support of InsetText.
15994
15995         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15996         (tripleClick): ditto
15997
15998         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15999
16000         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16001
16002         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16003
16004         * text2.C (SetSelection): set correct update status if inset_owner
16005         (ToggleFree): ditto
16006
16007 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16008
16009         * tabular.C: remove some commented code.
16010
16011 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16012
16013         * BufferView_pimpl.C: call hideSplash()
16014
16015         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16016
16017         * include_form.h:
16018         * bibforms.h: remove
16019
16020         * lyxfunc.C:
16021         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16022           add LFUN_CHILD_CREATE
16023
16024         * counters.h: fix tiny typo
16025
16026         * lyx_cb.C:
16027         * lyx.h:
16028         * lyx_gui.C:
16029         * lyx.C: move splash to frontends/xforms/
16030
16031         * lyx_gui_misc.C: move Include and Bibform to frontends
16032
16033         * lyxvc.h: clarify comment
16034
16035         * vspace.C: tiny housekeeping
16036
16037 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16038
16039         * text.C (PrepareToPrint): RTL Fix.
16040
16041         * paragraph.C (GetUChar): New method.
16042         (String):  Use GetUChar.
16043
16044         * buffer.C (asciiParagraph): Use GetUChar.
16045
16046 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16047
16048         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16049
16050 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16051
16052         * buffer.h:
16053         * buffer.C: rename to getLogName(), handle
16054           build log / latex log nicely
16055
16056 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16057
16058         * MenuBackend.C:
16059         * MenuBackend.h: remove support for reference menuitem type.
16060
16061 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16062
16063         * BufferView_pimpl.C: housekeeping
16064         * BufferView_pimpl.h:
16065         * LyXView.h:
16066         * Makefile.am:
16067         * Timeout.C:
16068         * Timeout.h:
16069         * minibuffer.h: move Timeout GUI-I
16070
16071 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16072
16073         * lyxrc.C (read): Update converters data-structures.
16074
16075 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16076
16077         * LaTeX.h (operator!=): add operator != for Aux_Info
16078
16079 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16080
16081         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16082
16083         * LaTeXLog.C: deleted, useful code moved to Buffer
16084
16085         * buffer.h:
16086         * buffer.C: new function getLatexLogName()
16087
16088         * lyx_gui_misc.C:
16089         * lyx_gui.C:
16090         * lyxvc.C:
16091         * lyxvc.h:
16092         * lyxfunc.C: use frontends for LaTeX and VC logs
16093
16094 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16095
16096         * LaTeX.h: yet another std:: that Allan forgot.
16097
16098         * Variables.C (set): renamed from isset(), because this clashes
16099         with some HP-UX macros (grr).
16100
16101 2001-02-06  Allan Rae  <rae@lyx.org>
16102
16103         * LaTeX.h: Another bug fix.  Missing std:: this time.
16104
16105 2001-02-04  Allan Rae  <rae@lyx.org>
16106
16107         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16108         floats problem. I've left it commented out because it's not quite
16109         correct.  It should also test that the current object is a table or
16110         figure inset.  But I haven't gotten around to figuring out how to do
16111         that.  I *think* it'll be something like: "table" == inset.type()
16112
16113         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16114         bool.
16115
16116 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16117
16118         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16119         all the citation/databases/styles in the auxilary file.
16120         (run): Rerun latex if there was a babel language error.
16121
16122 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16123
16124         * text.C (Backspace): Preserve the font when changing newline char
16125         with a space.
16126         (BreakParagraph): If the cursor is before a space, delete the space.
16127
16128         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16129
16130 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16131
16132         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16133         new argument (code).
16134         (ChangeCitationsIfUnique): New method.
16135
16136         * paragraph.C (GetPositionOfInset): Handle bibkey.
16137
16138 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16139
16140         * BufferView_pimpl.h: change type of Position::par_pos to
16141         LyXParagraph::size_type.
16142
16143 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16144
16145         * BufferView_pimpl.C (savePosition, restorePosition): Write
16146         messages to minibuffer.
16147
16148 2001-01-28  José Matos  <jamatos@fep.up.pt>
16149
16150         * buffer.C (makeDocBookFile): adds support for document language.
16151         A silly restriction on the name of LatexCommand types where removed.
16152         Added support for CDATA sections, allows to chars unescaped, used
16153         among others in code, to avoid escape < and >.
16154
16155 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16156
16157         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16158         saved positions instrad of a stack. Furthermore, a position is
16159         stored using paragraph id/paragraph position.
16160
16161         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16162         Remove LFUN_REF_BACK.
16163
16164 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16165
16166         * converter.C (dvipdfm_options): New method.
16167
16168 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16169
16170         * vspace.C (isValidLength): Fix for empty input string.
16171
16172 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16173
16174         * LyXAction.C (init): change description of LFUN_FIGURE to
16175         "Insert Graphics"
16176
16177 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16178
16179         * LaTeX.C: add using directive
16180
16181 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16182
16183         * MenuBackend.C (expand): Fix the sorting of the formats.
16184
16185 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16186
16187         * lyx_main.C: tiny error message fix
16188
16189 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16190
16191         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16192         calling fl_initialize(). This fixes the problem with ',' as
16193         decimal separator in text files.
16194
16195 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16196
16197         * trans.C (process): Fix the keymap bug.
16198
16199 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16200
16201         * LaTeX.C (scanAuxFiles): New method. Provides support for
16202         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16203         (scanLogFile) Scan for "run BibTeX" messages.
16204
16205         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16206         OT1 font encoding. Also, load the aecompl package if the ae
16207         package is loaded.
16208
16209         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16210
16211 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16212
16213         * texrow.C (increasePos): turn two error messages into debug
16214         messages.
16215
16216 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16217
16218         * LaTeX.C (scanAux): Handle the \@input macro.
16219         (runBibTeX): Use scanAux().
16220
16221         * language.C (latex_options_): New field.
16222
16223         * LaTeXFeatures.C (getMacros): Add language macros.
16224
16225         * buffer.C (makeLaTeXFile): Small fix.
16226
16227 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16228
16229         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16230
16231         * text2.C: add a using directive.
16232
16233 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16234
16235         * BufferView2.C:
16236         * lyx_gui_misc.h:
16237         * lyxfr1.C:
16238         * lyxfunc.C: kill LyXBell.
16239
16240 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16241
16242         * text.C (IsBoundary): Remove the error message
16243
16244         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16245
16246         * lyxrc.C (setDefaults): Correct initialization value for
16247         font_norm_type.
16248
16249 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16250
16251         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16252         gotoError().
16253
16254         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16255         and GotoNextNote().
16256
16257         * src/LyXAction.C: Added reference-next.
16258
16259         * text.C (InsertChar): Use contains instead of strchr.
16260
16261         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16262
16263 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16264
16265         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16266         alignment commands (when needed).
16267
16268         * text.C (InsertChar): Add ':' to number separator chars.